Where is self preservation in the AI code?

CapnKill

Warlord
Joined
Apr 21, 2005
Messages
153
Had that bastard Montezuma down to 1 city, had a nice juicy stack of angry people at his doorstep... and the bastard still wouldn't give me the 3 techs I didn't have... He'd rather die than do that.. sheesh!!!
 
The spite algorithm sometimes trumps the self-preservation algorithm.

Next time you're in a war, as soon as you can establish communication with the enemy, check every turn to see how much the "price for peace" is. One turn you'll check and they'll be willing to pay 300 gold. After killing several of his units, next turn he will offer 360. The turn after that, maybe more. At some point, usually after you capture a second city or so, the price will start decreasing again until you get to the situation where he's on his last legs, and will give you almost nothing.
 
I guess he is smart enough to know that he is only prolonging his existence for 10 more turns... oh well, I hate that bastard, I will kill him whenever I get a chance.
 
I think LordChambers has it right. The AI will pay for peace up to a point. Beyond that point, though, it decides that you're going to kill it anyway, and won't give you anything.

Which -- let's be honest -- is often exactly right. If the AI would give me those three techs, I'd probably take them, wait ten turns, and then finish him off.

If you think about it, this behavior IS self-preservation. If I knock Monty down to three cities, and he offers me a tech and some gold for peace, and I know I'll get nothing if I keep attacking him... well, maybe I'll settle for peace.

Anyway, key point: if you knock the AI down too far, it'll stop paying for peace.


Waldo
 
Isn't Neville Chamberlain like the fourth rank up on the ranking page in Civ? Thats because he 'gifted' multiple countries to Hitler to avoid fullblown war. He's considered a disgrace -.- especially as Germany then went ahead and plowed through the rest of mainland Europe.

Go find the analogies :)
 
Back
Top Bottom