XWE Issue

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

XWE Issue

Post 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 ?
Jack the Ripper, Charles Manson and Adolf Hitler all drank water. You criminal scum !
User avatar
Enjay
Developer
Developer
Posts: 4723
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post 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")
User avatar
Lioyd_Irving
Posts: 122
Joined: Sun Dec 30, 2007 15:44
Location: Where ?

Post by Lioyd_Irving »

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

Return to “Editing Help”