Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
printz

New Eternity feature discussions

Recommended Posts

A thing state that was missing in Eternity and has been requiring hacks to be customizable: user-specified frames to jump to from A_VileChase when resurrecting a monster. Currently everything just goes to archvile's S_VILE_HEAL1 and you can use thing variables (exposed as "counters") combined with 0 duration to reroute the frames.

So I decided to implement a new thingtype EDF field: raiseotherstate. Default value is S_NULL. The monster will jump to this frame when the VileChase codepointer encounters a corpse. If the value is S_NULL, it will actually go to S_VILE_HEAL1, which is the default Doom behaviour. It uses the Decorate label name Heal, same as in ZDoom, for easy mod copy-paste compatibility.

Please tell me if the name bothers you and if I should just use something like "healstate" instead. I chose "raise other" because healing here is a misnomer; it doesn't just heal, it totally resurrects.

Must I also add Dehacked support for it?

Currently it is not yet included in the trunk release; I'd rather announce and discuss it first.

Share this post


Link to post

Awesome, thanks for adding this! "Healstate" might be a better naming choice I think, as "raiseotherstate" is a bit unwieldy, though it's admittedly not the hugest issue.

Share this post


Link to post

OK, I guess I'll just go with "healstate" just to be symmetrical. Then I'll probably push it to trunk/master.

Share this post


Link to post

OK, it has been uploaded. Expect it in the next DRDTeam release.

What is new:
* healstate property of thingtype EDF block.
* equivalent to the Heal label of DECORATE state syntax.
If not set, it will default to S_VILE_HEAL1.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×