Random resource spawn question

Bezurn

Prince
Joined
Nov 23, 2005
Messages
587
Would anyone happen to know where I can find the code that randomly spawns iron/copper/gems ect. on mines on hills? Also I notice on the API page that there are a lot more functions than are visible? Are all these functions stored in the CvGameCore.dll in assets root? Thanks to anyone who can point me to the code.
 
I found the values associated with the chance of spawning in the metals, in XML\Terrain\ImprovementInfos.xml Thats half the battle, would be nice to be able to mod the code as well, but I may need to wait for sdk. I'll keep hunting, if anyone knows though I'd appreciate it.
 
Back
Top Bottom