Mod not working with expansions (SOLVED)

Max-0

Chieftain
Joined
Dec 17, 2022
Messages
5
Hello, so I'm pretty new to modding, and I way trying to make a new civilization (using the jasper kitty template).

So basically, when I set the ruleset to default, everything is fine:
2022-12-17 000003.png


But when I set the ruleset to gathering storm, this happens:

2022-12-17 000004.png

and it crashes once starting the game:
2022-12-17 000002.png

here is my config:
<?xml version="1.0" encoding="utf-8"?> <GameData> <!--Why does it not work with Expansion 2?--> <Players> <Row> <Domain>StandardPlayers</Domain> <CivilizationType>CIVILIZATION_FELINE</CivilizationType> <LeaderType>LEADER_JASPER_KITTY</LeaderType> <CivilizationName>LOC_CIVILIZATION_FELINE_NAME</CivilizationName> <CivilizationIcon>ICON_CIVILIZATION_FELINE</CivilizationIcon> <LeaderName>LOC_LEADER_JASPER_KITTY_NAME</LeaderName> <LeaderIcon>ICON_LEADER_JASPER_KITTY</LeaderIcon> <CivilizationAbilityName>LOC_TRAIT_WONDROUS_WONDERS_NAME</CivilizationAbilityName> <CivilizationAbilityDescription>LOC_TRAIT_WONDROUS_WONDERS_DESCRIPTION</CivilizationAbilityDescription> <CivilizationAbilityIcon>ICON_CIVILIZATION_FELINE</CivilizationAbilityIcon> <LeaderAbilityName>LOC_TRAIT_TRINITROTOLUENE_NAME</LeaderAbilityName> <LeaderAbilityDescription>LOC_TRAIT_TRINITROTOLUENE_DESCRIPTION</LeaderAbilityDescription> <LeaderAbilityIcon>ICON_LEADER_JASPER_KITTY</LeaderAbilityIcon> <Portrait>LEADER_JASPER_KITTY_NEUTRAL</Portrait> </Row> <Row> <Domain>Players:Expansion2_Players</Domain> <CivilizationType>CIVILIZATION_FELINE</CivilizationType> <LeaderType>LEADER_JASPER_KITTY</LeaderType> <CivilizationName>LOC_CIVILIZATION_FELINE_NAME</CivilizationName> <CivilizationIcon>ICON_CIVILIZATION_FELINE</CivilizationIcon> <LeaderName>LOC_LEADER_JASPER_KITTY_NAME</LeaderName> <LeaderIcon>ICON_LEADER_JASPER_KITTY</LeaderIcon> <CivilizationAbilityName>LOC_TRAIT_WONDROUS_WONDERS_NAME</CivilizationAbilityName> <CivilizationAbilityDescription>LOC_TRAIT_WONDROUS_WONDERS_DESCRIPTION</CivilizationAbilityDescription> <CivilizationAbilityIcon>ICON_CIVILIZATION_FELINE</CivilizationAbilityIcon> <LeaderAbilityName>LOC_TRAIT_TRINITROTOLUENE_NAME</LeaderAbilityName> <LeaderAbilityDescription>LOC_TRAIT_TRINITROTOLUENE_DESCRIPTION</LeaderAbilityDescription> <LeaderAbilityIcon>ICON_LEADER_JASPER_KITTY</LeaderAbilityIcon> <Portrait>LEADER_JASPER_KITTY_NEUTRAL</Portrait> </Row> </Players> <PlayerItems> <!-- Put all buildings and units here, PER DOMAIN--> <Row> <Domain>StandardPlayers</Domain> <CivilizationType>CIVILIZATION_FELINE</CivilizationType> <LeaderType>LEADER_JASPER_KITTY</LeaderType> <Type>BUILDING_LORANGE_FARM</Type> <Name>LOC_BUILDING_LORANGE_FARM_NAME</Name> <Description>LOC_BUILDING_LORANGE_FARM_DESCRIPTION</Description> <Icon>ICON_BUILDING_LORANGE_FARM</Icon> <SortIndex>10</SortIndex> </Row> <Row> <Domain>StandardPlayers</Domain> <CivilizationType>CIVILIZATION_FELINE</CivilizationType> <LeaderType>LEADER_JASPER_KITTY</LeaderType> <Type>BUILDING_LORANGE_DNA_EXTRACTION_FACILITY</Type> <Name>LOC_BUILDING_LORANGE_DNA_EXTRACTION_FACILITY_NAME</Name> <Description>LOC_BUILDING_LORANGE_DNA_EXTRACTION_FACILITY_DESCRIPTION</Description> <Icon>ICON_BUILDING_LORANGE_DNA_EXTRACTION_FACILITY</Icon> <SortIndex>20</SortIndex> </Row> <Row> <Domain>StandardPlayers</Domain> <CivilizationType>CIVILIZATION_FELINE</CivilizationType> <LeaderType>LEADER_JASPER_KITTY</LeaderType> <Type>UNIT_UNIQUE_CWT</Type> <Name>LOC_TRAIT_CIVILIZATION_CWT_NAME</Name> <Description>LOC_TRAIT_CIVILIZATION_CWT_DESCRIPTION</Description> <Icon>ICON_UNIT_UNIQUE_CWT</Icon> <SortIndex>30</SortIndex> </Row> <Row> <Domain>StandardPlayers</Domain> <CivilizationType>CIVILIZATION_FELINE</CivilizationType> <LeaderType>LEADER_JASPER_KITTY</LeaderType> <Type>UNIT_UNIQUE_ELITE_SPEARMAN</Type> <Name>LOC_TRAIT_CIVILIZATION_ELITE_SPEARMAN_NAME</Name> <Description>LOC_TRAIT_CIVILIZATION_ELITE_SPEARMAN_DESCRIPTION</Description> <Icon>ICON_UNIT_UNIQUE_ELITE_SPEARMAN</Icon> <SortIndex>40</SortIndex> </Row> <!--Expansion 2-->> <Row> <Domain>Players:Expansion2_Players</Domain> <CivilizationType>CIVILIZATION_FELINE</CivilizationType> <LeaderType>LEADER_JASPER_KITTY</LeaderType> <Type>BUILDING_LORANGE_FARM</Type> <Name>LOC_BUILDING_LORANGE_FARM_NAME</Name> <Description>LOC_BUILDING_LORANGE_FARM_DESCRIPTION</Description> <Icon>ICON_BUILDING_LORANGE_FARM</Icon> <SortIndex>10</SortIndex> </Row> <Row> <Domain>Players:Expansion2_Players</Domain> <CivilizationType>CIVILIZATION_FELINE</CivilizationType> <LeaderType>LEADER_JASPER_KITTY</LeaderType> <Type>BUILDING_LORANGE_DNA_EXTRACTION_FACILITY</Type> <Name>LOC_BUILDING_LORANGE_DNA_EXTRACTION_FACILITY_NAME</Name> <Description>LOC_BUILDING_LORANGE_DNA_EXTRACTION_FACILITY_DESCRIPTION</Description> <Icon>ICON_BUILDING_LORANGE_DNA_EXTRACTION_FACILITY</Icon> <SortIndex>20</SortIndex> </Row> <Row> <Domain>Players:Expansion2_Players</Domain> <CivilizationType>CIVILIZATION_FELINE</CivilizationType> <LeaderType>LEADER_JASPER_KITTY</LeaderType> <Type>UNIT_UNIQUE_CWT</Type> <Name>LOC_TRAIT_CIVILIZATION_CWT_NAME</Name> <Description>LOC_TRAIT_CIVILIZATION_CWT_DESCRIPTION</Description> <Icon>ICON_UNIT_UNIQUE_CWT</Icon> <SortIndex>30</SortIndex> </Row> <Row> <Domain>Players:Expansion2_Players</Domain> <CivilizationType>CIVILIZATION_FELINE</CivilizationType> <LeaderType>LEADER_JASPER_KITTY</LeaderType> <Type>UNIT_UNIQUE_ELITE_SPEARMAN</Type> <Name>LOC_TRAIT_CIVILIZATION_ELITE_SPEARMAN_NAME</Name> <Description>LOC_TRAIT_CIVILIZATION_ELITE_SPEARMAN_DESCRIPTION</Description> <Icon>ICON_UNIT_UNIQUE_ELITE_SPEARMAN</Icon> <SortIndex>40</SortIndex> </Row> </PlayerItems> </GameData>

