It's that time again! Another one of Pharonix' crazy features.
Today I thought I'd drop an update on my previous post about Height differences.
I decided to go with regions.
Even though obstacles use 249/250 for nonLOS and LOS blocking obstacles, I went with the following logic
I get the player's cell's region, and the target cell region.
if the the absolute value of playerR-cellR is less than or equal to 1, then it is walkable, otherwise it is not.
The way it currently works, is it ignores pathing (as in, it will not check if the cell is surrounded by 1 height lower). see picture and explanation.
I plan to patch this later.
This is merely stage 1.
Next I will be implementing the tags
<Float>
<Jump: x>
as well as the passive skills
Float
Jump + x (Jump +1, Jump +2, Jump +3
(if jump 3 is
Float will completely ignore the height difference, as well as granting earth resistance (and increasing electric damage)
Jump will only count the Highest value
so if jump 2 and 3 are equipped, only jump 3 counts.
Test map:
View attachment 107453View attachment 107454
Currently because it doesn't use pathing,
The player selects MOVE
then only the regions of 1 and 2 are selectable.
View attachment 107455
Lets move here, and see what happens.
Hey now, we can access that second level now!
View attachment 107456
Once More:
View attachment 107457
Let's end our turn here:
View attachment 107458
Next Turn:
View attachment 107459
Now the Level Below, as well as the entire Top are available to us!
Wonderful! Stage One Complete!!
[Notes to self]
Enemies will not be able to do this multi-step movement.
This will require a path-checking patch.
I Will Keep You All Updated.