I was fumbling around with a spraybomb weapon some time ago, I gave up on it for a while because I couldn't get it to bounce quietly using;
bounceSound = "silence.wav"//One of my custom sound files, you'll never guess what it sounds like
I tried it again today, hoping I'd typed the flag incorrectly before. This time I used;
soundBounce = "silence.wav"//note the difference
Using the second flag, the spraybomb bounced silently.
Looking through the changelog, modlog and any spraybomb ODFs I could think of, I couldn't find any reference to the second flag so I'm wondering if anyone knows about it.
In short,
bounceSound = X//Works for bouncebombs only
soundBounce = X//Works for spraybombs only, seems to be undocumented
Did I just trip over a hidden flag?
Moderators: GSH, VSMIT, Red Devil, Commando
-
- Sabre
- Posts: 299
- Joined: Sat Feb 19, 2011 4:13 am
Re: Did I just trip over a hidden flag?
Only items added since 1.3 started are in the changelog. As far as I can tell, [SprayBombClass]::soundBounce was in the code when 1.3 started.
-- GSH
-- GSH
Re: Did I just trip over a hidden flag?
Known about this for a while, its definitely a flag from before 1.3 development.
But yeah, for some reason Spraybomb and Bouncebomb have the words arranged differently for the same result. Could be loads of reasons why i guess!
But yeah, for some reason Spraybomb and Bouncebomb have the words arranged differently for the same result. Could be loads of reasons why i guess!
Re: Did I just trip over a hidden flag?
Also, it's hardly hidden if odfs in data.pak use it:
C:\src\BZ2\data\weapons\isdf\mortars\gmdmgun\mdmgun.odf(26):soundBounce = "mdmort03.wav"
-- GSH
C:\src\BZ2\data\weapons\isdf\mortars\gmdmgun\mdmgun.odf(26):soundBounce = "mdmort03.wav"
-- GSH