Creating dynamic sounds with FMOD

From Heroes of Hammerwatch wiki
Revision as of 05:47, 7 November 2020 by The Slad (talk | contribs) (page created.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

It is possible to create dynamic sounds and music for you mod using parameters in FMOD.

This page assumes you already have FMOD set up for you Heroes of Hammerwatch mod. See Adding custom sounds and music for more information.

Adding a parameter to your sound event in FMOD

Open your event in FMOD use the "+" tab above the tracks to add a new parameter.

AddingFmodParameter.png

If you haven't created the effect that you want to be dynamic, go ahead and do that now.

AddingFmodEffect.png

Right-click on the knob that you want to be dynamically controlled, and select "Add Automation". Your should now see a track for that setting in the track deck.

In the new tab for your parameter, add you desired control points to determine how the setting is changed based on the parameter. There is a scale above the tracks showing the range of your parameter, and above that is a knob for your parameter to test how different values sound. you can also set a default value by right clicking on your parameter knob.

ParameterTabExample.png

Controlling the parameter in your mod scripts

WIP hold on getting some code example goin'.