Manage Mod Load Order

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

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

Post Reply
Treycore
Posts: 134
Joined: Mon, 12. Apr 21, 12:42

Manage Mod Load Order

Post by Treycore » Mon, 13. Sep 21, 03:30

I'm trying to add an additional wharf/shipyard to the Terrans/Pioneers but it's not spawning and I'm getting an error in the debug that's letting me believe that the mod is loading before the terran dlc since it's saying the sector doesn't exist

The Sectors do exist on the map and I am able to add wharfs/shipyards to the other races, just the terran sectors I'm having an issue with

The issue may not be mod load order, if anyone has any ideas, then I'm open to try something

extensions/more_wharfs/libraries/god

It is its own mod with only a god file in libraries

These are my errors in the debug

[General] 0.00 ======================================
[=ERROR=] 0.00 [God Engine] God Entry ID: 'ter_shipyard_cluster_104_sector001' no sectors in galaxy found, error in map?
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 [God Engine] God Entry ID: 'pio_shipyard_cluster_113_sector001' no sectors in galaxy found, error in map?
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 [God Engine] God Entry ID: 'ter_wharf_cluster_104_sector001' no sectors in galaxy found, error in map?
[General] 0.00 ======================================
[General] 0.00 ======================================
[=ERROR=] 0.00 [God Engine] God Entry ID: 'pio_wharf_cluster_113_sector001' no sectors in galaxy found, error in map?
[General] 0.00 ======================================

This is the code that I'm utilizing

Code: Select all



<?xml version="1.0" encoding="utf-8"?>
<diff>	

	<add sel="/god/stations">

		<!--Terran-->

    <!-- Terran Shipyard -->
    <station id="ter_shipyard_cluster_104_sector001" race="terran" owner="terran" type="factory">
      <quotas>
        <quota galaxy="1" sector="1" zone="1" />
      </quotas>
      <location class="sector" macro="cluster_104_sector001_macro" />
      <station>
        <select faction="terran" tags="[shipyard]" />
        <loadout>
          <level exact="1.0" />
          <variation exact="0"/>
        </loadout>
      </station>
    </station>

    <station id="ter_wharf_cluster_104_sector001" race="terran" owner="terran" type="factory">
      <quotas>
        <quota galaxy="1" sector="1" zone="1" />
      </quotas>
      <location class="sector" macro="cluster_104_sector001_macro" />
      <station>
        <select faction="terran" tags="[wharf]" />
        <loadout>
          <level exact="1.0" />
          <variation exact="0"/>
        </loadout>
      </station>
    </station>

		<!--Segaris Pioneers-->

    <!-- Segaris Pioneers Shipyard -->
    <station id="pio_shipyard_cluster_113_sector001" race="terran" owner="pioneers" type="factory">
      <quotas>
        <quota galaxy="1" sector="1" zone="1" />
      </quotas>
      <location class="sector" macro="cluster_113_sector001_macro" />
      <station>
        <select faction="pioneers" tags="[shipyard]" />
        <loadout>
          <level exact="1.0" />
          <variation exact="0"/>
        </loadout>
      </station>
    </station>

    <!-- Segaris Pioneers Wharf -->
    <station id="pio_wharf_cluster_113_sector001" race="terran" owner="pioneers" type="factory">
      <quotas>
        <quota galaxy="1" sector="1" zone="1" />
      </quotas>
      <location class="sector" macro="cluster_113_sector001_macro" />
      <station>
        <select faction="pioneers" tags="[wharf]" />
        <loadout>
          <level exact="1.0" />
          <variation exact="0"/>
        </loadout>
      </station>
    </station>

	</add>
</diff>
	

Post Reply

Return to “X4: Foundations - Scripts and Modding”