You've Grown too Powerful for us

Evalis

Prince
Joined
Mar 2, 2009
Messages
496
So I was looking for the file to edit to remove this restriction from attempts to vassalize or ally with friendly nations but I cannot seem to find it anywhere in the mod. I edited the base dll located in beyond the sword folder but it didn't seem to have any effect.

Is there some other file this information has been placed it? How would I go about finding it?
 
file CvTeamAI.cpp
in function
Code:
DenialTypes CvTeamAI::AI_permanentAllianceTrade(TeamTypes eTeam) const
Code:
[..]
	if ((getPower(true) + GET_TEAM(eTeam).getPower(true)) > (GC.getGameINLINE().countTotalCivPower() / 2))
	{
		if (getPower(true) > GET_TEAM(eTeam).getPower(true))
		{
			return DENIAL_POWER_US;
		}
		else
		{
			return DENIAL_POWER_YOU;
		}
	}
[..]

also,
I edited the base dll located in beyond the sword folder but it didn't seem to have any effect.
you need to edit the DLL source code for your version of RifE and you need to recompile it into DLL after you change it and replace the [..]/Beyond the Sword/Mods/<mod name>/Assets/CvGameCoreDLL.dll file
 
Top Bottom