[Script] Electronics Packages v2022 (7 Sept 2011)

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

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

Should I create a rudder/engine/hold package?

Yes
24
80%
No
6
20%
 
Total votes: 30

User avatar
arcana75
Posts: 2165
Joined: Tue, 2. Dec 03, 09:28
x3tc

[Script] Electronics Packages v2022 (7 Sept 2011)

Post by arcana75 »

Adds 5 custom wares to all Argon Equipment docks (Requires EMP AND Bonuspack (lib.cy.addware) and Cycrow's Addware and Keepstock scripts).

Master Electronics Extension (1,705,148cr):
Once installed, allows Electronics Packages to be downloaded into your docked ships.

Basic Electronics Package (141,360cr):
Special Command Software.
Navigational Command Software.
Duplex Scanner.
Triplex Scanner.
The below plugins can be additionally installed if available:

Combat Electronics Package Plugin (30,572cr):
Fight Command Software Mk 1.
Fight Command Software Mk 2.
Boost Extension.

Trade Electronics Package Plugin (86,920cr):
Trade Command Software Mk 1.
Trade Command Software Mk 2.
Best Buys Locator.
Best Selling Price Locator.
Trading System Extension.

Misc Electronics Package Plugin (118,336cr):
Mineral Scanner.
Freight Scanner.
Video Enhancement Goggles.
S.E.T.A.
Ecliptic Projector.
Docking Computer.

USAGE:
Basic Electronics Package
Purchase the wares from any Argon Equipment Dock. When you have a Basic Electronics Package in a ship's hold, a command "Install Electronics Package" appears under Custom. Once activated, it'll first install the Basic package. It'll then search ur hold for any presence of either the CEPP and/or TEPP and/or MEPP and install them as well.

Master Electronics Extension
Purchase the MEE at any Argon Equipment Dock, and any EPs you would like to use. Once installed a command "Begin Electronics Slipstream" appears under Custom. Once activated, if the ship installed with the MEE has docked ships, it'll install as many BEPs (and plugins) as it can.

These are upgraded versions of existing software, so any older versions will be patched. :D

Once the software is installed, hashes are computed for data integrity. Hence plugins can't be installed post-BEP installation. U'll have to run a format and reinstall. :D

Usage Note:
This script uses Cycrow's Addware and Keepstock scripts. If you don't already have them, get them from Cycrow's site. Bonuspack already includes lib.cy.addware.

EMP Wares:
28;0;0;0;0;408;13323;0;1089;1;1;0;1089;0;0;0;SS_WARE_SW_CUSTOM8_17;
28;0;0;0;0;409;13333;0;3096;1;1;0;3096;0;0;0;SS_WARE_SW_CUSTOM9_17;
28;0;0;0;0;410;13343;0;4215;1;1;0;4215;0;0;0;SS_WARE_SW_CUSTOM10_17;
28;0;0;0;0;411;13353;0;5035;1;1;0;5035;0;0;0;SS_WARE_SW_CUSTOM11_17;
28;0;0;0;0;412;13363;0;60735;1;1;0;60735;0;0;0;SS_WARE_SW_CUSTOM12_17;

Command slots used:
COMMAND_TYPE_CUSTOM_38
COMMAND_TYPE_CUSTOM_39

Version Info:
Version 2.0.2.2
.: Added Master Electronics Extension.
.: Moved Trading System Extension to the Basic Package.

Version 2.0.2.1
.: First release.

Compatibility Info:
As I also use CisorTech Dynamic Bay Configuration, I made this compatible with that, so it correctly installs the Packages into TPs/TSs docked into your TL/M1. As long as it's a Player ship (YM ID code) and it's docked in your "Carrier", it'll install the Packages.

[ external image ]
Last edited by arcana75 on Wed, 7. Sep 11, 15:20, edited 7 times in total.
User avatar
Tenlar Scarflame
Posts: 3359
Joined: Mon, 30. May 05, 04:51
xr

Post by Tenlar Scarflame »

GREAT idea. I'd DL it immediately. :D
My music - Von Neumann's Children - Lasers and Tactics

I'm on Twitch! 21:15 EST Sundays. Come watch me die a lot.
User avatar
arcana75
Posts: 2165
Joined: Tue, 2. Dec 03, 09:28
x3tc

Post by arcana75 »

Tenlar Scarflame wrote:GREAT idea. I'd DL it immediately. :D
Well if no one does it by this weekend, it'll prolly be available thru me :)
BurnedToast
Posts: 60
Joined: Thu, 10. May 07, 03:02
x3

Post by BurnedToast »

I'd love such a mod, I already love the jumpdrive kits to death (got a TL with like 500 of them next to my PHQ lol..) this would make it even easier to kit my new ships out.

Might I suggest an 'everything' kit too, with every upgrade available - jumpdrive, docking computer, goggles, SETA, all software.. everything except trade Mk3 (and rudder/cargo/engine) for like 5x the cost of buying them all seperate? It's annoying to fly around buying everything for every ship you might fly and 5x the cost would be a fair trade for the convience I think.
Squelch
Posts: 252
Joined: Sat, 15. May 04, 11:03
x2

Post by Squelch »

I like this idea, and wanted to do it myself.

My method was to re-use the plain container ware to hold one upgrade at a time, and have a command to unpack the ware when that container is on a ship. This way the player can transport upgrades around, and beam them over to other ships ready for unpack/install. The container is just a placeholder for the real upgrade which gets added to the ship under script control when unpacked.

This of course leaves the question of how to obtain the containers, and pack them, but that is up to whoever takes it on.

I look forward to seeing this.
Last edited by Squelch on Fri, 25. May 07, 16:50, edited 2 times in total.
User avatar
arcana75
Posts: 2165
Joined: Tue, 2. Dec 03, 09:28
x3tc

Post by arcana75 »

It'll be alot easier (I think) to just use a custom ware(s) tied to a custom, ship or general command. Ship commands seem crowded. That way when the command is run, the related software or even rudder/etc upgrades gets installed.

I'll prolly attempt this this weekend.
Saint-Ashley
Posts: 1267
Joined: Sat, 3. Dec 05, 03:40
x4

Post by Saint-Ashley »

I hope you decide to make fabs for these wares. :D

Otherwise I may have to do something about that myself, so I can equip my PHQ built ships... :lol:
User avatar
arcana75
Posts: 2165
Joined: Tue, 2. Dec 03, 09:28
x3tc

Post by arcana75 »

Actually, I finished the script :D

Wait a few minutes while I update the thread...
matches
Posts: 202
Joined: Thu, 4. Jan 07, 22:47
x3

Post by matches »

Sweet! Good idea.....will try it out tonight, thanks! :D
"Didn't your mother ever tell you not to play with matches?"



Realspace Backgrounds http://forum.egosoft.com/viewtopic.php?t=180848
User avatar
arcana75
Posts: 2165
Joined: Tue, 2. Dec 03, 09:28
x3tc

Post by arcana75 »

Saint-Ashley wrote:I hope you decide to make fabs for these wares. :D

Otherwise I may have to do something about that myself, so I can equip my PHQ built ships... :lol:
That'll make it a mod, which is prolly outside the scope of this script :)
User avatar
arcana75
Posts: 2165
Joined: Tue, 2. Dec 03, 09:28
x3tc

Post by arcana75 »

Any bugs?

Next version I'm going to add a Master Electronics Extension, which will download the EPs into your docked ships. Naturally this'll only work on ships that can dock ships (TL, M1, M7).

Will work incredibly well with docking scripts like DBC.
matches
Posts: 202
Joined: Thu, 4. Jan 07, 22:47
x3

Post by matches »

Ahhhh! I don't know! Actually I didn't get the chance last night but my wife works late tonight, soooo...........After I finish some beta-testing for another project, I'll try it out! :roll:
"Didn't your mother ever tell you not to play with matches?"



Realspace Backgrounds http://forum.egosoft.com/viewtopic.php?t=180848
User avatar
ttl
Posts: 537
Joined: Sun, 6. Feb 05, 13:04
x3tc

Post by ttl »

Maybe you could have a package that includes all the upgrades needed for Commercial Agents? Possibly minus the jumpdrive. With these packs, one would apparently need all four to get a CAG freighter properly set up. The only ships I buy in relevant quantities are CAG and combat ships.

The combat package is good for fighting ships. The misc. one is only needed for personal ships, and the trade one appears somewhat marginal too. I can´t see other use for it than personal TS ships, and fleet supply ships that source weapons and shields.

Just my two cents to improve this great idea :thumb_up: :) :thumb_up:
User avatar
arcana75
Posts: 2165
Joined: Tue, 2. Dec 03, 09:28
x3tc

