Increasing tourism output of a player

sm4

Chieftain
Joined
Nov 17, 2013
Messages
27
I am trying to figure out how to mod tourism output. I already saw in XMLs how Pedro generates tourism during Golden Ages and how the International Games increase it (it's hardcoded in the DLL, right?). Is there any simple way how to add something like +50% tourism output? Or if there is not, is there any simple way how to create a trait where other civs would more willingly sign open borders or get boost to relations and therefore boost tourism from the player?
 
User stackpointer recommended creating invisible buildings with percentage modifier. Sounds like a good idea.
 
bump

also interested in doing this with burial tombs. something like +1 tourism after discovering archaeology
 
bump

also interested in doing this with burial tombs. something like +1 tourism after discovering archaeology

Code:
<GameData>
	<Buildings>
		<Update>
			<Where Type="BUILDING_BURIAL_TOMB"/>
			<Set EnhancedYieldTech="TECH_ARCHAEOLOGY" TechEnhancedTourism="1"/>
		</Update>
	</Buildings>
</GameData>
 
Thanks for the speedy response!:)

Code:
<GameData>
	<Buildings>
		<Update>
			<Where Type="BUILDING_BURIAL_TOMB"/>
			<Set EnhancedYieldTech="TECH_ARCHAEOLOGY" TechEnhancedTourism="1"/>
		</Update>
	</Buildings>
</GameData>

Would I be able to add "TechEnhancedCulture="1"" to that as well for a culture bonus?

and will it change to tooltip for burial tombs or do I have to add that in as well?

[edit] that code is also not working for me. it actually made the rest of what i had done not work.
 
Would I be able to add "TechEnhancedCulture="1"" to that as well for a culture bonus?
not directly that way, but you can add culture as a yield in <Building_TechEnhancedYieldChanges> as like follows:
Code:
	<Building_TechEnhancedYieldChanges>
		<Row>
			<BuildingType>BUILDING_BURIAL_TOMB</BuildingType>
			<YieldType>YIELD_CULTURE</YieldType>
			<Yield>1</Yield>
		</Row>
	</Building_TechEnhancedYieldChanges>
Whatever tech is stated for <EnhancedYieldTech> will cause the change in culture.
and will it change to tooltip for burial tombs or do I have to add that in as well?
As far as I remember, no. You'd have to update the <Help> entry in the language table.
[edit] that code is also not working for me. it actually made the rest of what i had done not work.
hmm. Nor sure why that would be, but I'll double-check myself. Could you add an attachment to a post with your xml so I can have a better idea of what you're doing? Sometimes the problem will jump right out if I can see the "whole thing".

You do have BNW, yes?

edit to add: don't see anything incorrect with the update I showed you. I think the only way I can see where a problem is coming from is to see the actual xml file you are using. And oh, you are adding this as a mod through Modbuddy and not editing the source files that come with the game, I sure hope, yes?

Also just noticed we're conducting a bit of an eggregious threadjack so it might be better perhaps if you were to start a different thread for continuing this.
 
Back
Top Bottom