blog 001
First look at Global Parameters
blog 001
DocumentationWhen working on game projects, we have seen a need to easily access a few specific values in a large number of sounds. Therefore we created this Global Parameter utility. It enables you to set a value in one place and then easily get that value from anywhere.
Maybe you want to be able to get the player's campaign progress in your music systems? Or do you want the health, velocity or height above ground from your player? Maybe you need the wind and rain amount or time of day in your spot sounds? Or the distance to your companion for voice line selection?
Let's take the rain amount as an example. We want that value to affect different spots sounds, like tarps or barrels. The higher the rain amount, the more we fade in the rain layer sound.
How to set it up
We send the amount via a suitable blueprint.
In our MetaSound we add the SweejTech.GlobalParameters interface.
Then we fetch the value using the interfaces and the Get Global Parameters Value node.
This utility is still work in progress, but if this would be of interest to you please let us know.
back to all blogs