Zero-K icon indicating copy to clipboard operation
Zero-K copied to clipboard

Dev engine: check waterlines

Open sprunk opened this issue 1 year ago • 4 comments

waterline in unit def is no longer a thing, it is now a part of movedef. This can ruin things like ships, and swimming chickens who have individual waterlines but belong to the same movedef. Subs may be affected- in addition to waterline, movedef now also has a height entry which affects what ships (or floating buildings) they can path under.

sprunk avatar Mar 23 '24 19:03 sprunk

Apparently affects floating nanos as well (who technically still have a movedef).

sprunk avatar Sep 24 '24 05:09 sprunk

Wasn't waterline supposed to be irrelevant for pathfinding? Ie just how high the unit sits in the water.

GoogleFrog avatar Sep 24 '24 06:09 GoogleFrog

Apparently it affects submarines being able to path under surface stuff

sprunk avatar Sep 24 '24 07:09 sprunk

I hadn't seen anything that convinced me it wasn't just a grey sphere repulsion problem. And BAR having values that makes it come up a lot.

GoogleFrog avatar Sep 24 '24 11:09 GoogleFrog

1962afd2f4a6b969f5ca20108dd512fea8674e2b

sprunk avatar Mar 21 '25 15:03 sprunk