[ALP] Jumpgate Construction Technology 1.4 TC/AP 17/7/12

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

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

Meknor
Posts: 21
Joined: Sat, 2. Jul 11, 10:54

Post by Meknor »

I have 32 gate construction softwares and the command appears in 'general' but it is greyed out and I cant select it, I have all command softwares installed.

What have I done wrong?

And im in a mammoth
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

i'm not sure +2 and it should work

open plugin.lv.build.gate.setcom

003 $nj = $ship -> get amount of ware Jumpgate Construction Software in cargo bay

makes sure it says that and not some readtxt or ssware entry

if it's listed as above in your script i really do not have a clue as to why
RatiuGrigore
Posts: 138
Joined: Mon, 17. Oct 11, 20:08
x3tc

Post by RatiuGrigore »

I just cant build them,i cant find the software,so i spawned it with cheat menu and when i try to build htem the command is just blank
Calgor Grim
Posts: 163
Joined: Thu, 8. Sep 11, 14:03
x4

Post by Calgor Grim »

Common fix seems to be about editing one of the scripts since it'll be looking for ZZ_BLANK_WARE_X instead of the explicitly named "Jumpgate Construction Software". No idea why, ask LV :P
RatiuGrigore
Posts: 138
Joined: Mon, 17. Oct 11, 20:08
x3tc

Post by RatiuGrigore »

Calgor Grim wrote:Common fix seems to be about editing one of the scripts since it'll be looking for ZZ_BLANK_WARE_X instead of the explicitly named "Jumpgate Construction Software". No idea why, ask LV :P
Thx,but wich one? :).
Calgor Grim
Posts: 163
Joined: Thu, 8. Sep 11, 14:03
x4

Post by Calgor Grim »

Off the top of my head no idea. Just look for a "plugin.lv.build.gate" and look through those.
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

There will be a new build up in the next few days, just spent the day rewriting it to remove emp need and put a touch of fluff and balance in
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses
Calgor Grim
Posts: 163
Joined: Thu, 8. Sep 11, 14:03
x4

Post by Calgor Grim »

Question, is it possible to do an additional with the Terran Jump Gate variant? I do love the one they build after the Aldrin plotline. I like using Commonwealth ones but the Terran one would just be icing, cherry and sprinkles. :)
RatiuGrigore
Posts: 138
Joined: Mon, 17. Oct 11, 20:08
x3tc

Post by RatiuGrigore »

It wont work at all for me,the wares arnt in the stations,i put the wares in by cheating(muhahaha),but the command is greyed out.What is it to do,im in the correct ship,have 2 pieces.Thx
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

Download at top of first link

NOTE
Imperial TC Script Library needed now!!

================================
Version 1.3 update

After more boredom i decided to change most of the features and removed the need for EMP and also added some fluff to the building process

As of 1.3

[ external image ]

You MUST use a M1 or TL class ship

Gates must be created from the materials sold at race Gate Construction Centres.
[ external image ]


A new hotkey allows opening of the menu although it is still also bound to the ships menu.

You can find the locations of the Gate Centres via this menu, in addition it will tell you how much of each material is needed to construct gates from x-y
[ external image ]

To load up with Materials fly within 6k of one of the centres and turn on the Start Material Command by clicking it
[ external image ]


Your ship will be loaded by the station and each transaction counts as enough materials for 1 sector, each trade costs 50k

Building gates is done the same way as before and once your route is chosen drones will now launch from you ship and build the gates for you.


Final Addition

I added some waste wares to the gate fabs which are produced during trade or production, you are advised to use the Radioactive Waste and Hazardous Waste to fill the Waste Facility that is created with the Gate Factories as they will make needed Trading Drones. It is also much safer than the fabs disposing of the waste themselves ;)

Once a fab is full of either waste it will stop producing until the waste is traded.


====================
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses
Calgor Grim
Posts: 163
Joined: Thu, 8. Sep 11, 14:03
x4

Post by Calgor Grim »

Quick comment, when the Terran one spawned it put it in Aldrin...right in the middle of the big huge rock in the middle. So that one is now a duff. I can't get to that one. Is it possible to blacklist that sector so it doesn't end up there?

It's also picking to use stations that I cannot dock a TL at. So far we've had an EMPC Forge and now we're on a Gauss Cannon. Is this intentional? Is this a way of hinting that I need a small fleet of TP?
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

1) Turn off the plugin and it will nuke the fabs, when you turn it back on they will be build somewhere else ;)

2) I see you read the update about loading....., you only need to dock to get waste
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses
Calgor Grim
Posts: 163
Joined: Thu, 8. Sep 11, 14:03
x4

