FANDOM


SDK/DLL | Python | XML | DDS

CIV4BuildInfos | CIV4CommandInfos | CIV4FormationInfos | CIV4PromotionInfos | CIV4SpecialUnitInfos | CIV4SpellInfos | CIV4UnitClassInfos | CIV4UnitInfos

Advisor
Data Type: String
Allowed Values: Advisor Types, as defined in CIV4AdvisorInfos
Default Value: NONE
Function: Assists in AI Decision Making for Best Unit to construct
Examples of Use: Settlers are ADVISOR_GROWTH, while Warriors are ADVISOR_MILITARY

In addition to helping the AI decide what units to focus on constructing based on the overall strategy it is currently following, the Advisor type will determine what label the game will attach to a Unit when it is giving reccomendations for what to build next in a city pop-up screen.

Overall, this field won't be of too much use to Modders that are planning to work only in the XML, but it should be noted that the AI will only consult the advisor type to see if the unit should be ignored. In other words, the AI will ALWAYS be willing to build a unit with NONE in this value, but if you place ADVISOR_GROWTH in the value, then the AI will refuse to build the unit if the current strategy dictates to avoid Growth (which typically won't happen unless the AI is overexpanded and needs to reduce upkeep costs drastically).

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.