menu
 

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

0 投票
I've been trying to figure out some things regarding using Wwise. I am working on an indie project that is an 8 player vehicle combat game. We have 4 different kinds of vehicles. Each vehicle has a unique set of sounds. Sometimes there will be multiple versions of each vehicle in the game. The problem we are facing, is that the RTPC's that are controlling one vehicles engine pitch, also are controlling another. And also, if 2 of the same vehicle are in the game, then both of the engines play on top of each vehicle. The only way we've found to remedy this, is to make 8 versions of each vehicle, with unique RTPCs and busses. Is there an easier way to do that? It seems so tedious to have so many versions of everything.

If you have any advice for us it would help a ton. Thanks for your time.

~Steve
分类:General Discussion | 用户: Steven H. (100 分)

1个回答

0 投票
Hello, I think that you are changing parameter globally (for all Game Objects), you have to set it for each car separately (third parameter in SetRTPCValue function).

 

Hope it will help you.

 

Radek
用户: Radek Karnik (990 分)
Multiplayer vehicle sounds
Hi Radek,

I was looking at your answer to this question and wanted to ask if you could expand?

I have the same issue, each time a vehicle is spawned it takes control of the RTCP (RPM) over all other vehicles so I suspect it is doing what you have answered above.

My question is (sorry if its a stupid one) how do I set it for each car separately? my current line of code is -   AkSoundEngine.SetRTPCValue("RPM",engineRPM);

Many thanks
...