Turning off Scripted Events In Saved Game?

DEathgod65

Chieftain
Joined
Jul 26, 2013
Messages
71
Location
Singapore
Is there a way to turn off scripted events in a saved game? I'm in turn 52 playing as U.K. in the 1939 Europe Map where Paris has finally fallen, but then the Fall of France bugs occurs.

I don't really feel like restarting 50 turns just to get back to that point so can I edit the save to turn off scripted events? And on a sidenote, Operation Weserübung worked perfectly fine when the AI used it, hope to see more Operations in future updates :D And also, what other scripted events are there besides the Fall of France?
 
go in ..\Documents\My Games\Sid Meier's Civilization 5\MODS\R.E.D. WWII Edition (v 37)\Lua

open RedDefinesGlobal.lua with any text editor (I'm using Notepad++)

find the line
Code:
USE_CUSTOM_OPTION =		true	-- use the option value selected in setup screen, set to false to debug and force use of global/scenario files defines

and change it to
Code:
USE_CUSTOM_OPTION =		false	-- use the option value selected in setup screen, set to false to debug and force use of global/scenario files defines

then open RedDefinesRules.lua

find the line
Code:
ALLOW_SCRIPTED_EVENTS	= true -- allow scripted events like "Fall of France", "Fall of Poland", etc...

and change it to
Code:
ALLOW_SCRIPTED_EVENTS	= false -- allow scripted events like "Fall of France", "Fall of Poland", etc...

load your game... If the event is still called, search for ALLOW_SCRIPTED_EVENTS in the scenario define file, in the scenario subfolder (like DefinesEuro1940.lua) and set it to false there too.


The other scripted events are for Denmark, Poland, and French Colonies when they are liberated. I still need to code one for the occupation of the French South Zone after the liberation of any North-African colony.
 
Back
Top Bottom