It needs both!Nemoricus wrote:Okay, what exactly worked? The AI? Or the change to the ship data?
I now downloaded version 4.0 and tested it. It uses the same like_ship references. That means none of the present behemoths works as intended. Only it is more visible with the mission behemoth. I wrote a small patch file that contains a altered shipdata.plist. Replace the original one with this one
But when looking in an AI trace I see:
Code: Select all
Oolite [ai.message.receive] AI.m:353: AI hofd-nellieAI.plist for Behemoth - Nellie 237 in state 'ATTACK_SHIP' receives message 'EXIT'
Oolite [ai.message.receive] AI.m:353: AI hofd-nellieAI.plist for Behemoth - Nellie 237 in state 'ABANDON_SHIP' receives message 'ENTER'
Oolite [ai.takeAction] AI.m:411: Behemoth - Nellie 237 to take action launchShipWithRole: hofd-shuttle
Oolite [ai.takeAction] AI.m:411: Behemoth - Nellie 237 to take action setSpeedTo: 0.0
Oolite [ai.takeAction] AI.m:411: Behemoth - Nellie 237 to take action performIdle
//
Oolite [ai.message.receive] AI.m:353: AI hofd-nellieAI.plist for Behemoth - Nellie 237 in state 'ABANDON_SHIP' receives message 'ENERGY_LOW'
Oolite [ai.message.receive] AI.m:353: AI hofd-nellieAI.plist for Behemoth - Nellie 237 in state 'ABANDON_SHIP' receives message 'ATTACKED_BY_CLOAKED'
Oolite [ai.message.receive] AI.m:353: AI hofd-nellieAI.plist for Behemoth - Nellie 237 in state 'ABANDON_SHIP' receives message 'ENERGY_LOW'
Oolite [ai.message.receive] AI.m:353: AI hofd-nellieAI.plist for Behemoth - Nellie 237 in state 'ABANDON_SHIP' receives message 'DOCKING_REQUESTED' <====== Should not happen
Oolite [ai.message.receive] AI.m:353: AI hofd-nellieAI.plist for Behemoth - Nellie 237 in state 'ABANDON_SHIP' receives message 'ATTACKED_BY_CLOAKED'
Oolite [ai.message.receive] AI.m:353: AI hofd-nellieAI.plist for Behemoth - Nellie 237 in state 'ABANDON_SHIP' receives message 'ENERGY_LOW'
Oolite [ai.message.receive] AI.m:353: AI hofd-nellieAI.plist for Behemoth - Nellie 237 in state 'ABANDON_SHIP' receives message 'ATTACKED_BY_CLOAKED'
Oolite [ai.message.receive] AI.m:353: AI hofd-nellieAI.plist for Behemoth - Nellie 237 in state 'ABANDON_SHIP' receives message 'ENERGY_LOW'
By adding my altered dockingAI back in, those escorts dock at the nearest station to them and not to the player. Almost immediately I saw Kurtz launching.
So also add my altered AI files from above message. But the problem with the escort docking should really be fixed in code not in AI for a future Oolite release