Post by arcana75 »

According to the Bonuspack 3.1.05, Commercial Agent v3.2.07 requires the following:

Navigation Software MK1
Trading System Extension
Trade Command Software MK1 and MK2

Perhaps the Trading Extension should go into the TEPP... yes my intention for the MEPP was for personal ships (hence inclusion of many manually activated extensions like Docking, Goggles and SETA), while the other 3 were more for remote ships. TEPP and BEP will then make a ship CAG-ready.

I tried to use as few wares as possible while maintaining flexibility; 4-5 was a good compromise; I'll prolly work the change in after I do the Master Extensions Package. Thanks for the comment!
Saint-Ashley
Posts: 1267
Joined: Sat, 3. Dec 05, 03:40
x4

Post by Saint-Ashley »

arcana75 wrote:
Saint-Ashley wrote:I hope you decide to make fabs for these wares. :D

Otherwise I may have to do something about that myself, so I can equip my PHQ built ships... :lol:
That'll make it a mod, which is prolly outside the scope of this script :)
Naught necisarily... Considering factorys CAN be scripted in. :wink: Like how LV has his JDK fab in CBSW...
User avatar
arcana75
Posts: 2165
Joined: Tue, 2. Dec 03, 09:28
x3tc

Post by arcana75 »

Saint-Ashley wrote:
arcana75 wrote:
Saint-Ashley wrote:I hope you decide to make fabs for these wares.

