no one attacks me - it is boring!!

I've been trying to spice my games up a little too, so I've tried large maps/16 Civs/ Aggresive AI to get more wars going. I've also decided to be like the AI in a way. If someone attacks you... get others to join the war. Seek out trade embargos all the time etc. Make them accumulate alot of negative attitude points to one another.

I met Mansa Musa a little into my current game and to my surprise in the trading screen along side open borders I saw "Make peace with Julius Ceasar" as an option. Clearly Aggresive AIs and a lot of AIs do trigger more AI v AI wars.

I've also played on Custom Continents to seperate some Civs up. As in my previous game I had the AI all "Friendly" and "Pleased" to one another because Hinduism had spread like wildfire and dominated the game. So I wanted to have religious negative modifiers in there too.
 
I haven't played civ in a while so I started a game today at warlord level, and Montezuma declared war on me early on. I keep kicking his butt, yet he will not accept a cease fire. I have to admit this is the first time I've had the AI declare war on me at this level, but apparently it can happen.
 
Solver said:
Actually, the AIs are more peaceful in Civ4 because they're smarter. The Civ3 AI would declare war on dice rolls - regardless of whether it could gain anything in the war, or even stand a chance. The Civ4 AI is smarter - it takes many things into consideration, but the most important one is whether it actually stands a chance. The only exceptions might be very fanatical AIs who hate you (Montezuma or Genghis Khan), these can declare war even when substantially weaker.

Turning on Aggressive AI in options, though, should provide enough wars for most players.

They may be smarter but if the only wars that happen are between me and everyone else it kind of detracts from the game imo.

I liked it in civ3 how the other civs would fight each other and often one would end up conquering the whole continent and then you would have a struggle to get a foothold on that continent.

Aggressive AI only seems to make them more aggressive towards me is that correct or do they get more aggressive towards each other as well?
 
The AI actually doesn't take into account whether you're human when it declares war. Specifically speaking, the code which weighs the decision of a war declaration doesn't even make an isHuman() check. Aggressive AI gives the war value variable extra weight - in other words, makes the AI more likely to declare war.

I can't agree that wars only happen with me, but I can certainly agree that most wars do. This has objective reasons. AIs play more or less the same, the human plays very differently. These differences are often what makes the AI go after the human. The code is in CvTeamAI::AI_doWar() for those who are interested - the function is a bit too big to post here.

However, some relevant parts.

Code:
			iOurPower = getPower(true);

			if (GC.getGameINLINE().isOption(GAMEOPTION_AGGRESSIVE_AI))
			{
				iOurPower *= 4;
				iOurPower /= 3;
			}

This makes the AI more "cocky" with the Aggressive AI option on. In other words, it needs relatively less military power to be able to declare a war. ALso,

Code:
										if (iNoWarRoll >= AI_noWarAttitudeProb(AI_getAttitude((TeamTypes)iI)))
										{
											if (GET_TEAM((TeamTypes)iI).getDefensivePower() < ((iOurPower * ((iPass > 1) ? AI_maxWarDistantPowerRatio() : AI_maxWarNearbyPowerRatio())) / 100))
											{
												// XXX make sure they share an area....

												FAssertMsg(!(GET_TEAM((TeamTypes)iI).isBarbarian()), "Expected to not be declaring war on the barb civ");
												FAssertMsg(iI != getID(), "Expected not to be declaring war on self (DOH!)");

												if ((iPass > 1) || (AI_isLandTarget((TeamTypes)iI) || AI_isAnyCapitalAreaAlone()))
												{
													if ((iPass > 0) || (AI_calculateAdjacentLandPlots((TeamTypes)iI) >= ((getTotalLand() * AI_maxWarMinAdjacentLandPercent()) / 100)))
													{
														iValue = AI_startWarVal((TeamTypes)iI);

														if (iValue > iBestValue)
														{
															iBestValue = iValue;
															eBestTeam = ((TeamTypes)iI);
														}
													}
												}
											}
										}
									}

