How to change amount of tribal villages in map generator?

Cappella

Chieftain
Joined
Nov 26, 2005
Messages
20
I would like to amount tribal villages that are generated in the map. I searched in xml and python files and couldn't find where it is.

Thanks.
 
It might be stored on a per-map basis, try looking in the map scripts (Civilization 4\PublicMaps). I did Searchs in the XML folder for files containing the text "tribal" or "village", and it didn't come up with anything, so it's likely not stored in any XML file.
 
Ah, forgot about that.

A search found references to the types of goodie huts that are generated per difficulty level in CIV4HandicapInfo.XML. You might be able to change the total # of huts by adding or removing lines there.
 
I found about addGoodies() functions, but I can't find where it is being called.

in the file \Assets\Python\EntryPoints\CvMapScriptInterface.py , I could find this:
Code:
addGoodies()						
def addGoodies():
	"Can override to control where goodies are added on the map"
	CyPythonMgr().allowDefaultImpl()
So does it mean I need to override addGoodies() in the publicmaps\Continents.py file, for example, to be able to control goodies placement? And unless I override it, the default handling of the function is inside CvGameCoreDll.dll?
 
Hm...there's no documenation for that function in the online API reference, so I honestly don't have any idea. Did you try adding or removing lines in the XML file? It could either be a per-map thing or a global function, so it's good to check all possibilities.
 
Back
Top Bottom