1671284016968.png
 
I also made sure to disable all other mods I had except official dlc.
The same thing also happens with the Rise and Fall ruleset (I changed Players:Expansion2_Players to Players:Expansion1_Players).
 
Last edited:
I don't know if this is related, but I had this in my lua.log

Runtime Error: bad argument #1 to 'pGlobal_ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'pGlobal_ipairs'
C:\Program Files (x86)\Steam\steamapps\common\Sid Meier's Civilization VI\Base\Assets\UI\FrontEnd\LoadScreen.lua:371: in function 'OnLoadScreenContentReady'
[C]: in function 'func'
[C]: in function '(anonymous)'
 
I FIGURED IT OUT! I just had to add this to my civ6proj:

<ActionCriteriaData><![CDATA[
<ActionCriteria>
<Criteria id="LeaderCriteria">
<LeaderPlayable>StandardPlayers::LEADER_JASPER_KITTY,Players:Expansion1_Players::LEADER_JASPER_KITTY,Players:Expansion2_Players::LEADER_JASPER_KITTY</LeaderPlayable>
</Criteria>
<Criteria id="LeaderCriteriaExpansion1">
<LeaderPlayable>Players:Expansion1_Players::LEADER_JASPER_KITTY,Players:Expansion2_Players::LEADER_JASPER_KITTY</LeaderPlayable>
</Criteria>
<Criteria id="LeaderCriteriaExpansion2">
<LeaderPlayable>Players:Expansion2_Players::LEADER_JASPER_KITTY</LeaderPlayable>
</Criteria>
</ActionCriteria>
]]></ActionCriteriaData>
 
Top Bottom