How Do You Make Custom Diplomacy Text?

There are 2 files you need to look at:

The first is called CIV4DiplomacyInfos.xml, its in the GameInfos folder.
The easiest thing to do is just look at one of the existing entries (say Washington for example) and copy and paste it above the existing entry.

Spoiler :
<Response>
<Civilizations/>
<Leaders>
<Leader>
<LeaderType>LEADER_WASHINGTON</LeaderType>
<bLeaderType>1</bLeaderType>
</Leader>
</Leaders>
<Attitudes/>
<DiplomacyPowers/>
<DiplomacyText>
<Text>AI_DIPLO_FIRST_CONTACT_LEADER_WASHINGTON_1</Text>
</DiplomacyText>
</Response>


Replacing wherever it says LEADER_WASHINGTON with LEADER_NEWLEADER.

The Second file is going to be a file in the Text folder New or existing.
Add this entry:
Spoiler :

<TEXT>
<Tag>AI_DIPLO_FIRST_CONTACT_LEADER_NEWLEADER_1</Tag>
<English>Text You want to say. </English>

</TEXT>


Notice the Tag AI_DIPLO_FIRST_CONTACT_LEADER_NEWLEADER_1 in the Text file matches the Tag in the Diplomacy file.

Congrats, you just added custom diplomacy for the new leader, for first contact.

You have to repeat these steps for each type of responce. However, the game has a list of default ones it will use, if you dont fill these out of the new leader. The only necessary one is the First_Contact responce.
 
First_Contact isn't necessary either, if you haven't edited this file. This do create a small problem: Default texts are used too, if there are custom ones. If you have for example four default texts and one custom, you will only have a 20% chance, that the custom will be used. Therefor some people do remove default texts for first contact or for even more responses completly (or at least some of them, if there are multiple). You could also add the same responses several times. With four default texts and four copies of the same custom text, the chance for custom text used is 50%.
 
I always try to make custom texts though. Makes the leader more unique. For example, in my games I have George III as a complete nut, and Meiji selling "pussycat dolls".
 
I added some customized texts based on the lyrics of Abba songs that pop in randomly.

"Finally facing your Waterloo..." to declare war;
"Knowing me, Knowing you, it's the best we can do" to conclude negotiations;
"So when you're near me, darling can't you hear me, SOS!" to appeal for help;
"Can you hear the drums Fernando?" to send a warning to a rival (and an alternative declaration of war;
"I love you, I do, I do, I do, I do, I do" when things were really friendly;
"Take a chance on me..." or "Voulez-vous?" when offering a trade deal;
"Gimme, gimme, gimme.." when making a demand etc.
 
Back
Top Bottom