[GUIDE] Howto Fix 0% Constructed Ships

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

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

Fenris159
Posts: 22
Joined: Tue, 19. Nov 13, 08:02

[GUIDE] Howto Fix 0% Constructed Ships

Post by Fenris159 »

This guide will show you step by step how to manually initiate construction of any ship you buy without having to wait years for the resources to never arrive. This is a temporary solution until trading is fixed.

1) First talk to the Ship Merchant of choice and design your ship.

2) Before you officially buy the ship take notes of all the resources its listing as requirements in something like notepad "or use pen and paper".

3) Buy the ship then save your game.

4) Close the game and find your save in Documents>Egosoft>X Rebirth>randomfolderwithnumbers>save

5) Open the save using a text editor, preferably "Notepad ++"

6) Hit CTRL+F to open find this macro "buildmodule_ships_" in my case it was "buildmodule_ships_omicron_l_macro" which is building out of Omicron Lyrae. Yours may be different depending on where your ship is dry-docked.

You will see something similar to this:

Code: Select all

<connections>
<connection connection="connection_buildmodule01" macro="connection_buildmodule01">
<component class="buildmodule" macro="buildmodule_ships_omicron_l_macro" connection="connection_component01" id="[0x3850]">
<build start="15545.7" step="1" steps="2" type="build" state="waitingforresources" masstraffic="[0x650]">
<resources>
<ware ware="bioopticwiring" amount="186"/>
<ware ware="energycells" amount="660"/>
<ware ware="foodrations" amount="370"/>
<ware ware="fusionreactor" amount="28"/>
<ware ware="holtzmanfieldgenerator" amount="46"/>
<ware ware="microchips" amount="174"/>
<ware ware="plasmaflowregulator" amount="34"/>
<ware ware="reinforcedmetalplating" amount="96"/>
<ware ware="scanningarray" amount="98"/>
<ware ware="shieldgenerator" amount="4"/>
<ware ware="machinegunturret" amount="14"/>
<ware ware="plasmaturret" amount="2"/>
</resources>

7) Look at the list of wares below. If the numbers match your notes then congratulations thats your ship. If not then hit "Find Next" until it does.

8) Simply change the value for each ware "amount" to 0 until they are all 0 under that category.

Like this:

Code: Select all

<connection connection="connection_buildmodule01" macro="connection_buildmodule01">
<component class="buildmodule" macro="buildmodule_ships_omicron_l_macro" connection="connection_component01" id="[0x3850]">
<build start="15545.7" step="1" steps="2" type="build" state="waitingforresources" masstraffic="[0x650]">
<resources>
<ware ware="bioopticwiring" amount="0"/>
<ware ware="energycells" amount="0"/>
<ware ware="foodrations" amount="0"/>
<ware ware="fusionreactor" amount="0"/>
<ware ware="holtzmanfieldgenerator" amount="0"/>
<ware ware="microchips" amount="0"/>
<ware ware="plasmaflowregulator" amount="0"/>
<ware ware="reinforcedmetalplating" amount="0"/>
<ware ware="scanningarray" amount="0"/>
<ware ware="shieldgenerator" amount="0"/>
<ware ware="machinegunturret" amount="0"/>
<ware ware="plasmaturret" amount="0"/>
</resources>

9) Make sure you back up your save before overwriting the file. Save the changes and load into the game.

10) Speak to the Ship Merchant and ask about ships. You will see that 0% constructed has started moving. Wait and it will finish.
Enjoy your new ship!
Patrin_Sartan
Posts: 10
Joined: Sat, 16. Nov 13, 12:25

Post by Patrin_Sartan »

Thanks a lot! You're my savior. BTW, haw i can do the same with my constructon ship, which trying to create station, but don't have enough resourses?
Fenris159
Posts: 22
Joined: Tue, 19. Nov 13, 08:02

Post by Fenris159 »

I haven't yet done stations so I cannot say for sure. However I could assume that the macro starts with buildmodule_station and the same concept would apply where you change the list of wares to 0, however I wouldn't know the consequences of that. If you can't find that I'm sure you could search for "buildmodule" until you come across something massive enough to be a station. Good luck!
Patrin_Sartan
Posts: 10
Joined: Sat, 16. Nov 13, 12:25

Post by Patrin_Sartan »

Well, yes, i tried to find something with "buildmodule" (and i changed them), but it's too many matches so i didn't get, which was what I was looking for.

Anyway, really THANKS!
Fenris159
Posts: 22
Joined: Tue, 19. Nov 13, 08:02

Post by Fenris159 »

Tomorrow I will try testing stations, I just got finished altering faction information. I believe that the Unknown Factions in the campaign became known due to a trigger from the storyline, however in free play it is permanently unknown. That is until I found some interesting variables to play with. I'll post updates on these things later. :wink:
IFOR
Posts: 3
Joined: Wed, 20. Nov 13, 12:38

Post by IFOR »

THANKS MATE!!!! u saved my savegame xD
DarrikVkir
Posts: 31
Joined: Wed, 13. Jul 11, 23:27

Post by DarrikVkir »

Here's instructions on editing your constructor ship.

(Save File Edit) Adding resources to your constructor ship

The help focuses on how to add resources to your constructor ship, but the section called 'resources' works the same as the resources in a station's build module - you can 0 those out just as you would for a station, rather than adding resources to the construction ship.
Zakuak
Posts: 85
Joined: Mon, 4. Nov 13, 22:29

