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 am hitting a bit of a roadblock when it comes to Multiplayer Interactive Music

The scenario

A player or group of players is in combat on one part of the map
A player or group of players is NOT in combat on another part of the map

I want only the players in combat to hear combat music.   

Setting a switch with the LOCAL player does not transition to the Combat music as expected.   It seems only the use of the MUSIC object accomplishes this, which in turn, changes the music Globally for all players, even those not in Combat.   

Any thoughts or designs that have dealt with this in WWise to allow for different pieces of music for multiple players?
closed with the note: Need to ask this in a more informed, data provide way.
in General Discussion by Kenneth W. (290 points)
closed by Kenneth W.

1 Answer

0 votes
 
Best answer

Hello Kenneth,

I’m assuming you’re referring to an online multiplayer scenario? In such cases, Wwise typically runs on each client (i.e., each player’s machine). It’s important to remember that it’s the game’s responsibility to determine which client should receive a specific RTPC, Switch, or State change, and to ensure that this information is sent to the appropriate instance of the Wwise sound engine running on that client. Have you tried connecting Wwise to your game and checking the Profiler or Capture log? This might provide more insight into what’s happening when you set a Switch for a specific Game Object.

See: ProfilingConnecting to a local/remote game systemCapturing data from the sound engine

by Alessandro Famà (6.2k points)
selected by Guillaume R. (Audiokinetic)
Thank you for the response.  Indeed.  Via profiler, I see the switch being set from the game engine (via an event).  It is targeting the local player object and not the music object which initially made me think this could be the issue.   Regardless the switch does set correctly but the music does not play.   

I have simplified the path and transitions to a point where I can use soundcaster to mimic the behavior I expect successfully but when operating in the game itself, the switch changes but the music does not transition nor play.   

I still think it could be a problem between the seat and keyboard but I've tried to make it as simple and explicit as possible with no positive results thus far.
...