@isnorden
From what I understand from your posts is you want to get more yield from a specific luxury hex that already exists on the map? To get more yield, have you tried a mod like this?
Code:
<Resource_YieldChanges>
<Update>
<Where ResourceType="RESOURCE_SILVER" YieldType="YIELD_GOLD" />
<Set Yield="4" />
</Update>
</Resource_YieldChanges>
This will change the amount of gold yielded from 2 to 4 for each Silver hex on the map. Silver hexes only yield Gold, so if you want the Silver hex to also yield production, the row for production would need to be added to the database. You'd need something like this to add production:
Code:
<Resource_YieldChanges>
<Row>
<ResourceType>RESOURCE_SILVER</ResourceType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>4</Yield>
</Row>
</Resource_YieldChanges>
There is no yield for TRADE in the Yields table. The only valid yield types are Food, Production, Gold, Science, Culture, and Faith. You can add a yield type, but significant additional changes would be required to get the AI to understand the new yield type and hope to use it properly.
@LeeS,
I've seen/experimented with these changes, and they seem to affect map generation, but in ways I don't understand:
Code:
<Resources>
<Update>
<Where Type="RESOURCE_COPPER" />
<Set RandApp1="10" RandApp2="10" ConstAppearance="10" />
</Update>
<Update>
<Where Type="RESOURCE_COW" />
<Set RandApp1="1" RandApp2="1" ConstAppearance="1" />
</Update>
<Update>
<Where Type="RESOURCE_DEER" />
<Set RandApp1="1" RandApp2="1" ConstAppearance="1" />
</Update>
<Update>
<Where Type="RESOURCE_TRUFFLES" />
<Set RandApp1="10" RandApp2="10" ConstAppearance="10" />
</Update>
<Update>
<Where Type="RESOURCE_WINE" />
<Set RandApp1="10" RandApp2="10" ConstAppearance="10" />
</Update>
</Resources>
It seems to adjust a few of the resources (not seeing nearly as many Cow and Deer hexes). It doesn't seem to work as well for luxuries, but I'm sure if I understood the mechanics better, perhaps I could get it to do so.
Is this the best XML way to increase/decrease the
number of resource hexes that appear, or is there a better way?
---------------------
Disclaimer - all code snippets submitted by me need to be checked for spelling, syntax, etc. As a dyslexia sufferer, things that look correct to me might actually break something for you...