Posted: Mon Oct 01, 2007 12:03 pm
Arexack_Heretic, I looked at your Thorgorn_Threat and saw that with just changing the roles to tharg* you are not there. The problem vessel you have now commented out. But if you add him with a new role, the tharglets won't attack him. But his tharglets wont work.
The tharglets are drones under control of a thargon mothership. As long they stay in scanning range with a thargon mother they will stay firing. When one mother dies, other mothers can take over control (Like modern apache choppers).
If you have a mother with a other role than thargoid, the drones will die immediately. So you can't just launch the system tharglets but you must program new ones with a new role and AI. Just copy the existing thargletAI, but change: scanForThargoid into scanForNearestShipWithRole: your role
Than your line about escorts. It is mentioned here before and probably you know but escort AI is set back to the default escortAI . In your Thorgorn_Threat you already defined a thargoidEscortAI but you must introduce a launch_actions in your escort and here again set your AI with : setAITo:
Things were not documented, but last week I added some of this to the Wiki. The two new pages are linked from the shipdata.plist page. One page with extra info about scripts within shipdata and one page with background info about the difference between adding ships by the system populator and those by scripts.
Specially the command setAITo: is rarely used but a lot of ships would be improved by the use of it. Take for instance the behemoth. It can be added by a script and than flies under a behemothAI, but can also be added in his role as hunter and then flies under a route1PatrolAI as thing are programmed now. (the difference in behavior between those two AI's however is very small and very few will notice it). With the setAITo command you can make sure that the ship always flies under the behemothAI.
The tharglets are drones under control of a thargon mothership. As long they stay in scanning range with a thargon mother they will stay firing. When one mother dies, other mothers can take over control (Like modern apache choppers).
If you have a mother with a other role than thargoid, the drones will die immediately. So you can't just launch the system tharglets but you must program new ones with a new role and AI. Just copy the existing thargletAI, but change: scanForThargoid into scanForNearestShipWithRole: your role
Than your line about escorts. It is mentioned here before and probably you know but escort AI is set back to the default escortAI . In your Thorgorn_Threat you already defined a thargoidEscortAI but you must introduce a launch_actions in your escort and here again set your AI with : setAITo:
Things were not documented, but last week I added some of this to the Wiki. The two new pages are linked from the shipdata.plist page. One page with extra info about scripts within shipdata and one page with background info about the difference between adding ships by the system populator and those by scripts.
Specially the command setAITo: is rarely used but a lot of ships would be improved by the use of it. Take for instance the behemoth. It can be added by a script and than flies under a behemothAI, but can also be added in his role as hunter and then flies under a route1PatrolAI as thing are programmed now. (the difference in behavior between those two AI's however is very small and very few will notice it). With the setAITo command you can make sure that the ship always flies under the behemothAI.