View Single Post
Old 02-14-07, 11:44 AM   #2
LuftWolf
Ocean Warrior
 
Join Date: May 2005
Location: Free New York
Posts: 3,167
Downloads: 2
Uploads: 0
Default

The reason AI platforms set their torpedo depth wrong is because the NavalSimEngine feeds the depth to the weapon in meters, but the doctrine reads the input as feet.

So, in order to correct this, you need to create a RunOnce section in the doctrine that converts the SearchDepth variable from meters to feet. If you need an example of this, you can see the torpedo doctrines included with LWAMI.

LWAMI also includes some extra features to make the AI set torpedoes under the layer with some variability in all torpedo depth settings.

Cheers,
David
__________________
LW
LuftWolf is offline   Reply With Quote