OpenXcom Forum

Modding => Work In Progress => Topic started by: robin on July 31, 2016, 09:11:59 pm

Title: Maximum step height that an unit can climb?
Post by: robin on July 31, 2016, 09:11:59 pm
So i have these big blocks that i want to use (instead of regular slopes) to make sloped ufo roofs.
(as you can see they're of Tile_Type: 3, like stairs)

(https://a.pomf.cat/idmboc.png)

The goal is that units should be able to walk on there, climbing the step from a block of smaller size to the block of bigger size (for example: from block 0 to block 1).
I could experiment this myself, but it's a long and boring thing to do, so if someone already has the knowledge i'll gladly make use of it :P

thanks
Title: Re: Maximum step height that an unit can climb?
Post by: Warboy1982 on August 02, 2016, 06:49:41 am
10
Title: Re: Maximum step height that an unit can climb?
Post by: robin on August 02, 2016, 09:03:04 pm
thanks!

I confess I also found a way to test that quickly: MCDPatches. I had forgot about them! :-[
Anyway your answer lead me to focus on the MCD value responsible for the behavior: Terrain_Level (which is referred to as terrainHeight in MCDPatches); initially I thought LOFTs could be involved too.