View Single Post
Old 02-20-14, 10:32 AM   #2184
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by GaetVa View Post
Hello TDW,

what i mean : is AI combat arises even if the player sub is not closed
to AI ships. For instance, imagine that 2 ennemies ships are closed enough
but my sub is far away this 2 ships (about 200 km). Are this 2 ennemies ships will fight even if they are not in my line of sight ?

or my submarine need to be closed enough to this ships to make them engaging each other ?
I'm inclined to say yes they will. Every game unit is an autonomous unit unless it belongs to a group. But then again I'm also inclined to say they won't because they are out of rendering range When units are out of rendering range a completely different set of routines are used to update all the game units (the MissionEngine.dll is responsible for this). I don't recall seeing anything in MissionEngine.dll responsible for combat - it mainly just updates unit's position. I never saw it call into SHSim.act (which is responsible for combat for the most part) so I would have to say that combat doesn't exist outside of the rendering range.
TheDarkWraith is offline   Reply With Quote