Hi, I have a problem with a mod I want to create.
My goal is to adjust the Hull values of my ship mod to fit the balancing of VRO mod. So far so good. I have added the dependancy tag and it works, but the values I have changed dont apply in the game and I think I know why, but not how to fix it.
So my new mod is based on the XR ShipPack mod and has the following folder structure:
Code: Select all
extensions\XR_ShipPack_VRO\assets\units\size_l\macros
Inside this folder there are the ship macro files for the ship values I want to adjust. The ship files have the same names as the XR ShipPack names.
Inside the macro files I have an xml string like this:
Code: Select all
<diff>
<replace sel="//macros/macro/properties/hull/@max">201000</replace>
</diff>
So theoretically it should alter the Hull value of the ship with the same file name to 201000. But it does not and I guess it is because the mod is looking in the vanilla file structure for the file to replace and does not find it. I tested with some vanilla ships and these hull values I could change without a problem.
So how do I tell the game to look into the right folder for the custom added ships of the parent mod instead of searching in vanilla folders?
XR Ship Pack (adds several ships from XR)
Link
Weapon Pack (adds several new weapons)
Link
Economy Overhaul (expands the X4 economy with many new buildings)
Link
X4 Editor (view stats of objects and make your own mod within a few clicks)
Link