Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
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
in General Discussion by Steven H. (100 points)

1 Answer

0 votes
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
by Radek Karnik (990 points)
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
...