I need help.HOW DO YOU USE SOUNDS IN DECORATE (i.e.: seesound, or A_PlaySound, etc.)?!?!I loaded a sound into the wad and called it EVILLAFF, now how do I make it play?!
Quote from: ChexMaster2109 on October 27, 2010, 09:10:19 PMI need help.HOW DO YOU USE SOUNDS IN DECORATE (i.e.: seesound, or A_PlaySound, etc.)?!?!I loaded a sound into the wad and called it EVILLAFF, now how do I make it play?!http://zdoom.org/wiki/SNDINFOThen add the flag AttackSound "Whatever your sound's name is. IE Evil/Laugh" with the "s.
funnyimp/laughsound EVILLAFF
A_Playsound(funnyimp/laughsound, ... ... ...)
Quote from: Replica on October 27, 2010, 09:59:37 PMQuote from: ChexMaster2109 on October 27, 2010, 09:10:19 PMI need help.HOW DO YOU USE SOUNDS IN DECORATE (i.e.: seesound, or A_PlaySound, etc.)?!?!I loaded a sound into the wad and called it EVILLAFF, now how do I make it play?!http://zdoom.org/wiki/SNDINFOThen add the flag AttackSound "Whatever your sound's name is. IE Evil/Laugh" with the "s. not quite... add an entry for the sound in SNDINFO, in the format<category>/<sound> <Sound lump name>you can make <category> and <sound> anything you want, although you should probably pick something that makes sense so you can remember it.A good choice would be to doIn your SNDINFO lump...Code: [Select]funnyimp/laughsound EVILLAFFthen, in decorate, just useCode: [Select]A_Playsound(funnyimp/laughsound, ... ... ...)set it to the attacksound to have the sound play when the monster attacks, to the see sound plays when the monster enters the see state, etc....