Leader Ability and Adding New Leader to Existing Civ

SlySlySly

Warlord
Joined
Feb 8, 2017
Messages
293
Location
Denver
So my main goal is to add a new leader for the Japanese civilization. I'm not sure exactly how I would do this. I'm trying to use a template and I think it might work but I'm not exactly sure. (I attached what I have) Essentially, I only used the leader section of the template and I edited all the parts where it said civilization to be CIVILIZATION_JAPAN. Would what I did work.

I also was wondering about how to achieve her unique leader ability. I want to set it up so all her cities gain an extra 5 loyalty per turn. As well as her cities exerting double population loyalty pressure. Is this possible?

I haven't figured out how agendas work either. I want her to appreciate civs that have happy cities and a large military. Dislike civs with unhappy cities or a small military.

I got the mod to load in and the files loaded accordingly. My .modbuddy gets all the files in properly. The game just says that the actual files are wrong. :/ Also, she doesn't show up and I'm kind of lost.

Files:
Spoiler AKANE_YUUKA_JAPAN.modinfo :

<?xml version="1.0" encoding="utf-8"?>
<Mod id="836fe918-64a0-44fb-8b88-904a6add3409" version="1">
<Properties>
<Name>Akane Yuuka Japan</Name>
<Teaser>What!</Teaser>
<Description>Mod!</Description>
<Authors>MMMEEEEEE</Authors>
</Properties>

<!-- Files included -->
<Files>
<File>Leader_Agenda.sql</File>
<File>Leader_Colors.sql</File>
<File>Leader_Config.sql</File>
<File>Leader_Core.sql</File>
<File>Leader_Localisation.sql</File>
<File>Leader_UA.sql</File>
</Files>

<!-- Different parts of the mod -->
<Components>
<UpdateDatabase id="836fe918-64a0-44fb-8b88-904a6add3409">
<Items>
<File>Leader_Core.sql</File>
<File>Leader_Config.sql</File>
<File>Leader_Agenda.sql</File>
<File>Leader_Colors.sql</File>
<File>Leader_UA.sql</File>
<File>Leader_Localisation.sql</File>
</Items>
</UpdateDatabase>
</Components>
</Mod>

Spoiler Leader_Agenda.sql :

/*
Agenda
Authors: ChimpanG
*/

-----------------------------------------------
-- Types
-----------------------------------------------

INSERT INTO Types
(Type, Kind )
VALUES ('TRAIT_AGENDA_LEADER_AKANE_YUUKA', 'KIND_TRAIT' );

-----------------------------------------------
-- Agendas
-----------------------------------------------

INSERT INTO Agendas
(AgendaType, Name, Description )
VALUES ('AGENDA_LEADER_AKANE_YUUKA', 'LOC_AGENDA_LEADER_AKANE_YUUKA_NAME', 'LOC_AGENDA_LEADER_AKANE_YUUKA_DESCRIPTION' );

-----------------------------------------------
-- Traits
-----------------------------------------------

INSERT INTO Traits
(TraitType, Name, Description )
VALUES ('TRAIT_AGENDA_LEADER_AKANE_YUUKA', 'LOC_AGENDA_LEADER_AKANE_YUUKA_NAME', 'LOC_AGENDA_LEADER_AKANE_YUUKA_DESCRIPTION' );

-----------------------------------------------
-- AgendaTraits
-----------------------------------------------

INSERT INTO AgendaTraits
(AgendaType, TraitType )
VALUES ('AGENDA_LEADER_AKANE_YUUKA', 'TRAIT_AGENDA_LEADER_AKANE_YUUKA' );

-----------------------------------------------
-- HistoricalAgendas
-----------------------------------------------

INSERT INTO HistoricalAgendas
(LeaderType, AgendaType )
VALUES ('LEADER_LEADER_AKANE_YUUKA', 'AGENDA_LEADER_AKANE_YUUKA' );

-----------------------------------------------
-- ExclusiveAgendas
-----------------------------------------------

INSERT INTO ExclusiveAgendas
(AgendaOne, AgendaTwo )
VALUES ('AGENDA_LEADER_AKANE_YUUKA', 'AGENDA_STANDING_ARMY' ),
('AGENDA_LEADER_AKANE_YUUKA', 'AGENDA_DARWINIST' ),
('AGENDA_LEADER_AKANE_YUUKA', 'AGENDA_PILLAGER' );

-----------------------------------------------
-- TraitModifiers
-----------------------------------------------

INSERT INTO TraitModifiers
(TraitType, ModifierId )
VALUES ('TRAIT_AGENDA_LEADER_AKANE_YUUKA', 'AGENDA_MODIFIER_LEADER_AKANE_YUUKA_UNHAPPY' ),
('TRAIT_AGENDA_LEADER_AKANE_YUUKA', 'AGENDA_MODIFIER_LEADER_AKANE_YUUKA_HAPPY' );

