Door Sounds Properties Question Submitted By: Darkness40k How do i make a sound activated by a switch or door. For example change the sound a door makes when opening to a custom sound? Answer Category: Misc
There are two ways to go about this... the quick and dirty way; which I can explain; and the long way; which I do not have enough scripting background to walk someone through step by step.
That being said... the quick and dirty way is to copy the texture you are using for the door or switch, rename it as a custom texture, and then edit the sound properties of the .nam file for your new texture. To do this, just add a line in the .nam file that says "sound newsound", minus the quotes... The choices for "newsound" are Carpet, Dirt, Metal, Wet, Snow, Stone, Street, Wood, Creaky, and Silent - all of which have their own unique sounds.
If you don't like any of those choices, the longer way involves creating a custom .wav file and use that for the sound of the door/switch... and then writing a custom script for that door/switch (instead of using PivotDoor.class, for example). An example of how this was done in the SP game is DoorElevator.class.
Social Media