[ALP] Upgrade Kits (JDK) 1.5 TC 9/12/08

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

Rate this plugin

5/5
53
34%
4/5
8
5%
3/5
3
2%
2/5
0
No votes
1/5
3
2%
I Love LV
89
57%
 
Total votes: 156

greghar
Posts: 42
Joined: Mon, 4. Jul 05, 23:20
x3

Post by greghar »

Thanks and sorry about the hassle. I appreciate your quick reply.
Phosphene
Posts: 57
Joined: Mon, 26. May 08, 07:23
x3tc

Post by Phosphene »

So JDGKs or UDKs or whatever I consider to be stupendously important. However, I just reinstalled X3 TC and my troubles have yet to come to any end. I am swarmed with bugs.

As for this script specifically, basically it's doing that thing where instead of posting the name "upgrade kit" it reads "EMP_WARE_CUSTOM_BLAHBLAHBLAH" or whatever when I go to buy it. Not to mention I cant buy it because of notoriety requirements, but this may be normal. Anyway, I'm using Plugin Manager lite v1.30 with the EMP mod that "comes" with it (quotes because it works like ass).

Seriously I need UDKs. I have a Khaak corvette currently stuck in a very very unfriendly sector and until I get this working it shall remain there. And I don't want that. It makes me very sad. I find myself crying myself to sleep over the plight of my poor corvette.
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

http://x3tcscripts.googlecode.com/files ... pdater.zip

install this one script and run it manually with r,r,enter
Phosphene
Posts: 57
Joined: Mon, 26. May 08, 07:23
x3tc

Post by Phosphene »

Where do I put it? What do you mean run it manually with r,r,enter?
HotSake
Posts: 472
Joined: Sun, 3. Jan 10, 22:15
x3tc

Post by HotSake »

Phosphene wrote:Where do I put it? What do you mean run it manually with r,r,enter?
Put it in the Scripts folder of your X3TC install directory. Open the Script Editor in-game, scroll down to that script (remember the name), and press r, r, enter to run it.
Phosphene
Posts: 57
Joined: Mon, 26. May 08, 07:23
x3tc

Post by Phosphene »

I located it in the script editor but when I scroll to it then press r,r,enter the first r just brings me to the script input menu and then the other r,enter
does nothing.

Okay I hit r then selected "null" then hit enter and it makes no changes to my game.

I've never even touched the script editor so bear with me I guess?
Phosphene
Posts: 57
Joined: Mon, 26. May 08, 07:23
x3tc

Post by Phosphene »

iT'S COOL Tho I'm learning how to write in the script editor. Just refined the DB recharger script a little bit. Legit.
Phosphene
Posts: 57
Joined: Mon, 26. May 08, 07:23
x3tc

Post by Phosphene »

Yeah I mean basically I run it and it does nothing.
User avatar
joelR
Posts: 2008
Joined: Mon, 9. Jul 07, 23:33
x3tc

Post by joelR »

LV,

If I have a script that changes the price of jumpdrives will the cost of a JDK adjust accordingly?
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

not sure, it's a long time since i wrote this so i cant remember if i defined the cost or got the price of the jd and added x to it

you'll need to check the script code
mailleweaver
Posts: 79
Joined: Wed, 4. Nov 09, 04:39
x4

Post by mailleweaver »

You might want to update the OP with a link to version 1.6 so people don't complain about ZA_EMP_BLANK_WARE_CUSTOM5_7 problems from trying to use version 1.5.
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

that would be a good idea but i currently don't have any internet working at home (using my wireless forcepowers via my netbook ;) at the moment but can't get my main pc on)
Thurlor
Posts: 5
Joined: Mon, 19. May 08, 06:03

Post by Thurlor »

Any chance of this script being updated to work with Albion Prelude. It currently shows up for sale, but having them in the cargo hold adds no new custom commands.
Teleth
Posts: 292
Joined: Sat, 31. Mar 12, 06:39

Post by Teleth »

Thurlor wrote:Any chance of this script being updated to work with Albion Prelude. It currently shows up for sale, but having them in the cargo hold adds no new custom commands.
It took me a number of hours but I figured it out.
X3TC/X3AP compatible version2
I did not update its ware list however, as I'm running a pretty modded game and wasn't sure what new stock ware there was in Albion.

