Editing the PRS files to make sounds quit
#5

I'll do a quick example for you. Here is the preset file for the Jumo211 (used by Stuka) from the SFX 0.91 sound mod.

Quote:[common]
mode relobj pos
type mixer
infinite 1
EAXMix 0.95
occlusion -9
occllf 0.25
eaxroom 0.5
obstruction -7
obstrlf 0

mutable 1

[spl]
100

[samples]
DB605_starter.wav
jumo211_1000.wav
jumo211_1001.wav
jumo211_3000.wav
jumo211_3001.wav
xjumo211_1000.wav
xjumo211_1001.wav
xjumo211_3000.wav
xjumo211_3001.wav
DB605_dmg.wav
1.wav
x2.wav

[sample.DB605_starter.wav]
infinite 1
controls rpm start

[sample.DB605_starter.wav.rpm]
minlo 20
minhi 30
maxlo 150
maxhi 250
value 1.5
pmin 0.6
pmax 1.8

[sample.DB605_starter.wav.start]
minlo 0
minhi 0.5
maxlo 1.5
maxhi 2.0
value 1.5
pmin 1.0
pmax 1.0

[sample.jumo211_1000.wav]
infinite 1
env 8
controls rpm

[sample.jumo211_1000.wav.rpm]
minlo 100
minhi 300
maxlo 1500
maxhi 2500
value 12.0
pmin -1.0
pmax 1600

[sample.jumo211_1001.wav]
infinite 1
env 8
controls rpm

[sample.jumo211_1001.wav.rpm]
minlo 100
minhi 300
maxlo 1500
maxhi 2500
value 12.0
pmin -1.0
pmax 1600

[sample.jumo211_3000.wav]
infinite 1
env 8
controls rpm

[sample.jumo211_3000.wav.rpm]
minlo 1200
minhi 2100
maxlo 6000
maxhi 6500
value 12.0
pmin -1.0
pmax 2200

[sample.jumo211_3001.wav]
infinite 1
env 8
controls rpm

[sample.jumo211_3001.wav.rpm]
minlo 1200
minhi 2100
maxlo 6000
maxhi 6500
value 12.0
pmin -1.0
pmax 2200

[sample.jumo211_3001.wav]
infinite 1
env 8
controls rpm

[sample.jumo211_3001.wav.rpm]
minlo 1200
minhi 2100
maxlo 6000
maxhi 6500
value 12.0
pmin -1.0
pmax 2200


[sample.xjumo211_1000.wav]
infinite 1
env 0 2
controls rpm

[sample.xjumo211_1000.wav.rpm]
minlo 100
minhi 300
maxlo 1500
maxhi 2500
value 8.0
pmin -1.0
pmax 1600

[sample.xjumo211_1001.wav]
infinite 1
env 0 2
controls rpm

[sample.xjumo211_1001.wav.rpm]
minlo 100
minhi 300
maxlo 1500
maxhi 2500
value 8.0
pmin -1.0
pmax 1600

[sample.xjumo211_3000.wav]
infinite 1
env 0 2
controls rpm

[sample.xjumo211_3000.wav.rpm]
minlo 1200
minhi 2100
maxlo 6000
maxhi 6500
value 12.0
pmin -1.0
pmax 2200

[sample.xjumo211_3001.wav]
infinite 1
env 0 2
controls rpm

[sample.xjumo211_3001.wav.rpm]
minlo 1200
minhi 2100
maxlo 6000
maxhi 6500
value 12.0
pmin -1.0
pmax 2200

[sample.DB605_dmg.wav]
infinite 1
controls rpm damage

[sample.DB605_dmg.wav.rpm]
minlo 500
minhi 2000
maxlo 4000
maxhi 6000
value 3.0
pmin 0.4
pmax 2.2

[sample.DB605_dmg.wav.damage]
minlo 0.1
minhi 0.6
maxlo 1.0
maxhi 2.0
value 3.0
pmin 1.0
pmax 1.0

[sample.1.wav]
infinite 1
env 8
controls speed

[sample.1.wav.speed]
minlo 188
minhi 220
maxlo 500
maxhi 610
value 5.0
pmin -1.0
pmax 220

[sample.x2.wav]
infinite 1
env 0 2
controls speed

[sample.x2.wav.speed]
minlo 188
minhi 220
maxlo 500
maxhi 610
value 7.0
pmin -1.0
pmax 220

[spl] controls the volume as described previously, to change internal volume you need to alter each individual sound. Presets only control overal intensity, so if the issue is with one sound, use your sound editor of choice. Now to add the dive sound, open up the preset file you want to add the sound to. Under [SAMPLES] add the lines:
1.wav
x2.wav

Then as per the above example, add in the lines starting with [sample.1wav] etc. If done correctly, you will now have divesounds for that aircraft.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)