Ship/ Station menus - help please

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

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

simduck
Posts: 103
Joined: Wed, 6. Nov 02, 20:31
x3

Ship/ Station menus - help please

Post by simduck »

Is it possible to add an extra menu to either a station/s or ship/s?

Currenlty you can set a ships Friend or foe with options. Or set a stations sell option to Yes - all races or No - player only.

I want to add a new option to carriers "Automatically reload fighters with missiles" <Yes/No>.

I also want to be able to have carries to be able to set a max missile storage amount and allocate a ship to collect the various types of missiles so when fighters return to their "home" (be station or ship), they are automatically reloaded to their missile type.

Is this possible & if so, how?

Thanks.
One must die to self to live for self.
simduck
Posts: 103
Joined: Wed, 6. Nov 02, 20:31
x3

Post by simduck »

Bump. Thanks
User avatar
moggy2
Posts: 5505
Joined: Wed, 6. Nov 02, 20:31
x3ap

Re: Ship/ Station menus - help please

Post by moggy2 »

simduck wrote:Is it possible to add an extra menu to either a station/s or ship/s?

Currenlty you can set a ships Friend or foe with options. Or set a stations sell option to Yes - all races or No - player only.

I want to add a new option to carriers "Automatically reload fighters with missiles" <Yes/No>.

I also want to be able to have carries to be able to set a max missile storage amount and allocate a ship to collect the various types of missiles so when fighters return to their "home" (be station or ship), they are automatically reloaded to their missile type.

Is this possible & if so, how?

Thanks.
It's not possible to add menus to stations using scripts, and I don't think you could mod them in either.

You could achieve you goal by having a ship responsible for the whole process: fetching missiles, storing them on the carrier, and rearming fighters when they land. It would work like any other autopilot command rather than having a menu option for the station or carrier.

PS, got your message on Xai Corp.
simduck
Posts: 103
Joined: Wed, 6. Nov 02, 20:31
x3

Post by simduck »

Ingenious idea. :!:
Thanks heaps. That gives me something else to work on.

By any chance, is there a database around that holds every command currently used by a script so that we know which ones are still free :?:
User avatar
moggy2
Posts: 5505
Joined: Wed, 6. Nov 02, 20:31
x3ap

Post by moggy2 »

There's a list in the handbook on Xai Corp. which you can edit yourself. Every so often I copy than list to the sticky at xscripting.com, and in a post here to.

It's not complete, I haven't gone through every script, but there's a fair few of the popular ones in there.

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