doc
I'm eager to add
Code: Select all
float Map::GetWaterDamage();
bool Map::IsVoidWater();
But maybe i missed something?
There is a workaround (borrowed from RAI), but thats ugly.
Moderators: hoijui, Moderators
Code: Select all
float Map::GetWaterDamage();
bool Map::IsVoidWater();
I would consider it a passable somewhat heuristic given that no maps with traversible voidwater currently exist. But the actual mechanism to prevent construction or travel in voidwater is either waterdamage or a gadget.An AI attempt to build navy in VoidWater would be interesting. But how should ai know that AstroTurf_v2 has no navy? WaterDamage > 1e+10?
Can't say that i totally undertand RAI but it actually using VoidWater for terrain analysis (maybe its only relevant for other mods, not ZK?).
Code: Select all
float Map::GetWaterDamage();