Page 1 of 1

Make the player not be able to step above a -8 height sector

PostPosted: Tue Oct 03, 2017 12:00 pm
by arachnotron
As we know the doom engine considers something too high to be walked throught if it's 8 units of height or higher. What I noticed when designing a more realistic map is that to get tables in a realistic scale, 8 is too high, they need to be a bit lower, say 6. The problem is, doomguy is stepping above the tables and I would like it for it to not do this because it looks kinda dumb ingame. I want the player to need to jump if he wants to walk on top of the table.

So how do I somehow do this?

Re: Make the player not be able to step above a -8 height se

PostPosted: Tue Oct 03, 2017 1:16 pm
by Caligari87
8 units high? What kind of scale are you using where a table is 8 units high? It should be at least 32-36 for a Doom-scale table, which should be higher than the default step-up height of 24.

You can adjust the player's max step-up height if you're using a custom player class. actor_properties.

8-)

Re: Make the player not be able to step above a -8 height se

PostPosted: Tue Oct 03, 2017 1:35 pm
by arachnotron
Caligari87 wrote:8 units high? What kind of scale are you using where a table is 8 units high? It should be at least 32-36 for a Doom-scale table, which should be higher than the default step-up height of 24.

You can adjust the player's max step-up height if you're using a custom player class. actor_properties.

8-)

Yes, I got confused, it's higher than 24 to stop being able to cross it.

For me, a table actually feels like it's at scale at 24, so I don't want to make the actor higher, I want the pov to stay as it is, I just want it to not be able to step above a 24 height floor.

Re: Make the player not be able to step above a -8 height se

PostPosted: Tue Oct 03, 2017 1:46 pm
by Caligari87
Okay, then set a lower MaxStepHeight in your playerclass, like 16 or 20.

8-)