New Leaders and New Leaderheads Modmodmod

Civciv5

Grand Emperor
Joined
Aug 14, 2011
Messages
2,111
Location
Nergenshuizen, Belgium
I'm currently making a modmodmod of of Leoreth's Dawn of Civilization modmod that adds many new leaders and replaces some leaderheads with betters.
My plans (feel free to post suggestions)
Spoiler New Leaders :

Yu of China
Borandukht of Persia
Khri ma lod of Tibet
Wu Zetian of China (replaces Taizong)
Seondeok of Korea
Sejong of Korea
Myeongseong of Korea
Casimir III of Poland
Walesa of Poland
Ahmed al-Mansur of The Moors
Zewditu of Ethiopia
Ponhea Yat of the Khmer
Pol Pot of The Khmer
Askia of Mali
Lorenzo de' Medici of Italy
Karikala Chola of The Tamils
Harun al-Rashid of Arabia (replaces Abu Bakr)

Spoiler New/Better Leaderheads for :

Frederick Barbarossa
Suryavarman II
Naresuan
Pacal II
Rajendra Chola
Julius Caesar

Progress:
 
You could somehow try to integrate Peter into Russia better. He is non-existent in DoC, and played a central part in his country's (the Tsardom/Empire that is, not USSR or modern Russia) history.
 
wu zetian is not so important in china,my advice is kangxi in Qing dynasty

I agree. I don't really understand your obsession (pardon if that's not the case, but that's how it appears) with Wu Zetian.
Although to her credit, if we are to include a female leader, she is miles and above a better choice over Cixi.
 
I agree. I don't really understand your obsession (pardon if that's not the case, but that's how it appears) with Wu Zetian.
Although to her credit, if we are to include a female leader, she is miles and above a better choice over Cixi.

And -10000 times better than Jiang Qing江青 XD
 
