Quote:
Originally Posted by redline202
######################### Ship consts ##########################
SHIP_PATROL_RATE = 0.008333; # (1.f / (20.f * 60.f))
STATE_CRUISE = 0; #Normal navigation
STATE_ALERT = 1; #Alert State
STATE_DMG_CONTROL = 2; #damage control
STATE_IN_PORT = 3; #docked
STATE_FAKE_SURRENDER = 4; #fakesurrender
STATE_SURRENDER = 5; #surrender
STATE_ABANDON = 6; #abandonship
I have found these lines in IRAI Scripts\AI\init.aix
"STATE_IN_PORT = 3; #docked" Could this maybe be the problem with
stuck ships in ports?, i was trying simply to delete this line but i didn't have time
to test it in the campaign.
|
As far as I can understand, those lines are where TDW is declaring ship state variables, used farther in his code to determine ship tactics. If you remove them from the code, AI routines will look for those missing variables, and the game will likely CTD