-----------------------------------------------
-- Modifiers
-----------------------------------------------

INSERT INTO Modifiers
(ModifierId, ModifierType, SubjectRequirementSetId )
VALUES ('AGENDA_MODIFIER_LEADER_AKANE_YUUKA_UNHAPPY', 'MODIFIER_PLAYER_DIPLOMACY_SIMPLE_MODIFIER', 'REQSET_LEADER_AKANE_YUUKA_UNHAPPY' ),
('AGENDA_MODIFIER_LEADER_AKANE_YUUKA_HAPPY', 'MODIFIER_PLAYER_DIPLOMACY_SIMPLE_MODIFIER', 'REQSET_LEADER_AKANE_YUUKA_HAPPY' );

-----------------------------------------------
-- ModifierStrings
-----------------------------------------------
INSERT INTO ModifierStrings
(ModifierId, Context, Text )
VALUES ('AGENDA_MODIFIER_LEADER_AKANE_YUUKA_UNHAPPY', 'Sample', 'LOC_TOOLTIP_SAMPLE_DIPLOMACY_ALL' ),
('AGENDA_MODIFIER_LEADER_AKANE_YUUKA_HAPPY', 'Sample', 'LOC_TOOLTIP_SAMPLE_DIPLOMACY_ALL' );

-----------------------------------------------
-- ModifierArguments
-----------------------------------------------

INSERT INTO ModifierArguments
(ModifierId, Name, Value )
VALUES ('AGENDA_MODIFIER_LEADER_AKANE_YUUKA_UNHAPPY', 'InitialValue', -5 ),
('AGENDA_MODIFIER_LEADER_AKANE_YUUKA_UNHAPPY', 'IncrementValue', -1 ),
('AGENDA_MODIFIER_LEADER_AKANE_YUUKA_UNHAPPY', 'IncrementTurns', -10 ),
('AGENDA_MODIFIER_LEADER_AKANE_YUUKA_UNHAPPY', 'MaxValue', -25 ),
('AGENDA_MODIFIER_LEADER_AKANE_YUUKA_UNHAPPY', 'StatementKey', 'LOC_DIPLO_WARNING_LEADER_LEADER_AKANE_YUUKA_REASON_ANY' ),
('AGENDA_MODIFIER_LEADER_AKANE_YUUKA_UNHAPPY', 'SimpleModifierDescription', 'LOC_DIPLO_MODIFIER_LEADER_AKANE_YUUKA_UNHAPPY' ),

('AGENDA_MODIFIER_LEADER_AKANE_YUUKA_HAPPY', 'InitialValue', 5 ),
('AGENDA_MODIFIER_LEADER_AKANE_YUUKA_HAPPY', 'IncrementValue', 1 ),
('AGENDA_MODIFIER_LEADER_AKANE_YUUKA_HAPPY', 'IncrementTurns', 10 ),
('AGENDA_MODIFIER_LEADER_AKANE_YUUKA_HAPPY', 'MaxValue', 12 ),
('AGENDA_MODIFIER_LEADER_AKANE_YUUKA_HAPPY', 'StatementKey', 'LOC_DIPLO_KUDO_LEADER_LEADER_AKANE_YUUKA_REASON_ANY' ),
('AGENDA_MODIFIER_LEADER_AKANE_YUUKA_HAPPY', 'SimpleModifierDescription', 'LOC_DIPLO_MODIFIER_LEADER_AKANE_YUUKA_HAPPY' );

-----------------------------------------------
-- RequirementSets
-----------------------------------------------

INSERT INTO RequirementSets
(RequirementSetId, RequirementSetType )
VALUES ('REQSET_LEADER_AKANE_YUUKA_UNHAPPY', 'REQUIREMENTSET_TEST_ALL' ),
('REQSET_LEADER_AKANE_YUUKA_HAPPY', 'REQUIREMENTSET_TEST_ALL' );

-----------------------------------------------
-- RequirementSetRequirements
-----------------------------------------------

INSERT INTO RequirementSetRequirements
(RequirementSetId, RequirementId )
VALUES ('REQSET_LEADER_AKANE_YUUKA_UNHAPPY', 'REQUIRES_MAJOR_CIV_OPPONENT' ),
('REQSET_LEADER_AKANE_YUUKA_UNHAPPY', 'REQUIRES_MET_10_TURNS_AGO' ),
('REQSET_LEADER_AKANE_YUUKA_UNHAPPY', 'REQUIRES_HAS_LOW_STANDING_ARMY' ),
('REQSET_LEADER_AKANE_YUUKA_UNHAPPY', 'REQUIRES_NEIGHBOR_CIVS' ),
('REQSET_LEADER_AKANE_YUUKA_HAPPY', 'REQUIRES_MAJOR_CIV_OPPONENT' ),
('REQSET_LEADER_AKANE_YUUKA_HAPPY', 'REQUIRES_MET_10_TURNS_AGO' ),
('REQSET_LEADER_AKANE_YUUKA_HAPPY', 'REQUIRES_HAS_HIGH_PILLAGE' );

