Version

menu_open

Establishing a Game Parameter

We'll start by having the programmer pass the same information from the game controlling the visual time of day as a game parameter to Wwise. Used in conjunction with a blend container that contains the ambient background and individual elements of the system, we can effectively control the ambient soundscape in time with the rest of the game.

To begin with, we'll create a new game parameter for Time_of_Day. Start by selecting the default work unit from the game syncs tab in the Project Explorer. This allows you to add a new game parameter from the Project Explorer toolbar by clicking on the game parameter icon. Alternatively, a game parameter can be created from the contextual menu for a game parameter work unit or by using shortcut keys.

Creating a game parameter from the Project Explorer toolbar

Once the game parameter has been named, the parameter range can be established in the Property Editor. We'll set up the Time_of_Day game parameter using values from 0-24, allowing for the parametrization of sounds according to a 24-hour clock with 0 representing 12 AM.

Setting the Time_of_Day game parameter values


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise