Increasing Min/Max Tile Yields


Good Morning

In the ElementalDefs.xml file, I have made two changes to increase the visible tile yields in the game. 

- Increased MinValidTileYield from 6 to 7

- Increased MaxValidTileYield from 9 to 10

This change has been met with great success, imo, as the AI are forced to choose better locations in which to settle and there are fewer available 'garbage' locations lying around.

That said, I have recently noticed a consequential problem that has arisen:

The spells Birth of Summer and Bloom of Twilight are meant to revitalize the landscape, yet these spells still fall within the new tile yield values. The result is that these spells have become near useless as most of the tiles I wish to target do not have yields of 7+. oops.

 

My goal: 

I wish to mod these spells. Is it possible to attach an discernible increase to each tile's yield in the target area?

 

As I understand, each tile has a x/y/z component to it and each tile adds itself plus all adjacent tiles to create it's tile yield. I am hoping these components can be analyzed. Each would be thrown into a fractional chance of x/(x+y+z) and y/(x+y+z) and z/(x+y+z) and the random winner from the weighted values would receive a permanent balanced bonus (to be determined). Thus all 9 tiles would have this done, each receiving one of these bonuses and new tile yields would be generated. THAN the rest of the spell's effect would occur, turning the area into settlable land....only now with an increased change of that land actually being settleable.

Is such a thing possible?

 

 

 

 

 

2,825 views 2 replies
Reply #2 Top

Quoting Primal_Savage, reply 1

Little bit off topic here, but I thought bumping the Min/Max tile yield created its very own problems:

 

Quoting Sanati, reply 8
Edit: Ya, don't do what I did. Apparently the AI ignores the rules and looks for 6 yield tiles to settle on even if they aren't valid tiles for settling. This is why some people see AI cities on tiles with no yields, they actually do have yields the player just can't see them because the city location is invalid for other reasons. Bumping the minimum yield to 8 causes the AI to continue to settle on 6 yield tiles when nothing better is in their zone of perception, creating a higher number of 0/0/0 cities. By bumping the yields of resources and increasing their density I didn't notice this behavior right away because the AI had so many good tiles to settle on. [Source]

Have you been able to go around that or have you just not experienced this at all?

 

In short, I have not experienced this at all...not since LH 1.3 anyways. Maybe SD fixed it?