Spoiler Leader_Colors.sql :

/*
Colors
Authors: ChimpanG
*/

-----------------------------------------------
-- PlayerColors
-----------------------------------------------

#INSERT INTO PlayerColors (Type, Usage, PrimaryColor, SecondaryColor, Alt1PrimaryColor, Alt1SecondaryColor, Alt2PrimaryColor, Alt2SecondaryColor, Alt3PrimaryColor, Alt3SecondaryColor )
#VALUES (
# 'LEADER_LEADER_AKANE_YUUKA',
# 'Unique',
# 'COLOR_JAPAN_C_PRIMARY',
# 'COLOR_JAPAN_C_SECONDARY',
# 'COLOR_JAPAN_A_PRIMARY',
# 'COLOR_JAPAN_A_SECONDARY',
# 'COLOR_JAPAN_B_PRIMARY',
# 'COLOR_JAPAN_B_SECONDARY',
# 'COLOR_JAPAN_D_PRIMARY',
# 'COLOR_JAPAN_D_SECONDARY'
# );

Spoiler Leader_Config.sql :

/*
Config
Authors: ChimpanG
*/

-----------------------------------------------
-- Players (Rise and Fall)
-----------------------------------------------

INSERT INTO Players (Domain, CivilizationType, CivilizationName, CivilizationIcon, CivilizationAbilityName, CivilizationAbilityDescription, CivilizationAbilityIcon, LeaderType, LeaderName, LeaderIcon, LeaderAbilityName, LeaderAbilityDescription, LeaderAbilityIcon)
VALUES (

-- Civilization
'Players:Expansion2_Players', -- Domain
'CIVILIZATION_JAPAN', -- CivilizationType
'LOC_CIVILIZATION_JAPAN_NAME', -- CivilizationName
'ICON_CIVILIZATION_JAPAN', -- CivilizationIcon
'LOC_TRAIT_CIVILIZATION_JAPAN_UA_NAME', -- CivilizationAbilityName
'LOC_TRAIT_CIVILIZATION_JAPAN_DESCRIPTION', -- CivilizationAbilityDescription
'ICON_CIVILIZATION_JAPAN', -- CivilizationAbilityIcon


-- Leader
'LEADER_LEADER_AKANE_YUUKA', -- LeaderType
'LOC_LEADER_LEADER_AKANE_YUUKA_NAME', -- LeaderName
'ICON_LEADER_HARDRADA', -- LeaderIcon (Portrait)
'LOC_TRAIT_LEADER_LEADER_AKANE_YUUKA_UA_NAME', -- LeaderAbilityName
'LOC_TRAIT_LEADER_LEADER_AKANE_YUUKA_UA_DESCRIPTION', -- LeaderAbilityDescription
'ICON_LEADER_HARDRADA' -- LeaderAbilityIcon
);

-----------------------------------------------
-- PlayerItems (Rise and Fall)

/*
Config
Authors: ChimpanG
*/

Spoiler Leader_Core.sql :

/*
Leader
Authors: ChimpanG, SeelingCat
*/

-----------------------------------------------
-- Types
-----------------------------------------------

INSERT INTO Types
(Type, Kind )
VALUES ('LEADER_LEADER_AKANE_YUUKA', 'KIND_LEADER' );

-----------------------------------------------
-- CivilizationLeaders
-----------------------------------------------

INSERT INTO CivilizationLeaders
(CivilizationType, LeaderType, CapitalName )
VALUES ('CIVILIZATION_JAPAN', 'LEADER_LEADER_AKANE_YUUKA', 'LOC_CITY_NAME_AKANE_1' );

-----------------------------------------------
-- Leaders
-----------------------------------------------

INSERT INTO Leaders
(LeaderType, Name, InheritFrom, SceneLayers )
VALUES ('LEADER_LEADER_AKANE_YUUKA', 'LOC_LEADER_LEADER_AKANE_YUUKA_NAME', 'LEADER_DEFAULT', 4 );

-----------------------------------------------
-- LeaderQuotes
-----------------------------------------------

INSERT INTO LeaderQuotes
(LeaderType, Quote )
VALUES ('LEADER_LEADER_AKANE_YUUKA', 'LOC_PEDIA_LEADERS_PAGE_LEADER_AKANE_YUUKA_QUOTE' );

-----------------------------------------------
-- LoadingInfo
-----------------------------------------------

