Elhoim
Iron Tower Studio Dev
Warlords Diplomacy Revamped - v1.0 - Input Needed!
With the introduction of Vassal States in the Warlords expansion, the diplomacy in the game became unbalanced. The main problem came with wars between civs with vassals. If you have one vassal, and he is attacked by a civ with 2 or 3 vassals, you declare war on all of them. That is -3 with each of those civs, and -1 with every civ that is pleased with them. So you get lots of negative and PERMANENT modifiers when the one who initialized the war was the other civ. The "You attacked out friend!" modifier with neutral civs can stack up to -10 or more, making diplomacy completly obsolete. The way the war declaration works its IMHO, broken. If they attack your vassal, they are attacking you. So they should declare war on your vassal and on you. But I cannot fix that.
So what I did was to increase the "You attacked out friend!" threshold to Friendly, so they should get angry when you attack their real friends (FRIENDLY=FRIEND), not when you attack their +1 pleased "friends". With this the main problem of the Warlords vassal diplomacy is practically resolved. This is done by a SDK modification made on my request by Gunner.
I also made all permanent modifiers temporary. Many of them will last a long time, but there is always the chance that they dissapear. I still don´t know what the exact value of this length means, but I will try to discover it. This was done by modifying the CIV4LeaderHeadInfos.xml file.
NOTE: These 2 files (the SDK and the XML) can be used separated. You can use one or the other, or both.
Here is Alexander´s Memory decay. The other leaders are very similar to this one.
And here is Alex´s Attitude modifier. Note that they are multiplied by 100, so a -300 is a -3 ingame. I lowered some of these also.
Installation instructions: Just put in your customassets folder in My Documents\My Games\Warlords\ and extract.
Please give me feedback and suggestions so I can achieve a better balance. Thanks!
Well, without further delay, here is the mod: http://forums.civfanatics.com/downloads.php?do=file&id=2439
With the introduction of Vassal States in the Warlords expansion, the diplomacy in the game became unbalanced. The main problem came with wars between civs with vassals. If you have one vassal, and he is attacked by a civ with 2 or 3 vassals, you declare war on all of them. That is -3 with each of those civs, and -1 with every civ that is pleased with them. So you get lots of negative and PERMANENT modifiers when the one who initialized the war was the other civ. The "You attacked out friend!" modifier with neutral civs can stack up to -10 or more, making diplomacy completly obsolete. The way the war declaration works its IMHO, broken. If they attack your vassal, they are attacking you. So they should declare war on your vassal and on you. But I cannot fix that.
So what I did was to increase the "You attacked out friend!" threshold to Friendly, so they should get angry when you attack their real friends (FRIENDLY=FRIEND), not when you attack their +1 pleased "friends". With this the main problem of the Warlords vassal diplomacy is practically resolved. This is done by a SDK modification made on my request by Gunner.
I also made all permanent modifiers temporary. Many of them will last a long time, but there is always the chance that they dissapear. I still don´t know what the exact value of this length means, but I will try to discover it. This was done by modifying the CIV4LeaderHeadInfos.xml file.
NOTE: These 2 files (the SDK and the XML) can be used separated. You can use one or the other, or both.
Here is Alexander´s Memory decay. The other leaders are very similar to this one.
Spoiler :
<MemoryDecay>
<MemoryType>MEMORY_DECLARED_WAR</MemoryType>
<iMemoryRand>200</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_DECLARED_WAR_ON_FRIEND</MemoryType>
<iMemoryRand>150</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_HIRED_WAR_ALLY</MemoryType>
<iMemoryRand>150</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_NUKED_US</MemoryType>
<iMemoryRand>100</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_NUKED_FRIEND</MemoryType>
<iMemoryRand>50</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_RAZED_CITY</MemoryType>
<iMemoryRand>150</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_RAZED_HOLY_CITY</MemoryType>
<iMemoryRand>200</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_SPY_CAUGHT</MemoryType>
<iMemoryRand>50</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_STOPPED_TRADING</MemoryType>
<iMemoryRand>150</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_HIRED_TRADE_EMBARGO</MemoryType>
<iMemoryRand>150</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_MADE_DEMAND</MemoryType>
<iMemoryRand>100</iMemoryRand>
</MemoryDecay>
<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>
<MemoryType>MEMORY_DECLARED_WAR</MemoryType>
<iMemoryRand>200</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_DECLARED_WAR_ON_FRIEND</MemoryType>
<iMemoryRand>150</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_HIRED_WAR_ALLY</MemoryType>
<iMemoryRand>150</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_NUKED_US</MemoryType>
<iMemoryRand>100</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_NUKED_FRIEND</MemoryType>
<iMemoryRand>50</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_RAZED_CITY</MemoryType>
<iMemoryRand>150</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_RAZED_HOLY_CITY</MemoryType>
<iMemoryRand>200</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_SPY_CAUGHT</MemoryType>
<iMemoryRand>50</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_STOPPED_TRADING</MemoryType>
<iMemoryRand>150</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_HIRED_TRADE_EMBARGO</MemoryType>
<iMemoryRand>150</iMemoryRand>
</MemoryDecay>
<MemoryDecay>
<MemoryType>MEMORY_MADE_DEMAND</MemoryType>
<iMemoryRand>100</iMemoryRand>
</MemoryDecay>
<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>
And here is Alex´s Attitude modifier. Note that they are multiplied by 100, so a -300 is a -3 ingame. I lowered some of these also.
Spoiler :
<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>-100</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>-200</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>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_ACCEPT_DEMAND</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_REJECTED_DEMAND</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_ACCEPTED_RELIGION</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DENIED_RELIGION</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_ACCEPTED_CIVIC</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DENIED_CIVIC</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DENIED_JOIN_WAR</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_ACCEPTED_STOP_TRADING</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DENIED_STOP_TRADING</MemoryType>
<iMemoryAttitudePercent>-100</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>10</iMemoryAttitudePercent>
</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>-100</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>-200</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>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_ACCEPT_DEMAND</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_REJECTED_DEMAND</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_ACCEPTED_RELIGION</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DENIED_RELIGION</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_ACCEPTED_CIVIC</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DENIED_CIVIC</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DENIED_JOIN_WAR</MemoryType>
<iMemoryAttitudePercent>-100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_ACCEPTED_STOP_TRADING</MemoryType>
<iMemoryAttitudePercent>100</iMemoryAttitudePercent>
</MemoryAttitudePercent>
<MemoryAttitudePercent>
<MemoryType>MEMORY_DENIED_STOP_TRADING</MemoryType>
<iMemoryAttitudePercent>-100</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>10</iMemoryAttitudePercent>
</MemoryAttitudePercent>
Installation instructions: Just put in your customassets folder in My Documents\My Games\Warlords\ and extract.
Please give me feedback and suggestions so I can achieve a better balance. Thanks!
Well, without further delay, here is the mod: http://forums.civfanatics.com/downloads.php?do=file&id=2439