Streloc

The place to discuss scripting and game modifications for X²: The Threat.

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

CanadianBrit
Posts: 1406
Joined: Wed, 6. Nov 02, 20:31
x4

Streloc

Post by CanadianBrit »

This mod Streloc (Station relocator), has one small set back. When your TL gathers it up and moves it to a new location, the "owned" ships lose their home base.

Can anyone recommend either a different station relocator or can someone look in to altering the station so that the ships don't lose that info?!

Would be very happy if possible.
User avatar
dPM_HeMan
Posts: 820
Joined: Mon, 16. Feb 04, 13:08
x3

Post by dPM_HeMan »

i think it maybe is possible to correct this problem but it'll require hard work :(
most likely the problem occures because the script "kills" your old station and creates a new one with same values. To correct this you would have to find all ships with this station as homebase and reasign them to the new one, this should eat up a lot of resources :D
blackspell
Posts: 128
Joined: Sat, 6. Mar 04, 20:18
x2

Post by blackspell »

yes, that's the problem.
i'm not afraid of the work itself, but the script editor doed not allow access for 'owned ships' directly.
i could either traverse the whole universe to find all owned ships, get all docked ships via sectorobject - both ways not perfect.
i really hope the upcoming 1.4 addresses this by allowing direct access for owned ships. if so, i will fix this, of course.

Return to “X²: The Threat - Scripts and Modding”