版本
menu_open

Mapping Game Parameter Values to Switches

In Wwise, you can also use game parameter values to drive switch changes. After you have created your switch groups and game parameters, you can map game parameter values to switches. For example, if you were using RTPCs to drive switch changes in a car collision, the sounds and motion FX related to the impact would differ depending on the force of the impact. By using the impact force values to trigger switch changes, you can easily ensure that the correct sounds or motion objects play when the collision occurs.

[Note] Note

Before you can map game parameter values to switches, you need to create and define your game parameters. For more information on creating and defining game parameters, refer to Creating a Game Parameter.

To map game parameter values to switches:

  1. On the Game Syncs tab of the Project Explorer, double-click the switch group that you want to be driven by game parameter values.

    The switch group is loaded into the Switch Group Property Editor.

  2. Select the Use Game Parameter check box.

    The Graph view is enabled and the list of switches in the switch group is displayed along the Y axis.

  3. From the Game Parameter list, select the game parameter that you want to drive the switch change.

    The range of values for the selected game parameter is displayed along the X axis.

  4. In the graph view, add a point by double-clicking in the Game Parameter curve along the range and drag that point to the destination switch.

    The switch change is mapped to the specified game parameter value.

  5. Continue adding points by double-clicking along the curve, and mapping them to switches as needed.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