Crushing 3D floors

Moderator: Graf Zahl

Locked
User avatar
Enjay
Developer
Developer
Posts: 4747
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Crushing 3D floors

Post by Enjay »

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.)
User avatar
KeksDose
Stronghold Team
Posts: 319
Joined: Thu Apr 12, 2007 21:35
Location: Germany

Post by KeksDose »

I bump this idea because I just seconded it :D
User avatar
The Ultimate DooMer
Persecution Complex
Posts: 152
Joined: Tue Nov 08, 2005 23:04
Location: Industrial Zone
Contact:

Post by The Ultimate DooMer »

Is there an acs command that returns the floor/ceiling height of a sector? If so you could script a crusher by having it damage the player when it's 56 units off the floor and you're on the real sector's floor.
farlowj
Posts: 27
Joined: Fri Dec 02, 2005 15:18
Location: Michigan

Post by farlowj »

But what if you're crouching? Is there a command to determine your height then?


By the way, this suggestions is thirded.
DoomerMrT
Posts: 91
Joined: Thu Aug 09, 2007 19:07

Post by DoomerMrT »

fourthed.Yep,it would be nice too if we could define how much damage the player(or other actor)will take when the 3D is crushing:Instant death etc...
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

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.
User avatar
Enjay
Developer
Developer
Posts: 4747
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

That's a shame. :? Oh well, it'll just have to be one of those game oddities then. :dunno:
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Should be doable with clever use of linked sectors now.
Locked

Return to “Closed Feature Suggestions”