A neat editing trick I accidentally discovered

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

A neat editing trick I accidentally discovered

Post by Graf Zahl »

Mark a sector with Doom 1's 'end level' sector special and then add 'enable wind'. The wind flag will disable the damage of the end level flag but the special handling that prevents the player from dying still works. You will have a sector where you can't die!
User avatar
Vader
Posts: 4241
Joined: Fri Jul 30, 2004 4:00 am
Location: Germany

Post by Vader »

This might be pretty useful :)
You could build a kind of holy sanctuary where you´re secure from the demons, for example!
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

that's pretty awesome! I might just be able to use that...
User avatar
Medricel
Posts: 1138
Joined: Sat Nov 20, 2004 9:47 am

Post by Medricel »

Wow, very neat... Too bad you get left off with 1 hitpoint, though :p
Oh well, that's why medkits were invented!
killingblair
Posts: 937
Joined: Mon Oct 04, 2004 9:16 pm

Post by killingblair »

Yeah! Like a holy river or something!
fuzzyfireball 1
Posts: 132
Joined: Sat Jan 01, 2005 10:11 pm
Location: Saint Paul, MN

Post by fuzzyfireball 1 »

heh this would be good for the map my friend made!

the llama demons land! their a holy water fountien heh :P

good find! :P
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

Interesting... How the hell did you manage find that?
User avatar
Chris
Posts: 2978
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

Am I the only one that thinks this is a bug that should be fixed? Imagine a windy cliff with a bunch of debris being blown at you, and the level ends when you die/go unconscious.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

cutmanmike wrote:Interesting... How the hell did you manage find that?

I was looking at the dying code when I thought about Boom's bit mask implementation which disables any normal damage types when one of the bit flags is set. So I just modified E2M8 to test it and voilà - the Cyberdemon was unable to kill me!


@Chris: No, it's not a bug. The way it behaves is fully intentional - except for the not being able to die part. The bit flags disable the damage types intentionally. Although, in Boom they completely disable the normal sector special so all ZDoom does is adding an additional feature. ;)
User avatar
Lexus Alyus
Posts: 4220
Joined: Tue Jul 15, 2003 5:07 pm
Location: Nottingham, UK
Contact:

Post by Lexus Alyus »

This is not a bug, this is a very useful trick ;).

:twisted:
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

If it aint broke, don't fix it!
User avatar
Anakin S.
Posts: 1067
Joined: Fri Nov 28, 2003 9:39 pm
Location: A long time ago in a galaxy far, far away...

Re: A neat editing trick I accidentally discovered

Post by Anakin S. »

Graf Zahl wrote:Mark a sector with Doom 1's 'end level' sector special and then add 'enable wind'. The wind flag will disable the damage of the end level flag but the special handling that prevents the player from dying still works. You will have a sector where you can't die!
But why the 'enable wind' flag?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

You can also use the 'enable friction' flag. It's just that the wind flag has the least impact on the game. Any of the Boom bitflag values will achieve this effect.
User avatar
Cutmanmike
Posts: 11353
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

I'm wondering what would happen if the player got MDKed or ACS kills him..
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49234
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Impossible. The check is done in the damaging function. The player can't die in such a sector.
Locked

Return to “Editing (Archive)”