Primarily I want this because I was playing a level that I'd made and I wandered under a 3D platform as it lowered. Rather than casually standing there with a platform pushing down on my head until I got out of the way, logically I should have been taking damage from it.
I can see 4 ways in which damage should happen to a player:
1 - no damage - the current situation
2 - damage if the floor pushes down on the player from above
3 - damage if the floor pushes up on the player from below
4 - both 2 and 3
Obviously, how damaging etc would be nice too. Would this be possible? (Or maybe it can be done already somehow - but I couldn't see/think of anything.)
Crushing 3D floors
Moderator: Graf Zahl
-
- Developer
- Posts: 4752
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
-
- Stronghold Team
- Posts: 319
- Joined: Thu Apr 12, 2007 21:35
- Location: Germany
-
- Persecution Complex
- Posts: 152
- Joined: Tue Nov 08, 2005 23:04
- Location: Industrial Zone
-
- Posts: 27
- Joined: Fri Dec 02, 2005 15:18
- Location: Michigan
-
- Posts: 91
- Joined: Thu Aug 09, 2007 19:07
-
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
Yeah, it would be nice - but there's a little problem:
It would require a completely new set of action specials, significant changes to the floor/ceiling movement code (because the code assumes that a rising ceiling/lowering floor cannot crush) and probably some other things I haven't thought about as well.
It would require a completely new set of action specials, significant changes to the floor/ceiling movement code (because the code assumes that a rising ceiling/lowering floor cannot crush) and probably some other things I haven't thought about as well.
-
- Developer
- Posts: 4752
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
-
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany