[SOLVED] Free-falling elevator.

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
Vincent(PDP)
Forum Regular
Posts: 527
Joined: Thu Mar 14, 2013 7:35 pm
Location: Sweden
Clan: My DOOM site
Clan Tag: <MDS>
Contact:

[SOLVED] Free-falling elevator.

#1

Post by Vincent(PDP) » Sat Mar 21, 2015 11:25 pm

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]
Last edited by Vincent(PDP) on Sun Mar 22, 2015 11:55 am, edited 1 time in total.
//Visual Vincent ( Vincent (PDP) )
- My DOOM site Team

My projects:
Spoiler: (Open)
Doom Writer
Escape From The Laboratory - Done
Escape From The Laboratory Part 2
Parkskolan Zombie Horde Map (ZM10) - Done
In game Admin Commands for Zandronum.
Achievement Mod for Zandronum
Stats mod

Arctangent
 
Posts: 82
Joined: Mon Nov 24, 2014 8:19 am

RE: Free-falling elevator.

#2

Post by Arctangent » Sun Mar 22, 2015 12:41 am

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

User avatar
ibm5155
Addicted to Zandronum
Posts: 1641
Joined: Tue Jun 05, 2012 9:32 pm
Location: Somewhere, over the rainbow

RE: Free-falling elevator.

#3

Post by ibm5155 » Sun Mar 22, 2015 2:13 am

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
Projects
Cursed Maze: DONE, V2.0
Zombie Horde - ZM09 map update: [3/15/13]
Need help with English? Then you've come to the right place!

<this post is proof of "Decline">

Zanieon
Forum Regular
Posts: 227
Joined: Tue Jun 05, 2012 1:17 am
Location: Somewhere in the future
Contact:

RE: Free-falling elevator.

#4

Post by Zanieon » Sun Mar 22, 2015 4:32 am

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
Last edited by Zanieon on Sun Mar 22, 2015 4:32 am, edited 1 time in total.
Image

User avatar
Ivan
Addicted to Zandronum
Posts: 2229
Joined: Mon Jun 04, 2012 5:38 pm
Location: Omnipresent

RE: Free-falling elevator.

#5

Post by Ivan » Sun Mar 22, 2015 8:43 am

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.
=== RAGNAROK DM ON ... uh... dead forever? ===
=== ALWAYS BET ON ... uh... dead forever? ===
=== Who wanta sum wang? ===
=== Death and Decay - A new Monster/Weapon replacer ===

User avatar
Vincent(PDP)
Forum Regular
Posts: 527
Joined: Thu Mar 14, 2013 7:35 pm
Location: Sweden
Clan: My DOOM site
Clan Tag: <MDS>
Contact:

RE: Free-falling elevator.

#6

Post by Vincent(PDP) » Sun Mar 22, 2015 9:17 am

@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.
//Visual Vincent ( Vincent (PDP) )
- My DOOM site Team

My projects:
Spoiler: (Open)
Doom Writer
Escape From The Laboratory - Done
Escape From The Laboratory Part 2
Parkskolan Zombie Horde Map (ZM10) - Done
In game Admin Commands for Zandronum.
Achievement Mod for Zandronum
Stats mod

User avatar
Vincent(PDP)
Forum Regular
Posts: 527
Joined: Thu Mar 14, 2013 7:35 pm
Location: Sweden
Clan: My DOOM site
Clan Tag: <MDS>
Contact:

RE: Free-falling elevator.

#7

Post by Vincent(PDP) » Sun Mar 22, 2015 11:54 am

Thanks for all your suggestions guys!

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


Read further down.
Last edited by Vincent(PDP) on Fri Mar 27, 2015 9:40 pm, edited 1 time in total.
//Visual Vincent ( Vincent (PDP) )
- My DOOM site Team

My projects:
Spoiler: (Open)
Doom Writer
Escape From The Laboratory - Done
Escape From The Laboratory Part 2
Parkskolan Zombie Horde Map (ZM10) - Done
In game Admin Commands for Zandronum.
Achievement Mod for Zandronum
Stats mod

User avatar
Dusk
Developer
Posts: 581
Joined: Thu May 24, 2012 9:59 pm
Location: Turku

RE: [SOLVED] Free-falling elevator.

#8

Post by Dusk » Fri Mar 27, 2015 6:20 pm

There's a better way to do this, a sector property that does exactly what you want. Its UDMF key is 'dropactors'.
Image
Last edited by Dusk on Fri Mar 27, 2015 6:21 pm, edited 1 time in total.

User avatar
Vincent(PDP)
Forum Regular
Posts: 527
Joined: Thu Mar 14, 2013 7:35 pm
Location: Sweden
Clan: My DOOM site
Clan Tag: <MDS>
Contact:

RE: [SOLVED] Free-falling elevator.

#9

Post by Vincent(PDP) » Fri Mar 27, 2015 9:37 pm

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
Last edited by Vincent(PDP) on Fri Mar 27, 2015 9:39 pm, edited 1 time in total.
//Visual Vincent ( Vincent (PDP) )
- My DOOM site Team

My projects:
Spoiler: (Open)
Doom Writer
Escape From The Laboratory - Done
Escape From The Laboratory Part 2
Parkskolan Zombie Horde Map (ZM10) - Done
In game Admin Commands for Zandronum.
Achievement Mod for Zandronum
Stats mod

Post Reply