Understanding RTPCs

Real-time Parameter Controls (RTPCs) enable you to edit specific object properties in real time based on real-time parameter value changes that occur within the game. Using RTPCs, you can map the game parameters to property values, and “automate” property changes to enhance the realism of your game. The parameter values are displayed in a graph view, where one axis represents either the switch group or the property values in Wwise, and the other axis represents the in-game parameter values. By mapping property values to game parameter values, you create an RTPC curve that defines the overall relationship between the two parameters. You can create as many curves as necessary to create a rich and immersive experience for the players of your game.

Example 6.3. Using RTPCs - Example

Let's say you are creating a racing game. The volume and pitch of the engine sounds need to fluctuate as the speed and RPM of the car rise and fall. In this case, you can use RTPCs to map the pitch and volume level of a car's engine sounds to the speed and RPM values of an in-game car. As the car accelerates, the property values for pitch and volume will react based on how you have mapped them.

The following illustration demonstrates how the volume is affected by the speed of the racing car in the game, based on how it was mapped in Wwise.