Question concerning maxwaterdepth

Question concerning maxwaterdepth

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Question concerning maxwaterdepth

Post by submarine »

How is the maximum waterdepth a unit can cross calculated? I had a look at BA 6.0 and a lot of units have max waterdepth = 12. Nevertheless they are able to cross the shallow water on the map Tropical where the waterdepth is -19 at the deepest point of the passage.... Is there any offset I do not know about?
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: Question concerning maxwaterdepth

Post by Peet »

submarine wrote:How is the maximum waterdepth a unit can cross calculated? I had a look at BA 6.0 and a lot of units have max waterdepth = 12. Nevertheless they are able to cross the shallow water on the map Tropical where the waterdepth is -19 at the deepest point of the passage.... Is there any offset I do not know about?
It's the one in the movedata that matters. The one in the fbi determines where it can be built.
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Re: Question concerning maxwaterdepth

Post by submarine »

thx very much!
Post Reply

Return to “Engine”