在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

0 投票
I'm new to Wwise, and chose to use it for this project because of the possibility of integrating Pure Data patches via Heavy Audio. So I've made a custom plugin that way, which has a couple of parameters that I want to control in-game. It's for a string that is manipulated in the game and changes its tuning accordingly. I have arbitrarily many instances of this object to each of which I've attached the same event. Now I reach for the functionality that will allow me to feed a value to each of these strings only to find that... Wwise doesn't have it?

From what I understand so far, all of the Game Syncs, and RTPCs in particular, are global variables: once I assign plugin parameters to a Game Parameter, each instance of that Sound SFX will respond in the same way to that Game Parameter.

Is there a way to assign a local parameter, ie. so that my script can say "change this parameter for the Wwise event attached to my gameObject"? Is my only option to create as many Sound SFX, Events, and Game Parameters as there are strings in my game?

If there's a way to do this, I'd love to hear about it urgently. Thanks!
分类:General Discussion | 用户: Nikita G. (100 分)

1个回答

+3 投票

Via scripts... SetRTPCValue expects 3 arguments: RTPC name or ID, RTPC Value, and GameObjectID. If you leave GameObjectID default, it will set the RTPC globally. If you set GameObjectID to a specific object, it will only affect the RTPC for that game object. 

Via Wwise Authoring... Alternatively, you can create events in Wwise that set RTPC values. If you're using this method, pay close attention to the Event Action that sets the RTPC. It can be set to Global or Game Object under the scope column.

 

Hope this helps :) 

用户: Ian S. (2.1k 分)
...