Jump to content

Multiple death messages per enemy/world death?


Reisal

Recommended Posts

Is it possible to do this, such as have multiple death messages (IE Quake's liquid deaths) ?

Share this post


Link to post

I've been trying to do this as well, and, unless someone can prove me wrong, I don't think it's possible...

Share this post


Link to post

Multiple death messages per enemy could be "faked" either by making multiple enemy classes with identical behavior (and same species property and/or inheriting from each other, to prevent unwanted infighting) but have a different death message each + having one central class that randomly picks one of the other classes to be spawned in its place upon start of the map, or similarly by making the enemy have multiple (randomly selected) projectile attacks that fire different projectile types that have distinct death messages but otherwise behave identically.

Multiple death messages per one damaging floor would be even more complicated, requiring to implement the floor's damaging effect via repeatedly calling SectorDamage via ACS with a randomly selected custom damage type each time the function was called. EDIT: Nevermind, looks like custom damage types cannot be assigned custom default death message strings, for some odd reason. Maybe you'd have luck with using LANGUAGE to redefine death messages of several of the standard damage types and using SectorDamage with these damage types instead of custom ones. Hacky, but it might work.

ZDoom's LANGUAGE really should be updated to support a "random" function to pick one text string out of multiple ones. And DECORATE be updated to support custom default death messages for custom damage types, too.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...