New Door Sound problem in Hexen formatum

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
Icy Dark Tails
Posts: 6
Joined: Tue Aug 26, 2025 3:24 am
Preferred Pronouns: He/Him

New Door Sound problem in Hexen formatum

Post by Icy Dark Tails »

Ik Ik I write topics as help. As I mentioned I learn modding in Hexen formatum for Doom. But I'd like to ask the help. I added new door sounds. I optioned Sound Number but the problem is if I open door then it doesn't give sound.

Code:

SNDSEQ:

Code: Select all

:DoorOpenNormal
	play		doors/dr1_open
	nostopcutoff
end

:DoorCloseNormal
	play		doors/dr1_clos
	nostopcutoff
end

:DoorOpenBlazing
	play		doors/dr2_open
	nostopcutoff
end

:DoorCloseBlazing
	play		doors/dr2_clos
	nostopcutoff
end

[DoorNormal
 DOOR   1
	0		DoorOpenNormal
	1		DoorCloseNormal
	2		DoorOpenBlazing
	3		DoorCloseBlazing
]

:DoorOpenWood
	play		doors/dr3_open
	nostopcutoff
end

:DoorCloseWood
	play		doors/dr3_clos
	nostopcutoff
end

:DoorOpenWood2
	play		doors/dr4_open
	nostopcutoff
end

:DoorCloseWood2
	play		doors/dr4_clos
	nostopcutoff
end

[DoorWood
 DOOR   2
	0		DoorOpenWood
	1		DoorCloseWood
	2		DoorOpenWood2
	3		DoorCloseWood2
]
SNDINFO:

Code: Select all

// Doors

doors/dr3_open			dswdropn
doors/dr3_clos			dswdrcls
doors/dr4_open			dswdrpn2
doors/dr4_clos			dswdrcl2
I'm sorry again if I write many topics.
Post Reply

Return to “Scripting”