[SOLVED]Creating mod, certain texts do not work properly

TheMummy

Chieftain
Joined
Apr 5, 2021
Messages
1
Hi,

I'm creating a mod for Civ 6. (1st time modding Civ, using modbuddy)
Basically the idea is that, through certain technologies, extracting resources (oil, iron, aluminum...) becomes more efficient and so more resources are extracted.
(The effect should be similar to the policiy cards)

I'm still testing but it seems is working except certain texts placed in technologies, some work, some dont (i'm assuming is related to DLCs).

The texts not working properly belong to the technologies:
REFINING
COMBUSTION
COMPUTERS
SYNTHETIC_MATERIALS

Messing with the load order, i got it working but messed other texts.
How can i configure it so that it loads after the dlcs?

EDIT: [SOLVED]
For anyone having the same problem.

All i had to do was insert a <LoadOrder> tag for each file loaded.
So the modinfo looks like this:
Code:
  <Properties>
    ***
  </Properties>
  <Dependencies>
    <Mod id="4873eb62-8ccc-4574-b784-dda455e74e68" title="Expansion: Gathering Storm" />
  </Dependencies>
  <InGameActions>
    <UpdateDatabase id="NewAction">
      <Properties>
        <LoadOrder>3500</LoadOrder>
      </Properties>
      <File priority="100">UpdateDatabaseFile.sql</File>
    </UpdateDatabase>
    <UpdateText id="NewAction_Text">
      <Properties>
        <LoadOrder>4000</LoadOrder>
      </Properties>
      <File priority="200">UpdateTextFile.sql</File>
    </UpdateText>
  </InGameActions>
  <Files>
    <File>UpdateDatabaseFile.sql</File>
    <File>UpdateTextFile.sql</File>
  </Files>
</Mod>
 
Last edited:
Top Bottom