Page 1 of 1

[SOLVED] Free-falling elevator.

Posted: Sat Mar 21, 2015 11:25 pm
by Vincent(PDP)
I've created an elevator that's going to free-fall.
Now how can I get rid of the players bumping up and down like this? I just want them to stay on the floor.
phpBB [video]
The [video] tag is deprecated, please use the [media] tag
Thanks. :)

No more explaining needed.[/size]

RE: Free-falling elevator.

Posted: Sun Mar 22, 2015 12:41 am
by Arctangent
Have the elevator stay in place, and instead simulate it going down by scrolling the outside wall textures upward.

If you need the elevator to actually act like an elevator, then you can instead have all the surrounding sectors move instead of the elevator sector, having the same effect but actually leaving the player physics unaffected

RE: Free-falling elevator.

Posted: Sun Mar 22, 2015 2:13 am
by ibm5155
Hmm
-change the elevator gravity so people will not be abble to jump.
-make it a bit smaller so people will not be abble to jump.
-summon some bridges to block the player jump.
-or maybe idk if you can, disable the fall damage on the elevator area

RE: Free-falling elevator.

Posted: Sun Mar 22, 2015 4:32 am
by Zanieon
All those tricks can't go against the engine's gravity if you really want make the elevator freefall, but too you can't go beyond 64 of moving speed since i think this is the limit that the engine attaches actors relative to floor, changing gravity doesn't affect the behavior of actors bumping but this value is too short for a real "freefall" tho

RE: Free-falling elevator.

Posted: Sun Mar 22, 2015 8:43 am
by Ivan
Uh you should hit the ceiling if it's falling down really fast, what's so bad about it? Just force the player's VelZ to acommodate the physical behavior of the elevator.

RE: Free-falling elevator.

Posted: Sun Mar 22, 2015 9:17 am
by Vincent(PDP)
@Arctangent:
Scrolling the textures won't work. There will be objects that you can see through the windows on the way down... It will also break the "Distance below surface" counter that's seen next to the elevator's doors. There's also too many surrounding sectors that will make a hell of a noise if all lowers, plus there will be players in those sectors too.

@ibm5155:
I've tried changing the gravity, it kills the players instead.
I could make an invisible ceiling that blocks the players though.
Disabling the fall damage goes with the above invisible ceiling then.

@Ivan:
I think I understand what you mean... I'll try that too.

RE: Free-falling elevator.

Posted: Sun Mar 22, 2015 11:54 am
by Vincent(PDP)
Thanks for all your suggestions guys!

I (pretty much) solved this using ThrustThingZ and removing the falling damage from the sector.


Read further down.

RE: [SOLVED] Free-falling elevator.

Posted: Fri Mar 27, 2015 6:20 pm
by Dusk
There's a better way to do this, a sector property that does exactly what you want. Its UDMF key is 'dropactors'.
Image

RE: [SOLVED] Free-falling elevator.

Posted: Fri Mar 27, 2015 9:37 pm
by Vincent(PDP)
Dusk wrote: There's a better way to do this, a sector property that does exactly what you want. Its UDMF key is 'dropactors'.
Image
3D:!

I use Hexen format. :cuteface:
Thanks for the heads up, Dusk!
I noticed that there's a flag for that using ACS. :)
SECF_FLOORDROP