コミュニティQ&A

Audiokineticのコミュニティ主導のQ&Aフォーラムへようこそ。ここはWwiseとStrataのユーザのみなさまがお互いに協力し合う場です。弊社チームによる直接のサポートをご希望の場合はサポートチケットページをご利用ください。バグを報告するには、Audiokinetic LauncherのBug Reportオプションをご利用ください。(Q&AフォーラムではBug Reportを受け付けておりませんのでご注意ください。専用のBug Reportシステムをご利用いただくことで、バグの報告が適切な担当部門に届き、修正される可能性が高まります。)

最適な回答を迅速に得られるよう、ご質問を投稿される際は以下のヒントをご参考ください。

  • 具体的に示す:何を達成したいのか、またはどんな問題に直面しているのかを具体的に示してください。
  • 重要な詳細情報を含める:Wwiseとゲームエンジンのバージョンやご利用のOSなど詳細情報を記載してください。
  • 試したことを説明する:すでに試してみたトラブルシューティングの手順を教えてください。
  • 事実に焦点を当てる:問題の技術的な事実を記載してください。問題に焦点を当てることで、ほかのユーザのみなさまが解決策を迅速に見つけやすくなります。

0 支持

 I've been trying to create my own implementation of the Cube demo that shipped with Wwise v2014.1 (5158) but have hit a brick wall with the Hit_Rocket_Player call not triggering a sound asset (the rocket explosion) in-game. I get an Event ID Not Found call every time it should play but I can't figure out where the problem is. Everything works fine in the Soundcaster, but not when try it in the engine.  I've made sure to check that all of the events are included in the soundbank.The Fire_Rocket_Player and End_Rocket_Player events both work fine, by the way.

When I pulled up the Wwise implementation that comes with the installation package, to see how they did it, I found the same problem in the shipped version. How can I get the explosion file to trigger in-game?

Bryn S. (150 ポイント) General Discussion

回答 1

+1 支持
 
ベストアンサー
Hi Bryn
 
You can fix it by changing one line of code in the weapon.cpp file
On line 211 replace this piece of code;
 
snd_event(guns[p->gun].eventhit, &v );
 
With this;
 
snd_event(name, p );
 
 
For some reason this hit event is set up differently in the code to the Start and End events, but this change seemed to fix it for me.
 
Cheers

 

Simon G. (1.0k ポイント)
Bryn S. 選択
Brilliant, Simon. It took a little bit of futzing to get Visual Studio 2013 to work with the Cube solution, but that seems to have fixed both the player's missiles and enemy projectiles in one fell swoop.
...