Freighter mod cannot load anything else but fuel...

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

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

Post Reply
dertien
Posts: 250
Joined: Tue, 22. Feb 05, 14:27
x2

Freighter mod cannot load anything else but fuel...

Post by dertien » Wed, 7. Apr 21, 23:33

I created two new ships with parts from the OL shipyard.

I added this code to the macro.xml :

Code: Select all

<connection ref="connection_storage01">
        <macro ref="storage_ship_xl_fuel_01_macro" connection="ShipConnection" />
      </connection>
	  <connection ref="connection_storage02">
        <macro ref="cargobay_ship_xl_universal_02_macro" connection="ShipConnection" />
      </connection>
	  <connection ref="connection_storage03">
        <macro ref="cargobay_ship_xl_universal_02_macro" connection="ShipConnection" />
      </connection>
	  <connection ref="connection_storage04">
        <macro ref="cargobay_ship_xl_universal_02_macro" connection="ShipConnection" />
      </connection>
and this code to the component reference file:

Code: Select all

<connection name="connection_storage01" tags="storage ">
				<offset/>
			</connection>
			<connection name="connection_storage02" tags="storage ">
				<offset/>
			</connection>		
			<connection name="connection_storage03" tags="storage ">
				<offset/>
			</connection>
			<connection name="connection_storage04" tags="storage ">
				<offset/>
			</connection>
The ship is classified as 'trade' in the macro file.

Ingame, in the encyclopedia the correct amount shows, but once you open the trade screen it sais:

shipname cannot transport this ware and only the fuel storage is shown...

what am I missing?

https://www.mediafire.com/file/dje6zdx4 ... x.rar/file

Thank you.

User avatar
SirFrancisDrake
Posts: 167
Joined: Mon, 23. Dec 13, 12:24
x4

Re: Freighter mod cannot load anything else but fuel...

Post by SirFrancisDrake » Thu, 8. Apr 21, 15:21

Hello,

replace "cargobay_ship_xl_universal_02_macro" with "storage_ship_xl_universal_02_macro". After that it should work.

Greetings,
SirFrancisDrake

dertien
Posts: 250
Joined: Tue, 22. Feb 05, 14:27
x2

Re: Freighter mod cannot load anything else but fuel...

Post by dertien » Thu, 8. Apr 21, 18:24

Vielen dank :-)

That's exactly what makes it work, yes.

Now some testing and more fiddling will probably be required

Post Reply

Return to “X Rebirth - Scripts and Modding”