The code is in the DLL. It uses quite some global defines though. Search for espionage in GlobalDefines.xml and A_New_Dawn_GlobalDefines.xml.How is it controlled? is it XML or Python-based?
The code is in the DLL. It uses quite some global defines though. Search for espionage in GlobalDefines.xml and A_New_Dawn_GlobalDefines.xml.How is it controlled? is it XML or Python-based?
The code is in the DLL. It uses quite some global defines though. Search for espionage in GlobalDefines.xml and A_New_Dawn_GlobalDefines.xml.
ESPIONAGE_CITY_POP_EACH_MOD is the one that modifies espionage cost based on population.None of those defines have anything to do wtih Population. What function calculates Espionage Costs?
The Mod is seriously unbalanced at the moment. Too many AI are not expanding until well into the Classical Era. No expansion occurs unless the AI has one of these 5 Leader traits: Expansive, Humanitarian, Seafaring, Semi-Civilized, and Barbarian.
If the AI has any of these 3 traits it is even more of a problem for early AI empire expansion: Idealistic, Populist, and Excessive.
It's not Fun to finally meet your neighbors and find out that they only have 1 city and it 2000BC and your well into the Classical era.
JosEPh
ESPIONAGE_CITY_POP_EACH_MOD is the one that modifies espionage cost based on population.
The relevant functions are:
CvPlayer::getEspionageMissionCost
CvPlayer::getEspionageMissionBaseCost
CvPlayer::getEspionageMissionCostModifier
@all:
My solution to the Espionage cost issue is to make the maximum penalty due to population 50%, and to change the penalty per population point to 1, instead of 2. Does this sound reasonable?
No idea - can you summarize the calculation and how all the modifiers are applied? The cost goes up with increasing population I assume? Not sure how capping it at 50% plays into the original issue (of costs being way too low) - at what population is the 50% cap reached?
No, the cost goes DOWN with increasing population! 2% per point infact! so by fifty pop espionage would theoretically cost nothing! I am amazed that this hasn't been noticed earlier franky.
That's dumb. Surely it should go up and the fix is therefore just to change a sign in the calculation?
That's dumb. Surely it should go up and the fix is therefore just to change a sign in the calculation?
I think the idea is that the more people there are the more likely the spy will go unnoticed.
No, the cost goes DOWN with increasing population! 2% per point infact! so by fifty pop espionage would theoretically cost nothing! I am amazed that this hasn't been noticed earlier franky.
I see you added a tag "goldmodifier" basic explanation pls, and THX.