• 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.

Carbon

The Tiger
66 Badges
Apr 7, 2007
1.060
16
  • Hearts of Iron IV: Colonel
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Victoria 3 Sign Up
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis IV
  • Hearts of Iron II: Armageddon
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
I added some events to help spark a great war in one of my scenarios:

# 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?
 

Andrelvis

The Last Ghibelline
76 Badges
Apr 30, 2006
5.598
9.962
  • 500k Club
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Europa Universalis III Complete
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Crusader Kings III
  • Europa Universalis III Complete
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
You can't give the events those ids, as they are used by inventions.
 

Carbon

The Tiger
66 Badges
Apr 7, 2007
1.060
16
  • Hearts of Iron IV: Colonel
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Victoria 3 Sign Up
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis IV
  • Hearts of Iron II: Armageddon
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
You can't give the events those ids, as they are used by inventions.

I changed all the IDs into millions (event_2 became event_2000000) but it still gives same errors.