Gamer125 / fofix

Automatically exported from code.google.com/p/fofix
0 stars 0 forks source link

Add logic to support optional, expandable, automatic random sounds #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
-Rewrite all sound loading logic to support optional random choices with
single sound fallback (example: starpower.ogg = fallback, starpower1.ogg
starpower2.ogg = random choices) with any number of random choices for each
sound

Original issue reported on code.google.com by chris.paiano@gmail.com on 26 Oct 2008 at 3:15

GoogleCodeExporter commented 9 years ago
Writing a general purpose function to determine how many of a certain specified 
sound
exists for random play.

Original comment by chris.paiano@gmail.com on 9 Nov 2008 at 4:55

GoogleCodeExporter commented 9 years ago
Automatic expandable random sounds are now available for:
 * Accept sounds ("acceptX.ogg")
 * Guitar screw-up sounds ("guitscwX.ogg")
 * Bass screw-up sounds ("bassscwX.ogg")
 * Drum screw-up sounds ("drumscwX.ogg")

Implemented in r302.

Original comment by chris.paiano@gmail.com on 9 Nov 2008 at 5:59

GoogleCodeExporter commented 9 years ago
Hey Chris, this means we can now delete the extra copied sound files we 
originally 
made to fill the rest right?

Original comment by worldr...@hotmail.com on 9 Nov 2008 at 6:02

GoogleCodeExporter commented 9 years ago
They must be sequential, so as long as you renumber them to start at 1 and not 
skip
any numbers.  

You can go past 9, as well... i.e.:
guitscw1.ogg
guitscw2.ogg
...
...
guitscw10.ogg
guitscw11.ogg
...
...
and on and on.

Only for the sound effect prefixes listed above, until someone requests another
specific sound effect to have this automatic enumeration and random choice.

Original comment by chris.paiano@gmail.com on 9 Nov 2008 at 6:06

GoogleCodeExporter commented 9 years ago
Added support for:
 * Back / cancel sounds ("backX.ogg")

...in r307.

Original comment by chris.paiano@gmail.com on 9 Nov 2008 at 6:22

GoogleCodeExporter commented 9 years ago
Nice, thanks for the added ones too. 

Original comment by worldr...@hotmail.com on 9 Nov 2008 at 6:30

GoogleCodeExporter commented 9 years ago
Are we able to delete the files and not have the game crash?  If so then the
megalight themes could be made even lighter.

Original comment by n_hyd...@comcast.net on 9 Nov 2008 at 12:36

GoogleCodeExporter commented 9 years ago
Yes, for the particular sound types listed in this issue so far.

Try removing or changing sound files and then check the fretsonfire.log for 
entries
like this:

(D) 6 guitscw sounds found in themes\MegaLight GH3\sounds: guitscw1.ogg - 
guitscw6.ogg

...to be sure what sounds the game is recognizing and loading.

Original comment by chris.paiano@gmail.com on 9 Nov 2008 at 5:16