• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Limith

Modding for Myself
18 Badges
Apr 7, 2010
3.742
369
  • Darkest Hour
  • Deus Vult
  • East India Company
  • Europa Universalis III Complete
  • Divine Wind
  • Crusader Kings II
  • Heir to the Throne
  • Rome: Vae Victis
  • Rome Gold
  • Sword of the Stars
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Stellaris Sign-up
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
Does anyone know the equivalent of flags = { flagname = 0/1 } under globaldata for country specific local flags? Also, would there be a way to specify in a scenario that an event already occurred for a specific country at start (and have the results of the event actually be in effect) or would I need to write a startup event that triggers the past events?
 
Local flags are defined in each country's starting AI file like this:

# German 1936 AI File

switch = no # [yes/no]
flags = { GERBuildStandard = yes MOB1 = yes MOB2 = yes MOB3 = yes MOB4 = yes }
max_front_ratio = 1.2
....

Events that you don't want to fire in your scenario should be put in history = { } section in your scenario file like this:

history = {
1 # The 2-26 Incident
2 # Spanish General Election
20 # Marco Polo Bridge incident
21 # Marco Polo Bridge incident
24 # Changfukeng Lake Incident (April-Aug 38)
25 # Chasan Lake Incident (April-Aug 38)
71 # Anti-Comintern Pact
72 # Anti-Comintern Pact
73 # Anti-Comintern Pact
80 # Panay Incident
81 # Panay Incident
...
}

Of course you have to apply all slept events' effects to your scenario/ai files too.
 
Local flags are defined in each country's starting AI file like this:



Events that you don't want to fire in your scenario should be put in history = { } section in your scenario file like this:



Of course you have to apply all slept events' effects to your scenario/ai files too.

Thank you very much Martin. Guess I'll put ai files on the list of things to do, I've only been using .incs so far.