I added some events to help spark a great war in one of my scenarios:
But unfortunatly it gives errors everytime I launch the save game which prevents the events from firing:
"Unrecognized which or value event = 3, line = 18 file = db\events\great war.txt."
A few of these types of errors pop up, what can I do to play my events?
# Great War
#############################################################
# The Great War Begins
#############################################################
event = {
id = 2
random = no
country = SER
name = "July Ultimatum"
desc = "Austria-Hungary demanded that the Serbian Government accept the following terms in 48 hours: 1) condemned and admitted the existence of anti-Austro-Hungarian propaganda. 2) expressed regrets for and admitted that Serbian officers and functionaries participated in the propaganda. 3) warned that the Serbian Government will crack down against such activities."
picture = aushun
offset = 30
action_a = {
Name = "Refuse! We will never accept these outragous terms!"
ai_chance = 99
command = { type = prestige value = 40 }
command = { type = event_chance which = event_3 value = 100 }
command = { type = event_chance which = event_4 value = 100 }
}
action_b = {
Name = "Accept all their demands."
command = { type = prestige value = -100 }
command = { type = pop_militancy which = Serb value = 10 where = }
}
}
#########################################################################
# Assassination of Archduke Franz Ferdinand
#########################################################################
event = {
id = 1
random = no
country = AUS
trigger = {
year = 1914
alliance = { country = GER }
}
name = "Archduke Franz von Ferdinand Assassinated!"
desc = "Franz Ferdinand, heir to the Austro-Hungarian throne, was traveling with his wife Sophie, Duchess of Hohenberg in an open-topped car when both were shot dead by Gavrilo Princip, one of a group of six assassins coordinated by Danilo Ilic. The political objective of the assassination was to break Austria-Hungary's south-Slav provinces off so they could be combined into a Greater Serbia or a Yugoslavia. Austria-Hungary later decided to investigate the matter by forcing agents to enter Serbia.'"
picture = aushun
date = { day = 27 month = june year = 1914 }
offset = 30
deathdate = { day = 30 month = june year = 1914 }
action_a = {
Name = "Send Serbia an ultimatum demanding agents to investigate in their borders."
ai_chance = 99
command = { type = event_chance which = event_2 value = 100 }
}
action_b = {
Name = "Leave things be."
command = { type = prestige value = -200 }
command = { type = pop_militancy which = South German value = 5 where = }
}
}
#########################################################################
# Russia's Response
#########################################################################
event = {
id = 3
random = no
country = RUS
name = "Serbia needs mother Russia!"
desc = "The Austrians are forcing outlandish demands on Serbia, and it is Russia's duty to protect this important orthodox nation in this important region in Europe."
picture = aushun
offset = 30
action_a = {
Name = "Serbia has Russia's full support!"
command = { type = prestige value = 50 }
ai_chance = 99
command = { type = alliance which = SER value = 1 }
command = { type = relation which = AUS value = -200 }
command = { type = relation which = GER value = -200 }
command = { type = relation which = SER value = 200 }
}
action_b = {
Name = "Leave things be."
command = { type = prestige value = -200 }
}
}
#########################################################################
# Serbian Response to the July Ultimatum
#########################################################################
event = {
id = 4
random = no
country = AUS
name = "Serbian Response to July Ultimatum"
desc = "The Serbian government has refused to allow our agents to investigate our tragic loss. This has lead to the withdrawal of our ambassador from their capital Belgerade."
picture = aushun
offset = 30
action_a = {
Name = "This means WAR!!!"
ai_chance = 99
command = { type = war which = SER }
}
action_b = {
Name = "Leave things be."
command = { type = prestige value = -200 }
}
}
#########################################################################
# The Schlieffen Plan
#########################################################################
event = {
id = 5
random = no
country = GER
trigger = {
atwar = RUS
atwar = FRA
event = event4
}
name = "The Schlieffen Plan"
desc = "The Schlieffen Plan was the German General Staff's overall strategic plan for victory in a possible future war where it might find itself fighting on two fronts: France to the west and Russia to the east. The First World War later became such a war with both a Western Front and an Eastern Front. The plan took advantage of expected differences in the three countries' speed in preparing for war. In short, it was the German plan to avoid a two-front war by concentrating their troops in the west, quickly defeating the French and then, if necessary, rushing those troops by rail to the east to face the Russians before they had time to mobilize fully. The Schlieffen Plan was created by Count Alfred von Schlieffen and modified by Helmuth von Moltke the Younger after Schlieffen's retirement. It was Moltke who actually put the plan into action, despite initial reservations about it. By first crossing through Belgium to avoid the risky attack from Alsace-Lorraine, a envoy is sent to notify Belgium of German interest."
picture = crimean_wars
offset = 30
action_a = {
Name = "Demand Military Acsess to Belgium"
command = { type = event_chance which = event_10004 value = 100 }
}
action_b = {
Name = "We don't need any warplans!"
command = { }
}
}
#########################################################################
# The Schlieffen Plan (Belgian Response)
#########################################################################
event = {
id = 6
random = no
country = BEL
name = "The Schlieffen Plan"
desc = "The Germany Army requests military acsess through Belgian territory to defeat France in a quick war."
picture = crimean_wars
offset = 30
action_a = {
Name = "Accept"
ai_chance = 10
command = { type = access which = GER }
command = { type = relation which = GER value = 100 }
command = { type = relation which = FRA value = -100 }
command = { type = prestige value = -80 }
}
action_b = {
Name = "Refuse"
ai_chance = 90
command = { type = prestige value = 25 }
command = { type = relation which = GER value = -200 }
command = { type = event_chance which = event_7 value = 100 }
}
}
#########################################################################
# The Schlieffen Plan (Final Verdict)
#########################################################################
event = {
id = 7
random = no
country = GER
name = "The Schlieffen Plan"
desc = "With Belgium refusing to give our great nation acsess, we are left with one final decision to make."
picture = crimean_wars
offset = 30
action_a = {
Name = "Invade Belgium"
ai_chance = 90
command = { type = war which = BEL }
command = { type = war which = ENG }
command = { type = relation which = ENG value = -200 }
command = { type = relation which = BEL value = -200 }
}
action_b = {
Name = "Respect Belgium's choice."
ai_chance = 10
command = { type = relation which = ENG value = 50 }
command = { type = relation which = BEL value = 20 }
command = { type = prestige value = -100 }
}
}
But unfortunatly it gives errors everytime I launch the save game which prevents the events from firing:
"Unrecognized which or value event = 3, line = 18 file = db\events\great war.txt."
A few of these types of errors pop up, what can I do to play my events?