<Nexus>
Traveler of the Multiverse
iProductionPerPopulationWhich tag is responsible for how many population point will it cost to draft a unit?
More info here:
iProductionPerPopulationWhich tag is responsible for how many population point will it cost to draft a unit?
Thanks, but what I meant is drafting, not hurrying. For example it takes 3 PP to draft a Mechanized Infantry, but only 1 PP to draft an Axeman.
Edit the dll.If I wanted to make two separate civics options not allowed to be used together [for example, free speech and theocracy], what would I have to do to block one being used w the other?
cannotDoCivic
function when checking if you can select a civic. You can implement it in Assets/Python/EntryPoints/CvGameInterface.py
. If the function returns true, the civic is not allowed. So you can check whether its counterpart is already in use and disallow the other.USE_CANNOT_DO_CIVIC_CALLBACK
in the XML defines. I only have a BUG code base on hand where this is required, but it's possible that the base game does not require this setting.I think it can be done in xml by increasing some weight for the bonus, but I can't remember the details.Ok; great, thanks for the help with those. One additional thing I'd like is for the random maps to place Iron more often than it currently does. What can I change to increase it on the map, say 25%?
The only thing I see, so far, is in Civ4ImprovementInfos; where there are bonus aluminum, coal, copper, gems, gold, iron, silver, uranium --- and the iDiscoverRand is set to 1000 for each. Is this what you're referring to? If so, do you have any suggestions on changing the discoverRand figure of 1000 for iron?I think it can be done in xml by increasing some weight for the bonus, but I can't remember the details.
No, that's the chance of an improvement discovering the resources if the tile is worked by a city.The only thing I see, so far, is in Civ4ImprovementInfos; where there are bonus aluminum, coal, copper, gems, gold, iron, silver, uranium --- and the iDiscoverRand is set to 1000 for each. Is this what you're referring to? If so, do you have any suggestions on changing the discoverRand figure of 1000 for iron?