On the AI "problem" - some humble auggestions

I think I have a solution to a perceived problem with the AI. But first, thanks to Brad and Derek and the team that made this game. I love it, and have put in 150+ hours since launch. If this game never gets another update, I will still love it. But I had some brief ideas on how the AI could be a little more fun to play, if you'll hear them.

First of all, I find the Hard and Expert difficulties usually make the best games. I create a custom faction as my main opponent set on Expert, then have all other factions set to Hard. This is hard enough for me (for now), as I avoid any major exploits (I play a custom Mancer faction).

The AI's reliance on the faction power ranking makes it predictable. It will be a bully once its power surpasses yours by a threshold, and buddy up to you if yours surpasses its ranking significantly. No, this isn't ALWAYS the case, but the exceptions are rare.

Here's the main flaw: the comp simply cannot organize its troops as well as the player can, so I generally know I have won when 1 of 2 things happen: 

1.) I get a higher faction power ranking than the other AIs

2.) Someone declares war on me

Why do I know I am going to win when the AI declares war on me? Because I know I will steamroll into his poorly defended cities, and soon have extra territories that over time improve my faction power ranking significantly. With this extra power, I eventually conquer all the Ai's territory. The AI NEVER makes reasonable peace treaty offers,  instead demanding 5000+ gold for a peace treaty when it is in a tenuous position. Only once it has been mostly decimated will it suddenly be willing to pay for Peace - and at that point, why not finish the job and take his last city or two?

I appreciate the time and capital that goes into extra coding and updating this game. So with algorithmic simplicity in mind, here's my suggestion:

 

FIRST: Up the faction power ratio needed for the AI to decide to become the aggressor, so that it is more likely to go to war when it is truly ready to pose a significant invasion threat. The faction power calculation is generally accurate, but not accurate enough to guarantee a true advantage. Just because they have more troops and a better economy doesn't mean I can't take the "superior" player's closest city the turn after they declare war on me. 

 

SECOND: Make the AI a lot more willing to stop wars when it is winning - in exchange for tribute treaties. Having a second or third tier of tribute might make sense, too, if it is easy to code and add to the diplomacy interface. 

Regular (as in game): 10% of income

Harsh Sanctions: 30% of income

Puppet State: 50% of income

 

Alternatively, the AI could accept more reasonable amounts of gold for peace (not demand more than the player has), but then immediately badger the player for tribute treaties, or the war starts back up. 

 

THIRD: Allow ceding of territory. Not sure how algorithmically complex this would be, but I think it would make wars even more interesting. A dominant AI could demand you send them a city in lieu of war - and likewise you could give conquered territories to your allies, making them happy while saving you the headache of diverting more troops to defense of a distant newly conquered territory.

 

Ceding outposts would allow the AIs to get what they really want - resources. Likewise the player could bargain for crystal crags/shards instead of  taking cities.

 

BONUS: Can the AI be made more likely to fill EVERY slot available in a stack? Especially when it is in a war?

By making war less "all or nothing," the conflict and tension can be heightened, I anticipate. Quests and resources out in the wild could swing the balance, allowing a defeated tributary player to suddenly rise back up against their puppeteer state. In this type of environment, the Master Quest becomes a very interesting trump card.  

 

AND FOR THE RECORD: It's how the AI behaves toward the player that's the real issue. The AI interacts with the other AIs very well, in my experience. 

9,291 views 4 replies
Reply #1 Top

Good points!

Imho, the best diplomatic system has Civ 4 BtS. In comparison to that, FE has a rather weak and exploitable diplomatic system and above all a lousy diplomatic AI.

I hope they get this improved soon as it very bad for the long time experience. The games always follow the steps you mentioned. No surprises, so no incentive to play again.

Reply #2 Top

Quoting SComtesse, reply 1
No surprises, so no incentive to play again.
End of SComtesse's quote

Pretty much how I feel ^_^

Sincerely
~ Kongdej

Reply #3 Top

Oddly enough, one of the best Diplo systems I've seen is from GalCiv2. Learn from yourselves :)

Reply #4 Top

I like the idea of allowing the player to cede an outpost or city to the AI to secure a peace treaty.

This would be relatively simple to implement as outposts could be named and the value of cities and outposts can be determined mathematically based on its resources, size, improvements (Production/Research/Gold). location and shard type.

How complex you want the calculation to be is based on how much time that you want to devote to writing the code to support this.

Example:

  1. City Size = Size x 200 (Size 5 city is worth 1000 , size 1 city is worth 200). Outpost is worth 100.
  2. Locations - cities and outposts closest to AI cities are valued more by the AI, and those farther away valued less (as they are harder to reinforce).
    • Location penalty could be 10 points per tile distance (20 tiles = -200, 60 titles = -600)
  3. Resources = 50 points for each major resource tile (shard, crystal, iron)

Thus a City of Size 2 with 2 shards located 20 tiles from the AI is worth 300 points: (400 (size 2) + 100 (2 shards) - 200 (20 tiles from the AI)).

A city of Size 1 located 60 tiles from the AI would be worth nothing to the AI (200 - 600 = -400) and would not be accepted if offered. 

If you want to make it more complex;

  1. A sovereign of type Mage with Fire Magic would value Fire Shards at 200 points (instead of 50)
  2. A sovereign of type Warrior with Fire Magic would value Fire Shards at 100 points (instead of 50)