I am trying to add a custom switch texture and I am at a loss.
in my PK3, I have an "ANIMDEFS" with the following code:
Code: Select all
switch SWoffBark on
sound WoodSwitch
pic SWonBark tics 0
switch SWonBark off
sound WoodSwitch
pic SWoffBark tics 0
I tried to make a switch in my UDMF map, but the texture does not react to being used. The texture does not change and no sound is played.
Trouble shooting I did:
1: Animated textures from the ANIMDEFS file work in the map, so the ANIMDEFS file is read and works.
2: Exchanging my custom switch texture with a build in switch plays a sound and changes the texture.
3: I used both my custom sound and "Door1" from the example code. The sound is not played, making me think it is the definition that is not working.
I assume, I am missing something, but I am stumped as to what it is.