Thalassicus / cep-bnw

Civ V Communitas Expansion Pack
32 stars 22 forks source link

Leader personalities and priorities #267

Open Thalassicus opened 10 years ago

Thalassicus commented 10 years ago

I created a new, better-organized leader priority chart. It now sets default priorities for each personality type, then allows customization of individual priorities for each leader.

I also discovered several leaders had the wrong set of priorities for their personality type, and corrected this (eg diplomatic leaders with a citystate unique ability should ally with citystates).

In addition, I increased the priority of strategic resource units (soldiers and mobile). I reduced city_defense unit priority for peaceful players from 8 to 4, and increased their strategic unit priorities from 2 to 4. This should encourage peaceful players to build more strategic units in place of archers.

GrantSP commented 10 years ago

Interesting. I just generated a page to see what gets assigned and how.

Could you give a bit of detail on how you determine the overrides for each leader? It looks like a progressive scale of 2, 4, 6, 8, 16 with a couple of 9s thrown in for good measure. Just how do we decide a particular leader needs his default personality value changed?

An easy example is Ramesses, I can see the Wonder value is upped to 16. This makes sense and is easy to understand. Take Ashurbanipal, he favours Science and the default is 6. The override is given a value of 9. Why 9 and not 16? If there is a legend or something to help guide the decisions, we all could see easier how these things are determined. Or maybe I am just slow on the uptake.

Thalassicus commented 10 years ago

These numbers depend heavily on gameplay experience.

Sometimes an 8 gets the AI to do what you want, other times we need a 6 or a 16. The numbers are more sensitive the closer you get to the normal midline of 4. Changing from a 4 to a 5 can have a dramatic effect on the AI's priorities, while going to 15 to 16 has very little noticeable impact.

0 = ignore 2 = low 4 = normal 6 = medium high 8 = high 16 = critical

Everything usually default to 4, the normal baseline. When the AI should avoid things I use a 0 or 2, and to prioritize it highly I use a 6 or 8 (the two 9s were a typo for 8s). I use a 16 when an 8 isn't enough to get the AI to do what I want.