版本
menu_open

Integrating Audio

The following types of sounds were involved in the integration process:

Monster Play Sounds

  • Each character has associated pain, die, and footstep events. (See monstertypes[] in monster.cpp.)

  • Footstep events are posted from the monsterfootstep() function, which also sets the 'Material' switch corresponding to the texture underneath the character, to drive the footstep switch container.

  • Items have associated pickup events. (See itemstats[] in entities.cpp)

Weapon Sounds

  • Each weapon has an associated event. (See guns[] in weapon.cpp)

  • Projectiles have a splashing event (S_FEXPLODE, S_RLHIT).

  • The rocket has a continuous thrust sound (played by the event S_RLTHRUST). Velocity in baseent is boosted to enhance Doppler effect. The sound is stopped by the rocket splash event (S_RLHIT).

  • Shooting while quad damage is enabled also posts the event S_ITEMPUP.

Network Sounds

  • Certain events also need to go to the server for network play; this is handled by snd_clientevent().

Miscellaneous Sounds

  • To find all other sound events occurring during game play, search for snd_event() calls in the code base.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