FryAmTheiMan
Chieftain
- Joined
- Oct 27, 2018
- Messages
- 2
I am working on my first mod and have managed to get it to work, but I cannot figure out why the leader and civ icons and background aren't appearing in game, despite the unit and district icons showing up just fine. They all appear during the civ select screen while creating a game, only the unit and district icons are showing up in the actual game. The only thing which I can think of that could be related to it is an error I am seeing in the database and modding logs, but I can't seem to find what the problem is.
Modding log is giving the error:
Database log is giving the error:
I'll attach copies of the logs and mod in case they are needed. If it helps, I am using a sort of Frankenstein of Keniisu's template (tutorial and template at
Link to video.) and Toussaint10362's template found here.
This is my first effort at coding of any kind, so I apologize if the problem is obvious.
Modding log is giving the error:
Code:
[3019935.954] UpdateDatabase - Loading Core/Leader/Ashe_Config.sql
[3019935.954] Warning: UpdateDatabase - Error Loading SQL.
Database log is giving the error:
Code:
[3019935.954] [Gameplay] ERROR: no such table: Players
Code:
-- Ashe_Config
-----------------------------------------------
-- Players
-----------------------------------------------
INSERT INTO Players
(CivilizationType, CivilizationName, CivilizationIcon, CivilizationAbilityName, CivilizationAbilityDescription, CivilizationAbilityIcon, LeaderType, LeaderName, LeaderIcon, LeaderAbilityName, LeaderAbilityDescription, LeaderAbilityIcon, Portrait, PortraitBackground)
VALUES (
-- Civilization
'CIVILIZATION_FRYAMTHEIMAN_DALMASCA', -- CivilizationType
'LOC_CIVILIZATION_FRYAMTHEIMAN_DALMASCA_NAME', -- CivilizationName
'ICON_CIVILIZATION_FRYAMTHEIMAN_DALMASCA_CUSTOM', -- CivilizationIcon
'LOC_TRAIT_CIVILIZATION_FRYAMTHEIMAN_DALMASCA_UA_NAME', -- CivilizationAbilityName
'LOC_TRAIT_CIVILIZATION_FRYAMTHEIMAN_DALMASCA_UA_DESCRIPTION', -- CivilizationAbilityDescription
'ICON_CIVILIZATION_FRYAMTHEIMAN_DALMASCA_CUSTOM', -- CivilizationAbilityIcon
-- Leader
'LEADER_FRYAMTHEIMAN_ASHE', -- LeaderType
'LOC_LEADER_FRYAMTHEIMAN_ASHE_NAME', -- LeaderName
'ICON_LEADER_FRYAMTHEIMAN_ASHE_CUSTOM', -- LeaderIcon
'LOC_TRAIT_LEADER_FRYAMTHEIMAN_ASHE_UA_NAME', -- LeaderAbilityName
'LOC_TRAIT_LEADER_FRYAMTHEIMAN_ASHE_UA_DESCRIPTION', -- LeaderAbilityDescription
'ICON_LEADER_FRYAMTHEIMAN_ASHE', -- LeaderAbilityIcon
'LEADER_LEADER_CUSTOM_NEUTRAL', -- Portrait
'LEADER_LEADER_CUSTOM_BACKGROUND' -- PortraitBackground
);
--Rise and Fall
INSERT INTO Players
(Domain, CivilizationType, CivilizationName, CivilizationIcon, CivilizationAbilityName, CivilizationAbilityDescription, CivilizationAbilityIcon, LeaderType, LeaderName, LeaderIcon, LeaderAbilityName, LeaderAbilityDescription, LeaderAbilityIcon, Portrait, PortraitBackground)
VALUES (
-- Civilization
'Players:Expansion1_Players', -- Domain
'CIVILIZATION_FRYAMTHEIMAN_DALMASCA', -- CivilizationType
'LOC_CIVILIZATION_FRYAMTHEIMAN_DALMASCA_NAME', -- CivilizationName
'ICON_CIVILIZATION_FRYAMTHEIMAN_DALMASCA_CUSTOM', -- CivilizationIcon
'LOC_TRAIT_CIVILIZATION_FRYAMTHEIMAN_DALMASCA_UA_NAME', -- CivilizationAbilityName
'LOC_TRAIT_CIVILIZATION_FRYAMTHEIMAN_DALMASCA_UA_DESCRIPTION', -- CivilizationAbilityDescription
'ICON_CIVILIZATION_FRYAMTHEIMAN_DALMASCA_CUSTOM', -- CivilizationAbilityIcon
-- Leader
'LEADER_FRYAMTHEIMAN_ASHE', -- LeaderType
'LOC_LEADER_FRYAMTHEIMAN_ASHE_NAME', -- LeaderName
'ICON_LEADER_FRYAMTHEIMAN_ASHE_CUSTOM', -- LeaderIcon
'LOC_TRAIT_LEADER_FRYAMTHEIMAN_ASHE_UA_NAME', -- LeaderAbilityName
'LOC_TRAIT_LEADER_FRYAMTHEIMAN_ASHE_UA_DESCRIPTION', -- LeaderAbilityDescription
'ICON_LEADER_FRYAMTHEIMAN_ASHE', -- LeaderAbilityIcon
'LEADER_LEADER_CUSTOM_NEUTRAL', -- Portrait
'LEADER_LEADER_CUSTOM_BACKGROUND' -- PortraitBackground
);
-----------------------------------------------
-- PlayerItems
-----------------------------------------------
INSERT INTO PlayerItems
(Domain, CivilizationType, LeaderType, Type, Icon, Name, Description, SortIndex )
VALUES ('Players:Expansion1_Players', 'CIVILIZATION_FRYAMTHEIMAN_DALMASCA', 'LEADER_FRYAMTHEIMAN_ASHE', 'UNIT_FRYAMTHEIMAN_DALMASCA_UU', 'ICON_UNIT_FRYAMTHEIMAN_DALMASCA_UU', 'LOC_UNIT_FRYAMTHEIMAN_DALMASCA_UU_NAME', 'LOC_UNIT_FRYAMTHEIMAN_DALMASCA_UU_DESCRIPTION', 10 ),
('Players:Expansion1_Players', 'CIVILIZATION_FRYAMTHEIMAN_DALMASCA', 'LEADER_FRYAMTHEIMAN_ASHE', 'DISTRICT_FRYAMTHEIMAN_DALMASCA_UD', 'ICON_DISTRICT_FRYAMTHEIMAN_DALMASCA_UD', 'LOC_DISTRICT_FRYAMTHEIMAN_DALMASCA_UD_NAME', 'LOC_DISTRICT_FRYAMTHEIMAN_DALMASCA_UD_DESCRIPTION', 20 );
I'll attach copies of the logs and mod in case they are needed. If it helps, I am using a sort of Frankenstein of Keniisu's template (tutorial and template at
Link to video.) and Toussaint10362's template found here.
This is my first effort at coding of any kind, so I apologize if the problem is obvious.