Diplomacy text, edit help,-- anyone. please.

scarboro civfan

Chieftain
Joined
Oct 4, 2007
Messages
2
Location
Toronto, Canada
Hope this is the right place; I'm brand new. lol

I'm just teaching myself with help from places like this, and I am trying to change the text in the diplomacy section with notepad. It works but doesn't line up the way I'd like.

here's the problem.... How do I line up the text in the DIPLOMACY SECTION with the specific civ when the #civ 1 is set?

...where do I find the list of which order the civs are in so the response is appropriate to the civ I am talkining to.
...Does the AI read the response from the diplomacy text in a certain order and match it ....?where?
...does it line up somehow with the civilopedia entry or read it from edit rules section where the civs for the scenario I'm modding are?

I understand about the :
#AIFIRSTDEAL
#civ 1
#power 0
#mood 0
#random 1
---------------------- and how each works, but how do I reconcile the lines with the correct civilization where the #civ is set to 1 instead of 0.


I started out with teturkhans map and have created my own map with new units using his graphics and text (altering or adding along the way) because I don't have the right kind of editor to create graphics or a palet. I have removed or fixed all the little glitches in it and would like to fill in the text with new dialogue where he left it as simply "(no reply)".

Very time consuming, but I want to have this as a complet mod and learn how to do this for myself.

All my respect to Teturkhan, and firaxis, as well as any help I can get here for a place to start and learn from.
 
here's the problem.... How do I line up the text in the DIPLOMACY SECTION with the specific civ when the #civ 1 is set?/QUOTE]
I think you line it up using the "Diplomacy Text Index" in the Civilizations tab in the editor. If you want one line phrase per civ, then each line of text will be a different civ. If you want three phrases per civ, then every three lines would be a new civ, so it will be:
Civ1, Phrase 1
Civ1, Phrase 2
Civ1, Phrase 3
Civ2, Phrase 1
Civ2, Phrase 2
Civ2, Phrase 3

etc.

...where do I find the list of which order the civs are in so the response is appropriate to the civ I am talkining to.
The Diplomacy text index. A value of -1 means that the civ will have its text value based on where the civ is in the editor (so, using default rules, England would use the 16th "block", being the 16th non-barbarian civ), or you can sign an exact "block", ranging from block "0" (block no. 1 for all of us non-computers) to about block 32, depending on however many blocks you make, and what game you are using (civ3 Conquests/Complete has 32, whereas "vanilla" Civilization 3 has only 16) :)

...Does the AI read the response from the diplomacy text in a certain order and match it ....?
That depends on what order you place it in, and the situation (as you can no doubt see from the file).

...does it line up somehow with the civilopedia entry or read it from edit rules section where the civs for the scenario I'm modding are?
Edit Rules -> Civilizations -> Diplomacy Text Index

---------------------- and how each works, but how do I reconcile the lines with the correct civilization where the #civ is set to 1 instead of 0.

If you start the count at 1, then the first "block" of text for each phrase is not used, so it will be like this for a block of three phrases:

Not Used 1
Not Used 2
Not Used 3
Civ1, Phrase 1
Civ1, Phrase 2
Civ1, Phrase 3

I hope that helps :)
 
I think it does...

heres a list in the box i think you are talking about
... civs ...
a barbarian chiefdom
rome
egypt
greece
babylon
germany...... and so on


so if i wanted civ specific dialogue it should look like this?

#civ 1 ((( am i correct in thinking if this is 0, its random, but 1 means it reads the lines in blocks and applies to the ----Edit Rules -> Civilizations -> Diplomacy Text Index)))
#power 0
#mood 0
#random 1


"--rome a--I, $AI0, Ruler of $CIVNAME1, wonder of the world, greet you."
"--rome b--Greetings. I, $AI0, greet you."
"--rome c--I am $AI0, of the wise and benevolent $CIVADJ3."
"--egypt a --$CIVNAME1 the great and its superior people greet you. I, the Slayer of Goliath , $AI0, desire peace with all my neighbors - even your puny culture."
"--egypt b -- Greetings! I am $AI0 and I speak for the clever $CIVADJ2 folk."
"--egypt c -- Greetings! I am $AI0 of the $CIVADJ3."

I left the text rome and egypt in to test if I was correct but EGYPT was using the dialogue for Rome.
???
how did the second civ on the edit rules, civ box, read the first line on me.lol

*************** EDIT *******************
WAIT... I GET IT ... MOOD WAS SET TO ----0----- SO THAT MAKES SENSE NOW!!!! i was testing it as if the mood was set to 1. Egypt read rome b.
:) :) :) :) :)

Thank -- you very much
 
If you really want to do it with notepad then this link might help. It could help you understand what's involved in the diplomacy.txt, but be warned, it's not for the faint hearted.
 
Back
Top Bottom