Crook
Chieftain
- Joined
- Sep 28, 2019
- Messages
- 16
Hello, I'm working on my own custom civ, and I'm having trouble using a custom icon for my civ. My main problem is this :
When booting up the game, my Database.log shows this :
My xml is this :
What am I doing wrong?
When booting up the game, my Database.log shows this :
Code:
[3790690.648] [Database]: While executing - 'insert into IconDefinitions('Name', 'Atlas', 'Index') values (?, ?, ?);'
[3790690.648] [Database]: In XMLSerializer while inserting row into table insert into IconDefinitions('Name', 'Atlas', 'Index') with values (ICON_CIVILIZATION_DENE, ICON_ATLAS_DENE, 0, ).
My xml is this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<GameData>
<IconDefinitions>
<Row Name="ICON_UNIT_NOMADICFAMILY" Atlas="ICON_ATLAS_UNITS" Index="0"/>
<Row Name="ICON_UNIT_NOMADICFAMILY_PORTRAIT" Atlas="ICON_ATLAS_UNIT_PORTRAITS" Index="0"/>
<Row Name="ICON_DISTRICT_DENE_SPORT_CIRCLE" Atlas="ICON_ATLAS_DISTRICTS" Index="7"/>
<Row Name="ICON_CIVILIZATION_DENE" Atlas="ICON_ATLAS_DENE" Index="0"/>
<Row Name="ICON_LEADER_YAMORIA" Atlas="ICON_ATLAS_LEADERS" Index="0"/>
<Row Name="ICON_TRAIT_DENENDEH" Atlas="ICON_ATLAS_UNITS" Index="28"/>
</IconDefinitions>
<IconTextureAtlases>
<Row Name="ICON_ATLAS_DENE" IconSize="32" IconsPerRow="1" IconsPerColumn="1" Filename="CIVILIZATION_DENE_32"/>
<Row Name="ICON_ATLAS_DENE" IconSize="38" IconsPerRow="1" IconsPerColumn="1" Filename="CIVILIZATION_DENE_38"/>
<Row Name="ICON_ATLAS_DENE" IconSize="50" IconsPerRow="1" IconsPerColumn="1" Filename="CIVILIZATION_DENE_50"/>
<Row Name="ICON_ATLAS_DENE" IconSize="64" IconsPerRow="1" IconsPerColumn="1" Filename="CIVILIZATION_DENE_64"/>
<Row Name="ICON_ATLAS_DENE" IconSize="128" IconsPerRow="1" IconsPerColumn="1" Filename="CIVILIZATION_DENE_128"/>
<Row Name="ICON_ATLAS_DENE" IconSize="256" IconsPerRow="1" IconsPerColumn="1" Filename="CIVILIZATION_DENE_256"/>
</IconTextureAtlases>
</GameData>
What am I doing wrong?