Editing Save Game Help?

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

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

User avatar
Petroph
Posts: 187
Joined: Tue, 12. Jul 11, 08:07
x4

Editing Save Game Help?

Post by Petroph »

Ok, so I couldn't find surface mining drones anywhere so I decided to try to add them to my mining ships inventory.

I tried putting
<ware ware="drp_surfaceminer_mk1" amount="50"/>
into my freighter and it worked fine, but it's in storage, and cant use them.

I tried putting
<item macro="drp_surfaceminer_mk1" amount="80"/>
into the ammunition part of the ship where all the other drones are stored.

So it looks like this

<ammunition>
<available>
<item macro="units_size_drone_liquid_collector_mk1_macro" amount="50"/>
<item macro="units_size_xs_transp_empty_macro" amount="50"/>
<item macro="drp_surfaceminer_mk1" amount="50"/>
</available>
</ammunition>

However, when I transfer them over to my ammunition area with all the other drones, they do not show up.

I also noticed there are 2 variants of of each ship and drone, there is a
Unit class, and a drp class, I cannot find a Unit class for the surface miner. So is it named differently in the unit class, or are surface miners only supposed to be used as a commodity?

Any help, as I cannon proceed in the campaign without getting mining stuff done, and seeing as I need surface miners and can't find them anywhere, I would rather just forcefully put them there as I should not be spending hours trying to find drones to progress through the game...
Last edited by Petroph on Fri, 22. Nov 13, 04:02, edited 1 time in total.
Exrage
Posts: 10
Joined: Thu, 30. Jul 09, 06:55
x4

Post by Exrage »

Are you exceeding the drone limit for that ship's bay?
User avatar
Petroph
Posts: 187
Joined: Tue, 12. Jul 11, 08:07
x4

Post by Petroph »

Exrage wrote:Are you exceeding the drone limit for that ship's bay?
Negative, the drone bay can hold up to 150, and I only currently have 100.
User avatar
Petroph
Posts: 187
Joined: Tue, 12. Jul 11, 08:07
x4

Post by Petroph »

Anyone able to help? I'm literally just sitting here refreshing the page as I cannot get any further in this game.
MutantDwarf
Posts: 716
Joined: Tue, 20. Jun 06, 02:29
x4

Post by MutantDwarf »

Try "units_size_m_drilling_drone_01". That sounds like it might be a surface miner.
User avatar
Petroph
Posts: 187
Joined: Tue, 12. Jul 11, 08:07
x4

Post by Petroph »

MutantDwarf wrote:Try "units_size_m_drilling_drone_01". That sounds like it might be a surface miner.
Where did you get this from? I dont see it anywhere in any of the ship listings?

Edit: I tried it anyways, still no luck. It's a shame I spend most of the gametime actually editing my save game because the economy is seriously flawed....
Exrage
Posts: 10
Joined: Thu, 30. Jul 09, 06:55
x4

Post by Exrage »

drp is a "drop" version of an item meant to be placed in storage as it's a "ware" classification object. "Units_size_" is the nomenclature for a ship or drone that utilizes movement vertices which are then affected by the "size" classification of the ship, adding different variables such as mass and acceleration modifiers.

When you put in the code earlier "ware ware" and then tried dragging and dropping the item into the "item macro" variant that's where I and the save data got confused. You were trying to put a ware, which doesn't technically exist as it has no data, into the 3D space and why it didn't register in your drone's bay despite technically 'existing' there.

In short- drp is the ware version of a drone while the units_size_... is the actual 3D model data necessary to exist and therefore doesn't register as your drone.

Nice catch Dwarf- I was glancing through and completely missed what he was trying to do.
User avatar
Petroph
Posts: 187
Joined: Tue, 12. Jul 11, 08:07
x4

Post by Petroph »

Exrage wrote:drp is a "drop" version of an item meant to be placed in storage as it's a "ware" classification object. "Units_size_" is the nomenclature for a ship or drone that utilizes movement vertices which are then affected by the "size" classification of the ship, adding different variables such as mass and acceleration modifiers.

When you put in the code earlier "ware ware" and then tried dragging and dropping the item into the "item macro" variant that's where I and the save data got confused. You were trying to put a ware, which doesn't technically exist as it has no data, into the 3D space and why it didn't register in your drone's bay despite technically 'existing' there.

In short- drp is the ware version of a drone while the units_size_... is the actual 3D model data necessary to exist and therefore doesn't register as your drone.

Nice catch Dwarf- I was glancing through and completely missed what he was trying to do.

Ya, I was looking through every single line, and have come to the conclusion the surface miners do not exist as a physical entity.

For that matter, now I don't know what im looking for in order to get my ships to collect the rocks I break up :x
User avatar
Petroph
Posts: 187
Joined: Tue, 12. Jul 11, 08:07
x4

Post by Petroph »

FOUND IT!!!!

Ok, so I just decided to force Surface Miners into my cargo hold, as they are hard enough to come across. Now with that being said, I sold them to a shipyard. Now after that sale was complete, the station now had 50 shiny new surface miners.

I went ahead and went to see if the guy would sell me those back, but equip them instead. and BANG!! Now, for the sake of me searching for days for what Unit it was bringing up, i went to the save to check what it was calling upon to read the surface miners in the active drone bay.

Apparently Surface miners = units_size_drone_rubble_collector_mk1_macro

When I saw that I face-palmed like no tomorrow...


So for all those people who can't find them dam surface mining drones, and know how to edit your saved to put stuff in your ships. Use the following so it looks something like this...

<ammunition>
<available>
<item macro="units_size_drone_liquid_collector_mk1_macro" amount="50"/> (Scoop Collector)
<item macro="units_size_xs_transp_empty_macro" amount="50"/> (Cargo Lifter)
<item macro="units_size_drone_rubble_collector_mk1_macro" amount="50"/> (Surface Miner)
</available>
</ammunition>

So hopefully you won't be stuck for days trying to figure out where to get surface mining drones like I did :cry:

Now, to hopefully mine something... :lol:

Return to “X Rebirth - Scripts and Modding”