[Solved] Are custom sound events possible?

Started by Telkir, July 10, 2014, 10:31:37 AM

Previous topic - Next topic

Telkir

The page on the RW wiki about sound modding (this one) links to a list of event names that can be used to trigger sounds, but it says they are hard-code. Does that mean that there's currently no way to add a custom sound event?

For example, I have a building that I want to make a one-shot noise when certain conditions are met. Do I need a sound event or is there another way?

As always thanks for any help.

Tynan

You'd need to write some code - a subclass of Building - which calls the sound event that you want to play whenever that condition is met.
Tynan Sylvester - @TynanSylvester - Tynan's Blog