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

Discuss all aspects of editing for ZDoom.
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

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

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?
arachnotron

Joined: 16 Sep 2017

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

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.

Caligari87
I'm just here for the community
User Accounts Assistant

Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

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

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.

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.
arachnotron

Joined: 16 Sep 2017

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

Okay, then set a lower MaxStepHeight in your playerclass, like 16 or 20.

Caligari87
I'm just here for the community
User Accounts Assistant

Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089