And -10000 times better than Jiang Qing江青 XD
Wasn't she the wife of Mao Zedong?
Wu Zetian was among the most remarkable persons in history and one the great leaders of China.
And than Hongwu can use Taizong's leaderhead so Sejong can use Hongwu's leaderhead (as it was originally Sejong's lh)
 
Taizong's LH also was originally Taizong's LH, Firaxis endorsed even.
 
I think Hongwu should become Sejong with Taizong still existing.
 
I use this code to make Sejong the leader of Korea if Korea discovers guilds.
Spoiler :
if tPlayer.isHasTech(con.iGuilds):
self.setLeader(iPlayer, con.iSejong)
return

But Sejong does NOT appear in game,never.
Wang Kon spawns for Korea in +-700 AD with another,so I also tried using the same code with Sejong,nothing happened in game.
What am I doing wrong?
This is my current whole code for Korea
Spoiler :
elif iPlayer == iKorea:
if iGameTurn >= getTurnForYear(600):
self.setLeader(iPlayer, con.iWangKon)
return


if tPlayer.isHasTech(con.iGuilds):
self.setLeader(iPlayer, con.iSejong)
return
 
Switch the leaders around. The Wang Kon check is first so after 600 AD the leader is set to Wang Kon and the checkLeader() method terminates (return) without ever reaching the Sejong part.
 
Spoiler :
elif iPlayer == iKorea:
if tPlayer.isHasTech(con.iGuilds):
self.setLeader(iPlayer, con.iSejong)
return

if iGameTurn >= getTurnForYear(600):
self.setLeader(iPlayer, con.iWangKon)
return

Th game now ends on turn 0 "You have been defeated".
 
Enable Python exceptions.
 
The game still ends on turn 0 with now extra weird messages.
And I still do not know what I'm doing wrong.
Could this cause it?
Spoiler :
iNumLeaders = 101
(iLeaderBarbarian, iAlexander, iAsoka, iAugustus, iBismarck, iBoudica, iBrennus, iCatherine, iCharlemagne, iChurchill,
iCyrus, iDarius, iDeGaulle, iElizabeth, iFrederick, iGandhi, iGenghisKhan, iGilgamesh, iHammurabi, iHannibal, iHatshepsut,
iHuaynaCapac, iIsabella, iJoao, iJuliusCaesar, iJustinian, iKublaiKhan, iLincoln, iLouis, iMansaMusa, iMao,
iMehmed, iMontezuma, iNapoleon, iPacal, iPericles, iPeter, iQinShiHuang, iRamesses, iRagnar, iFranklinRoosevelt,
iSaladin, iShaka, iSittingBull, iStalin, iSuleiman, iSuryavarman, iTokugawa, iVictoria, iWangKon, iWashington, iWillemVanOranje,
iZaraYaqob, iJimmu, iMeiji, iAkbar, iHiram, iHaileSelassie, iGustav, iAbuBakr, iMongkut, iElishat,
iPhilip, iBarbarossa, iCharles, iFrancis, iYaroslav, iAfonso, iAtaturk, iMaria, iHitler, iFranco, iNicholas, iCixi,
iChiangKaishek, iCavour, iAbbas, iKhomeini, iTaizong, iHongwu, iDharmasetu, iHayamWuruk, iSuharto, iShivaji,
iNaresuan, iAlpArslan, iBaibars, iNasser, iAlfred, iChandragupta, iTughluq, iBasil, iRahman, iRajendra, iLobsangGyatso,
iSobieski, iVatavelli, iMbemba, iKhri, iSeondeok, iSejong) = range(iNumLeaders)

Or this?
Spoiler :
<LeaderHeadInfo>
<Type>LEADER_SEJONG</Type>
<Description>Sejong</Description>
<Civilopedia>TXT_KEY_LEADER_SEJONG_PEDIA</Civilopedia>
<ArtDefineTag>ART_DEF_LEADER_SEJONG</ArtDefineTag>
<iWonderConstructRand>20</iWonderConstructRand>
<iBaseAttitude>1</iBaseAttitude>
<iBasePeaceWeight>6</iBasePeaceWeight>
<iPeaceWeightRand>3</iPeaceWeightRand>
<iWarmongerRespect>0</iWarmongerRespect>
<iEspionageWeight>100</iEspionageWeight>
<iRefuseToTalkWarThreshold>8</iRefuseToTalkWarThreshold>
<iNoTechTradeThreshold>20</iNoTechTradeThreshold>
<iTechTradeKnownPercent>5</iTechTradeKnownPercent>
<iMaxGoldTradePercent>20</iMaxGoldTradePercent>
<iMaxGoldPerTurnTradePercent>10</iMaxGoldPerTurnTradePercent>
<iMaxWarRand>400</iMaxWarRand>
<iMaxWarNearbyPowerRatio>90</iMaxWarNearbyPowerRatio>
<iMaxWarDistantPowerRatio>70</iMaxWarDistantPowerRatio>
<iMaxWarMinAdjacentLandPercent>2</iMaxWarMinAdjacentLandPercent>
<iLimitedWarRand>200</iLimitedWarRand>
<iLimitedWarPowerRatio>100</iLimitedWarPowerRatio>
<iDogpileWarRand>100</iDogpileWarRand>
<iMakePeaceRand>50</iMakePeaceRand>
<iDeclareWarTradeRand>40</iDeclareWarTradeRand>
<iDemandRebukedSneakProb>50</iDemandRebukedSneakProb>
<iDemandRebukedWarProb>10</iDemandRebukedWarProb>
<iRazeCityProb>0</iRazeCityProb>
<iBuildUnitProb>20</iBuildUnitProb>
<iBaseAttackOddsChange>0</iBaseAttackOddsChange>
<iAttackOddsChangeRand>8</iAttackOddsChangeRand>
<iWorseRankDifferenceAttitudeChange>0</iWorseRankDifferenceAttitudeChange>
<iBetterRankDifferenceAttitudeChange>2</iBetterRankDifferenceAttitudeChange>
<iCloseBordersAttitudeChange>-2</iCloseBordersAttitudeChange>
<iLostWarAttitudeChange>-1</iLostWarAttitudeChange>
<iAtWarAttitudeDivisor>-5</iAtWarAttitudeDivisor>
<iAtWarAttitudeChangeLimit>5</iAtWarAttitudeChangeLimit>
<iAtPeaceAttitudeDivisor>60</iAtPeaceAttitudeDivisor>
<iAtPeaceAttitudeChangeLimit>1</iAtPeaceAttitudeChangeLimit>
<iSameReligionAttitudeChange>1</iSameReligionAttitudeChange>
<iSameReligionAttitudeDivisor>10</iSameReligionAttitudeDivisor>
<iSameReligionAttitudeChangeLimit>5</iSameReligionAttitudeChangeLimit>
<iDifferentReligionAttitudeChange>-1</iDifferentReligionAttitudeChange>
<iDifferentReligionAttitudeDivisor>-5</iDifferentReligionAttitudeDivisor>
<iDifferentReligionAttitudeChangeLimit>-1</iDifferentReligionAttitudeChangeLimit>
<iBonusTradeAttitudeDivisor>50</iBonusTradeAttitudeDivisor>
<iBonusTradeAttitudeChangeLimit>2</iBonusTradeAttitudeChangeLimit>
<iOpenBordersAttitudeDivisor>25</iOpenBordersAttitudeDivisor>
<iOpenBordersAttitudeChangeLimit>2</iOpenBordersAttitudeChangeLimit>
<iDefensivePactAttitudeDivisor>12</iDefensivePactAttitudeDivisor>
<iDefensivePactAttitudeChangeLimit>2</iDefensivePactAttitudeChangeLimit>
<iShareWarAttitudeChange>1</iShareWarAttitudeChange>
<iShareWarAttitudeDivisor>8</iShareWarAttitudeDivisor>
<iShareWarAttitudeChangeLimit>3</iShareWarAttitudeChangeLimit>
<iFavoriteCivicAttitudeChange>1</iFavoriteCivicAttitudeChange>
<iFavoriteCivicAttitudeDivisor>10</iFavoriteCivicAttitudeDivisor>
<iFavoriteCivicAttitudeChangeLimit>3</iFavoriteCivicAttitudeChangeLimit>
<DemandTributeAttitudeThreshold>ATTITUDE_CAUTIOUS</DemandTributeAttitudeThreshold>
<NoGiveHelpAttitudeThreshold>ATTITUDE_CAUTIOUS</NoGiveHelpAttitudeThreshold>
<TechRefuseAttitudeThreshold>ATTITUDE_FURIOUS</TechRefuseAttitudeThreshold>
<StrategicBonusRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</StrategicBonusRefuseAttitudeThreshold>
<HappinessBonusRefuseAttitudeThreshold>ATTITUDE_ANNOYED</HappinessBonusRefuseAttitudeThreshold>
<HealthBonusRefuseAttitudeThreshold>ATTITUDE_ANNOYED</HealthBonusRefuseAttitudeThreshold>
<MapRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</MapRefuseAttitudeThreshold>
<DeclareWarRefuseAttitudeThreshold>ATTITUDE_PLEASED</DeclareWarRefuseAttitudeThreshold>
<DeclareWarThemRefuseAttitudeThreshold>ATTITUDE_ANNOYED</DeclareWarThemRefuseAttitudeThreshold>
<StopTradingRefuseAttitudeThreshold>ATTITUDE_PLEASED</StopTradingRefuseAttitudeThreshold>
<StopTradingThemRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</StopTradingThemRefuseAttitudeThreshold>
<AdoptCivicRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</AdoptCivicRefuseAttitudeThreshold>
<ConvertReligionRefuseAttitudeThreshold>ATTITUDE_CAUTIOUS</ConvertReligionRefuseAttitudeThreshold>
<!-- Rhye - start -->
<OpenBordersRefuseAttitudeThreshold>ATTITUDE_FURIOUS</OpenBordersRefuseAttitudeThreshold>
<DefensivePactRefuseAttitudeThreshold>ATTITUDE_PLEASED</DefensivePactRefuseAttitudeThreshold>
<PermanentAllianceRefuseAttitudeThreshold>ATTITUDE_PLEASED</PermanentAllianceRefuseAttitudeThreshold>
<VassalRefuseAttitudeThreshold>ATTITUDE_PLEASED</VassalRefuseAttitudeThreshold>
<!-- Rhye - end -->
<iVassalPowerModifier>0</iVassalPowerModifier>
<iFreedomAppreciation>10</iFreedomAppreciation>
<FavoriteCivic>CIVIC_DYNASTICISM</FavoriteCivic>
<FavoriteReligion>RELIGION_CONFUCIANISM</FavoriteReligion>
<!-- Rhye -->
<Traits/>
<Flavors>
<Flavor>
<FlavorType>FLAVOR_SCIENCE</FlavorType>
<iFlavor>10</iFlavor>
</Flavor>
<Flavor>
<FlavorType>FLAVOR_CULTURE</FlavorType>
<iFlavor>5</iFlavor>
</Flavor>
</Flavors>
<ContactRands>
<ContactRand>
<ContactType>CONTACT_RELIGION_PRESSURE</ContactType>
<iContactRand>500</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_CIVIC_PRESSURE</ContactType>
<iContactRand>250</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_JOIN_WAR</ContactType>
<iContactRand>10</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_STOP_TRADING</ContactType>
<iContactRand>50</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_GIVE_HELP</ContactType>
<iContactRand>100</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_ASK_FOR_HELP</ContactType>
<iContactRand>100</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_DEMAND_TRIBUTE</ContactType>
<iContactRand>500</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_OPEN_BORDERS</ContactType>
<iContactRand>20</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_DEFENSIVE_PACT</ContactType>
<iContactRand>80</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_PERMANENT_ALLIANCE</ContactType>
<iContactRand>80</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_PEACE_TREATY</ContactType>
<iContactRand>20</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_TRADE_TECH</ContactType>
<iContactRand>5</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_TRADE_BONUS</ContactType>
<iContactRand>5</iContactRand>
</ContactRand>
<ContactRand>
<ContactType>CONTACT_TRADE_MAP</ContactType>
<iContactRand>20</iContactRand>
</ContactRand>
</ContactRands>
<ContactDelays>
<ContactDelay>
<ContactType>CONTACT_RELIGION_PRESSURE</ContactType>
<iContactDelay>50</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_CIVIC_PRESSURE</ContactType>
<iContactDelay>50</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_JOIN_WAR</ContactType>
<iContactDelay>20</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_STOP_TRADING</ContactType>
<iContactDelay>20</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_GIVE_HELP</ContactType>
<iContactDelay>50</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_ASK_FOR_HELP</ContactType>
<iContactDelay>50</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_DEMAND_TRIBUTE</ContactType>
<iContactDelay>50</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_OPEN_BORDERS</ContactType>
<iContactDelay>20</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_DEFENSIVE_PACT</ContactType>
<iContactDelay>20</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_PERMANENT_ALLIANCE</ContactType>
<iContactDelay>20</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_PEACE_TREATY</ContactType>
<iContactDelay>10</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_TRADE_TECH</ContactType>
<iContactDelay>30</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_TRADE_BONUS</ContactType>
<iContactDelay>20</iContactDelay>
</ContactDelay>
<ContactDelay>
<ContactType>CONTACT_TRADE_MAP</ContactType>
<iContactDelay>50</iContactDelay>
</ContactDelay>
</ContactDelays>
<MemoryDecays>
<MemoryDecay>
<MemoryType>MEMORY_GIVE_HELP</MemoryType>
<iMemoryRand>200</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_REFUSED_HELP</MemoryType>
<iMemoryRand>100</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_ACCEPT_DEMAND</MemoryType>
<iMemoryRand>50</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_REJECTED_DEMAND</MemoryType>
<iMemoryRand>150</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_ACCEPTED_RELIGION</MemoryType>
<iMemoryRand>100</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_DENIED_RELIGION</MemoryType>
<iMemoryRand>50</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_ACCEPTED_CIVIC</MemoryType>
<iMemoryRand>100</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_DENIED_CIVIC</MemoryType>
<iMemoryRand>50</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_ACCEPTED_JOIN_WAR</MemoryType>
<iMemoryRand>150</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_DENIED_JOIN_WAR</MemoryType>
<iMemoryRand>100</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_ACCEPTED_STOP_TRADING</MemoryType>
<iMemoryRand>100</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_DENIED_STOP_TRADING</MemoryType>
<iMemoryRand>50</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_STOPPED_TRADING_RECENT</MemoryType>
<iMemoryRand>30</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_MADE_DEMAND_RECENT</MemoryType>
<iMemoryRand>20</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_CANCELLED_OPEN_BORDERS</MemoryType>
<iMemoryRand>10</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_TRADED_TECH_TO_US</MemoryType>
<iMemoryRand>100</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_RECEIVED_TECH_FROM_ANY</MemoryType>
<iMemoryRand>20</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_VOTED_AGAINST_US</MemoryType>
<iMemoryRand>10</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_VOTED_FOR_US</MemoryType>
<iMemoryRand>10</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_EVENT_GOOD_TO_US</MemoryType>
<iMemoryRand>50</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_EVENT_BAD_TO_US</MemoryType>
<iMemoryRand>50</iMemoryRand>
</MemoryDecay>
</MemoryDecays>
<MemoryAttitudePercents>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DECLARED_WAR</MemoryType>
<iMemoryAttitudePercent>-300</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DECLARED_WAR_ON_FRIEND</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_HIRED_WAR_ALLY</MemoryType>
<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_NUKED_US</MemoryType>
<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_NUKED_FRIEND</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_RAZED_CITY</MemoryType>
<iMemoryAttitudePercent>-250</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_RAZED_HOLY_CITY</MemoryType>
<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_SPY_CAUGHT</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_GIVE_HELP</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_REFUSED_HELP</MemoryType>
<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_ACCEPT_DEMAND</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_REJECTED_DEMAND</MemoryType>
<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_ACCEPTED_RELIGION</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DENIED_RELIGION</MemoryType>
<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_ACCEPTED_CIVIC</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DENIED_CIVIC</MemoryType>
<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DENIED_JOIN_WAR</MemoryType>
<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_ACCEPTED_STOP_TRADING</MemoryType>
<iMemoryAttitudePercent>50</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DENIED_STOP_TRADING</MemoryType>
<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_STOPPED_TRADING</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_HIRED_TRADE_EMBARGO</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_MADE_DEMAND</MemoryType>
<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_TRADED_TECH_TO_US</MemoryType>
<iMemoryAttitudePercent>10</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_STOPPED_TRADING</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_HIRED_TRADE_EMBARGO</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_MADE_DEMAND</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_TRADED_TECH_TO_US</MemoryType>
<iMemoryAttitudePercent>5</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_VOTED_AGAINST_US</MemoryType>
<iMemoryAttitudePercent>-200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_VOTED_FOR_US</MemoryType>
<iMemoryAttitudePercent>200</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_EVENT_GOOD_TO_US</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_EVENT_BAD_TO_US</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_LIBERATED_CITIES</MemoryType>
<iMemoryAttitudePercent>150</iMemoryAttitudePercent>
</MemoryAttitudePercent>
</MemoryAttitudePercents>
<NoWarAttitudeProbs>
<NoWarAttitudeProb>
<AttitudeType>ATTITUDE_ANNOYED</AttitudeType>
<iNoWarProb>10</iNoWarProb>
</NoWarAttitudeProb>
<NoWarAttitudeProb>
<AttitudeType>ATTITUDE_CAUTIOUS</AttitudeType>
<iNoWarProb>50</iNoWarProb>
</NoWarAttitudeProb>
<NoWarAttitudeProb>
<AttitudeType>ATTITUDE_PLEASED</AttitudeType>
<iNoWarProb>90</iNoWarProb>
</NoWarAttitudeProb>
<NoWarAttitudeProb>
<AttitudeType>ATTITUDE_FRIENDLY</AttitudeType>
<iNoWarProb>100</iNoWarProb>
</NoWarAttitudeProb>
</NoWarAttitudeProbs>
<UnitAIWeightModifiers>
<UnitAIWeightModifier>
<UnitAIType>UNITAI_RESERVE</UnitAIType>
<iWeightModifier>100</iWeightModifier>
</UnitAIWeightModifier>
</UnitAIWeightModifiers>
<ImprovementWeightModifiers/>
<DiplomacyIntroMusicPeace>
<DiploMusicPeaceEra>
<EraType>ERA_ANCIENT</EraType>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_CLASSICAL</EraType>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_MEDIEVAL</EraType>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_RENAISSANCE</EraType>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_INDUSTRIAL</EraType>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_MODERN</EraType>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_FUTURE</EraType>
</DiploMusicPeaceEra>
</DiplomacyIntroMusicPeace>
<DiplomacyMusicPeace>
<DiploMusicPeaceEra>
<EraType>ERA_ANCIENT</EraType>
<DiploScriptId>AS2D_DIPLO_SEJONG_EARLY</DiploScriptId>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_CLASSICAL</EraType>
<DiploScriptId>AS2D_DIPLO_SEJONG_EARLY</DiploScriptId>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_MEDIEVAL</EraType>
<DiploScriptId>AS2D_DIPLO_SEJONG_MIDDLE</DiploScriptId>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_RENAISSANCE</EraType>
<DiploScriptId>AS2D_DIPLO_SEJONG_MIDDLE</DiploScriptId>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_INDUSTRIAL</EraType>
<DiploScriptId>AS2D_DIPLO_SEJONG_LATE</DiploScriptId>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_MODERN</EraType>
<DiploScriptId>AS2D_DIPLO_SEJONG_LATE</DiploScriptId>
</DiploMusicPeaceEra>
<DiploMusicPeaceEra>
<EraType>ERA_FUTURE</EraType>
<DiploScriptId>AS2D_DIPLO_SEJONG_LATE</DiploScriptId>
</DiploMusicPeaceEra>
</DiplomacyMusicPeace>
<DiplomacyIntroMusicWar>
<DiploMusicWarEra>
<EraType>ERA_ANCIENT</EraType>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_CLASSICAL</EraType>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_MEDIEVAL</EraType>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_RENAISSANCE</EraType>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_INDUSTRIAL</EraType>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_MODERN</EraType>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_FUTURE</EraType>
</DiploMusicWarEra>
</DiplomacyIntroMusicWar>
<DiplomacyMusicWar>
<DiploMusicWarEra>
<EraType>ERA_ANCIENT</EraType>
<DiploScriptId>AS2D_DIPLO_WARDRUMS_EARLY</DiploScriptId>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_CLASSICAL</EraType>
<DiploScriptId>AS2D_DIPLO_WARDRUMS_EARLY</DiploScriptId>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_MEDIEVAL</EraType>
<DiploScriptId>AS2D_DIPLO_WARDRUMS_MIDDLE</DiploScriptId>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_RENAISSANCE</EraType>
<DiploScriptId>AS2D_DIPLO_WARDRUMS_MIDDLE</DiploScriptId>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_INDUSTRIAL</EraType>
<DiploScriptId>AS2D_DIPLO_WARDRUMS_LATE</DiploScriptId>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_MODERN</EraType>
<DiploScriptId>AS2D_DIPLO_WARDRUMS_LATE</DiploScriptId>
</DiploMusicWarEra>
<DiploMusicWarEra>
<EraType>ERA_FUTURE</EraType>
<DiploScriptId>AS2D_DIPLO_WARDRUMS_LATE</DiploScriptId>
</DiploMusicWarEra>
</DiplomacyMusicWar>
</LeaderHeadInfo>
 
I don't think you actually have enabled Python exceptions.
 
Do you mean this?
Spoiler :
; Set to 1 for no python exception popups
HidePythonExceptions = 0

I already tried that and it only gives me weird error messages.
 
Yes, reading these error messages could reveal what's wrong :rolleyes:
 
Are you sarcastic?
The rolling eyes smiley suggest that you are.
The error messages that I see only contain unclear or unrelevant things.
The error that I see with "You have been defeated".
Spoiler :
attachment.php
.
The error messeges suggest suggest that the code to change Korea's leader to Sejong is incorrect.
 

Attachments

  • Civ4ScreenShot0570.JPG
    Civ4ScreenShot0570.JPG
    56.7 KB · Views: 690
Python Exception are explanatory and based on what you're altering on the code.

Maybe you did not modify CvAppInterface but something you're doing on the code is related to something there. Remember that programming is complex and everything is related~ ;)
 
But I think Leoreth said that I only need to edit the Const.py and the DynamicCivs.py.
Or do I need to edit other python files?
 
Back
Top Bottom