Akbarthegreat
Angel of Junil
The file and section of code is given in this post, but I couldn't find out what part of the code to change. Can someone help? I want to make it unlimited.
EDIT-Due to me being lazy and looking at only half the thread before making a new one I didn't see this.
EDIT 2-
I tried changing 5 to 20 (notepad) but it didn't work.
Or does it apply only from new games?
Thanks.
EDIT-Due to me being lazy and looking at only half the thread before making a new one I didn't see this.
EDIT 2-
Code:
//Rhye - start [B](5 vassals cap if already the strongest; 6 vas+all cap) [/B]
int mastersVassals = 0;
int mastersAllies = 0;
int mastersPower = kMasterTeam.getPower(true);
bool bStrongest = true;
for (int iLoopTeam = 0; iLoopTeam < NUM_MAJOR_PLAYERS; iLoopTeam++)
{
CvTeam& kLoopTeam = GET_TEAM((TeamTypes)iLoopTeam);
if (kLoopTeam.isAlive() && kLoopTeam.isVassal(eTeam) && iLoopTeam != getID())
mastersVassals++;
if (kLoopTeam.isAlive() && kLoopTeam.isDefensivePact((TeamTypes)eTeam) && iLoopTeam != getID())
mastersAllies++;
if (kLoopTeam.getPower(true) > mastersPower)
bStrongest = false;
}
if (mastersVassals >= 5 && bStrongest)
return DENIAL_POWER_YOU;
if (mastersVassals + mastersAllies >= 6)
return DENIAL_POWER_YOU;
Or does it apply only from new games?
Thanks.