Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

My 3D floor will not crush and kill the player problem.

Recommended Posts

How do I make this script execute a 3d floor that will lower and crush the player instantly when he stands underneath it?


script 1 (void)
 FloorAndCeiling_RaiseByValue(10, 20, 496);
 FloorAndCeiling_LowerByValue(10, 20, 496);

Share this post

Link to post

This isn't exactly what you are looking for, but it might do the job:  Have the script turn the sector into an instant-death sector when it lowers the 3D floor, and back to normal when it raises the 3D floor.

Share this post

Link to post

You could try a dummy sector crusher to drive the movement of the 3DFloor, using Sector Set Link to bind the crusher's ceiling to the floor and ceiling of the 3DFloor. It will behave more like a Hexen crusher than a Doom one, in that it will stop and apply damage continous until the player dies or escapes.

Share this post

Link to post


#include "zcommon.acs"


script 1 (void)  // triggered script

    FloorAndCeiling_RaiseByValue (1, 10, 90); // raise both by 90 from 0
    delay (35*15);
    Floor_MoveToValueAndCrush (1, 8, 0, 8, 2); // moves floor to 0 height
    Ceiling_LowerByValue (1, 8, 90); // lower ceiling by 90





should do the trick.




Edited by Kappes Buur

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now