The movement range works on the idea of having move points, points that you expend for moving.
I made it that I can also restrict movement based on the angle of the terrain being walked on.
Orange lines mean you can’t go further because the angle of the ground is too steep or too high.
Green lines mean he can’t move farther in that direction, but only because he ran out of move points. He has to end his turn to go further.
Here’s how it looks like as I increase the available move points.
At 75 move points:
At 100 move points:
He can go further upwards the hill’s path, and further downwards to the tower.
But notice all those orange lines. That means he’s not allowed to climb near-vertical slopes, nor can he jump down from the hill. Later on I may implement climbing and jumping down.
I can also make moving upwards more costly, making the move range shorten on upward paths only.
Such properties are meant for heavy units with bulky armor; they get tired faster walking upwards.
Here, upward movement is greatly restricted, but notice downward movement hasn’t changed.
Contrast that to units that can move upward easily, like a Scout or Pathfinder type of unit: lightly protected and has low survivability in thick battles, but can easily move where heavy units have trouble.