menu
Version
2017.1.9.6501
2024.1.3.8749
2023.1.11.8682
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
2024.1.3.8749
2023.1.11.8682
2022.1.18.8567
2021.1.14.8108
2019.2.15.7667
2019.1.11.7296
2018.1.11.6987
2017.2.10.6745
2017.1.9.6501
2016.2.6.6153
2015.1.9.5624
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
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise