XWE Issue

Need help with your project? Ask here.
User avatar
Lioyd_Irving
FAAAAAAAAIL WITH STYLE
Posts: 122
Joined: Sun Dec 30, 2007 15:44
Location: Where ?

XWE Issue

Post by Lioyd_Irving » Mon Feb 04, 2008 15:07

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 ?
Jack the Ripper, Charles Manson and Adolf Hitler all drank water. You criminal scum !

User avatar
Enjay
There is no dark side in the moon, really...
Developer
Developer
Posts: 4624
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay » Mon Feb 04, 2008 17:48

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")

User avatar
Lioyd_Irving
FAAAAAAAAIL WITH STYLE
Posts: 122
Joined: Sun Dec 30, 2007 15:44
Location: Where ?

Post by Lioyd_Irving » Thu Feb 07, 2008 17:32

Thanx you.
Jack the Ripper, Charles Manson and Adolf Hitler all drank water. You criminal scum !

Post Reply

Return to “Editing Help”