INSERT INTO LoadingInfo
(LeaderType, ForegroundImage, BackgroundImage, PlayDawnOfManAudio )
VALUES ('LEADER_LEADER_AKANE_YUUKA', 'LEADER_LEADER_AKANE_YUUKA_NEUTRAL', 'LEADER_LEADER_AKANE_YUUKA_BACKGROUND', 0 );

-----------------------------------------------
-- Colors
-----------------------------------------------
/*
INSERT INTO PlayerColors
(Type, Usage, PrimaryColor, SecondaryColor, TextColor )
VALUES ('LEADER_LEADER_AKANE_YUUKA', 'Unique', 'COLOR_LEADER_AKANE_YUUKA_PRIMARY', 'COLOR_LEADER_AKANE_YUUKA_SECONDARY', 'COLOR_PLAYER_WHITE_TEXT' );

INSERT INTO Colors
(Type, Color )
VALUES ('COLOR_LEADER_AKANE_YUUKA_PRIMARY', '38,96,94,255' ),
('COLOR_LEADER_AKANE_YUUKA_SECONDARY', '252,202,132,255' );
*/
-----------------------------------------------
-- CityNames
-----------------------------------------------

INSERT INTO CityNames
(CivilizationType, LeaderType, SortIndex, CityName )
VALUES ('CIVILIZATION_JAPAN', 'LEADER_LEADER_AKANE_YUUKA', -1, 'LOC_CITY_NAME_AKANE_1' ),


Spoiler Leader_Localisation.sql :

/*
Localisation
Authors: ChimpanG,, Digihuman, SeelingCat
*/

INSERT OR REPLACE INTO LocalizedText (Language, Tag, Text)
VALUES

-----------------------------------------------
-- Leader
-----------------------------------------------

("en_US", "LOC_LEADER_LEADER_AKANE_YUUKA_NAME", "Akane Yuuka" ),

-----------------------------------------------
-- UA
-----------------------------------------------

("en_US", "LOC_TRAIT_LEADER_LEADER_AKANE_YUUKA_UA_NAME", "Revolutionary Ruler" ),
("en_US", "LOC_TRAIT_LEADER_LEADER_AKANE_YUUKA_UA_DESCRIPTION",
"Own cities gain 5 loyalty per turn. Population pressure on enemy cities is doubled." ),

-----------------------------------------------
-- Agenda
-----------------------------------------------

("en_US", "LOC_AGENDA_LEADER_AKANE_YUUKA_NAME", "People's Army" ),
("en_US", "LOC_AGENDA_LEADER_AKANE_YUUKA_DESCRIPTION", "Appreciates civiliations that have happy cities and a large military. Dislikes civilizations with either unhappy cities or a small military." ),

("en_US", "LOC_DIPLO_KUDO_LEADER_LEADER_AKANE_YUUKA_REASON_ANY", "(You have pillaged a high number of tiles.)" ),
("en_US", "LOC_DIPLO_MODIFIER_LEADER_AKANE_YUUKA_HAPPY", "Vlad III respects your pillaging tactics" ),

("en_US", "LOC_DIPLO_WARNING_LEADER_LEADER_AKANE_YUUKA_REASON_ANY", "(You are neighbors and have a weak army.)" ),
("en_US", "LOC_DIPLO_MODIFIER_LEADER_AKANE_YUUKA_UNHAPPY", "Vlad III sees your weak military as an opportunity for conquest" ),


-----------------------------------------------
-- DOM
-----------------------------------------------

("en_US", "LOC_LOADING_INFO_LEADER_LEADER_AKANE_YUUKA",
"Your reputation precedes you, Vlad ?epe?, fearsome Voivode of Wallachia. While the shadows of stricken foes dance upon the scorched earth beneath the pikes, the long night awaits those who dare cross you. Lead your C?l?ra?i head first into the darkness, induce panic, and show the world just how fragile loyalty can be as word of your cruel victories reaches those in your path." ),

-----------------------------------------------
-- Diplos | First Meet
-----------------------------------------------

-- First AI Line (ANY)
("en_US", "LOC_DIPLO_FIRST_MEET_LEADER_LEADER_AKANE_YUUKA_ANY",
"Ohaiyo. I am Akane Yuuka, conquerer of Japan, and liberator of the Japanese people." ),

-- AI invitation to visit nearby City (ANY)
("en_US", "LOC_DIPLO_FIRST_MEET_VISIT_RECIPIENT_LEADER_LEADER_AKANE_YUUKA_ANY",
"I'm sure you would enjoy visiting a nearby city. You'll be surprised at it's might." ),

-- AI accepts human invitation (ANY)
("en_US", "LOC_DIPLO_FIRST_MEET_NEAR_INITIATOR_POSITIVE_LEADER_LEADER_AKANE_YUUKA_ANY",
"That sounds splendid." ),

