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?
Make the player not be able to step above a -8 height sector
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
-
- Posts: 41
- Joined: Sat Sep 16, 2017 10:38 am
-
- Admin
- Posts: 6195
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
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. [wiki]actor_properties[/wiki].
You can adjust the player's max step-up height if you're using a custom player class. [wiki]actor_properties[/wiki].
-
- Posts: 41
- Joined: Sat Sep 16, 2017 10:38 am
Re: Make the player not be able to step above a -8 height se
Yes, I got confused, it's higher than 24 to stop being able to cross it.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. [wiki]actor_properties[/wiki].
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.
-
- Admin
- Posts: 6195
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
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.