Enabling Culture Tile Flipping

Hamishator

Chieftain
Joined
Dec 6, 2010
Messages
7
Hey, so I'm thinking of creating a mod where the aim of the game is to steal peoples tiles with culture (like you could in civ4) and take over the world. Is there a way to enable this because currently you can't take other peoples tiles.

Also, how do you enable always war/peace?

Thanks :)
 
I don't think there's something simple you can just turn on to enable tile flipping, but in theory you could save culture values for all civs in the ScriptData of the plot, keep track of it, and then change the owner as necessary. There are ChangeCulture and GetCulture functions, but they don't have a player argument so I'm assuming they only apply to whoever the current owner is.

For always war or always peace you can manually set them with Game.SetOption (e.g. Game.SetOption( GameOptionTypes.GAMEOPTION_ALWAYS_PEACE, true ) would turn on Always Peace.) To have them appear always on the menu, make a simple XML mod such as the following:
Code:
<GameData>
	<GameOptions>
		<Update>
			<Set Visible="1"/>
			<Where Type="GAMEOPTION_ALWAYS_WAR"/>
		</Update>
		<Update>
			<Set Visible="1"/>
			<Where Type="GAMEOPTION_ALWAYS_PEACE"/>
		</Update>
	</GameOptions>
</GameData>
 
Awesome, thanks. This is kind of my first go at modding so I'm not sure if I could do what you said :P I'll go learn more and attempt some more mods before coming back to this I think.

I was also thinking I might fix the culture flip thing by making a great artist spawn in the city instead of the borders expanding and setting culture bomb to range=0 so it only converts the tile it's on. That way you can send the artist out and choose which tile gets converted instead of hoping the automatic pink tile is one you want.

Thanks for the help.
 
Back
Top Bottom