Advertisement
Civilization Fanatics' Center  

Welcome to Civilization Fanatics' Center.

You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Strategy & Tips

Notices

Reply
 
Thread Tools
Old May 20, 2010, 02:30 PM   #1
mrdoe
Chieftain
 
mrdoe's Avatar
 
Join Date: Jan 2010
Posts: 88
VASSALS - confusing behavior

So today I was playing on a standard size map. You have JC who's huge and I'm ahead in tech, and I just completely topple Saladin, conquering 4 cities, and JC conquers a minor unimportant city. Sally is unwilling to vassal to me, but VASSALS TO JC MAKING HIM EVEN BIGGER. (ugh snowball effect)
JC, who now has 2 vassals proceeds to reassign every city I got from the war to saladin by way of AP, and at this point I promptly resign because it's just ridiculous.
So does anyone know why Sally would vassal to JC first? I killed ~50 of his troops, and JC kills 2 with 2 macemen and gets a minor city and somehow just gets to vassal him. hmm.
mrdoe is offline   Reply With Quote
Old May 20, 2010, 02:57 PM   #2
happyturtle
Queen of Naptime
 
happyturtle's Avatar
 
Join Date: Dec 2009
Posts: 753
I think they prefer to surrender to someone they are on better terms with diplomatically.
happyturtle is offline   Reply With Quote
Old May 20, 2010, 06:03 PM   #3
georgjorge
Deity Wannabe
 
Join Date: Dec 2009
Posts: 307
I've seen it too, me and Shaka fighting against Qin, me taking six cities and killing lots of troops pretty quick (I wanted to do it before he got Rifling), Shaka landing some groups of 2-4 units each on his shores without siege and suiciding them against cities with 125% cultural defense (I had full espionage so I could watch it). Then Qin capitulates to Shaka but wouldn't to me. I wondered about it as well, seemed pretty ridiculous.
georgjorge is offline   Reply With Quote
Old May 20, 2010, 06:07 PM   #4
Brownsfan02
WWII Buff
 
Brownsfan02's Avatar
 
Join Date: Jan 2009
Location: Cincinnati
Posts: 236
Images: 28
lol that sucks i one time had a sod and managed to take a couple of big cities from the ottomans and my stack only had like 3 units left in it and they still capitulated to me even though they could have easily taken their cities back.
__________________
92% of teens moved on to rap music. If you are part of the 8% that rock out every day put this in your sig
Therefore...I am not a window - Double A
political compass: Left: 1.97, Libertarian: 0.21
Funniest site ever no joke
Brownsfan02 is offline   Reply With Quote
Old May 21, 2010, 08:30 AM   #5
r_rolo1
King of myself

 
r_rolo1's Avatar
 
Join Date: May 2006
Location: Lisbon, Portugal
Posts: 13,818
Quote:
Originally Posted by happyturtle View Post
I think they prefer to surrender to someone they are on better terms with diplomatically.
Nonsense
Quote:
Originally Posted by r_rolo1 View Post
Ok, I rechecked the code and indeed there is no hard rule vs a civ that doesn't have the biggest war success being able to cap someone, just a bias against it:

From CvTeamAI::AI_surrenderTrade
Code:
		int iTotalPower = GC.getGameINLINE().countTotalCivPower();
		int iAveragePower = iTotalPower / std::max(1, GC.getGameINLINE().countCivTeamsAlive());
		int iMasterPower = GET_TEAM(eTeam).getPower(false);
		int iVassalPower = (getPower(true) * (iPowerMultiplier + iPersonalityModifier / std::max(1, iMembers))) / 100;

		if (isAtWar(eTeam))
		{
			int iTheirSuccess = std::max(10, GET_TEAM(eTeam).AI_getWarSuccess(getID()));
			int iOurSuccess = std::max(10, AI_getWarSuccess(eTeam));
			int iOthersBestSuccess = 0;
			for (int iTeam = 0; iTeam < MAX_CIV_TEAMS; ++iTeam)
			{
				if (iTeam != eTeam && iTeam != getID())
				{
					CvTeam& kLoopTeam = GET_TEAM((TeamTypes)iTeam);

					if (kLoopTeam.isAlive() && kLoopTeam.isAtWar(getID()))
					{
						int iSuccess = kLoopTeam.AI_getWarSuccess(getID());
						if (iSuccess > iOthersBestSuccess)
						{
							iOthersBestSuccess = iSuccess;
						}
					}
				}
			}

			// Discourage capitulation to a team that has not done the most damage
			if (iTheirSuccess < iOthersBestSuccess)
			{
				iOurSuccess += iOthersBestSuccess - iTheirSuccess;
			}

			iMasterPower = (2 * iMasterPower * iTheirSuccess) / (iTheirSuccess + iOurSuccess);

			if (AI_getWorstEnemy() == eTeam)
			{
				iMasterPower *= 3;
				iMasterPower /= 4;
			}
		}
		else
		{
			if (!GET_TEAM(eTeam).AI_isLandTarget(getID()))
			{
				iMasterPower /= 2;
			}
		}
said in other words, what really matters in a situation like thew OP described is who has more war sucess , as defined in XML like stated here :
Quote:
Originally Posted by EmperorFool View Post
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.
(just for completeness sake, nuke blasts give 10 war success points regardless of how many units the nuke kills ... and units killed in air combat do not count for this, by whatever reason )

