Station Management AI scripting

The place to discuss scripting and game modifications for X Rebirth.

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

Reaperxvii
Posts: 357
Joined: Thu, 29. May 14, 19:03
x3ap

Station Management AI scripting

Post by Reaperxvii »

Kinda a weird title I wasn't sure how to word it, is there a way to specify what minerals I mining ship will try and get while being under the command of the AI station manager?

E.x I had a urv forge in a system with ore, silicon, and crystal and the AI like, tried to mine everying at once so it was mining incredibly slow and sometimes not at all. Does anyone know of a solution or mod/script to fix this?

Also on a urv forge does it produce all the drones listed in the station info tab at once or just one at a time?

I'm also working on a start file I'm slowly putting together if anyone would like it:)
"We are the middle children of History. Born too late to explore the earth, born to early to explore the stars."

"Time is the fire in which we burn"

Reaper's Mod Index
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

The station manager just tells the ships what in general they should do (mine, trade or defend) - the details are decided by each captain (where and what to mine, which trade to do etc.)
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)
Reaperxvii
Posts: 357
Joined: Thu, 29. May 14, 19:03
x3ap

Post by Reaperxvii »

UniTrader wrote:The station manager just tells the ships what in general they should do (mine, trade or defend) - the details are decided by each captain (where and what to mine, which trade to do etc.)
Is there anyway to specify which resource to mine to the captain WHILE he's under control of the station? Just curious:)
"We are the middle children of History. Born too late to explore the earth, born to early to explore the stars."

"Time is the fire in which we burn"

Reaper's Mod Index
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

if you change the related scripts of course, there is a value in the mining scrips which decides the additional wares to mine. you could add a condition like this.owner == faction.player which would set this Value to null so the Ship would only Mine one Ressource. Details at a later time if you need them - have to go to work.
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

Return to “X Rebirth - Scripts and Modding”