[Guide] Adding ressources to a Shipyard for Construction

The place to discuss scripting and game modifications for X Rebirth.

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

Mordegar
Posts: 325
Joined: Mon, 10. May 04, 01:07
x4

[Guide] Adding ressources to a Shipyard for Construction

Post by Mordegar »

Since i haven't found a guide or thread about this yet, i fiddled around with an older savegame until i found the right values to edit in as many ressources into a shipyard as you like to keep it constructing ships at your desire.

The first part needs some research in the actual game done by your side:

Go to the shipyard of your desire in your game and look into the ship traders wares for how many drones of a type are in stock in that shipyard.
Now make a note about it (for example -30 construction drones) and open your Savegame with an XML Editor.
(It will be easier to search for interceptor or intrepid drones cause they are usually in stock, otherwise you need to open the modfiy drones.. selection with a ship of your's with drones on it to see the traders - stock)

Now search for the following line until you find your wares and their exact numbers, as an example -30 construction drones:

<ware ware="drp_construction" amount="-30"/>

If you scroll up a couple of lines, you should see the following line:

<connection connection="connectionfor_struct_econ_prod_stor_container_macro" macro="connectionfor_struct_econ_prod_stor_container_macro">


There will usually be a couple of other wares too in this section, like for example: (wares will be random in your savegame)

<ware ware="plasmaflowregulator" amount="9"/>
<ware ware="drp_surfaceminer_mk1" amount="122"/>
<ware ware="drp_interceptor_mk1" amount="-1"/>
<ware ware="drp_intrepid_mk1" amount="-22"/>
<ware ware="plasmaturret" amount="20"/>
<ware ware="reinforcedmetalplating" amount="199"/>
<ware ware="scanningarray" amount="99"/>
<ware ware="shotgunturret" amount="20"/>
<ware ware="shieldgenerator" amount="19"/>
<ware ware="drp_construction" amount="-30"/>


Now edit in something like the following under the *wares* you want:


<ware ware="bioopticwiring" amount="9988"/>
<ware ware="dumbfireturret" amount="2000"/>
<ware ware="foodrations" amount="19930"/>
<ware ware="fusionreactor" amount="4996"/>
<ware ware="energycells" amount="100000"/>
<ware ware="holtzmanfieldgenerator" amount="4994"/>
<ware ware="laserturret" amount="2000"/>
<ware ware="machinegunturret" amount="1996"/>
<ware ware="microchips" amount="9986"/>
<ware ware="plasmaflowregulator" amount="9996"/>
<ware ware="drp_surfaceminer_mk1" amount="1000"/>
<ware ware="drp_interceptor_mk1" amount="1000"/>
<ware ware="drp_intrepid_mk1" amount="1000"/>
<ware ware="plasmaturret" amount="2000"/>
<ware ware="reinforcedmetalplating" amount="19992"/>
<ware ware="scanningarray" amount="9994"/>
<ware ware="shotgunturret" amount="2000"/>
<ware ware="shieldgenerator" amount="1998"/>
<ware ware="drp_construction" amount="1000"/>
<ware ware="drp_cargolifter" amount="1000"/>
<ware ware="drp_surfaceminer_mk2" amount="1000"/>


If you got the right storage, your Shipyard will now start producing ships till its storage is empty again. You can also refill your drones that way after you order you
r ships to the yard.

For me it's a shame that i have to do this because of the current bugs and the state of the game, but at least i can continue playing and (as a sidenote) i still have to buy my ships for earned credits, so all in all it's just a fix for me.

I hope it helps! :)
User avatar
Petroph
Posts: 187
Joined: Tue, 12. Jul 11, 08:07
x4

Post by Petroph »

Bookmarked :D
djkaos
Posts: 74
Joined: Fri, 5. Mar 04, 00:19
x2

Post by djkaos »

Dude!! You un-broke my plot. :lol:


Works a treat, thx. 8)
Etyneo
Posts: 253
Joined: Fri, 25. May 12, 00:21
x4

Post by Etyneo »

Anyone know how to edit a save file to get ship production stopped? I've got the shipyard on DeVries trying to build me a freighter with no supplies on one end, and trying to add drones to my Taranis on the other end, both of which are stuck at 0% and the Taranis isn't even docked. I want to free the Ship Dealers at this shipyard so I can maybe get it building stuff using the method in the OP, but I can't talk to the dealers to get the numbers I need.

Edit: I'm running 1.16 presently as I'd heard 1.17 breaks trading, which seems to be working for me at present.
Mordegar
Posts: 325
Joined: Mon, 10. May 04, 01:07
x4

Post by Mordegar »

Return to “X Rebirth - Scripts and Modding”