Use the script editor and modify plugin.deliver.jd.getlists if you wish to add any extra components to the equipment packs.

edit: I put up a new version, scripts folder was not named correctly :(
RustInPieces
Posts: 85
Joined: Mon, 13. Feb 12, 08:22
x4

Post by RustInPieces »

Jeraal wrote:Just getting back into the game after a long time away. Used this script in the past. Now, with a fresh install with patch and bonus pack, it doesn't wok correctly. The kits and station in GF show normally and I can buy them. When I install a JD no kits are used. When I try to do any of the upgrade packs, it says I don't have any on board even though I have 11 or more. I use the Plugin manager lite v1.30 RC1 with imperial libraries 2.6 and upgrade kits 1.6TC.

Other scripts running: AP Libraries--Apricot CBeam--Asteroid Relocator-- Cheat Collection--Improved Boarding--Marine Training Manager2.0--Scan Target Object--Station Camper--Universe Explorers--Community Plugin Manager--Hotkey Manager--Ware Manager.
LV wrote:go to my script index in my sig and download the emp fix script listed

install it and run manually via the SE with r,r,enter
Jeraal wrote:I downloaded the EMP Ware Changer (lv.emp.updater). When I go to script editor and highlight the file, I press 'r' and get a window for null or select ship or station. Pressing 'r' again does nothing. Am I doing something wrong? Don't know how I'll make it without this script.

edit: jump drive, basic extension and tunings install without using kits, but full upgrade says I need 3 kits and have 0 onboard(Ihad 10)

edit: Tried turning off,waited, saved, quit. Unistalled libraries and upgrades. Redownloaded lib 2.6 and kits 1.6(in case of bad DL) and installed using manager. Loaded save, started plugin, waited. bought 10 when available transferred to new non upgraded M3. Same result.
I'm having the same problem. I can buy the upgrade kits, and I can use them to install the Jumpdrive, but the upgrade kit is not taken from the inventory. It also does not install the Navigation Command Software, which from what I understand is supposed to be included with the Jumpdrive upgrade kit. If I try to do the other upgrades, it says that I do not have enough upgrade kits.

I selected lib.lv.old.emp.warelist.xml and hit R. Brings up this menu: http://i.imgur.com/88MpN.jpg. Hit R (does not seem to do anything), hit enter, brings up this menu http://i.imgur.com/62db2.jpg. Tried hitting enter again, it goes away.

Upgrade kits still stay in inventory and other options besides install jumpdrive do not work.

When installing the Jumpdrive, Betty says "Receiving upgrade information for database (waits a few seconds) Installed"
User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle »

This version of Upgrade Kits uses a ware from an older version of EMP.

The Plugin Manager includes the current EMP, so there is no need for a separate EMP installation.

I updated it for current versions of TC and AP:

Upgrade Kits for TC/AP

You can adjust the packages to your liking by modifying plugin.deliver.jd.getlists.

.
RustInPieces
Posts: 85
Joined: Mon, 13. Feb 12, 08:22
x4

Post by RustInPieces »

Oh, thanks. I uninstalled the old version and removed the fake patch for EMP 2.7, installed your update and it seems to be working. I'll try to edit plugin.deliver.jd.getlists later to see if I can add Navigation software to the jumpdrive kit.
ptb_ptb
Posts: 142
Joined: Wed, 5. Sep 12, 18:56

Post by ptb_ptb »

Could LV / Another moderator put the following link and information in the first post to save confusion for later users?
DrBullwinkle wrote:This version of Upgrade Kits uses a ware from an older version of EMP.

The Plugin Manager includes the current EMP, so there is no need for a separate EMP installation.

I updated it for current versions of TC and AP:

Upgrade Kits for TC/AP

You can adjust the packages to your liking by modifying plugin.deliver.jd.getlists.

.
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

done
joajoha
Posts: 37
Joined: Fri, 1. Dec 06, 13:03
x4

Adjusting the packages

Post by joajoha »

ptb_ptb wrote:Could LV / Another moderator put the following link and information in the first post to save confusion for later users?
DrBullwinkle wrote:This version of Upgrade Kits uses a ware from an older version of EMP.

The Plugin Manager includes the current EMP, so there is no need for a separate EMP installation.

I updated it for current versions of TC and AP:

Upgrade Kits for TC/AP

You can adjust the packages to your liking by modifying plugin.deliver.jd.getlists.

.
Hi.

I am not very well versed in scripting, past very basic stuff, but I though I might try to tweak this a little bit for my own personal use.

So I opened the:

plugin.deliver.jd.getlists.xml

At first the Wall of Text is a bit intimidating but at a closer look it makes (kinda :) ) sense.