Post by Calgor Grim »

Thanks on one, oops on two. :oops:
Derax
Posts: 93
Joined: Fri, 13. Feb 04, 15:01
x3tc

...

Post by Derax »

Is the AI using the gate in a good way?
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

define good
Kodiake
Posts: 1
Joined: Tue, 20. Jan 04, 05:37

Problem making gates from Aldrin

Post by Kodiake »

I have been having issues with getting this software to work correctly and I seem to have hopefully figured it out. We'll see after this build timer is complete :).

From what I have gathered, the requirements for building gates has changed. Does it not require the JCS anymore? It seems to only require that you have the right kind of ship and the proper amount of required materials. I don't see the JCS as an option in any of the ware lists, but I do show all of the construction materials in that list. I'm thinking to eliminate the EMP requirements, you must have taken out the JCS, but I could actually be wrong about that. I seem to get the Construction menu available, everything seems to work and I have no JCS on my ship.

But anyway back to my issue. I was attempting to build a gate from a "gateless" sector (Aldrin) to Cloudbase Southeast. I had a whole TL full of construction kits and materials. Every time I would estimate the cost it would show the required amounts, but every time I would try to build it would say "Not enough construction materials". It appears to calculate the amount of jumps required to jump from a gateless sector as NULL. There was no code to deal with this issue (at least not that I saw in my quick scan). I seem to have corrected this by adding in 3 lines of codes to the plugin.lv.build.gate script.

Line 231 has the following:

$jumps = get jumps from sector $sec to sector $tsec

I added the following 3 lines after line 231:

if $jumps == null
$jumps == 25
end


If during the build process, it gets a Null value for the amount of Jumps, it will make it 25 jumps. I figured 25 jumps was a large enough amount to accomodate for having to link to a gateless sector.

I never was able to get it to work before this. It would say "Funds Transferred" or whatever then it would fail.
I just got it to actually say it was building the gates after adding those 3 lines. We'll see how well it works in about 93 minutes. :)

*** UPDATE ***

The fix above seems to work correctly. I now have a gate from Aldrin to Cloudbase Southeast. Excellent job on the script LV. Hopefully now my supply ship can actually load the guns from Aldrin to my new ships without me having to do it all manually. My UT's seem to be trading here now so it appears it's working fine now.

*** UPDATE 2 ***

Ok I just had to come back and update this post with a warning for everyone who might use this script. I would advise against making a gate to Aldrin. It could cause you to have a game crash at a certain point in the plotline.
Spoiler
Show
If you make a gate to Aldrin, during the Aldrin Expansion plotline, the system will reconfigure the Aldrin system and it will make 6 gates there. If you have an existing gate there when this happens, it will crash your game and every time you try to jump to Aldrin you will end up at the desktop instead. I had a gate from Aldrin to Omicron Lyrae and a gate from Aldrin to Cloudbase Southease, which I then linked to my hub. As soon as I got to that point in the plotline and jumped in to Aldrin, I would crash to the desktop. Tthe only way to fix it was to go way back to an early save I had from before I installed the Aldrin gates. Without the gates the plot worked perfectly fine. And another note: If you have a gate that you created and linked to your Hub and then you turn off the script, it will actually delete the created gates in the original sectors, but in the process it will also remove the Hubs gates that were linked.
Turnus
Posts: 147
Joined: Mon, 14. May 12, 07:54
x4

Post by Turnus »

Hey LV I know this was made a long while ago, but is it possible to make a Reunion version? I could totally dig placing complexes in a bunch of unknown sectors and creating gates in each one to my phq. >.<
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

speak to bullwinkle, he's enjoyig scripting at the moment, he may port it

he may also tell you to take a hike of course ;)
User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle »

LV wrote:speak to bullwinkle, he's enjoyig scripting at the moment, he may port it

he may also tell you to take a hike of course ;)
I have never even installed Reunion.

Surely, there must be similar scripts already done for Reunion? When I look through the archives it seems as though *everything* was done for Reunion. No?



[ external image ]
Thraxwhirl
Posts: 683
Joined: Fri, 17. Feb 06, 20:54
x3ap

Post by Thraxwhirl »

Quick Question... and forgive me if someone has already asked this, but...

...does it matter that Jumpgate Construction Software doesn't exist after installing this scriptset?

The Construction stations have spawned, and the hotkey works fine, bringing up the menu, but JCS doesn't exist in the game, nor does the "Gate Construction Interface" mention it as a required Ware.

It DOES however reckon that SIX(not two) units of JumpDRIVE Components are required.

Will it still work if I use those instead?

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