A neat editing trick I accidentally discovered
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.
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.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
A neat editing trick I accidentally discovered
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!
-
- Posts: 132
- Joined: Sat Jan 01, 2005 10:11 pm
- Location: Saint Paul, MN
- Cutmanmike
- Posts: 11353
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
- Contact:
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
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.

- Lexus Alyus
- Posts: 4220
- Joined: Tue Jul 15, 2003 5:07 pm
- Location: Nottingham, UK
- Contact:
- Cutmanmike
- Posts: 11353
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
- Contact:
- 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
But why the 'enable wind' flag?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!
- Cutmanmike
- Posts: 11353
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
- Contact: