Ravenfield

Ravenfield

33 ratings
State-based Dynamic Music [Beta-Branch]
   
Award
Favorite
Favorited
Unfavorite
Content Type: Mutators
File Size
Posted
Updated
162.918 KB
Sep 2, 2024 @ 1:31pm
Sep 16, 2024 @ 11:27am
7 Change Notes ( view )

Subscribe to download
State-based Dynamic Music [Beta-Branch]

Description
This is not a standalone mod and requires any Music Pack mod to function.

If you'd like to make your own music pack, check this link for the template![github.com]

Introduction
Greetings! This mod is a refactored version of the old three dynamic music mods I made a while ago and I made it so it is state-based and decoupled some things in the script so it's basically kind of like the Team Voices 3.0 mod and I could just like easily put a bunch of music in a template and then this mod will just load them up so I could make a variety of music packs and just tick them all on and it would work instead of clashing. Also, the state machine updates a stress meter variable which decays over time and it is what is mainly used for transitioning between states. The settings should be straightforward to use. I guess I'll still explain the basic gist of them at least.

Settings

> The Madness Combat state if enabled is what the normal Combat state will transition to if during it, the stress level has reached 90+ and the time elapsed since entering Combat state has exceeded the set threshold (which is clamped to a minimum of 10 seconds just so I wouldn't have a headache if something wrong happens from quick state changes).
The name of the state is what I came up with when describing that part in WAW's Eviction mission soundtrack where I could only say it sounds like the world's gone mad.
> Muffle world audio when dead gives you that deaf or muffled effect when you have an explosion go off near you in game.
This is kinda inspired by the "Where does he get off calling a demolition op Priority One" scene in Halo Reach, and I used the music for it too when testing it and it just fit so well.
> The settings with the word factor in them are factors for the stress meter. If you disable them they won't add to the stress meter.
> Max volume is the max volume of the music player.
> The check range settings are for well, that. How far can they check for that factor. And the explosion threshold is like how far an explosion happening can affect how much it adds to stress. The default is 10 units so below that the explosion's base factor is the highest while beyond 10 units it starts scaling down.
> Debug mode enables the print statements in the scripts for debugging purposes and also lets you see the stress meter and timeElapsedSinceCombat variables easily thru text UI.

Story Dump

I have started making mods again because I can now! However, I had a problem of spreading myself too thin and trying to start many projects at once. But then I saw a video about "The Cult of Done" and so tried it out or rather am trying it out. I aimed to do my project ideas one by one and focus on only one until I finish it or it has taken too long and I must ditch it for a later time. This is my first output so I can't gauge stuff yet though. I also started this project first because the old dynamic music mods I made were not working anymore and I'm already kinda familiar with what to do at base-level.

And since this is finished, I have to fathom now which else I should prioritise, or after I make the Eastern Front and Black Cats music packs I guess since I've only made the Pacific Theatre one. There are two goals in my mind for mods, ones that are all Halo-related and ones that basically add a sort of system or mechanic in place to make me feel engaged with the world in Ravenfield. Like the last two mods I have made, I wanted a zombies experience but normal bots don't really run away and so I made them, now I'm rarely the last man standing because the others can run away now without me commanding them to. Anyway, I digress. Here's this mod.

Feedback

Tell me if you'd encounter any problems in the comments below.

Donations?...

Now I'm no masterbuilder of mods yet and this feels impudent of me but I guess there's no harm in asking...?
I'm a college student now and I kinda wanna see where modding could take me, since you get a bit of experience with programming, 3D modelling, animation, the like, for game dev stuff and all and I want to have that experience to get a job someday. I figured I'd at least start now, I initially wanted to ask this for when I publish my next Halo mod but I have decided to do this first because it's been a while since I last finished anything I consider to be of value at least to myself. I like to play Ravenfield, most of my ideas for mods come from me wanting to play with something that doesn't exist yet. And I've also come to realise how much expensive living by my lonesome in a boarding house really is, I'm grateful for my family for helping me but man the prices around these parts are like marked up relatively higher than what I'm used to. I want the best of both worlds really. So if you'd like to help me on this journey, please donate so I can sustain myself better and be able to make mods easier, it's kinda hard to think about in a constant state of near-hunger... Anyhow, here's my Ko-fi[ko-fi.com], and thanks in advance.
22 Comments
Garry :з Feb 27 @ 8:36am 
Madness Combat :mpn_agent:
leeal Nov 28, 2024 @ 9:26pm 
Madness Combat
Church  [author] Oct 26, 2024 @ 8:46am 
Ah, that does make sense. Well, I'm glad you fixed your problem!
DagRatmenRu Oct 25, 2024 @ 1:11pm 
yes, it helped, I also found that the addon (WIP) World Sound Fixer is not compatible with this (most likely it just mutes it to the impossible)
:aushrug:
Church  [author] Oct 21, 2024 @ 7:36pm 
@DagRatmenRu It should still work, although one thing I forgot to mention is that you should probably be in beta-branch. To be in beta-branch, you right-click on Ravenfield in your Library and click on Properties, then Betas then you click next to the Betas Participation where it says None and change it to "beta", there will be other ones like legacy or experimental but it should be beta.

If you haven't done that, please do so and test again. If it still doesn't work, please tell me more details about it so I can assist.
DagRatmenRu Oct 21, 2024 @ 11:57am 
it stil work? have music pack, but i don't hear any music/
Church  [author] Oct 5, 2024 @ 7:33pm 
@WA47K nope only me, which is understandable, it does take a bit more work since you have to consider what music plays for each state and how it would transition into each other. I did have to cut the music around myself
WA47K Oct 5, 2024 @ 11:19am 
so has anyone actually made any music packs using this?
Essaint Sep 5, 2024 @ 5:17am 
Zesty
Dexstar Sep 4, 2024 @ 6:15pm 
doom playlist is now inevitable