[Script] Software Command Packs v1.00 25-Oct-07

The place to discuss scripting and game modifications for X³: Reunion.

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

eladan
Posts: 7168
Joined: Sat, 7. Jan 06, 16:01
x4

[Script] Software Command Packs v1.00 25-Oct-07

Post by eladan »

Software Command Packs


Version 1.00 - Download here (Xai-corp, thanks moggy)

Spurred by argon_emperor's thread not realising that arcana75 had already written one!

They do things somewhat differently though, so choose the one that suits you.

From the readme:

Code: Select all

Software Packages v1.00 by eladan
---------------------------------

**** NOTE: This package uses custom wares in Cycrows plugin manager, and as such, you will need to use version 2.00 of the plugin manager or later in order to install and use this. *****

I wrote this before I realised that arcana75 had already created a similar package, but continued with it anyway primarily for my own use. I'm uploading it on the off chance anyone may prefer this over arcanas (there are some differences.)

What It Does
------------
This script (actually a combo script/AL plugin) will add several new wares to each of the races Equipment Docks. Each race will get four of these software packs:

General Software Pack Duplex/Triplex consisting of
        - SETA
        - Boost Extension
        - Duplex/Triplex scanner (Argon, Split, Teladi sell Duplex version only)
        - Special Command Software Mk1
        - Navigational Command Software Mk1

Fight Command Software Pack consisting of
        - Fight Command Software Mk1
        - Fight Command Software Mk2
(You will require the requisite notoriety to be able to purchase these - same as required for FCS Mk2)


Trade Command Software Pack consisting of
        - Trade Command Software Mk1
        - Trade Command Software Mk2

Ship Optimisation Pack is a special package which will upgrade all of Engine Tunings, Rudder Optimisation, and Cargo Bay Extensions to the max for that ship.

Each of the packages costs ~5k credits, and takes 1 ware space.

When a ship has any of the packages in its cargo hold, a command will be enabled on the ship under General commands called 'Install Available Software Packs'. When run, it will check the contents of all pack types available against the upgrades already installed on the ship, and will install any that are missing. If it does install any upgrades, it will charge you the standard price you would pay if you bought it at the equipment dock. If you don't have the cash to pay for the upgrade, it won't install it. If any of the upgrades are installed from any pack, the pack which supplied that upgrade will be used (removed) - even if only one upgrade in the pack was used.

Why Haven't You included All Upgrades?
--------------------------------------
I decided against having other upgrades mostly on the basis that they are generally only useful on the playership. I know, SETA and Boost Extension fall into that category as well, but they're pretty cheap, and they are probably the most likely to be annoying to a player if they aren't installed. The idea of the packages is that they can be bought in bulk and stored in a carrier or at the PHQ for equipping fleet ships.

I'm open to suggestions if anyone wants to reason why other upgrades should be included in existing packs or in new packs. I'll admit to wavering on a few of them.

Uninstalling
------------
To uninstall this package, sell or jettison any remaining packages you own, then go to the AL plugin menu (Options->Gameplay->Artificial Life settings) and turn off 'Software Upgrade Tracker'. Wait for a couple of minutes for it to update (check EQ docks to ensure the wares have been removed) and save your game. You can then remove the script files.

Uses COMMAND_TYPE_GENERAL_44 and page id/text file 8240.

Changelog
---------

v1.00 - Initial release.
User avatar
digdug83
Posts: 277
Joined: Tue, 22. Aug 06, 22:33
x4

Post by digdug83 »

You could come up with different packages for more specialized roles. A few examples might be:

Explorer - Nav, Special, Explorer, Duplex/Triplex, boost, seta

ST/UT - Nav, Special, TCS 1, 2, 3, FCS 1, 2, boost, seta, jumpdrive, duplex/triplex (necessary?), commodity logistics 1,2 (or perhaps a different package) (perhaps add terracorp to the list?)

Fleet/Patrol Ship - Nav, Special, FCS 1, 2, boost, seta, fleet support, duplex/triplex (necessary?)

