Issue regarding custom diplomacy responses

Mezzzzz

Chieftain
Joined
Jun 1, 2014
Messages
29
Location
Paris area, France
Hello y'all,

For an unknown reason, the game does not display any of the custom diplomacy texts I've got in my mod (See capture below).

Spoiler :


Here's the snippet I used regarding the first time I will meet its leader;

Spoiler :
Code:
<GameData>
	<Diplomacy_Responses>
		<Row>
                <LeaderType>LEADER_CHAMPLAIN</LeaderType>
		<ResponseType>RESPONSE_FIRST_GREETING</ResponseType>
		<Response>TXT_KEY_LEADER_CHAMPLAIN_FIRSTGREETING%</Response>
		</Row>
        </Diplomacy_Responses>
	<Language_en_US>
                <Row Tag="TXT_KEY_LEADER_CHAMPLAIN_FIRSTGREETING_1">
			<Text>Greetings.</Text>
		</Row>
	</Language_en_US>
<GameData>

Any insight would be appreciated and thanks for the time you may address towards resolving my issue :)
 
Hello y'all,

For an unknown reason, the game does not display any of the custom diplomacy texts I've got in my mod (See capture below).

Spoiler :


Here's the snippet I used regarding the first time I will meet its leader;

Spoiler :
Code:
<GameData>
	<Diplomacy_Responses>
		<Row>
                <LeaderType>LEADER_CHAMPLAIN</LeaderType>
		<ResponseType>RESPONSE_FIRST_GREETING</ResponseType>
		<Response>TXT_KEY_LEADER_CHAMPLAIN_FIRSTGREETING%</Response>
		</Row>
        </Diplomacy_Responses>
	<Language_en_US>
                <Row Tag="TXT_KEY_LEADER_CHAMPLAIN_FIRSTGREETING_1">
			<Text>Greetings.</Text>
		</Row>
	</Language_en_US>
<GameData>

Any insight would be appreciated and thanks for the time you may address towards resolving my issue :)

  1. Data written to <Language_en_US> only shows in-game when you are running in English.
  2. You are missing the "/" in the closing <GameData>
    Code:
    <GameData>
    	<Diplomacy_Responses>
    		<Row>
                    <LeaderType>LEADER_CHAMPLAIN</LeaderType>
    		<ResponseType>RESPONSE_FIRST_GREETING</ResponseType>
    		<Response>TXT_KEY_LEADER_CHAMPLAIN_FIRSTGREETING%</Response>
    		</Row>
            </Diplomacy_Responses>
    	<Language_en_US>
                    <Row Tag="TXT_KEY_LEADER_CHAMPLAIN_FIRSTGREETING_1">
    			<Text>Greetings.</Text>
    		</Row>
    	</Language_en_US>
    <[COLOR="Red"][B]/[/B][/COLOR]GameData>
  3. As an FYI, be aware of this issue that this mod-maker encountered when trying to use diplomacy responses written exclusively to the <Language_DE_DE> table: http://forums.civfanatics.com/showthread.php?t=551372 (Posts 9, 10, 11 of the linked thread)
 
Hello LeeS!

Thanks again for joining the dots... English is simply the game's default language :blush:
Now, I understand why the database log would contain a line for each "TXT_KEY" not available in english and also why a mod in english would display fine even though I run civ 5 in french and not the other way around... :king:
 
Top Bottom