Whys is ZXmasTree invulnerable to all but fire?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
User avatar
Enjay
 
 
Posts: 26403
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Whys is ZXmasTree invulnerable to all but fire?

Post by Enjay »

I probably should know this but...

What is is about the ZXmasTree actor [wiki]Classes:ZXmasTree[/wiki] that makes it invulnerable to "normal" damage?

I can shoot at it with just about anything*, but it only gets destroyed when using a weapon that does fire damage. Is it simply because it only has a burn death sequence and no others?

*the exception seems to be hitting it with MDK which just makes it vanish.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47976
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Whys is ZXmasTree invulnerable to all but fire?

Post by Graf Zahl »

Yes, it is the absence of a normal death state.
User avatar
Enjay
 
 
Posts: 26403
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: Whys is ZXmasTree invulnerable to all but fire?

Post by Enjay »

Suspicious confirmed. Thanks. :)

I take that MDK destroying it (i.e. making it vanish) is something to do with MDK having massive overkill capabilities and the tree just going to a death state that it doesn't have? I note that the "massacre" cheat doesn't make that happen (I assume because the tree doesn't have the ISMONSTER flag).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47976
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Whys is ZXmasTree invulnerable to all but fire?

Post by Graf Zahl »

All correct. MDK has special code to force a death and 'massacre' only kills monsters.
User avatar
Enjay
 
 
Posts: 26403
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: Whys is ZXmasTree invulnerable to all but fire?

Post by Enjay »

Perfect, thanks.

Return to “Scripting”