I was wondering if it is as easy as I think, or if I am missing something ( I guess I could just try it out and see if it works, but I dont wanna mess anything up :roll: ).

Take this section for example (Taken from DrBullwinkle's modified version):

Code: Select all

<line linenr="027" indent=""><var>$hold.array = </var><text> array alloc: size=</text><var>0</var></line>
<line linenr="028" indent=""><var>if </var><var>$level</var><text> </text><var>==</var><text> </text><var>'small'</var><text> </text><var>OR</var><text> </text><var>$level</var><text> </text><var>==</var><text> </text><var>'full'</var></line>
<line linenr="029" indent=" "><text>append </text><var>Boost Extension</var><text> to array </text><var>$hold.array</var></line>
<line linenr="030" indent=" "><text>append </text><var>Docking computer</var><text> to array </text><var>$hold.array</var></line>
<line linenr="031" indent=" "><text>append </text><var>Duplex Scanner</var><text> to array </text><var>$hold.array</var></line>
<line linenr="032" indent=" "><text>append </text><var>Fight Command Software MK1</var><text> to array </text><var>$hold.array</var></line>
<line linenr="033" indent=" "><text>append </text><var>Fight Command Software MK2</var><text> to array </text><var>$hold.array</var></line>
<line linenr="034" indent=" "><text>append </text><var>Navigation Command Software MK1</var><text> to array </text><var>$hold.array</var></line>
<line linenr="035" indent=" "><text>append </text><var>Special Command Software MK1</var><text> to array </text><var>$hold.array</var></line>
<line linenr="036" indent=" "><text>append </text><var>Singularity Engine Time Accelerator</var><text> to array </text><var>$hold.array</var></line>
<line linenr="037" indent=""><text>end</text></line>
If i want to change the name of the pack I would rename:

Code: Select all

<var>'trade'</var>
to something like this?

Code: Select all

<var>'test'</var>
If I would like to change a ware I would rename:

Code: Select all

<line linenr="041" indent=" "><text>append </text><var>Navigation Command Software MK1</var><text> to array </text><var>$hold.array</var></line>
To something like this:

Code: Select all

<line linenr="041" indent=" "><text>append </text><var>This Is a Piece of Equipment</var><text> to array </text><var>$hold.array</var></line>
And if I wanted to create a new "package" could I then just add:

Code: Select all

<line linenr="038" indent=""></line>
<line linenr="039" indent=""></line>
<line linenr="040" indent=""><var>if </var><var>$level</var><text> </text><var>==</var><text> </text><var>'CaG'</var></line>
<line linenr="041" indent=" "><text>append </text><var>Fight Command Software MK1</var><text> to array </text><var>$hold.array</var></line>
<line linenr="042" indent=" "><text>append </text><var>Fight Command Software MK2</var><text> to array </text><var>$hold.array</var></line>
<line linenr="043" indent=" "><text>append </text><var>Jump Drive</var><text> to array </text><var>$hold.array</var></line>
<line linenr="044" indent=" "><text>append </text><var>Navigation Command Software MK1</var><text> to array </text><var>$hold.array</var></line>
<line linenr="045" indent=" "><text>append </text><var>Triplex Scanner</var><text> to array </text><var>$hold.array</var></line>
<line linenr="046" indent=" "><text>append </text><var>Trade Command Software MK1</var><text> to array </text><var>$hold.array</var></line>
<line linenr="047" indent=" "><text>append </text><var>Trade Command Software MK2</var><text> to array </text><var>$hold.array</var></line>
<line linenr="048" indent=""><text>end</text></line>
Would that be it? Or would I hafto put in a reference to the new package?

Im sorry if im posting in the wrong place, just thought that it would be relevant in the original post. PM me if I should move or delete it.

Also im probably way over my head with this, so if I am miles of and shouldnt have started this, just make LV wave his hand:
This is not the script your looking for, move along 8)

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”