-- AI invitation to exchange Capital Information (ANY)
("en_US", "LOC_DIPLO_FIRST_MEET_NO_MANS_INFO_EXCHANGE_LEADER_LEADER_AKANE_YUUKA_ANY",
"Let us exchange information on our capitals." ),

-----------------------------------------------
-- Diplos | Greetings
-----------------------------------------------

-- (HAPPY)
("en_US", "LOC_DIPLO_GREETING_LEADER_LEADER_AKANE_YUUKA_HAPPY",
"Konichiwa my friend. It's always good to see a friend." ),

-- (UNHAPPY)
("en_US", "LOC_DIPLO_GREETING_LEADER_LEADER_AKANE_YUUKA_UNHAPPY",
"What do want?" ),

-----------------------------------------------
-- Diplos | Delegation
-----------------------------------------------

-- AI Accepts (ANY)
("en_US", "LOC_DIPLO_ACCEPT_DELEGATION_FROM_HUMAN_LEADER_LEADER_AKANE_YUUKA_ANY",
"I will welcome your delegation with open arms." ),

-- AI Rejects (ANY)
("en_US", "LOC_DIPLO_REJECT_DELEGATION_FROM_HUMAN_LEADER_LEADER_AKANE_YUUKA_ANY",
"I don't let garbage stain my cities." ),

-- AI Requests (ANY)
("en_US", "LOC_DIPLO_DELEGATION_FROM_AI_LEADER_LEADER_AKANE_YUUKA_ANY",
"Please enjoy our cherries, they are fresh picked. I left bundles of roses as a special gift for you." ),

-----------------------------------------------
-- Diplos | Open Borders
-----------------------------------------------

-- AI accepts from human (ANY)
("en_US", "LOC_DIPLO_ACCEPT_OPEN_BORDERS_FROM_HUMAN_LEADER_LEADER_AKANE_YUUKA_ANY",
"I'll allow it." ),

-- AI rejects from human (ANY)
("en_US", "LOC_DIPLO_REJECT_OPEN_BORDERS_FROM_HUMAN_LEADER_LEADER_AKANE_YUUKA_ANY",
"Seems risky." ),

-- AI requests from human (ANY)
("en_US", "LOC_DIPLO_OPEN_BORDERS_FROM_AI_LEADER_LEADER_AKANE_YUUKA_ANY",
"Open your gates to my people." ),

-----------------------------------------------
-- Diplos | Declare Friendship
-----------------------------------------------

-- AI accepts from human (ANY)
("en_US", "LOC_DIPLO_ACCEPT_DECLARE_FRIEND_FROM_HUMAN_LEADER_LEADER_AKANE_YUUKA_ANY",
"Sounds like a good idea. We shall be united as friends for the near future." ),

-- AI rejects from human (ANY)
("en_US", "LOC_DIPLO_REJECT_DECLARE_FRIEND_FROM_HUMAN_LEADER_LEADER_AKANE_YUUKA_ANY",
"It doesn't seem like something I would do, does it?" ),

-- AI Requests friendship from human (ANY)
("en_US", "LOC_DIPLO_DECLARE_FRIEND_FROM_AI_LEADER_LEADER_AKANE_YUUKA_ANY",
"I believe we would be stronger as friends than as enemies. Don't you agree?" ),

-- Human accepts AI requests, AI responds (ANY)
("en_US", "LOC_DIPLO_ACCEPT_DECLARE_FRIEND_FROM_AI_LEADER_LEADER_AKANE_YUUKA_ANY",
"Lovely." ),

-- Human rejects AI requests, AI responds (ANY)
("en_US", "LOC_DIPLO_REJECT_DECLARE_FRIEND_FROM_AI_LEADER_LEADER_AKANE_YUUKA_ANY",
"This was the first of many mistakes you will make." ),

-----------------------------------------------
-- Diplos | Alliance
-----------------------------------------------

-- AI Requests an alliance from human (ANY)
("en_US", "LOC_DIPLO_MAKE_ALLIANCE_FROM_AI_LEADER_LEADER_AKANE_YUUKA_ANY",
"It would do us good to ally ourselves. We would make a good team." ),

-----------------------------------------------
-- Diplos | Kudos & Warnings
-----------------------------------------------

-- AI Kudos (ANY)
("en_US", "LOC_DIPLO_KUDO_EXIT_LEADER_LEADER_AKANE_YUUKA_ANY",
"I always have respect for those familiar with scorched earth tactics, so long as that earth does not belong to me." ),

-- AI Warnings (ANY)
("en_US", "LOC_DIPLO_WARNING_EXIT_LEADER_LEADER_AKANE_YUUKA_ANY",
"So few troops with which to defend yourselves. I see weakness in your rule." ),

