Jeremiah
Chieftain
Hey!
I'm new to the civilization series, I played my first few games through the epic games giveaway and am really enjoying it so far! I started modding because I thought it would be fun to add some of my family members as leaders with their own civs.
I followed this tutorial: https://forums.civfanatics.com/threads/how-to-create-your-own-civilization.621377/
and used it to create 2 mods, each with a new civ & leader, that work on their own; but when I have both mods enabled I can't load into a game.
The second civ is an exact copy of the first civ i made with all the names changed. I was going to make it unique later, but tried to test it out first. I'm guessing they have some overlap and that's the reason it won't run?
Here's the Database.log:
This leads me to believe is has to do with the building. So here's the code for both mods:
All help is greatly appreciated!
I'm new to all of this, so I'm not surprised if I did something stupid.
Thanks!
I'm new to the civilization series, I played my first few games through the epic games giveaway and am really enjoying it so far! I started modding because I thought it would be fun to add some of my family members as leaders with their own civs.
I followed this tutorial: https://forums.civfanatics.com/threads/how-to-create-your-own-civilization.621377/
and used it to create 2 mods, each with a new civ & leader, that work on their own; but when I have both mods enabled I can't load into a game.
The second civ is an exact copy of the first civ i made with all the names changed. I was going to make it unique later, but tried to test it out first. I'm guessing they have some overlap and that's the reason it won't run?
Here's the Database.log:
Code:
[1559600.083] [Localization]: StartupErrorMessages.xml
[1559600.083] [Localization]: Input XML does not contain database entry tags. GameData, GameInfo or Database
[1559602.534] [Localization]: Validating Foreign Key Constraints...
[1559602.534] [Localization]: Passed Validation.
[1559602.547] [Configuration]: Validating Foreign Key Constraints...
[1559602.547] [Configuration]: Passed Validation.
[1559603.734] [FullTextSearch]: Initializing FullTextSearch
[1559604.418] [Gameplay]: Validating Foreign Key Constraints...
[1559604.430] [Gameplay]: Passed Validation.
[1559604.629] [Configuration]: Validating Foreign Key Constraints...
[1559604.630] [Configuration]: Passed Validation.
[1559605.279] [HallofFame]: Database found. Checking versions...
[1559605.281] [HallofFame]: Database is up-to-date!
[1559618.370] [FullTextSearch]: FTS - Creating Context
[1559622.500] [FullTextSearch]: FTS - Creating Context
[1559628.551] [Configuration]: Validating Foreign Key Constraints...
[1559628.552] [Configuration]: Passed Validation.
[1559634.272] [Configuration]: Validating Foreign Key Constraints...
[1559634.272] [Configuration]: Passed Validation.
[1559635.202] [Gameplay] ERROR: UNIQUE constraint failed: Types.Type
[1559635.202] [Gameplay] ERROR: UNIQUE constraint failed: Types.Type
[1559635.228] [Gameplay] ERROR: FOREIGN KEY constraint failed
[1559635.228] [Gameplay] ERROR: FOREIGN KEY constraint failed
[1559635.228] [Gameplay]: Validating Foreign Key Constraints...
[1559635.229] [Gameplay] ERROR: Invalid Reference on Buildings.TraitType - "TRAIT_CIVILIZATION_BUILDING_JSN_CHURCH" does not exist in Traits
[1559635.240] [Gameplay]: Failed Validation.
[1559636.724] [Configuration]: Validating Foreign Key Constraints...
[1559636.724] [Configuration]: Passed Validation.
[1559637.220] [FullTextSearch]: FTS - Creating Context
[1559644.543] [FullTextSearch]: FullTextSearch - Shutting down
This leads me to believe is has to do with the building. So here's the code for both mods:
Code:
<?xml version="1.0" encoding="utf-8"?>
<GameInfo>
<Types>
<Row Type="BUILDING_JSN_CHURCH" Kind="KIND_BUILDING"/>
</Types>
<Buildings>
<Row BuildingType="BUILDING_JSN_CHURCH" Name="LOC_BUILDING_JSN_CHURCH_NAME" Description="LOC_BUILDING_JSN_CHURCH_DESCRIPTION" PrereqDistrict="DISTRICT_CITY_CENTER" PrereqCivic="CIVIC_CODE_OF_LAWS" PurchaseYield="YIELD_GOLD" Cost="75" AdvisorType="ADVISOR_RELIGIOUS" Maintenance="0" TraitType="TRAIT_CIVILIZATION_BUILDING_JSN_CHURCH"/>
</Buildings>
<Building_YieldChanges>
<Row BuildingType="BUILDING_JSN_CHURCH" YieldType="YIELD_FAITH" YieldChange="2"/>
</Building_YieldChanges>
</GameInfo>
Code:
<?xml version="1.0" encoding="utf-8"?>
<GameInfo>
<Types>
<Row Type="BUILDING_JSN_STUDIO" Kind="KIND_BUILDING"/>
</Types>
<Buildings>
<Row BuildingType="BUILDING_JSN_STUDIO" Name="LOC_BUILDING_JSN_STUDIO_NAME" Description="LOC_BUILDING_JSN_STUDIO_DESCRIPTION" PrereqDistrict="DISTRICT_CITY_CENTER" PrereqCivic="CIVIC_CODE_OF_LAWS" PurchaseYield="YIELD_GOLD" Cost="75" AdvisorType="ADVISOR_CULTURE" Maintenance="0" TraitType="TRAIT_CIVILIZATION_BUILDING_JSN_STUDIO"/>
</Buildings>
<Building_YieldChanges>
<Row BuildingType="BUILDING_JSN_STUDIO" YieldType="YIELD_CULTURE" YieldChange="2"/>
</Building_YieldChanges>
</GameInfo>
All help is greatly appreciated!
I'm new to all of this, so I'm not surprised if I did something stupid.
Thanks!