Page 1 of 1

very strange pathing on map with mod-adjusted waterlevel

Posted: 30 Oct 2012, 17:25
by knorke
http://zero-k.info/Battles/Detail/110129

The waterlevel was changed with !setoptions waterlevel=-500
so that the watermap was now a dry map.
My units were very confused and did not obey:

Image

Re: very strange pathing on map with mod-adjusted waterlevel

Posted: 30 Oct 2012, 20:24
by Kloot
It just takes "a few"* minutes for the (legacy) pathfinder to update itself on Flooded Valley with that modoption set, and any path calculated before the waterlevel change is completely processed will be "funny".

* around 7.5 in fact (global Spring.AdjustHeightMap calls like the one that gets triggered via unit_terraform.lua :: gadget:Initialize --> RaiseWater are expensive), a time index of 5:20 as shown on your screenshot is still deep within the funny zone so you must wait longer if you want your units to not be confused

Re: very strange pathing on map with mod-adjusted waterlevel

Posted: 30 Oct 2012, 22:13
by PicassoCT
I actually never encountered this problem.. although i change it very slightly over the course of a game...