Requiring multiple extensions via set script command upgrade?

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

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

HashtagMC
Posts: 181
Joined: Sun, 23. Nov 14, 18:22
x3

Requiring multiple extensions via set script command upgrade?

Post by HashtagMC »

Cheers all,

I'm trying to balance a new command I wrote and in order to make it not OP, I want it to require the Trade Command Softwares Mk1 and 2, as well as the trading system extension. I tried simply placing a "set script command upgrade" command thrice, with each of the wares, but it appears only the most recent one is in effect (tested by removing the Trade Command Software Mk1 from my ship; the command was still available).

Is there a way, short of writing a check script, of requiring these upgrades all? I'd prefer the neater appearance of just a setup script and a plugin script, if possible (and to learn which way is the right way).

Many thanks in advance!
My scripts' t-files use the namespace xx111x (e.g 491101, 441101, ... )
Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22466
Joined: Sun, 14. Nov 04, 23:26
x4

Re: Requiring multiple extensions via set script command upgrade?

Post by Cycrow »

In X2 the only way is via a check script, only X3FL has options to set multiple upgrades directly.

Also, when using a check script you can have the command displayed but disabled, whereas setting the upgrade hides the command completely
HashtagMC
Posts: 181
Joined: Sun, 23. Nov 14, 18:22
x3

Re: Requiring multiple extensions via set script command upgrade?

Post by HashtagMC »

Oh well.

Hiding it entirely would be desireable; there's really no point (for my use case) in showing the disabled command.
My scripts' t-files use the namespace xx111x (e.g 491101, 441101, ... )

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