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

Ending a level via monster death

Recommended Posts

I just found this neat trick:

http://www.doomworld.com/vb/doom-editing/10232-boss-deaths/

But I'm a bit (ok, a lot) of a retard with dehacked, and even more so with WhackEd2. When I changed the Cyberdemon's death state to the boss-brain's death state, it worked in ending the level, but not in the manner that I had hoped. The level-end-screen triggered immediately upon the Cyberdemon's death, as opposed to the end of its death animation.

I'm guessing I have to do some fiddling with animation frames and such? Never messed with any of that before...

Or does this method of forced-level-end only work at the moment of the monster's death (feels so awkward as to be completely unusable)?

Edit: Oh, and I'm shooting for at least Boom level of compatability, so not interested in zdoom/etc. tricks ;-P

Share this post


Link to post

You should apply the final boss code pointer the cyberdemon's boss trigger frame, which is 700, instead of the dead mode frame (696.) In addition, you can also extend the duration of the preceding frame 699 to a longer period you consider suitable, if you want some time after its death sequence completes. The penultimate frame, which looks just like the final frame with the trigger (both use subsprite 15) normally lasts 30 tics, which is less than a second.

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  
×