This is a part of the warmaking AI logic. As can be seen, the AI takes into account the relative power of itself and the potential enemy, the distance between the two civs, and the amount of shared land. Nowhere does it check that the potential target is human.

So Aggressive AI makes it more aggressive towards everyone. Now, as to why exactly the AI will declare more on the human. Two reasons:

1. Relations. Attitude has an important role when deciding whether to declare. The human player has more ways of pissing the AI off than other AIs do. In other words, an AI can have more negative modifiers towards a human than vs. other AIs. You can check that in the Foreign Advisor. Furious relations between AIs are less frequent.

2. Power. The AI builds more units that the human, and upgrades more - there are reasons why it has to. The human builds comparatively less units, and certainly upgrades less. Therefore, to the AIs, the human player often seems less powerful militarily. So unless you're twice the size of everyone else, you're likely to have a relatively low power rating, even if your actual military power is good. For example, think about city defenses. The AI will defend most of its cities with 3 (on average) best defenders. The human usually only defends border cities heavily, and can often have Archers in his inner cities all the way in the Industrial era. This makes the human's power rating stay relatively lower.

Have I answered the question satisfactory :)?
 
That's one thing that bugs me to be honest.

The AI will ask you to join everytime there is a War. Even if the AI is annoyed to you they will ask for help. Trade embargos or AI asking you to stop trading with whoever happen all the time, even if its just open border.

The AI only ever have passive negative modifiers between each other like fallen under the sway of a heathen religion/traded with worst enemy/close borders. Never have I found an AI to have a negative modifiers to one another that would be made on decision, like you stopped trading with us/you refused to give us tribute/you refused to help us. It seems the AI does not interact with each other like it does with the Human. Therefore attitudes can be far worse to the player.

I wish the AI would bug the other AIs just as much as it does the Human with their endless trade embargo requests. (Actually I find it silly to get a negative hit to a civ thats annoyed to you just because you refused to stop trading with your friendly AI Civs. It's like North Korea suddenly asking America to stop trading with the UK and then being deeply insulted, but that's another topic I guess.)
 
Mansa actually decleared me here earlier. And alexander and napoleon...
 
Solver, that was quite helpfull. Thanks for taking time to show it.
Now looking back, I see logic in some of my games that I was curious about.
 
I'm always glad to clear up some misunderstandings about the AI or game mechanics :).
 
Yea the only reason that it seems like that your the only one being attacked is because you play different as mentioned and also the higher the difficulty level the nicer they are towerds other AI, and the meaner they are towerd you.
 
Varelse said:
I haven't played civ in a while so I started a game today at warlord level, and Montezuma declared war on me early on. I keep kicking his butt, yet he will not accept a cease fire. I have to admit this is the first time I've had the AI declare war on me at this level, but apparently it can happen.
I bet Montyzuma would declare war even if you were playing on Settler :rolleyes:
 
Asoka starting a war ? That would make me the same effect that a flying pig through my window. :lol:

As said, the main problem here is the level of difficulty. Just play Noble or higher, and pray you're near Moctezuma, Catherine, Ragnar or whoever likes to fight. In my games AIs tend to cross a whole continent to attack especially me, even when they have enemies at their gates.
 
Julius Ceasar tends to send his whole army across the continent to kill me and by the time his units get half the way to me he declears war on me being that his units are 15 turns from me I build a huge military of archers and destroy his attack force. And Monty is just a nut :lol:.
 
Well he is a warmonger so... meh.
 
Put in much more than the default number of AI's! (custom game)

With default settings civs will be huge, technology advance will be fast and therefore building up cities gains AI (and You) much more than building armies for war. Actually in most cases i cannot build the cities as fast as the techology advances and new buildings come up. I also won't go to war this way.

But adding much more AI's (try let's say 18/large) means much slower tech development so civs will have time to build up armies and sooner or later they will also use them on You or on other AI.
 
Back
Top Bottom