Page 1 of 1

XWE Issue

Posted: Mon Feb 04, 2008 15:07
by Lioyd_Irving
Okay, here's the deal : when i make a DECORATE weapon, it works well but t seems like i don't use correctly the A_PlaySound tag.

I program like this :

SHTG 0 A_Playsound("dsshotgn")

What is wrong ?

Posted: Mon Feb 04, 2008 17:48
by Enjay
First, you have to use the name of the sound as defined in SNDINFO in zdoom.pk3/gzdoom.pk3 not the lump name

Also, there is a pointer specifically for weapon sounds

Try

SHTG 0 A_PlayWeaponSound("weapons/shotgf")

Posted: Thu Feb 07, 2008 17:32
by Lioyd_Irving
Thanx you.