Social Policies and the AI

ButSam

King
Joined
Dec 27, 2001
Messages
663
Any clue how the AI chooses a policy? I don't see any tags attached to the policies or trees to prioritize at all...

The closest I see is the "Strategy" tag in both tables -- policy tree table and policy table -- but it appears to be unused.

If the AI decides to go for culture victory but doesn't stick to 5 trees...and doesn't prefer piety strongly...no wonder they are not competitive!!!

Am I missing something?
 
No flavors that I can see. I didn't see anything in the AI section relating to policies, and I also don't see anything in the Policies section relating to the AI, except for:

* Both the Civ5PolicyBranchTypes.xml and Civ5Policies.xml files define "Strategy" entry in their respective tables, but it is not used in any of the entries in the tables.

* The Civ5PolicyBranchTypes.xml file has "AIMutuallyExclusive" as a property, and it is set to "true" for the Tradition and Liberty branches only. Presumably this is a crude mechanism to ensure the AI doesn't select more than 1 of the paths that are set to "true" (so apparently the AI will not select Liberty and Tradition branches...which seems odd IMHO). This doesn't depend at all on grand strategy (or any other type of AI strategy), apparently.

Am I missing something in another file?
 
Towards the bottom of the CIV5Policies.xml file...

Example:

Code:
- <Row>
  <PolicyType>POLICY_CONSTITUTION</PolicyType> 
  <FlavorType>FLAVOR_WONDER</FlavorType> 
  <Flavor>8</Flavor> 
  </Row>
- <Row>
  <PolicyType>POLICY_UNIVERSAL_SUFFRAGE</PolicyType> 
  <FlavorType>FLAVOR_CITY_DEFENSE</FlavorType> 
  <Flavor>10</Flavor> 
  </Row>

These will certainly play a role. Maybe you just missed it. ;)
 
Sure did -- it wasn't grouped with the rest of the definition of the policy for some reason. Thanks! Now I need to get smart on what these Flavors mean :)
 
Back
Top Bottom