MasterofJKD Posted December 29, 2011 I was trying to do breakable glass I opened up XWE...I have a breakable glass sound, and a few sprites, I know how to add sprites through XWE. But heres the problem I took the glass breaking sound from Strife, and so now I don't know how to implement it, as in I don't know what to type in "ANIMDEFS". Any help would be appreciated. 0 Share this post Link to post
EarthQuake Posted December 29, 2011 Unless your breakable glass is somehow done via animated textures or switches, you don't need ANIMDEFS for that. Define the sound in SNDINFO and use one of the many available ACS functions to play the sound you defined. 0 Share this post Link to post
Enjay Posted December 29, 2011 EarthQuake said:Unless your breakable glass is somehow done via animated textures or switches... I could be wrong but, by the way you said that, you may not be familiar with the way ZDoom allows the use of the Strife glassbreak special http://zdoom.org/wiki/GlassBreak Personally, I use ACS because I find it more flexible with better results too but I just thought I'd mention the Strife special in case it was relevant. 0 Share this post Link to post
Gez Posted December 29, 2011 FYI The switch definition in ANIMDEFS will be something like that:switch GLASS on sound world/glassbreak pic BROKEN tics 0Then you'll need a SNDINFO lump with something like this:world/glassbreak dsbglassAnd you can put the DSBGLASS sound lump from Strife too. 0 Share this post Link to post