A mod to allow AI to fly ships you bring into the game

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
Springy1625
Posts: 11
Joined: Mon, 2. Jul 12, 13:39

A mod to allow AI to fly ships you bring into the game

Post by Springy1625 » Sat, 22. Mar 14, 21:04

Hello.

I was wondering if their was a mod that can actually spawn AI into the ships that you have added into the game?
I just installed a X2 Callback mod for X3TC, and thought it would be awesome if you could bump into pirates flying the old X2 ships, and have all the races flying their old ships too.

I spent all day searching around, but couldn't find anything that would allow you to choose what ships AI spawn in. Is their a such thing?

Thanks :)

biohazard15
Posts: 193
Joined: Tue, 1. May 07, 20:40
x3tc

Post by biohazard15 » Sat, 22. Mar 14, 22:02

You need to edit Jobs file to give new ships to AI.

Springy1625
Posts: 11
Joined: Mon, 2. Jul 12, 13:39

Post by Springy1625 » Sun, 23. Mar 14, 19:48

Ok cheers.

I've installed the X3 Editor 2, but I can't seem to edit the file, comes up with errors. I can only open it up with the TDbugger?

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle » Sun, 23. Mar 14, 21:31

Open types\Jobs with the Jobs Editor in X3Editor.
  • "Open from VFS" will ensure that you are editing the version of the Jobs file that the game will use.

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22227
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow » Mon, 24. Mar 14, 14:38

The reason they dont use the new ships is down to how the jobs engine randomly selects ships.

It will only ever select the first ship in a given class/variation/race combo.

so if you have 2 argos m3 raider's in the data files, only the first one is ever chosen.

So you can adjust the variation and position of the ship in the file so they start to be used.
Otherwise you create your own jobs that specifically selects those ships (rather than randomly selecting)

K-A-G
Posts: 8
Joined: Tue, 19. Jun 07, 18:06
x4

Post by K-A-G » Fri, 28. Mar 14, 00:50

sorry guys never modded before so is there a guide i could use to do this so i don't break my game?

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle » Fri, 28. Mar 14, 03:52

The Tutorials sticky thread at the top of the forum has a few articles that may help you to get started. Starting points:

The Very Basics by enenra
Modding 101 by ApricotSlice
TJobs by Observe

K-A-G
Posts: 8
Joined: Tue, 19. Jun 07, 18:06
x4

Post by K-A-G » Fri, 28. Mar 14, 21:13

cool will check them out thank you

Post Reply

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