I'm trying to add a new leader for an existing Civ, and I'm having trouble setting up the existing traits. Following the tutorial here:
I'm working on editing the Players table, and have this line:
When I load up a game as this leader, I only have the one trait, Imperial Free Cities. It's not clear to me how to also add the other default German traits, U-Boats and Hansas. Following the example I saw in some other mods, I tried adding them via the PlayerItems table:
But this didn't seem to work. How do I go about setting up a new leader which keeps all of the base Civ's traits?
I'm working on editing the Players table, and have this line:
Code:
INSERT INTO Players
(CivilizationType, Portrait, PortraitBackground, LeaderType, LeaderName, LeaderIcon, LeaderAbilityName, LeaderAbilityDescription, LeaderAbilityIcon, CivilizationName, CivilizationIcon, CivilizationAbilityName, CivilizationAbilityDescription, CivilizationAbilityIcon)
VALUES ('CIVILIZATION_GERMANY', 'LEADER_LEADER_CUSTOM_NEUTRAL.dds', 'LEADER_JOHN_CURTIN_BACKGROUND', 'LEADER_NEM_FERDINAND_II', 'LOC_LEADER_NEM_FERDINAND_II', 'ICON_LEADER_NEM_FERDINAND_II', 'LOC_TRAIT_LEADER_NEM_EDICT_OF_RESTITUTION', 'LOC_TRAIT_LEADER_NEM_EDICT_OF_RESTITUION_DESCRIPTION', 'ICON_LEADER_NEM_FERDINAND_II', 'LOC_CIVILIZATION_GERMANY_NAME', 'ICON_CIVILIZATION_GERMANY', 'LOC_TRAIT_CIVILIZATION_IMPERIAL_FREE_CITIES_NAME', 'LOC_TRAIT_CIVILIZATION_IMPERIAL_FREE_CITIES_DESCRIPTION', 'ICON_CIVILIZATION_GERMANY');
When I load up a game as this leader, I only have the one trait, Imperial Free Cities. It's not clear to me how to also add the other default German traits, U-Boats and Hansas. Following the example I saw in some other mods, I tried adding them via the PlayerItems table:
Code:
INSERT INTO PlayerItems
(CivilizationType, LeaderType, Type, Icon, Name, Description, SortIndex)
VALUES ('CIVILIZATION_GERMANY, 'LEADER_NEM_FERDINAND_II', 'UNIT_GERMAN_UBOAT', 'ICON_UNIT_GERMAN_UBOAT', 'LOC_UNIT_GERMAN_UBOAT_NAME', 'LOC_UNIT_GERMAN_UBOAT_DESCRIPTION', 30);
INSERT INTO PlayerItems
(CivilizationType, LeaderType, Type, Icon, Name, Description, SortIndex)
VALUES ('CIVILIZATION_GERMANY, 'LEADER_NEM_FERDINAND_II', 'DISTRICT_HANSA', 'ICON_DISTRICT_HANSA', 'LOC_DISTRICT_HANSA_NAME', 'LOC_DISTRICT_HANSA_DESCRIPTION', 30);
But this didn't seem to work. How do I go about setting up a new leader which keeps all of the base Civ's traits?