Hi,
I'm working on a mod to add the actual translations of the leader sayings (http://forums.civfanatics.com/showthread.php?t=398606) to the diplomacy screen. So far I have only added the intro sayings which works fine. I want to also add the dialog in the leader's actual language in parentheses, but for the ones that have non-latin characters this doesn't work. For example in my xml file I have:
Does someone know how to get the non-latin characters working?
Another problem is for speeches where the text is not specific to the leader but is generic. For example, in Civ5Diplomacy_Responses.xml:
I want to remove the ResponseType attribute of the LeaderType="GENERIC" row but not delete the entire row because it is still useful for dialogues with no leader-specific audio. I've searched around and can only figure out how to delete the row. Then I plan to add the following. If I add this now, the generic response still seems to get used.
I'm working on a mod to add the actual translations of the leader sayings (http://forums.civfanatics.com/showthread.php?t=398606) to the diplomacy screen. So far I have only added the intro sayings which works fine. I want to also add the dialog in the leader's actual language in parentheses, but for the ones that have non-latin characters this doesn't work. For example in my xml file I have:
Code:
<GameData>
<Languages>
<Update>
<Where Type="en_US"/>
<Set>
<UseExtendedFont>1</UseExtendedFont>
<FontName>Segoe UI</FontName>
</Set>
</Update>
</Languages>
<Language_en_US>
<Delete Tag="TXT_KEY_LEADER_WUZETIAN_FIRSTGREETING_1"/>
<Delete Tag="TXT_KEY_LEADER_WUZETIAN_FIRSTGREETING_2"/>
<Delete Tag="TXT_KEY_LEADER_WUZETIAN_FIRSTGREETING_3"/>
<Row Tag="TXT_KEY_LEADER_WUZETIAN_FIRSTGREETING_2">
<Text>Greetings, I am Empress Wu Zetian. China desires peace and independent development. You leave us alone, we'll leave you alone. (Nǐhǎo, wǒ shì nǚhuángdì wǔzétiān. Zhōngguó zhuīqiú hépíng yǐ móuqiú zìshēnfāzhǎn. Rén bú fàn wǒ, Wǒ bú fàn rén.)</Text>
</Row>
</Language_en_US>
</GameData>
Does someone know how to get the non-latin characters working?
Another problem is for speeches where the text is not specific to the leader but is generic. For example, in Civ5Diplomacy_Responses.xml:
Code:
<Row LeaderType="GENERIC">
<ResponseType>RESPONSE_ATTACKED_HOSTILE</ResponseType>
<Response>TXT_KEY_GENERIC_ATTACKED_HOSTILE%</Response>
</Row>
I want to remove the ResponseType attribute of the LeaderType="GENERIC" row but not delete the entire row because it is still useful for dialogues with no leader-specific audio. I've searched around and can only figure out how to delete the row. Then I plan to add the following. If I add this now, the generic response still seems to get used.
Code:
<Row LeaderType="LEADER_WU_ZETIAN">
<ResponseType>RESPONSE_ATTACKED_HOSTILE</ResponseType>
<Response>TXT_KEY_LEADER_WUZETIAN_ATTACKED%</Response>
</Row>