DOOM 2 FORMAT - Boss Death ends game

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
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
Hidden Hands
Posts: 1053
Joined: Tue Sep 20, 2016 8:11 pm
Location: London, England

DOOM 2 FORMAT - Boss Death ends game

Post by Hidden Hands »

How can I pull this off? In standard DOOM 2 format, the monster has very few options in GZDB. I want its defeat to end the level, or alternatively, its defeat allow a door to open to the exit or something similar.

Thanks in advance.
User avatar
Arctangent
Posts: 1235
Joined: Thu Nov 06, 2014 1:53 pm

Re: DOOM 2 FORMAT - Boss Death ends game

Post by Arctangent »

If there's only one monster you need to kill and any map it appears in is ended by its death, you can use DeHackEd to make its final Death state call A_BrainDie.

Alternatively, you can do the same with A_KeenDie and block the exit off by an unopenable door tagged 666, or if your map is MAP07 you can use A_BossDeath instead and replace the mancubus or arachnotron and block the exit appropriately.

If none of these work, you'll just need to target ZDoom. Or possibly Eternity or 3DGE, as I would be surprised if they don't have a way to do this more elegantly but I don't actually know if they do or not.
User avatar
Hidden Hands
Posts: 1053
Joined: Tue Sep 20, 2016 8:11 pm
Location: London, England

Re: DOOM 2 FORMAT - Boss Death ends game

Post by Hidden Hands »

Arctangent wrote:you can use DeHackEd to make its final Death state call A_BrainDie.
Can this be done with DECORATE in SLADE 3?
User avatar
Arctangent
Posts: 1235
Joined: Thu Nov 06, 2014 1:53 pm

Re: DOOM 2 FORMAT - Boss Death ends game

Post by Arctangent »

If you're targeting ZDoom, then yeah.
User avatar
Hidden Hands
Posts: 1053
Joined: Tue Sep 20, 2016 8:11 pm
Location: London, England

Re: DOOM 2 FORMAT - Boss Death ends game

Post by Hidden Hands »

Arctangent wrote:If you're targeting ZDoom, then yeah.
Well the game is DOOM in DOOM II format, but its meant to be run with GZDoom. Still workable?

Return to “Scripting”