Why Won't Spain Capitulate?

chandlerke

Chieftain
Joined
Feb 18, 2007
Messages
20
Every time I play either earth18civs or earth100ad scenarios, Spain refuses to capitulate even when only having one city and one military unit remaining. I have never had this happen to any other civ, so I'm at a loss. In the earth18civs scenario, Spain is typically the first to found Buddhism. I don't know if that has anything to do with it. Any ideas?
 
Short answer: Kill her.

Longer answer: You need to have a certain amount of net war success before an AI will consider capitulation. You earn war success by killing units and taking cities. Oddly enough, this can make it very difficult to get a really weak civ to capitulate.
 
Interesting, thank you itg. Does the net war success have to be with the specific civ, say Spain in my case, or is it overall? Say I were to have success in wars with other civs first, then go after Spain? It's not that I have a need to get Spain to capitulate, its more just a matter of curiosity.
 
Interesting, thank you itg. Does the net war success have to be with the specific civ, say Spain in my case, or is it overall? Say I were to have success in wars with other civs first, then go after Spain? It's not that I have a need to get Spain to capitulate, its more just a matter of curiosity.
The war sucess is counted between every 2 civs in war ( all independent of each other ) and will reset on cease fire/peace treaty. the count in itself is done like this:
That intel is in the link I gave in post #3:
It looks like he thinks he's doing better in the war than you are. This check is performed if the power check hasn't denied you already:

Code:
if (AI_getWarSuccess(eTeam) + 4 * GC.getDefineINT("WAR_SUCCESS_CITY_CAPTURING") > GET_TEAM(eTeam).AI_getWarSuccess(getID()))
{
	return DENIAL_JOKING;
}

WAR_SUCCESS_CITY_CAPTURING is 10 by default. The war success numbers just add up the wins and losses of units and cities.

WAR_SUCCESS_DEFENDING: 3
WAR_SUCCESS_ATTACKING: 4
WAR_SUCCESS_UNIT_CAPTURING: 1 (Workers/Settlers)
WAR_SUCCESS_CITY_CAPTURING: 10

So yes, the solution is to take more cities. If you both start out at 0, you can see that it takes 40 success points assuming you win every battle and lose no cities. All losses must be offset by equal gains.
The WAR_SUCCESS_CITY_CAPTURING is defined in the XML , namely in GlobalDefines.XML, as well as WAR_SUCCESS_DEFENDING, WAR_SUCCESS_ATTACKING, WAR_SUCCESS_NUKE ( not mentioned above, but with the value of 10 by default ) and WAR_SUCCESS_UNIT_CAPTURING
Note that there are other reasons that make AI to refuse to capitulate besides insuficient war success.

@Brownsfan02

AI capitulation mechanics do not check for AI personality. Said in other words, every leader will behave the same in this regard.
 
Did Isabella capitulate when the Moors were covering most of Iberia!?!?!?! You infidel!
:lol:

Just kidding, I think r_rolo's answer is the correct answer.
 
AI capitulation mechanics do not check for AI personality. Said in other words, every leader will behave the same in this regard.

Pretty sure they have a modifier on each leaderhead in that XML, though it's been a while since I peaked in there.

Anyway, Izzy is:

1. Stronger than you by enough
2. Stronger than the world average of all civs regardless of what your power is
3. Not damaged sufficiently in terms of war success.

Masters of vassals of ANY kind get a ridiculous multiplier to resist caps too.
 
Top Bottom