Where are the extinction messages defined?

Baldyr

"Hit It"
Joined
Dec 5, 2009
Messages
5,530
Location
Sweden
Never mind! :p

Spoiler :
Whenever a player has been defeated this message appears in-game:
The %s1 Civilization has been destroyed!
But where is this message coming from? Where is the messaging interface triggered - and where is the string itself defined? :confused:

Because I can't find anything on this in CvEventManager and searching the contents of all files in the XML and CvGameCoreDLL foldes yields exactly nothing. (I'm looking in the Vanilla files, because the code/tag responsible wouldn't have been changed in either of the expansions, right?)

Surely this isn't hard-coded into the executable, right? :eek2:

edit: I found the actual string in CIV4GameTextInfos.xml:
Spoiler :
Code:
	<TEXT>
		<Tag>TXT_KEY_MISC_CIV_DESTROYED</Tag>
		<English>The %s1_CivAdj Civilization has been destroyed!!!</English>
		<French>Les %s1_CivAdj ont été écrasés !</French>
		<German>Die %s1:3_CivAdj Zivilisation wurde vernichtet!!!</German>
		<Italian>La civiltà %s1:4_CivAdj è stata distrutta!</Italian>
		<Spanish>¡La civilización %s1:2_CivAdj ha sido destruida!</Spanish>
	</TEXT>
And the message seems to be triggered in CvPlayer::setAlive in the SDK.
 
Back
Top Bottom