Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0

Switch sounds not working properly


I'm trying to set up custom sounds for my switches but so far without succes.


I did manage to give the switch a custom sound, but not without replacing the original doom switch sound, which is not what I want.


In SNDinfo I defined the sound as follows:


Switch FRT1

Switch FRT2


Then in animdefs I wrote:


switch SHIHO1 on sound FRT1  pic SHIHO2 tics 0
switch SHIHO2 off sound FRT2 pic SHIHO1 tics 0


Upon testing ingame this produced no sounds when hitting the switch, instead I got the default Doom switch sound instead.


Then I put the command "switches/normbutn FRT2" in sndinfo and changed the animdefs to this:


switch SHIHO1 on sound switches/normbutn pic SHIHO2 tics 0
switch SHIHO2 off sound switches/normbutn pic SHIHO1 tics 0


This played the custom sound for the switch ingame but with the caveat that it replaces all the switch sounds instead of replacing the sound of only the one (and intended) switch.


Is there a way to give my custom switch a working custom sound and what are the proper commands for it? 

I would greatly appreciate your help.

Edited by OniriA

Share this post

Link to post

2 answers to this question

Recommended Posts

  • 0

Your SNDINFO definition looks wrong to me. You need to define the sounds by giving them a unique name, like so:


Sound name:                   Sound file:


HexenChainSwitchOn        chnswch8
HexenChainSwitchOff        swtch6


And then in your switch definition instead of switches/normbutn you use the name of the sound, not of the sound file.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now