I started trying to make my first mod today.
I followed the tutorial in this forum and ended up with an XML patch file ship_gen_m_tugboat_01_a_macro.xml like this:
Code: Select all
<?xml version='1.0' encoding='utf-8'?>
<diff>
<replace sel="/macros/macro/properties/physics/drag/@forward">10.620</replace>
<replace sel="/macros/macro/properties/physics/drag/@reverse">39.318</replace>
</diff>
I tested the mod on my machine and everything works.
I then uploaded it to steam workshop using X Tool:
Code: Select all
>WorkshopTool publishx4 -path "..\X4 Foundations\extensions\manticore_low_drag" -preview "..\X4 Foundations\extensions\manticore_low_drag\preview.jpg" -buildcat -keepcatfiles
Code: Select all
<?xml version='1.0' encoding='utf-8'?>
<diff>
<replace sel="/macros/macro/properties/physics/drag/@forward">10.620</replace>
<replace sel="/macros/macro/properties/physics/drag/@reverse">39.318</replace>
</diff>
And the .cat file:
Code: Select all
assets/units/size_m/macros/ship_gen_m_tugboat_01_a_macro.xml 216 1650973010 a0c5e5931821c993250e8a137505f086
However, I always get a black screen during game startup.
I really have no idea why this is the case. Am I doing something wrong during the upload? Could someone test the mod by subscribing to it?
Any thoughts are much appreciated. Thank you very much in advance and sorry for my poor language skills.
Here's the Mod page:
https://steamcommunity.com/sharedfiles/ ... 2800174270