Post by Zakuak »

Man I wish I had this info two (well day 3 now) days ago lol. My ship is still at 0% sitting at the Hot Air Ship yard in Devries.

No way for me to write down any info bits as I already bought the ship days ago...wish there was a damn "Cancel" button for the build.....hell they should have "cancel" buttons for everything in this game lol
Baleur
Posts: 587
Joined: Fri, 28. Oct 05, 13:37
x4

Post by Baleur »

I need help adding back a destroyed drone hangar module on a boarded Rahanas :(

http://forum.egosoft.com/viewtopic.php?p=4223465
CPU: Intel i7 6300k RAM: 32gb GPU: nVidia 1070 6gb VRAM
Fenris159
Posts: 22
Joined: Tue, 19. Nov 13, 08:02

Post by Fenris159 »

The only way to repair in game is to fly the Rhahanas into the dry-dock by speaking with the Ship Merchant while it is in sector with you and ask him to repair the ship. You can also do upgrades here. However it doesn't fix anything, and thats why we've been struck selling and remaking severely broken capital ships. I read somewhere that the engineer will fix things to 75% health and that works.
Fenris159
Posts: 22
Joined: Tue, 19. Nov 13, 08:02

Post by Fenris159 »

Zakuak wrote:Man I wish I had this info two (well day 3 now) days ago lol. My ship is still at 0% sitting at the Hot Air Ship yard in Devries.

No way for me to write down any info bits as I already bought the ship days ago...wish there was a damn "Cancel" button for the build.....hell they should have "cancel" buttons for everything in this game lol
Your save does not include a lot of construction ques embedded inside it. I'm sure if you follow this guide you may find only 1 or 2 ships actually being built in which case you could just finish them both. Another clue is the name of the macro, which indicates what system its building in.

But ya personally I spent 6+ hours trying to figure this out because it just completely broke the game for me, and with boarding not working how am I supposed to build a fleet? lol
dmk
Posts: 682
Joined: Fri, 25. Nov 05, 00:59
x4

Post by dmk »

boarding is working...
just be sure that ship you board having cons drones,
or add them by editing savegame.
after that engineer would fix all except hull to 75%
after that you can repair in shipyard if yours working properly.
(but that will cost you MUCH).
Fenris159
Posts: 22
Joined: Tue, 19. Nov 13, 08:02

Post by Fenris159 »

Well the issue I had was I was boarding ships with no docking port, like the Gangrene. They say hold on while we bring a captain onboard, however it sits and since there is no way to place an engineer on the ship it doesn't repair the jumpdrive and engines.
Zakuak
Posts: 85
Joined: Mon, 4. Nov 13, 22:29

Post by Zakuak »

Wooha so glad I found this thread again!!

Fen, thank you for posting the help. I hope tonight I can get in game and well...before that Ima try n hack my ship out of dry dock via XML lol.

Cheers!
Fenris159
Posts: 22
Joined: Tue, 19. Nov 13, 08:02

Post by Fenris159 »

Zakuak wrote:Wooha so glad I found this thread again!!

Fen, thank you for posting the help. I hope tonight I can get in game and well...before that Ima try n hack my ship out of dry dock via XML lol.

Cheers!
I'm happy I can be some help! Thanks

There is a post floating around regarding manually undocking a ship. If its a built ship that you had docked to repair or something and its stuck you can try and find 2 lines in the save and delete them.
They will say something in regards to a connection so search for that word. Once deleted it will be free from dock.
seedee
Posts: 78
Joined: Sat, 16. Sep 06, 05:38
x4

Post by seedee »

I thought i could link that here too :
http://forum.egosoft.com/viewtopic.php? ... 09#4241609

I found how to "undock" your ship from a shipyard if it bugged while doing repairs / loading drones / loading turrets

ie : the ship IS docked, but won't do anything anymore, commands are greyed out, ship dealer don't want to build anything, ship don't get repaired / fixed / equiped
JamesJB
Posts: 358
Joined: Wed, 6. Nov 02, 20:31
x4

Post by JamesJB »

Hi im trying to build a Bulk Freighter but it won't build and it don't have 0% next to the name of the ship at the ship builder.

I tried to build it yesterday and today it still wont do anything,I mean build.

Please help.


btw its in Shady Vault.

I forgot to mention I can see the hardly built ship in the dock.
caveman623
Posts: 41
Joined: Mon, 18. Nov 13, 18:16
x4

Post by caveman623 »

What if it is just a randomly docked ship? Is there any way to undock through save file if it is not your ship?
DavidLasher
Posts: 15
Joined: Wed, 20. Nov 13, 08:22

Post by DavidLasher »

When the shipyard is constructing a ship and the ship stays at 0% completion it would be safe to assume that the station lacks the resources required to complete the ship. Which, instead of delivering the wares in-game, this "edit" is actually detracting from the purpose and rewarding feeling you get when your ship has been completed the "right way". Keep that in mind, some people like to play a game for the long haul. They, and you may not realize the actuality of "why it isn't working".
User avatar
Petroph
Posts: 187
Joined: Tue, 12. Jul 11, 08:07
x4

Post by Petroph »

How would one do this for a npc ship being built? I've looked through the save and cannot find any resources listed, or required. Is there a way to cancel the builder order or complete the build order?

Return to “X Rebirth - Scripts and Modding”