Page 1 of 1

[Help] Flares burst sound

Posted: 2012-04-06 22:24
by spirit03
Hello!

I'm new to this forum and I would like to greet you all with one big: Hi! :smile:

Now, I need help regarding flares burst sound. As you know, in BF2 as well as in PR, each flare has its own sound, so if you pop 3 flares it will play flare sound effect 3 times and so on.

Now, I'm editing DCON AC130 into AIX2 mod (which I use strictly for my own use) and have multiple flare launchers on it (3 from each side). I found flare burst sound effect somewhere on the net and I would like to play that single file once when X is pressed. This is the part from my flare launcher code:

Code: Select all

ObjectTemplate.activeSafe Sound S_dcon_ac130_FlareLauncher_Fire1P
ObjectTemplate.modifiedByUser spirit03
ObjectTemplate.lowSamples 2147483647
ObjectTemplate.mediumSamples 2147483647
ObjectTemplate.soundFilename "objects/weapons/armament/decoy_flare_launcher/sounds/flares_burst.wav"
ObjectTemplate.loopCount 0
ObjectTemplate.is3dSound 0
ObjectTemplate.stopType 1
ObjectTemplate.volume 0.65
ObjectTemplate.pitch 1
ObjectTemplate.pan 0.5
ObjectTemplate.reverbLevel 0
So, basicaly, I'd like it to play one sound effect for entire burst, instead playing sound effect for each single flare.

Well, I hope its not too complicated!

Thanks!


P.S. PR is probably one of the best mods for any game that has come out, and to me its main idea is: (I've been playing COD b4)

"In COD you may call in your killstreaks, but in PR, YOU are the killstreak." :mrgreen:

Re: [Help!] Flares burst sound

Posted: 2012-04-07 06:34
by rPoXoTauJIo

Code: Select all

rem ---BeginComp :D efaultSoundComp ---
ObjectTemplate.createComponent DefaultSoundComp
[color=DarkRed][b]ObjectTemplate.sound.maxSoundsPerBurst X[/b][/color]
rem ---EndComp ---
No?

Re: [Help!] Flares burst sound

Posted: 2012-04-07 08:30
by spirit03
Yes, thank You very much rPoXoTauJIo!

Cheers!