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

smily132

Second Lieutenant
64 Badges
May 21, 2008
177
2
  • Hearts of Iron II: Armageddon
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: El Dorado
  • 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: Dharma
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Victoria 2
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis 4: Emperor
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Surviving Mars: Digital Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Victoria 2: Heart of Darkness
  • Surviving Mars: First Colony Edition
  • Imperator: Rome
  • Crusader Kings II: Holy Fury
  • Battle for Bosporus
  • Prison Architect
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV
  • Crusader Kings III
  • Hearts of Iron IV: La Resistance
  • For The Glory
  • Europa Universalis III Complete
  • Surviving Mars: First Colony Edition
  • Europa Universalis III Complete
  • Hearts of Iron IV: Expansion Pass
  • Supreme Ruler 2020
  • Victoria 2: A House Divided
  • 500k Club
  • Darkest Hour
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
I have just started trying to make a mod and i'm making a simple civil war event for greece that looks like below. I will edit stuff like names and descriptions later but for now I just wanted to get the basics down. I edited the spanish civil war event (as you probably can clearly see). For some reason the event won't go off though and I need your help.

Thanks in advance



#########################################################################
# Spanish Civil War - Follow up event - Ceding oversea provinces to SPA
#########################################################################
event = {
id = 11000
random = no
country = GRE


name = "EVT_11000_NAME"
desc = "EVT_11000_DESC"
style = 0
picture = "SCW"

action_a = {
name = "OK" # En la Defensa de la Democracia!
command = { type = secedeprovince which = U11 value = 535 }
command = { type = secedeprovince which = U11 value = 411 }
command = { type = secedeprovince which = U11 value = 412 }
}
}
 
Last edited:

smily132

Second Lieutenant
64 Badges
May 21, 2008
177
2
  • Hearts of Iron II: Armageddon
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: El Dorado
  • 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: Dharma
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Victoria 2
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis 4: Emperor
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Surviving Mars: Digital Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Victoria 2: Heart of Darkness
  • Surviving Mars: First Colony Edition
  • Imperator: Rome
  • Crusader Kings II: Holy Fury
  • Battle for Bosporus
  • Prison Architect
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV
  • Crusader Kings III
  • Hearts of Iron IV: La Resistance
  • For The Glory
  • Europa Universalis III Complete
  • Surviving Mars: First Colony Edition
  • Europa Universalis III Complete
  • Hearts of Iron IV: Expansion Pass
  • Supreme Ruler 2020
  • Victoria 2: A House Divided
  • 500k Club
  • Darkest Hour
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
Oh i see *looks into spanish civil war events*

#########################################################################
# Spanish Civil War
#########################################################################
event = {
id = 11001
random = no
country = GRE

trigger = {
NOT = {
exists = U11
}
atwar = no
OR = {
government = communist
government = democratic
}
}

name = "EVT_3100_NAME"
desc = "EVT_3100_DESC"
style = 0
picture = "SCW"

date = { day = 17 month = january year = 1936 }

action_a = {
name = "OK" # En la Defensa de la Democracia!
command = { type = set_domestic which = democratic value = 7 }
command = { type = set_domestic which = political_left value = 6 }
command = { type = civil_war which = U11}

command = { type = trigger which = 11000}
}
}



#########################################################################
# Spanish Civil War - Fascist Nation
#########################################################################
event = {
id = 11002
random = no
country = U11

trigger = {
event = 11001
event = 11000
}

name = "EVT_11002_NAME"
desc = "EVT_11002_DESC"
style = 0
picture = "SPA_fascist"

date = { day = 18 month = january year = 1936 }
# date = { day = 11 month = january year = 1936 }
# offset = 3
# deathdate = { day = 30 month = december year = 1947 }

action_a = {
name = "OK" # Anarchism and Communism must fall!

command = { type = set_domestic which = democratic value = 2 }
command = { type = set_domestic which = political_left value = 3 }


command = { type = supplies value = 5000 }
command = { type = oilpool value = 25000 }
command = { type = metalpool value = 25000 }
command = { type = energypool value = 50000 }
command = { type = rarematerialspool value = 25000 }
command = { type = manpowerpool value = 500 }
}
}


I'll get back to you and see if this works


Edit: Still no luck
 

Filou

Sacré
16 Badges
Oct 1, 2002
5.695
85
  • Hearts of Iron II: Armageddon
  • Europa Universalis III Complete
  • Divine Wind
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • 500k Club
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Hearts of Iron IV Sign-up
Did you create the U11 country?
The civil was command only works if there is a potential revolter inside the territory, so you need to add U11 to the revolt.txt file with provinces covering all or most of Greece.

So start off by modding U11 to have it's minimum list be provinces 535, 411 and 412 in the revolt.txt file. That way when your civil war event 11001 fires U11 will have those 3 provinces, plus it might get some extra ones.
This also makes your event 11000 obsolete.
 

smily132

Second Lieutenant
64 Badges
May 21, 2008
177
2
  • Hearts of Iron II: Armageddon
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron III
  • Europa Universalis: Rome
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: El Dorado
  • 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: Dharma
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Victoria 2
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis 4: Emperor
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Surviving Mars: Digital Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Victoria 2: Heart of Darkness
  • Surviving Mars: First Colony Edition
  • Imperator: Rome
  • Crusader Kings II: Holy Fury
  • Battle for Bosporus
  • Prison Architect
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV
  • Crusader Kings III
  • Hearts of Iron IV: La Resistance
  • For The Glory
  • Europa Universalis III Complete
  • Surviving Mars: First Colony Edition
  • Europa Universalis III Complete
  • Hearts of Iron IV: Expansion Pass
  • Supreme Ruler 2020
  • Victoria 2: A House Divided
  • 500k Club
  • Darkest Hour
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
@ Great Duck: C:\Program Files\Paradox Interactive\Copy of armageddon\db\events

@ Filou: I already had this in Revolt.txt

U11 = { # communist greece
date = { day = 1 month = january year = 1936 }
expirydate = { day = 30 month = december year = 1954 }
minimum = { 392 412 411 }
extra = { 393 402 403 405 400 398 395 394 396 }
capital = 411
}
 

Hannibal Barca2

General
89 Badges
Sep 27, 2006
2.385
0
  • Crusader Kings II: Conclave
  • War of the Vikings
  • 500k Club
  • Cities: Skylines
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Rome: Vae Victis
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Necroids
  • Europa Universalis IV
  • 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
  • Diplomacy
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Crusader Kings II
  • 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
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Victoria 2
  • Victoria 2: A House Divided
I think you will need to edit inc copy of Arma/scenarios/1936/greece.inc file as well for Civil War command to function:

Code:
#####################
# Country main data #
#####################

country =
{ tag                    = GRE
  regular_id             = U11