-----------------------------------------------
-- Diplos | Troops Near Border
-----------------------------------------------

-- AI warns player for border troops (HAPPY)
("en_US", "LOC_DIPLO_WARNING_TOO_MANY_TROOPS_NEAR_ME_LEADER_LEADER_AKANE_YUUKA_HAPPY",
"I see you have some of your underlings meandering along my borders. Stop." ),

-- AI warns player for border troops (UNHAPPY)
("en_US", "LOC_DIPLO_WARNING_TOO_MANY_TROOPS_NEAR_ME_LEADER_LEADER_AKANE_YUUKA_UNHAPPY",
"Remove your gremlins from my borders." ),

-- AI accepts player's warning for border troops warning (HAPPY)
("en_US", "LOC_DIPLO_WARNING_TOO_MANY_TROOPS_NEAR_ME_AI_RESPONSE_POSITIVE_LEADER_LEADER_AKANE_YUUKA_HAPPY",
"I won't make the mistake again. It was unbecoming." ),

-- AI accepts player's warning for border troops warning (UNHAPPY)
("en_US", "LOC_DIPLO_WARNING_TOO_MANY_TROOPS_NEAR_ME_AI_RESPONSE_POSITIVE_LEADER_LEADER_AKANE_YUUKA_UNHAPPY",
"I suppose my troops will move." ),

-- AI rejects player's warning for border troops warning (ANY) ~ DECLARES WAR
("en_US", "LOC_DIPLO_WARNING_TOO_MANY_TROOPS_NEAR_ME_AI_RESPONSE_NEGATIVE_LEADER_LEADER_AKANE_YUUKA_ANY",
"This shouldn't come as a surprise. War is upon you." ),

-----------------------------------------------
-- Diplos | Settling Too Close
-----------------------------------------------

-- AI warns player for settling too close (HAPPY)
("en_US", "LOC_DIPLO_WARNING_DONT_SETTLE_NEAR_ME_AI_LEADER_LEADER_AKANE_YUUKA_HAPPY",
"I believe the lands of Japan should remain safely mine. Please avoid settling this close again." ),

-- AI warns player for settling too close (UNHAPPY)
("en_US", "LOC_DIPLO_WARNING_DONT_SETTLE_NEAR_ME_AI_LEADER_LEADER_AKANE_YUUKA_UNHAPPY",
"The lands around Japan are not for your people." ),

-- Positive AI response to human request (HAPPY)
("en_US", "LOC_DIPLO_WARNING_DONT_SETTLE_NEAR_ME_AI_RESPONSE_POSITIVE_LEADER_LEADER_AKANE_YUUKA_HAPPY",
"I will do my best as to avoid offending you like this in the future." ),

-- Positive AI response to human request (UNHAPPY)
("en_US", "LOC_DIPLO_WARNING_DONT_SETTLE_NEAR_ME_AI_RESPONSE_POSITIVE_LEADER_LEADER_AKANE_YUUKA_UNHAPPY",
"I suppose I can do what you want this time." ),

-- Negative AI response to human request (HAPPY)
("en_US", "LOC_DIPLO_WARNING_DONT_SETTLE_NEAR_ME_AI_RESPONSE_NEGATIVE_LEADER_LEADER_AKANE_YUUKA_HAPPY",
"I will do as I please. I apologize but Japan has it's goals." ),

-- Negative AI response to human request (UNHAPPY)
("en_US", "LOC_DIPLO_WARNING_DONT_SETTLE_NEAR_ME_AI_RESPONSE_NEGATIVE_LEADER_LEADER_AKANE_YUUKA_UNHAPPY",
"Not my problem." ),

-----------------------------------------------
-- Diplos | Trade
-----------------------------------------------

-- AI Accepts Deal (HAPPY)
("en_US", "LOC_DIPLO_ACCEPT_MAKE_DEAL_FROM_AI_LEADER_LEADER_AKANE_YUUKA_HAPPY",
"Sounds good." ),

-- AI Accepts Deal (Unhappy)
("en_US", "LOC_DIPLO_ACCEPT_MAKE_DEAL_FROM_AI_LEADER_LEADER_AKANE_YUUKA_UNHAPPY",
"We'll try this." ),

-- AI Rejects Deal (HAPPY)
("en_US", "LOC_DIPLO_REJECT_MAKE_DEAL_FROM_AI_LEADER_LEADER_AKANE_YUUKA_HAPPY",
"Not sure I can accept this." ),

-- AI Rejects Deal (Unhappy)
("en_US", "LOC_DIPLO_REJECT_MAKE_DEAL_FROM_AI_LEADER_LEADER_AKANE_YUUKA_UNHAPPY",
"Disgusting." ),

