Making smaller sectors

The place to discuss scripting and game modifications for X4: Foundations.

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

luiz272
Posts: 1
Joined: Sun, 9. Dec 18, 15:05
x4

Making smaller sectors

Post by luiz272 »

Hello everyone,

I am a new modder and I am trying to make a mod that brings X4 closer to X3.

I have already been able to disable travel drives for the ships, but now I want to make the sectors smaller.

I have tried to use X4 Customizer and editing the XML files for sectors.xml and zones.xml in the maps/xu_ep2_universe folder and tested to see if I could make the gates in Argon Prime move closer together.

I changed the offset parameters in the both the sectors.xml and zones.xml files to values closer to zero for all 3 axes, but nothing seems to change.

I even tried deleting evertything else and keeping only one connection, but also did not work.

Code: Select all

<macro name="Cluster_14_Sector001_macro" class="sector">
    <component ref="standardsector" />
    <connections>
      <connection name="Zone001_Cluster_14_Sector001_connection" ref="zones">
        <offset>
          <position x="0.000" y="0.0000" z="0.000" />
        </offset>
        <macro ref="Zone001_Cluster_14_Sector001_macro" connection="sector" />
      </connection>
    </connections>
  </macro>
I disabled all other mods to make sure there were no conflicts and the situation remained the same.

Any help would be deeply appreciated.

Thank you in advance.
User avatar
Hector0x
Posts: 1052
Joined: Mon, 18. Nov 13, 18:03
x3tc

Re: Making smaller sectors

Post by Hector0x »

X4 Customizer has an automated feature for that.

Believe it was called "Scale sectors" or something. Unfortunately it broke since Avarice and Kingdom End but you can disable those two DLCs and then compare the output universe file to maybe reproduce the required steps for the missing sectors.

If you succeed please share the outcome. I absolutely adore how well the AI works without traveldrive but the sectors are definitely too big.

Return to “X4: Foundations - Scripts and Modding”