I'd like to know what the mathematics are of the numbers seen in this screenshot. For example, how is "Overall Military Power" and "Military Near City-State" calculated? Are there upper limits?
Arqade is a question and answer site for passionate videogamers on all platforms. It only takes a minute to sign up.Sign up to join this community
I looked up the factors, which can be found after downloading the SDK (Steam -> Tools -> Sid Meier's Civilization V SDK)
...\steamapps\common\Sid Meier's Civilization V SDK\CvGameCoreSource\CvGameCoreDLL_Expansion2\CvMinorCivAI.cpp
starting at line 7796 (function CvMinorCivAI::CalculateBullyMetric).
First off, the negatives:
And the positives:
Note that the three -300 penalties effectively means you cannot demand tribute. All of these values are hard-coded and cannot be modified without a DLL mod, with the exception of the non-war influence < -30, which is defined as
FRIENDSHIP_THRESHOLD_CAN_BULLY found in
...\steamapps\common\sid meier's civilization v\assets\DLC\Expansion2\Gameplay\XML\AI\GlobalAIDefines.xml
This post dates of last year, values are no longer the same. (Updating this topic since it is well ranked on Google to avoid misleading people with old data.)
From inspecting the code, here is what changed :
An interesting fact about how it is programmed :