[Help] My Mod shows up but dosent show up

lillzigge

Chieftain
Joined
Dec 28, 2016
Messages
4
Location
Sweden
Hello

My Mod seems to be showing up in Civ 6 Additional Content but does not seem to be applied in the game.

What Have i Done so Far?
I have basically copied the .xml files from the Viking DLC that contained the Citystate information i needed and modified it to a simple citystate. Renamed it to Helsinki and modified the Suzerian Bonus for Palenque to a simple +15% growth.

I have also followed the modinfo tutorial by @PlotinusRedux and tried my best to insert the files into his sub categories.

What am I basically missing in the modinfo file as well some extra?

[See Attachment]


Greetings
Lilla_zigge
 

Attachments

You've got a few issues.

In .modinfo, you don't want to include properties like <RuleSet> unless you really want to limit them to some ruleset. Also, you need to include the relative paths to files from your mod's root directory. And the "id" attribute of the root <Mod> element needs to be unique.

Here's a fixed up version of your .modinfo file:
Code:
<?xml version="1.0" encoding="utf-8"?>
<Mod id="79a96bee-c555-45b4-ae34-5221c115ef93" version = "1">
  <Properties>
    <Name>LOC_NAME</Name>
    <Teaser>LOC_TEASER</Teaser>
  </Properties>
  <Files>
    <File>Data/moarCityStates_CityStates.xml</File>
    <File>Data/moarCityStates_Icons_Civilizations.xml</File>
    <File>Text/moarCityStates_CivilopediaText.xml</File>
    <File>Text/moarCityStates_Text.xml</File>
  </Files>
  <Components>
    <UpdateDatabase>
      <Items>
        <File>Data/moarCityStates_CityStates.xml</File>
      </Items>
    </UpdateDatabase>
    <LocalizedText>
      <Items>
        <File>Text/moarCityStates_Text.xml</File>
        <File>Text/moarCityStates_CivilopediaText.xml</File>
      </Items>
    </LocalizedText>
    <Icons>
      <Items>
        <File>Data/moarCityStates_Icons_Civilizations.xml</File>
      </Items>
    </Icons>
  </Components>

  <LocalizedText>
    <Text id="LOC_NAME">
      <en_US>Moar CityStates</en_US>
    </Text>
    <Text id="LOC_TEASER">
      <en_US>A Mod that adds more citystates with unique suzerian bonuses.</en_US>
    </Text>
  </LocalizedText>
</Mod>

Also, in MoarCityStates_Icons_Civilizations.xml, you don't want to include the <IconTextureAtlases> unless you added your own .dds file, and you failed to close your <IconDefinitions> tag. Fixed up version of it would be:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- edited by Zebastian Hansson-->
<GameInfo>
    <IconDefinitions>
        <Row Name="ICON_CIVILIZATION_HELSINKI" Atlas="ICON_ATLAS_CITYSTATES" Index="39"/>
    </IconDefinitions>
</GameInfo>

I haven't looked at all the files or tested the mod, but that should be enough to get you started in the right direction.
 
Thank you :D It works, i see the citystate at least in the Civlopedia =)
 
Last edited:
Top Bottom