Its pretty easy to add new resolutions to the XML files. That is all that is required. 2 files, actually.
CIV4GameTextInfos.xml
Where you add a block like this:
And CIV4VoteInfo.xml where you add a block like this:
Note that the TXT_KEY_VOTE_SLAVERY tag must match in both files. I was able to vote slavery as the global rule just like doing the others.
One thing is that the GameInfo file contains the details in English, German, French, Italian and Spanish. So bablefish may be your friend!
Oh and the Civilopedia description of the United Nations lists each of the Resolutions you can vote on (and is not updated automatically... i.e. you gotta mod it as well).
Uh, well, I haven't figured out how to display the actual xml tags properly here yet. Sorry about that.
CIV4GameTextInfos.xml
Where you add a block like this:
Code:
-TEXT- -Tag-TXT_KEY_VOTE_SLAVERY-/Tag- -English-U.N. Resolution #111 (Global Civic - Slavery)-/English- -French-Résolution de l'ONU n° 427 (Doctrine mondiale - liberté de culte)-/French- -German-U.N.-Resolution Nr. 427 (Globale Staatsform - Religionsfreiheit)-/German- -Italian-Mozione #427 dell'ONU (Libertà di religione globale)-/Italian- -Spanish-Resolución nº 427 de la ONU (principio mundial - Libertad religiosa)-/Spanish- -/TEXT-
Code:
-VoteInfo- -Type-VOTE_SLAVERY-/Type- -Description-TXT_KEY_VOTE_SLAVERY-/Description- -iPopulationThreshold-51-/iPopulationThreshold- -iTradeRoutes-0-/iTradeRoutes- -bSecretaryGeneral-0-/bSecretaryGeneral- -bVictory-0-/bVictory- -bFreeTrade-0-/bFreeTrade- -bNoNukes-0-/bNoNukes- -ForceCivics- -ForceCivic- -CivicType-CIVIC_SLAVERY-/CivicType- -bForce-1-/bForce- -/ForceCivic- -/ForceCivics- -/VoteInfo-
One thing is that the GameInfo file contains the details in English, German, French, Italian and Spanish. So bablefish may be your friend!
Oh and the Civilopedia description of the United Nations lists each of the Resolutions you can vote on (and is not updated automatically... i.e. you gotta mod it as well).
Uh, well, I haven't figured out how to display the actual xml tags properly here yet. Sorry about that.
Comment