We have ship AI and can even launch them (like fighters) but alas, getting them back is a pain. I was hoping we might get a 'Return to Dock' function and here's how I think it could work:
Future changes pending this could be the basis for making automated shipping lanes to move materials from location to location (adding piracy to the growing list of professions). Admittedly it would be more than a small change in that we would need multiple destinations and some functionality to occur after docking (dock, unload, reload, undock, travel).
Kick it around and post your ideas.
- A dock is marked (using the beam we already have) and the core of the ship belonging there is also marked while docked (this ensures it'll actually fit).
- Dock linked ships modified when undocked should 'forget' their linking. Dcoked ships should retain their linking if changed (this stops 'too big for docking area' problems to some degree).
- The dock is then added as usual to the weapons control (or possibly even an activation module to launch many docked ships thereby conserving weapons control space). Perhaps a new control block for docks would be more appropriate (using the same system weapons are linked together).
- When activated if there is a docked ship it leaves, the AI (assuming it's enabled) takes over and it goes out and does it's AI thing.
- Afterwards the empty dock is again activated and the linked core starts to head back and re-docks if it is in range (say within 1 sector radius or something reasonable).
- Ships unable to dock (perhaps the dock was damaged) get close and simply wait for someone to manually dock them, but at very least they are close to their base.
Future changes pending this could be the basis for making automated shipping lanes to move materials from location to location (adding piracy to the growing list of professions). Admittedly it would be more than a small change in that we would need multiple destinations and some functionality to occur after docking (dock, unload, reload, undock, travel).
Kick it around and post your ideas.