res output changes with tech

nostrums

Chieftain
Joined
Nov 30, 2014
Messages
2
I like playing on these huge earth maps, but ive been trying to come up with ways to make europe stronger. SO i have been trying to make new terrain that will give them added resources. However i want the resources they get from these "urban" tiles to scale with different techs, similar to how guilds gives workshops more production. This was my attempt, seems like pasting the techyield changes has no affect. I had also considered other ways to get the same results, making a new resources, or giving them custom palaces that add production/food/commerce. but i suspect that scaling with tech will present the same problem

<Type>FEATURE_URBAN</Type>
<Description>TXT_KEY_FEATURE_URBAN</Description>
<Civilopedia>TXT_KEY_FEATURE_OASIS_PEDIA</Civilopedia>
<ArtDefineTag>ART_DEF_FEATURE_OASIS</ArtDefineTag>
<YieldChanges>
<iYieldChange>0</iYieldChange>
<iYieldChange>0</iYieldChange>
<iYieldChange>0</iYieldChange>
</YieldChanges>
<TechYieldChanges>
<TechYieldChange>
<PrereqTech>TECH_AGRICULTURE</PrereqTech>
<TechYields>
<iYield>5</iYield>
<iYield>0</iYield>
<iYield>0</iYield>
</TechYields>
</TechYieldChange>
<TechYieldChange>
<PrereqTech>TECH_ANIMAL_HUSBANDRY</PrereqTech>
<TechYields>
<iYield>0</iYield>
<iYield>0</iYield>
<iYield>5</iYield>
</TechYields>
</TechYieldChange>
</TechYieldChanges>

Moderator Action: Welcome to CivFanatics. Moved to C&C where you should get more assistance.
 
In most of my earth map games, Europe was pretty strong. The land is great, and the AI has many people to trade with. The only problem is an over-saturation of AI's meaning low land per AI, but often (not always) they up vassaling one another.
 
As you know, <TechYieldChanges> is part of the improvement infos, not part of the feature infos. You can't simply add tags like that to another xml file without validating the changes in the dll (implying to know a little bit of C++ and to be able to re-compile the dll).

Like this, only a specific improvement could work, based for example on a specific resource or on a specific feature or terrain. Or any other trick making the improvement a European one only.

Custom palaces is a simple way to do it but no, it doesn't scale with techs.
 
Back
Top Bottom