Otherwise I may have to do something about that myself, so I can equip my PHQ built ships...
That'll make it a mod, which is prolly outside the scope of this script
Naught necisarily... Considering factorys CAN be scripted in. Like how LV has his JDK fab in CBSW...
Oh I thought u meant buyable fabs. Definitely doable, did that for my Goner Experimental Weapons Lab selling Khaak Emitters and Electro-Cannons :D

NPC fabs won't be necessary since u'll never run out of the Packages.

Unless there's another reason...
User avatar
arcana75
Posts: 2165
Joined: Tue, 2. Dec 03, 09:28
x3tc

Post by arcana75 »

Added version 2.0.2.2, introducing the Master Electronics Extension, which will allow you to slipstream Electronics Packages into your docked ships.

Tested to work with CisorTech DBC.

Also thanks to ttl, I moved the Trading Extension to the TEPP making said plugin more relevant.

Comments and bug reports appreciated!!!
User avatar
ttl
Posts: 537
Joined: Sun, 6. Feb 05, 13:04
x3tc

Post by ttl »

Nice one, Arcana :)

I actually always used fight software I in my CAGs. But you made me re-read the CAG "manual", and I realized it actually is a relevant choice whether to have the freighters avoid dangerous sectors or carry drones for defence. Thus it makes sense to buy the fight package if you want the freighter to arm itself with drones.

Downloading ... 8)
User avatar
arcana75
Posts: 2165
Joined: Tue, 2. Dec 03, 09:28
x3tc

Post by arcana75 »

Let me know how the MEE works out and if there's bugs... :)

I found the stock abit annoying, with the BEP stocking only 2/2 (due to relval?)... is there any way to increase the stock, other than choosing another ware (and scripting in the price difference)?
Heretic666
Posts: 463
Joined: Fri, 20. Feb 04, 17:30
x3tc

Post by Heretic666 »

Make the wares 1cr to buy and then take the price when they are activated
Station Freight Transporter
B-O'F: Enjoy whatever you are doing, if you decide to try real scripting one day..

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