Page 2 of 2
Posted: Sat Jan 28, 2006 12:00 pm
by Murgh
kaypy wrote:the regular missiles keep coming, because the AI tells it to do so in a few cases.
My problem isnt with it launching missiles too fast (although that needs tweaking too) its that regular thargoids launch tharglets with the same command, but its hardwired for role="thargoid" (and defense ships dont seem to stay just "thargoid" even if they are summonded with that role.
that's what I mean though. regular as in reg'lar, common missiles. not fast.
although Thargoids launch thargons when normal ships would do missiles, this is restricted to the shipdata. nowhere in thargoidAI does it command to use missiles. if it did, thargoids would launch reg'lar missiles too. that's what I think anyway..
in your case it is leftovers from the behemoth's carrierAI that checks group odds and launches missiles in any event
no, the
howto texture nor any specific texturemap advice, isn't there yet on the wiki, but something like this could be a good tutorial example..
Posted: Sat Jan 28, 2006 12:48 pm
by kaypy
I didnt think that was the case, but just to be sure, I added fireMissile into the default thargoidAI...
For them, it worked as I expected: they now launch drones immediately rather than waiting until it is too late to do any good (pretty much what I was aiming for)
Posted: Sat Jan 28, 2006 12:50 pm
by kaypy
Is there any way to create a ship and its escorts from a script? Everything I put in seems to wind up friendless...
Posted: Sat Jan 28, 2006 1:46 pm
by Murgh
no. setUpEscorts goes into the AI. magically produces them if a ship is alone.
of course you could add the escorts in the script, but it's no guarantee they'll "marry" the intended escortmother.
Posted: Sun Jan 29, 2006 12:36 pm
by Arexack_Heretic
fireMissile --I didnt know that method.
If you find any new methods, please let us know, so we can add them to the wiki.
Do thargoid-ships have missiles so they will keep launching thargons or because if they launch a missile, it changes into a thargon?
Posted: Sun Jan 29, 2006 12:57 pm
by kaypy
The thargoid warship carries 5 "missiles", but when it tries to fire one, the fireMissile command notices that it is role="thargoid" and launches a tharglet instead (via the fireTharglet command).