Anyway, there is a luck part involved ( as you can see in the code above ) ,so it is not always the person that gathers more war success ( remember, the final war sucess number is not your war sucess vs them but your war sucess vs them minus their war sucess against you ... so if you gather 100 war sucess points and they gather 99, it will be exactly the same as if you had captured a worker without military losses of both sides in this regard ) that is considered by the capitulating AI as the better master
__________________
" I'm the Lord of the lords, not the servant of the serfs" - D. Joćo II of Portugal

My Civ lema: Qui vincit non est victor nisi victus fatetur

Lonely Hearts Club Bullpen / You , Yourself and your shadow : Some lessons on isolated starts
r_rolo1 is offline   Reply With Quote
Old May 21, 2010, 09:22 AM   #6
mrdoe
Chieftain
 
mrdoe's Avatar
 
Join Date: Jan 2010
Posts: 88
So all those suiciding catapults that damage defenders die, so they count towards enemy war success, but don't kill, so they don't contribute to my success?
darn. Usually I will have 50% cats. This might just make my war success 0, then?
mrdoe is offline   Reply With Quote
Old May 21, 2010, 09:29 AM   #7
r_rolo1
King of myself

 
r_rolo1's Avatar
 
Join Date: May 2006
Location: Lisbon, Portugal
Posts: 13,818
Quote:
Originally Posted by mrdoe View Post
So all those suiciding catapults that damage defenders die, so they count towards enemy war success, but don't kill, so they don't contribute to my success?
darn. Usually I will have 50% cats. This might just make my war success 0, then?
Or even make they have more war sucess on you than you on them, even if you are taking their cities out This is one of the reasons some civs refuse to capitulate beyond any reasonable standart: the human sacrificed a heap of units to tore their SoD down and the war success won after that was not enough to get to the minimum net 40 to be eligible to be considered as a possible master. There are other reasons, but those are one more stupid than the previous one ( like the average rule or fearing the master enemies ), so I'll refrain of talking about those, otherwise this will become a flame thread
__________________
" I'm the Lord of the lords, not the servant of the serfs" - D. Joćo II of Portugal

My Civ lema: Qui vincit non est victor nisi victus fatetur

Lonely Hearts Club Bullpen / You , Yourself and your shadow : Some lessons on isolated starts
r_rolo1 is offline   Reply With Quote
Old May 21, 2010, 10:16 AM   #8
zub
Chieftain
 
Join Date: May 2010
Posts: 29
It's annoying when they vassalize during the war with the next big guy, causing the latter to instantly declare.
zub is offline   Reply With Quote
Old May 21, 2010, 10:24 AM   #9
r_rolo1
King of myself

 
r_rolo1's Avatar
 
Join Date: May 2006
Location: Lisbon, Portugal
Posts: 13,818
That is a completely diferent issue.... it only happens when your war target peacefully vassalizes to the "next big guy" ( capitulations force peace ). In there the issue is completely diferently, because it is treated like a trade where the vassal sells itself ... this means that it is modulated, as any trade, by the diplo relations between the two. This never happens if the possible master to be is pissed enough with your war target, or obviously, when it is sharing the war with you
__________________
" I'm the Lord of the lords, not the servant of the serfs" - D. Joćo II of Portugal

My Civ lema: Qui vincit non est victor nisi victus fatetur

Lonely Hearts Club Bullpen / You , Yourself and your shadow : Some lessons on isolated starts
r_rolo1 is offline   Reply With Quote
Old May 21, 2010, 12:29 PM   #10
TheMeInTeam
GiftOfNukes
 
TheMeInTeam's Avatar
 
Join Date: Jan 2008
Location: Orlando
Posts: 19,881
Quote:
Originally Posted by r_rolo1 View Post
That is a completely diferent issue.... it only happens when your war target peacefully vassalizes to the "next big guy" ( capitulations force peace ). In there the issue is completely diferently, because it is treated like a trade where the vassal sells itself ... this means that it is modulated, as any trade, by the diplo relations between the two. This never happens if the possible master to be is pissed enough with your war target, or obviously, when it is sharing the war with you
However you still get to see some fun nonsense like izzy taking a heathen as a vassal or vice versa and declaring on someone pleased .

Vassals are a great idea that never had its details ironed out.
__________________
- There is no "I" in team. There is no "we" either. There is a me.
- Play Faster!
- YouTube Civ Walkthroughs and Map Creation!
- PolyCast Co-Host! Listen in!
- Watch me play LIVE

TheMeInTeam is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Strategy & Tips > VASSALS - confusing behavior

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Watermill too confusing! Tecibbar Civ4 - Strategy & Tips 10 Oct 19, 2008 08:00 AM
Education confusing vorius Civ4Col - General Discussions 37 Oct 15, 2008 07:01 AM
Diseases: confusing CornPlanter Civ3 - Creation & Customization 9 Feb 07, 2007 12:55 PM
Wow this is confusing. Aythanaeus Civ4 - Demo Game: Citizens 2 Dec 08, 2005 03:08 PM
Will Civ 4 Be Confusing? Undertaker798 Civ4 - General Discussions 20 Oct 08, 2005 06:41 PM


Advertisement

All times are GMT -6. The time now is 03:38 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR