Race Ship AI>

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
Antheus
Posts: 23
Joined: Sat, 17. Dec 05, 04:19
x3tc

Race Ship AI>

Post by Antheus » Mon, 3. May 10, 16:49

I was curious if there was any means of giving a ship to a certain part (Ownership?) of a Race. As in, donating and/or creating a ship and giving it to the AI, (Through the Cheat menu or what have you.) and having it actual DO something. (like be apart of the military!)

Through the Cheat menu at least, most ships once spawned in the Race's Ownership with in a sector, just fizzle around the sector attacking enemies of that race. They do however go to a local shipyard to repair, but after that they usually just stay in the shipyards sector fizzling around. (Spawning ships docked just seem to stay there.)

So, is there any means to create/give said ships as a part of the military, or perhaps as a trader? (not just some pseudo sector patrol.)
Also: I just mentioned the cheat script as an example, I didn't mean for this post to be directly about it.

User avatar
EmperorJon
Posts: 7178
Joined: Mon, 29. Dec 08, 21:58
x3tc

Post by EmperorJon » Mon, 3. May 10, 17:05

You can tell them to run scripts which make them do the specific jobs if you use the SE, but there's no way to label them as 'Military' etc.
______
I'm Jon. I'm mostly not around any more. If you want to talk, please message me! It's cool.
______

Antheus
Posts: 23
Joined: Sat, 17. Dec 05, 04:19
x3tc

Post by Antheus » Tue, 4. May 10, 01:15

EmperorJon wrote:You can tell them to run scripts which make them do the specific jobs if you use the SE, but there's no way to label them as 'Military' etc.
Great Idea! I wouldn't think of that for some reason, thanks! :oops:

Code: Select all

@<RetVar/IF><RefObj> escort ship <Var/Ship>
And then just set it to the local Military M1 or M2 and it'll follow along(similarly) with all the other Military ships.
I guess this didn't really need its own thread, but ty again.

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”