-----------------------------------------------
-- Diplos | Denounce
-----------------------------------------------

-- Human denounce, AI responds
("en_US", "LOC_DIPLO_DENOUNCE_FROM_HUMAN_LEADER_LEADER_AKANE_YUUKA_ANY",
"You're vile existense is a stain upon the world." ),

-- From AI
("en_US", "LOC_DIPLO_DENOUNCE_FROM_AI_LEADER_LEADER_AKANE_YUUKA_ANY",
"From what I can tell, you lack any sort of decency. I can't approve of your existence. (Denounces You)" ),

-----------------------------------------------
-- Diplos | Declarations of War
-----------------------------------------------

-- Human Declares War, AI responds
("en_US", "LOC_DIPLO_DECLARE_WAR_FROM_HUMAN_LEADER_LEADER_AKANE_YUUKA_ANY",
"You made a big mistake fool." ),

-- AI Declares War
("en_US", "LOC_DIPLO_DECLARE_WAR_FROM_AI_LEADER_LEADER_AKANE_YUUKA_ANY",
"Japan's armies will walk over your frail country. I've conquered many nations in my day. You won't be an exception. (Declares War)" ),

-----------------------------------------------
-- Diplos | Make Peace
-----------------------------------------------

-- AI accepts from human
("en_US", "LOC_DIPLO_MAKE_PEACE_AI_ACCEPT_DEAL_LEADER_LEADER_AKANE_YUUKA_ANY",
"I'm alright with that." ),

-- AI refuses human
("en_US", "LOC_DIPLO_MAKE_PEACE_AI_REFUSE_DEAL_LEADER_LEADER_AKANE_YUUKA_ANY",
"This won't end well you swine." ),

-- AI requests from human
("en_US", "LOC_DIPLO_MAKE_PEACE_FROM_AI_LEADER_LEADER_AKANE_YUUKA_ANY",
"This war is hasty and should be put to an end." ),

-----------------------------------------------
-- Diplos | Defeat
-----------------------------------------------

-- AI is Defeated
("en_US", "LOC_DIPLO_DEFEAT_FROM_AI_LEADER_LEADER_AKANE_YUUKA_ANY",
"You're disgusting. It's tragic that you destroyed Japan. It should've been someone stronger." ),

-- Human is Defeated (will see this in hotseat)
("en_US", "LOC_DIPLO_DEFEAT_FROM_HUMAN_LEADER_LEADER_AKANE_YUUKA_ANY",
"{LOC_DIPLO_DEFEAT_FROM_AI_LEADER_LEADER_AKANE_YUUKA_ANY}" ),

--------------------------------------------------------------------
-- Quote and Pedia
--------------------------------------------------------------------

("en_US", "LOC_PEDIA_LEADERS_PAGE_LEADER_AKANE_YUUKA_QUOTE",
"It would be better that those who think of death should not follow me." ),

("en_US", "LOC_PEDIA_LEADERS_PAGE_LEADER_AKANE_YUUKA_TITLE",
"Vlad ?epe?"),

("en_US", "LOC_PEDIA_LEADERS_PAGE_LEADER_AKANE_YUUKA_SUBTITLE",
"Voivode of Wallachia" ),

("en_US", "LOC_PEDIA_LEADERS_PAGE_LEADER_LEADER_AKANE_YUUKA_CHAPTER_CAPSULE_BODY",
"Vlad has the power to induce panic in the cities of his enemies on his quest for domination."),

("en_US", "LOC_PEDIA_LEADERS_PAGE_LEADER_LEADER_AKANE_YUUKA_CHAPTER_DETAILED_BODY",
"While Romania's bonuses lend themselves well to diplomatic victories and cultural progression, Vlad will instead look to exploit the war-based bonuses to conquer. With the ability to flip nearby cities upon capturing another, enemies of Vlad will soon find that they are fighting battles on multiple fronts when their cities revolt. Vlad will look to incite chaos wherever he goes, and nothing epitomises this more than his ability to scorch the earth and damage adjacent enemy units when he pillages a tile in enemy territory. With Romania's bonuses for participating in emergencies, Vlad will no doubt find himself the target of many, but Vlad has a strong weapon with his unique horse archer that may move after attacking with which to help him secure a victory, after which he will only become stronger." ),

