[TUTORIAL] X Rebirth - Modding Guide

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

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

danadi712
Posts: 50
Joined: Sun, 1. Feb 15, 19:07

Re: [TUTORIAL] X Rebirth - Modding Guide

Post by danadi712 » Fri, 8. Apr 22, 13:37

Thank you alexalsp.
But i didnt understand in what file and where to put this code

<?xml version="1.0" encoding="UTF-8" ?>
<diff>
<replace sel="//properties/cargo/@max">600</replace>
</diff>

User avatar
alexalsp
Posts: 1820
Joined: Fri, 18. Jul 14, 05:28
x4

Re: [TUTORIAL] X Rebirth - Modding Guide

Post by alexalsp » Fri, 8. Apr 22, 14:32

danadi712 wrote:
Fri, 8. Apr 22, 13:37
Thank you alexalsp.
But i didnt understand in what file and where to put this code

<?xml version="1.0" encoding="UTF-8" ?>
<diff>
<replace sel="//properties/cargo/@max">600</replace>
</diff>
the code is inserted into the same file but in a mod.

Code: Select all

cargobay_ship_m_container_01_macro.xml

Code: Select all

mod\assets\props\StorageModules\macros\cargobay_ship_m_container_01_macro.xml
The file should contain only this code. 600 can be changed to your own value.

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?> 
<diff>
 <replace sel="//properties/cargo/@max">600</replace> 
</diff>
the path to the file must be saved.

Remember, this change will apply to all ships with this cargo hold.

danadi712
Posts: 50
Joined: Sun, 1. Feb 15, 19:07

Re: [TUTORIAL] X Rebirth - Modding Guide

Post by danadi712 » Fri, 8. Apr 22, 15:29

Thank you alex.
Is working.
Even on save game.

Post Reply

Return to “X Rebirth - Scripts and Modding”