Dynamic Battle Music – WAW Russian Edition
Greetings, this mod was made because I just wanted to realise the concept of calm/combat music based off of COD WAW’s soundtrack so I can play my Eastern Front configuration in a more immersive way as I don’t have to dictate what music to play and I don’t have to click out of the game to do so. I don’t really know why I called it "Dynamic Battle Music", but I guess it *is* dynamic. I hope the name won’t be something that confuses people.
The way it works right now is that it runs through all the actors near you that are enemies, if they are check if they have line of sight. If so then you are in combat state, else you are in calm state. I haven’t actually tested it yet but it should stop playing when the game ends so that one can also get one of those victory music mods.
UPDATE:
> Fixed track changes while within the same state, added a random delay before doing so to sort of keep some pace with a bit of silence sometimes.
> Fixed music fading out once match ends so as to let victory/defeat music mods be heard.
> Added music start delay which lets people configure when the music would start so as to let me use my spawn themes if I want to but maybe you have some other reasons…
> Moved one of the calm tracks to the combat state since it sounded a bit too aggressive to be in the calm state.
There are six variables you can configure:
– Combat Check Interval – is the interval it will run the algorithm for checking if you are in combat. I made this just in case I might lag with it.
– Enemy Check Range – is the range it will check for enemies.
– Combat to Calm Transition Cooldown – is the cooldown time it will start ticking down from before switching to calm when in combat. I made this because it would haphazardly jump back and forth from calm to combat as soon as I am not in anyone’s sight. So this will keep the combat state until the timer is done ticking before switching to calm state.
– Crossfade Duration: is the transition time for switching music states.
– Fadeout Duration: is the transition time for when the game ends.
– Music Start Delay: is the delay before the first piece of music plays.
Credits:
– Treyarch