Page 1 of 1

Did I just trip over a hidden flag?

Posted: Wed Feb 23, 2011 4:10 am
by APCs r Evil
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

Re: Did I just trip over a hidden flag?

Posted: Wed Feb 23, 2011 4:27 am
by GSH
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

Re: Did I just trip over a hidden flag?

Posted: Wed Feb 23, 2011 8:34 am
by TheJamsh
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!

Re: Did I just trip over a hidden flag?

Posted: Wed Feb 23, 2011 3:18 pm
by GSH
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