Version

menu_open

Controlling property values using Game Parameters

After your Game Parameters are created, you can begin creating RTPCs for the objects, busses, effect instances, attenuation instances, and Switch Groups in your project. RTPCs are defined on the RTPC tab of the Property, Effect, and Attenuation Editors or within a blend track of a Blend Container. Creating an RTPC involves the following steps:

In the graph view, you create the RTPC curves that map property values to the Game Parameter values. Since you can display many curves in the graph view at the same time, Wwise uses a different color for each curve. The three relative properties (Volume, Pitch, and LPF/HPF) are always represented by shades of the same base colors, but any other properties within your project are arbitrarily assigned a color. These arbitrary colors may differ from one work session to the next.

The following table shows you which base colors have been assigned to the relative properties.

Wwise Property

Color

Volume

(Red)

Pitch

(Green)

LPF/HPF

(Blue)


[Note]Note

Not all properties are used by all objects and on all platforms; for example, the Pitch property does not affect music objects.

Even with the color coding, you may find it useful to hide certain curves to focus on one curve in particular. For more information on hiding curves, refer to Displaying curves in the graph view.

Before using RTPCs in your project, it is important to understand how the RTPC values will interact with existing property values and any other applied modifiers (e.g States).

When modifiers are applied to existing property values, the final property value is determined in one of the following ways:

  • Absolute: The value determined by the RTPC will be used and the object's existing property values will be ignored. Only one RTPC may be applied, and States are not supported.

  • Sum All Values: The values determined by the RTPC and/or States will be added to the object's existing property values.

  • Use Highest Value: The highest of the values determined by the RTPC and the object's existing property values is used.

  • Boolean: The values determined by the RTPCs and/or States are combined using logical OR. That is, if only one RTPC or State value is set, then the final property value is set. The object's existing property values are ignored.

The method used when applying modifiers determines if the object's original property values are used. If the property is absolute or boolean, the original property control is disabled. Otherwise the original property control remains available.

[Note]Note

The method used when applying modifiers is predefined and cannot be changed.

[Note]Note

Some properties may have the Sum All Values or Use Highest Value setting. Refer to Understanding property filter behavior (LPF, HPF)


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise