Sid Meier's Civilization V

Sid Meier's Civilization V

Covert Operations - Making Spies Great Again
S-Man  [developer] 13 Aug, 2018 @ 3:42am
Disabling Permanent War
If you're not happy with the mod adding Permanent War as a result of a cover op, you can disable this feature.


1. Open Windows Explorer (not Internet Explorer) - do this by pressing the WIN-E keyboard combination when you're in the Desktop.



2. Look for the 'LUA' folder under the mod's folder. It's usually some place like:

C:\Users\XXXX\Documents\My Games\Sid Meier's Civilization 5\MODS\Covert Operations - Making Spies Great Again (v 4)\LUA\CovertOperations

Where 'XXXX' is the account you installed the mod under.



3. Next, using Notepad (or any other text editor), open this file: 30_Process_International_Responses.lua



4. Using the search function (CTRL-F), look for this line (towards the bottom of the file):

pAttackingPlayerTeam:SetPermanentWarPeace(pRespondingPlayer:GetTeam(), true) -- Set war status to permanent



5. Add two dashes ("--") in front of the statement, so the line now looks like:

--pAttackingPlayerTeam:SetPermanentWarPeace(pRespondingPlayer:GetTeam(), true) -- Set war status to permanent

Note: this "comments" out the line, so the game will ignore it during play. You could also delete the entire line for the same effect.



6. Save the file, exit Notepad, then go back to Civ V and load the mod.



7. It's not easy to test this change, but if you commented/deleted the line, you should never encounter a permanent war again. At least from this mod, anyways....


Good luck!