Adding More StateNames

rocklikeafool

Warmaster
Joined
Jan 9, 2008
Messages
2,416
Location
Wherever there's Tequila...
I want to add some civ-specific states name to my personal copy of RifE. One will be called "Dominion" and will be for the Mekara Order. The other will be called "Magocracy" and will be for both the Mekara Order and the Amurites.

So, I added the following to the CIV4StateNameInfos.xml:
Code:
		<StateNameInfo>	<!-- Dominion (Mekara Only) -->
			<Type>STATE_NAME_DOMINION</Type>
			<Description>TXT_KEY_STATE_NAME_DOMINION</Description>
			<iMinNumCities>1</iMinNumCities>
			<bFullCiv>1</bFullCiv>
			<bSovereign>1</bSovereign>
			<PrereqCivics>
				<CivicType>CIVIC_GOD_KING</CivicType>
			</PrereqCivics>
			<PrereqCivilization>CIVILIZATION_MEKARA</PrereqCivilization>
		</StateNameInfo>
		<StateNameInfo>	<!-- Magocracy (Amurites & Mekara) -->
			<Type>STATE_NAME_MAGOCRACY_A</Type>
			<Description>TXT_KEY_STATE_NAME_MAGOCRACY</Description>
			<iMinNumCities>1</iMinNumCities>
			<bFullCiv>1</bFullCiv>
			<bSovereign>1</bSovereign>
			<PrereqCivics>
				<CivicType>CIVIC_SCHOLARSHIP</CivicType>
			</PrereqCivics>
			<PrereqCivilization>CIVILIZATION_AMURITES</PrereqCivilization>
			<PrereqCivilization>CIVILIZATION_MEKARA</PrereqCivilization>
		</StateNameInfo>

Then, I added the following to the CIV4GameText_StateNames.xml:
Code:
	<TEXT>
		<Tag>TXT_KEY_STATE_DOMINION</Tag>
		<English>%s2_aciv Dominion</English>
		<French>%s2_aciv Dominion</French>
		<German>%s2_aciv K&#246;nigreich</German>
		<Italian>%s2_aciv Dominion</Italian>
		<Spanish>%s2_aciv Dominion</Spanish>
	</TEXT>
	<TEXT>
		<Tag>TXT_KEY_STATE_MAGOCRACY</Tag>
		<English>%s2_aciv Magocracy</English>
		<French>%s2_aciv Magocracy</French>
		<German>%s2_aciv Magocracy</German>
		<Italian>%s2_aciv Magocracy</Italian>
		<Spanish>%s2_aciv Magocracy</Spanish>
	</TEXT>

Both new StateNames generate "TXT_KEY_STATE_NAME_(insert Dominion/Magocracy here)" rather than displaying properly. What am I missing?
 
Ha, wow. No wonder. This is what I get for coding at 4AM. lol.
 
saw this post and wanted to ask, what are all the state names and permutations? anyone know?
 
saw this post and wanted to ask, what are all the state names and permutations? anyone know?

I'm not at the right computer, but any time you have a question like this, you can open the relevant XML file with notepad (or notepad++ which I recommend) and check it out for yourself. Go into wherever you keep RIFE, assets, XML, whichever one looks civlization-y and find the StateNameInfos.xml.

Almost everything in the game is either here or in the (still easily read with Notepad++) python files. Except apparently for terraforming events, which are in Hell, where I cannot disable them.
 
i found it, sadly, there aren't any interesting ones in there, like empire or dominion.
 
so, i think i've got a lil idea of how to change some state names...heres my first attempt.

<StateNameInfo> <!-- Cabal (Mekara Only) -->
<Type>STATE_NAME_CABAL</Type>
<Description>TXT_KEY_STATE_NAME_CABAL</Description>
<iMinNumCities>1</iMinNumCities>
<bFullCiv>1</bFullCiv>
<bSovereign>1</bSovereign>
<PrereqCivics>
<CivicType>CIVIC_REPUBLIC</CivicType>
</PrereqCivics>
<PrereqCivilization>CIVILIZATION_MEKARA</PrereqCivilization>
</StateNameInfo>

--------------------------------------

<TEXT>
<Tag>TXT_KEY_STATE_NAME_CABAL</Tag>
<English>%s2_aciv Cabal</English>
<French>%s2_aciv Cabal</French>
<German>%s2_aciv Cabal</German>
<Italian>%s2_aciv Cabal</Italian>
<Spanish>%s2_aciv Cabal</Spanish>
</TEXT>

---------------------------------------------------
what do you think?
 
not yet, i was hoping to post all my new ones, and have someone look over them, to tell me if they ere sound first. i dont actually know how to code this, iam going off of looking at the xml, and guessing how it all would go together...
 
ok so, heres all the new state names i've come up with, with the data on them.

Cabal, mekaran only, republic, due to their criminal nature.
Empire, aristocracy, conquest and nationhood.
Dominion, nationhood and conquest.
Legion, conquest and military state.
Fel Legion, conquest and military state with evil alignment.
holy (nation name) empire, theocracy, nationhood and conquest.
Patrian empire, need help with this one, to limit it to patrians with aristocracy.
Imperium, God King, nationhood and conquest.
Stygian Kingdoms, Aristocracy, conquest and apprenticeship, evil alignment.
Magocracy, Aristocracy, conquest and apprenticeship, Neutral alignment.
Stygian Empire, Theocracy with the OO Religion. (might need help with this one)

enclosed is an attachment on all my coding work, maybe someone can check it out and see if its good and workable or not.
 

Attachments

  • RiFE DATA.txt
    9.2 KB · Views: 92
Top Bottom