("en_US", "LOC_PEDIA_LEADERS_PAGE_LEADER_LEADER_AKANE_YUUKA_CHAPTER_HISTORY_PARA_1",
"Vlad the Impaler, in full Vlad III Dracula or Romanian Vlad III Dr?culea, also called Vlad III or Romanian Vlad ?epe?, (born 1431, Sighi?oara, Transylvania [now in Romania]—died 1476, north of present-day Bucharest, Romania), voivode (military governor, or prince) of Walachia (1448; 1456–1462; 1476) whose cruel methods of punishing his enemies gained notoriety in 15th-century Europe."),
("en_US", "LOC_PEDIA_LEADERS_PAGE_LEADER_LEADER_AKANE_YUUKA_CHAPTER_HISTORY_PARA_2",
"Vlad was the second of four brothers born into the noble family of Vlad II Dracul. His sobriquet Dracula (meaning “son of Dracul”) was derived from the Latin draco (“dragon”) after his father’s induction into the Order of the Dragon, created by Holy Roman Emperor Sigismund for the defense of Christian Europe against the Ottoman Empire. Vlad moved to Târgovi?te, Walachia, in 1436 when his father assumed leadership of the Walachian voivodate (principality). In 1442 Vlad and his younger brother were sent to the court of Ottoman Sultan Murad II as collateral to assure the sultan that their father, in a reversal of his previous position, would support Ottoman policies. Vlad returned in 1448, having been informed of the assassination of his father and older brother at the hands of Walachian boyars (nobles) the year before."),
("en_US", "LOC_PEDIA_LEADERS_PAGE_LEADER_LEADER_AKANE_YUUKA_CHAPTER_HISTORY_PARA_3",
"Vlad then embarked upon the first of a lifelong series of campaigns to regain his father’s seat. His opponents included the boyars as well as his younger brother, who was supported by the Ottoman sultan. He emerged briefly victorious in 1448 but was deposed after only two months. After an eight-year struggle, Vlad again claimed the voivodate."),
("en_US", "LOC_PEDIA_LEADERS_PAGE_LEADER_LEADER_AKANE_YUUKA_CHAPTER_HISTORY_PARA_4",
"It was during this period of rule that he committed the atrocities for which he was best known. His penchant for impaling his enemies on stakes in the ground and leaving them to die earned him the name Vlad the Impaler (Romanian: Vlad ?epe?). He inflicted this type of torture on foreign and domestic enemies alike: notably, as he retreated from a battle in 1462, he left a field filled with thousands of impaled victims as a deterrent to pursuing Ottoman forces. That year he escaped Ottoman capture only to be intercepted by Hungarian forces and imprisoned by Matthias I of Hungary. Vlad regained his seat in 1476 but was killed in battle the same year. He remained a folk hero in the region for his efforts against Ottoman encroachment."),

("en_US", "LOC_PEDIA_UNITS_PAGE_UNIT_LEADER_AKANE_YUUKA_UU_CHAPTER_HISTORY_PARA_1",
"In the Middle Ages and early Renaissance, the Wallachians relied on light cavalry archers (C?l?ra?i) to deploy hit-and-run tactics. A core component of Vlad's army, C?l?ra?i were lightly armed missile troops typically used in skirmishes, capable of moving swiftly to avoid close combat or to deliver a rapid blow to the flanks or rear of its foe." );

Spoiler Leader_UA.sql :

/*
UA
Authors: ChimpanG
*/

-----------------------------------------------
-- Types
-----------------------------------------------

INSERT INTO Types
(Type, Kind )
VALUES ('TRAIT_LEADER_LEADER_AKANE_YUUKA_UA', 'KIND_TRAIT' );

-----------------------------------------------
-- Traits
-----------------------------------------------

INSERT INTO Traits
(TraitType, Name, Description )
VALUES ('TRAIT_LEADER_LEADER_AKANE_YUUKA_UA', 'LOC_TRAIT_LEADER_LEADER_AKANE_YUUKA_NAME', 'LOC_TRAIT_LEADER_LEADER_AKANE_YUUKA_DESCRIPTION' );

-----------------------------------------------
-- LeaderTraits
-----------------------------------------------

INSERT INTO LeaderTraits
(LeaderType, TraitType )
VALUES ('LEADER_LEADER_AKANE_YUUKA', 'TRAIT_LEADER_LEADER_AKANE_YUUKA_UA' );



(edit: I copied the sql files into spoilers to make things easier)
 

Attachments

  • Akane Yuuka Japan.zip
    11.4 KB · Views: 151
Last edited:
The only thing you need modbuddy for is to build the art, but you can do it manually without building the art in modbuddy.

Try to check my mod before I was using modbuddy (download version v16.4Beta) : https://forums.civfanatics.com/reso...zation-civ-6-vanilla-r-f-and-gs.25478/history

Im using full xml, but you get the picture (you may have your core files in sql), the files in question to have the leaders appear are the artdef files (and art). More info here: https://forums.civfanatics.com/threads/civ-6-modding-tools-basics.634429/#post-15173205

As for .modinfo you do it also manually, you can check here for more info: https://forums.civfanatics.com/threads/civ-6-modding-tools-basics.634429/#post-15173207, or see the one from my mod above

Hope that helps
 
Top Bottom