Just a thought, maybe it'll help.
eladan
Posts: 7168
Joined: Sat, 7. Jan 06, 16:01
x4

Post by eladan »

Good thoughts digdug, thanks! One of the ones I was unsure about was FSUP, largely due to it being part of the bonus pack which some people may not have installed. But then, I guess it doesn't really matter, and it's easy enough to code around it not being present anyway.

One thing I'm especially conscious of is trying not to swamp the player with too many packs - but then, how many is too many?
User avatar
digdug83
Posts: 277
Joined: Tue, 22. Aug 06, 22:33
x4

Post by digdug83 »

You could give the option in AL to turn on/off the various packages if they find them to be a nuisance right? I would think the ones you have above and probably my second and third options are good. The Explorer I threw out there for those of us too lazy to actually go out and map ourselves (I had three Discovery Raiders do it for me then set them to deploy satellites until they all died off :D ).
eladan
Posts: 7168
Joined: Sat, 7. Jan 06, 16:01
x4

Post by eladan »

digdug83 wrote:You could give the option in AL to turn on/off the various packages if they find them to be a nuisance right?
I guess I could write the AL plugin part to be a bit more configurable, yes. Just means there'd be several AL menu items rather than one (unless I can come up with a clever way to do it, but I don't do clever.)

I'll think on it.
BlastGoDon
Posts: 5
Joined: Tue, 13. May 08, 22:27

Post by BlastGoDon »

I can't seem to get the 'Install Available Software Packs' command to light up. I bought one of each pack and gave them all to a brand new discoverer and tried to install them, only to find that the install command was still greyed out. Just to make sure, i boarded the discoverer, checked the cargo to make sure the packs were there, then tried again with the same result.

Has anyone else run into this, or am i missing something?
eladan
Posts: 7168
Joined: Sat, 7. Jan 06, 16:01
x4

Post by eladan »

You should definitely be able to run the command if you have any of the packs. Difficult to see how it could be going wrong, to be honest - the command check code's pretty simple. I saw you posted in arcanas thread - you're not mixing up parts of mine with parts of arcanas script are you? (such as buying his upgrades and trying to use my command to install them! :) )

The only other things I can think of are if screwy things are happening with the custom ware definitions, but if you've got one in your cargo, it would seem to suggest it's working ok...
BlastGoDon
Posts: 5
Joined: Tue, 13. May 08, 22:27

Post by BlastGoDon »

Ya, i'm definately not mixing them up(I don't ever have both installed at the same time).
This idea is so good, but it's so frusterating when both scripts that do this dont work for me :evil:

On a side note, including the trading system extension with the trading pack is probably a good idea, seeing as both comercial agents and the manual trade commands scripts use it.
eladan
Posts: 7168
Joined: Sat, 7. Jan 06, 16:01
x4

Post by eladan »

Sorry, have to get the obvious out of the way - you're looking in the general menu of the command menu on the ship which has the software packs?

Does all of the info for the packs appear to be correct? E.g. General Software Pack Duplex/Triplex, correct price in EQ docks (~5000 credits.)

You've definitely got 'allow custom wares' ticked in the plugin manager, and the details there look correct? They're all enabled? (Price in plugin manager will look a little odd - 178 - but that's ok)

Try starting a new game and see if it works in that, perhaps.

Re: the TSE - CA uses that does it? It's probably about time I updated this. I could create UT/CA/CLS packs perhaps...
BlastGoDon
Posts: 5
Joined: Tue, 13. May 08, 22:27

Post by BlastGoDon »

Just tried it in a new humble merchant game. Got into the discoverer, flew to argon prime equipment dock, bought the trade pack and tried to install it. Same problem as before. The command IS under general, it's just greyed out so I can't click it.
All the packs are sold for a little less than 5000, and everything is fine in the plugin manager.
I'll probably try to reinstall the script again from a fresh download later; perhaps my file got corrupted somehow.

Edit: Did the reinstall, problem persists. Giving up :(

Return to “X³: Reunion - Scripts and Modding”