社区问答

欢迎来到 Audiokinetic 社区问答论坛。在此,Wwise 和 Strata 用户可互帮互助。如需我们团队直接提供协助,请前往技术支持申请单页面。若要报告问题,请在 Audiokinetic Launcher 中选择“报告错误”选项(注意,问答论坛并不会接收错误报告)。我们内部设有专门的错误报告系统,会有专人查看报告并设法解决问题。

要想尽快得到满意的解答,请在提问时注意以下几点:

  • 描述尽量具体:比如,想达到什么样的目的,或者具体哪里有问题。
  • 包含关键细节:比如,Wwise 和游戏引擎版本以及所用操作系统等等。
  • 阐明所做努力:阐明自己为了排除故障都采取了哪些措施。
  • 聚焦问题本身:聚焦于问题本身的相关技术细节,以便别人可以快速找到解决方案。

+6 投票
Hello guys!
I have a problem with "DCP_Music" event and states "Dead" and "Alive"
I do everything right like it was described in course
But, heartbeat has not triggered
And there is no errors in capture log about "DCP_Music"
And there is no notifications about swithing between states "Dead" and "Alive"
What can be wrong?
分类:General Discussion | 用户: Nick E. (190 分)
Am I the only one who have this problem with DCP_Music event?
Same issue here - did you find anything out?
same problem here, wonder if the event DCP_Music is removed in this version of Cube? Would be nice if they updated the Tutorials to the latest version of Wwise as well, there has been some changes over the years and the current versions of the tutorial is not directly compatible with the latest version of Wwise either as you have to convert the Lessons etc  :/
Hi there, same problem here, this can only mean that the problem is out of our control and that we shouldn't feel bad for the heartbeats not working properly when generating the soundbank, If anything this teaches us that we should really speak with our programmers to ensure nothing like this happens. Cheers!

6 个回答

0 投票
Hi, same problem here. I did everything described in lesson 3 but states are not changing. And the profiler confirms that.
用户: Vincenzo M. (140 分)
+4 投票
You can use the Spawn_Player Event instead of the DCP_Music to start the heartbeat.
用户: Paul S. (220 分)
Thanks, this helped. Heart beat is now triggering , but I think this event might be triggered more than once as the sound seemed to be playing several times over the top of each other. Also, the Alive \ Dead states still don't seem to be working. Shame they haven't updated the tutorials.
Thank you! Changing from DCP_Music to Spawn_Player really helped. But it's as written in comment above. States are not working.
Bro! This fixed it.Thank you from our study group!States still don't work though.
Thank you so much! you save my life!!
To add some more info, before generate on soundbank, I should remote the cube.
Thanks!
+1 投票
Hey Guys,

I have created a guide to assist with the Heartbeat issue & help you learn about Blend containers
https://www.youtube.com/watch?v=mRlGUtNIGtw&t
The guide also adds a vocal breath intensity as the player character loses health.

You may need to refer to these videos to, as the default project hierarchy has been replaced:
Wwise - Clean up: https://www.youtube.com/watch?v=ejht11CHPVc&t
Wwise - Preparation: https://www.youtube.com/watch?v=O0Z0CM0_9hU&t

Hope the guide helps you all!
用户: Graham S. (650 分)
修改于 用户:Graham S.
0 投票
Same here. Tried to recheck all the steps three times with no result. I guess the current version of Cube has new or different game calls and all the tutorials including the pdf course book need to be updated. Moving on to Lesson 4.
用户: vitekkral (160 分)
+4 投票
EDIT: on more messing around this only works when i'm using the project from later lessons (5) that has more events built into it so I think there must but something i have missed in the one i'm building from scratch but maybe this is unique to my situation as I did the majority of the initial lessons in an empty wwise project instead of using the included ones. DCP_Music doesn't seem to work on mac but once you use the later projects included (lesson 5 definitely) you can go back and revise the rtcp, states and heartbeat stuff and see how that is all supposed to work and it will implement fine as long as you use Spawn_Player and Death_Player to start and stop your sounds.

 

hey for anyone who is doing the tutorial and reading this thread wondering if there was ever an answer to this here is my workaround which seems to do everything that the tutorial was supposed to achieve.

as mentioned in other replies Spawn_Player event can be used to trigger the heartbeat, but if you don't also tell it to stop then you end up with layer after layer of heartbeat sounds building up every time you respawn.

to fix this you can use the Death_Player event to give the heartbeat a stop action however this is only a partial fix.

To get the states to work you also need to add "set state" actions to both Spawn_Player and Death_Player, the former to set state to alive and the latter to set state to dead. Now to ensure that you actually hear the fade out that the PlayerLife state is supposed to achieve make sure you add a delay the Stop action for your heartbeat to allow time for it to happen, I gave it 5 seconds but it is arbitrary depending upon the transition time you picked for your PlayerLife State Group as per the tutorial.

Anyway this works for me now and also fixes the music problem in lesson 6 (use Spawn_Player and Death Player to start and stop the music). Hope it helps
用户: jac g. (260 分)
修改于 用户:jac g.
As of 2021, after the rework in Cube (with the Wizard, and magic wand, and stuff), use DEFEATED_PLAYER instead of DEATH_PLAYER. SPAWN_PLAYER still works. As mentioned, you can use these two events to trigger the states, just by dragging the states to the Event Editor of each event (as if the states were Sound SFX's) and then follow the remainder of the lesson normally.

You can check event names, states, switches, and other stuff from the Cube demo via the Wwise_IDs.h file. However, bear in mind that there might be some events declared there but not called in-game, meaning some stuff there might not work at all (like the PLAYERLIFE state). Anyways, the folder is C:\Program Files (x86)\Audiokinetic\Wwise 2021.1.2.7629\Cube\cube_source\src

Lastly, AudioKinetic will release the revised version of their Wwise2021 tutorial in July, so don't worry too much about all this right now.
+2 投票
 
已采纳

Hi Everyone, 

For the PlayerLife State Group to be properly set from the game, two Events will have to be created to set the States: 

Spawn_Player

Defeated_Player

* In prior versions of Wwise (Wwise 2019.2 and earlier), this Event was named Death_Player.

This is by design and best practise, as it empowers the Wwise user to change the condition, without having to dive into the code. 

For reference, open the Cube Wwise Project to inspect the setup of the above Events and more.

 

用户: Mads Maretty S. (Audiokinetic) (40.2k 分)
...