Okay, so I attempted to add events of my own contrivance to the Grand Campaign mod but whenever I load the game it crashes. Here are the events just in case someone wants to investigate. (The FRA_defeat flag was added on to the end of the ahistorical Versailles Peace Event and it previously worked)
event = {
id = 8888889
random = no
country = FRA
style = 2
trigger = {
flag = FRA_defeat
}
date = { day = 1 month = january year = 1914 }
offset = 30
deathdate = { day = 1 month = january year = 1920 }
name = "Post-War Turmoil"
desc = "With our coffers depleted, our people starving, and our country enmeshed in utter ruin, it seems painfully evident to many that the losses incurred in the Great War can never be fully regained."
picture = "Riots"
action_a ={
ai_chance = 75
name = "We are the Third Republic, dammit, and will continue to be so!"
command = { type = setflag which = FRA_demstrug }
command = { type = dissent value = 10 }
}
action_b = {
ai_chance = 25
name = "Military administration is appropriate...at least for a little while."
command = { type = setflag which = FRA_junta }
command = { type = dissent value = 15 }
}
}
event = {
id = 8888890
random = no
country = FRA
style = 2
trigger = {
flag = FRA_demstrug
}
date = { day = 1 month = january year = 1914 }
offset = 30
deathdate = { day = 1 month = january year = 1920 }
name = "Preserving a Decaying Republic"
desc = "Riots are breaking out."
picture = "Riots"
action_a ={
ai_chance = 75
name = "The government collapses due to no confidence!"
command = { type = dissent value = 10 }
command = { type = event which = 88888891 }
}
action_b = {
ai_chance = 25
name = "A government of National Unity is formed!"
command = { type = dissent value = -5 }
}
}
event = {
id = 8888891
random = no
country = FRA
style = 2
date = { day = 1 month = january year = 1914 }
offset = 30
deathdate = { day = 1 month = january year = 1920 }
name = "Elections for Post-War France"
desc = "Shortly after the dissolution of the government, new elections were held in France for the first time since the outbreak of the Great War."
picture = "Riots"
action_a ={
ai_chance = 55
name = "Party of Order Coalition"
command = { type = dissent value = 10 }
command = { type = setflag which = FRA_order }
command = { type = headofstate = 5304 }
command = { type = headofgovernment which = 5285 }
command = { type = armamentminister which = 5317 }
command = { type = ministerofsecurity which = 55703 }
command = { type = ministerofintelligence which = 55693 }
command = { type = chiefofair which = 5227 }
command = { type = foreignminister which = 5275 }
command = { type = domestic which = democratic value = 4 }
command = { type = domestic which = political_left value = -3 }
}
action_b = {
ai_chance = 30
name = "Communard Bloc"
command = { type = dissent value = 15 }
command = { type = setflag which = FRA_Commune }
command = { type = headofstate = 5303 } #Louis Frossard
command = { type = headofgovernment which = 5290 } #Marcel Cachin
command = { type = armamentminister which = 5324 } #Marcel Cachin
command = { type = ministerofsecurity which = 5335 } #Alfred Rosmer
command = { type = ministerofintelligence which = 5354 } #Charles Joseph Dupont
command = { type = chiefofstaff which = 5251 } #Maurice Sarrail
command = { type = foreignminister which = 5265 } #Jean Cruppi
command = { type = domestic which = democratic value = 4 }
command = { type = domestic which = political_left value = 6 }
}
action_c = {
ai_chance = 15
name = "Radical-SFIO Coalition"
command = { type = dissent value = 20 }
command = { type = setflag which = FRA_Rasoc }
command = { type = headofstate = 5302 } #Jules Pams
command = { type = headofgovernment which = 5287 } #Georges Clemenceau
command = { type = armamentminister which = 5319 } #Charles Dumont
command = { type = ministerofsecurity which = 5336 } #Aristice Briand
command = { type = ministerofintelligence which = 5354 } #Charles Joseph Dupont
command = { type = chiefofstaff which = 5250 }
command = { type = chiefofarmy which = 5234 }
command = { type = chiefofnavy which = 5242 }
command = { type = chiefofair which = 5227 }
command = { type = foreignminister which = 5275 }
command = { type = domestic which = democratic value = 7 }
command = { type = domestic which = political_left value = 5 }
}
}
event = {
id = 8888892
random = no
country = FRA
style = 2
trigger = {
flag = FRA_order
}
date = { day = 1 month = january year = 1914 }
offset = 30
deathdate = { day = 1 month = january year = 1920 }
name = "The Authoritarian Republic"
desc = "Hoping to avert the ascension of radical leftists to political power, conservative parties formed a coalition with almost all major parties situated on the Right."
picture = "Riots"
action_a ={
ai_chance = 80
name = "Press freedom must be curtailed to preserve the state!"
command = { type = dissent value = 15 }
}
action_b = {
ai_chance = 20
name = "If we are to remain a republic, censorship must be avoided at all costs!"
command = { type = dissent value = -5 }
}
}
event = {
id = 8888889
random = no
country = FRA
style = 2
trigger = {
flag = FRA_defeat
}
date = { day = 1 month = january year = 1914 }
offset = 30
deathdate = { day = 1 month = january year = 1920 }
name = "Post-War Turmoil"
desc = "With our coffers depleted, our people starving, and our country enmeshed in utter ruin, it seems painfully evident to many that the losses incurred in the Great War can never be fully regained."
picture = "Riots"
action_a ={
ai_chance = 75
name = "We are the Third Republic, dammit, and will continue to be so!"
command = { type = setflag which = FRA_demstrug }
command = { type = dissent value = 10 }
}
action_b = {
ai_chance = 25
name = "Military administration is appropriate...at least for a little while."
command = { type = setflag which = FRA_junta }
command = { type = dissent value = 15 }
}
}
event = {
id = 8888890
random = no
country = FRA
style = 2
trigger = {
flag = FRA_demstrug
}
date = { day = 1 month = january year = 1914 }
offset = 30
deathdate = { day = 1 month = january year = 1920 }
name = "Preserving a Decaying Republic"
desc = "Riots are breaking out."
picture = "Riots"
action_a ={
ai_chance = 75
name = "The government collapses due to no confidence!"
command = { type = dissent value = 10 }
command = { type = event which = 88888891 }
}
action_b = {
ai_chance = 25
name = "A government of National Unity is formed!"
command = { type = dissent value = -5 }
}
}
event = {
id = 8888891
random = no
country = FRA
style = 2
date = { day = 1 month = january year = 1914 }
offset = 30
deathdate = { day = 1 month = january year = 1920 }
name = "Elections for Post-War France"
desc = "Shortly after the dissolution of the government, new elections were held in France for the first time since the outbreak of the Great War."
picture = "Riots"
action_a ={
ai_chance = 55
name = "Party of Order Coalition"
command = { type = dissent value = 10 }
command = { type = setflag which = FRA_order }
command = { type = headofstate = 5304 }
command = { type = headofgovernment which = 5285 }
command = { type = armamentminister which = 5317 }
command = { type = ministerofsecurity which = 55703 }
command = { type = ministerofintelligence which = 55693 }
command = { type = chiefofair which = 5227 }
command = { type = foreignminister which = 5275 }
command = { type = domestic which = democratic value = 4 }
command = { type = domestic which = political_left value = -3 }
}
action_b = {
ai_chance = 30
name = "Communard Bloc"
command = { type = dissent value = 15 }
command = { type = setflag which = FRA_Commune }
command = { type = headofstate = 5303 } #Louis Frossard
command = { type = headofgovernment which = 5290 } #Marcel Cachin
command = { type = armamentminister which = 5324 } #Marcel Cachin
command = { type = ministerofsecurity which = 5335 } #Alfred Rosmer
command = { type = ministerofintelligence which = 5354 } #Charles Joseph Dupont
command = { type = chiefofstaff which = 5251 } #Maurice Sarrail
command = { type = foreignminister which = 5265 } #Jean Cruppi
command = { type = domestic which = democratic value = 4 }
command = { type = domestic which = political_left value = 6 }
}
action_c = {
ai_chance = 15
name = "Radical-SFIO Coalition"
command = { type = dissent value = 20 }
command = { type = setflag which = FRA_Rasoc }
command = { type = headofstate = 5302 } #Jules Pams
command = { type = headofgovernment which = 5287 } #Georges Clemenceau
command = { type = armamentminister which = 5319 } #Charles Dumont
command = { type = ministerofsecurity which = 5336 } #Aristice Briand
command = { type = ministerofintelligence which = 5354 } #Charles Joseph Dupont
command = { type = chiefofstaff which = 5250 }
command = { type = chiefofarmy which = 5234 }
command = { type = chiefofnavy which = 5242 }
command = { type = chiefofair which = 5227 }
command = { type = foreignminister which = 5275 }
command = { type = domestic which = democratic value = 7 }
command = { type = domestic which = political_left value = 5 }
}
}
event = {
id = 8888892
random = no
country = FRA
style = 2
trigger = {
flag = FRA_order
}
date = { day = 1 month = january year = 1914 }
offset = 30
deathdate = { day = 1 month = january year = 1920 }
name = "The Authoritarian Republic"
desc = "Hoping to avert the ascension of radical leftists to political power, conservative parties formed a coalition with almost all major parties situated on the Right."
picture = "Riots"
action_a ={
ai_chance = 80
name = "Press freedom must be curtailed to preserve the state!"
command = { type = dissent value = 15 }
}
action_b = {
ai_chance = 20
name = "If we are to remain a republic, censorship must be avoided at all costs!"
command = { type = dissent value = -5 }
}
}