Closed Pacmikey closed 8 months ago
Thanks for not including the scene file in the diff. That will make merging this easier since I'm usually daily making changes to the scene as I bugfix these days.
I haven't done it yet, and may not for the first 1.00 release but plan on allowing for override based modding similar to many modern Quake 1 engines around these days whereby placing correctly named files into subdirectories would cause those files to override and be used in place of defaults fo things like sounds, textures, and models. Text already is (mostly).
For the music, I'll be doing this by having folders inside StreamingAssets/music/level<0-10> that contain cheatsheets for all the named overrideable files that can be placed in each folder. Then the .mp3 files, properly named, can be used by the dynamic music system just like the original midi snippets were. At the moment, while I do like the remix here, I don't want to make it default. I can, however, provide it as a drop in override already renamed for someone to use as an example. Thanks for finding this; hadn't heard this one yet.
Side note, I might allow for specifically named files to be looped instead of using the dynamic system in case people want to do that too as it would make a fun option to allow remixes that aren't chunked out like this.
I went ahead and finished adding support for reverb zones and did a quick test to confirm that it's linked properly with the configuration and added a prefab fx_reverbzone to ensure they are registering themselves. This in preparation for adding footsteps support which will also be an optional toggle and set to off for the legacy settings configuration (aka no shoot mode and similar to original) though default to on for the default configuration.
Custom music overrides can now be placed in StreamingAssets/music. If the mp3 has the same name, it will be used in place of the default. If the folder is empty, the defaults will be used. Any .mp3 can be used for any dynamic snippet. If looped full track is desired, the StreamingAssets/music/looped folder can have override .mp3's placed there and then in Audio settings in game disable the Dynamic Music checkbox.
.wav files are also supported (and load faster, heh).
Added basic headbob in 91fdaa
Music is by Neo Te-Aika, based off Deus_NSF's music augmentation project.