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

Patriotes1837

Colonel
5 Badges
Aug 12, 2003
949
0
  • Europa Universalis III Complete
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
O.K. So these are my first events: :eek:o

#########################################################################
# Quebec liberation
#########################################################################
event = {
id = 9990
random = no
country = FRA

trigger = {
control = { province = 19 data = -1 } # London
control = { province = 586 data = -1 } # Quebec City
}

name = "EVT_9990_NAME"
desc = "EVT_9990_DESC"
style = 0
picture = "outlaw_communist_party"

date = { day = 1 month = january year = 1936 }
offset = 3 # Check for trigger conditions every three days
deathdate = { day = 30 month = december year = 1947 }

action_a = {
name = "Liberation of our Quebec communist brothers!"
command = { type = trigger which = 9991 }
}
}


This one seems to work fine when I trigger it through the F12 window.



#########################################################################
# Quebec liberation
#########################################################################
event = {
id = 9991
random = no
country = CAN

name = "EVT_9991_NAME"
desc = "EVT_9991_DESC"
style = 0
picture = "outlaw_communist_party"

action_a = {
name = "Damn ungreatful pea soup eating bastards!"
command = { type = trigger which = 9992 }
command = { type = independence which = QUE value = 0 }
command = { type = end_mastery which = QUE }
command = { type = secedeprovince which = QUE value = 564 }
command = { type = secedeprovince which = QUE value = 574 }
command = { type = secedeprovince which = QUE value = 573 }
command = { type = secedeprovince which = QUE value = 587 }
command = { type = secedeprovince which = QUE value = 586 }
command = { type = secedeprovince which = QUE value = 585 }
command = { type = secedeprovince which = QUE value = 584 }
command = { type = secedeprovince which = QUE value = 1909 }

}
}

I dont know what is wrong with this one. Quebec does indeed get independent but it doesnt get the two provinces I have highlighted. I seem to remeber reading on the HoI 2 Wiki that a released Quebec happened to lack these two provinces (Canada kept them). Now where do I change that in the files? And isnt it a sign that my event doesnt work properly also?

#########################################################################
# Quebec liberation
#########################################################################
event = {
id = 9992
random = no
country = QUE

name = "EVT_9992_NAME"
desc = "EVT_9992_DESC"
style = 0
picture = "outlaw_communist_party"

action_a = {
name = "Enough of Anglo capitalist oppression!"
command = { type = headofstate which = 582001 }
command = { type = headofgovernment which = 582002 }
command = { type = foreignminister which = 582003 }
command = { type = armamentminister which = 582004 }
command = { type = ministerofsecurity which = 582005 }
command = { type = ministerofintelligence which = 582006 }
command = { type = chiefofstaff which = 582007 }
command = { type = chiefofarmy which = 582008 }
command = { type = chiefofnavy which = 582009 }
command = { type = chiefofair which = 582010 }
command = { type = add_corps which = "Corps du Québec" value = land where = 586 }
command = { type = add_division which = "1ere Division" value = infantry when = 1 where = artillery }
command = { type = add_division which = "2e Division" value = infantry when = 1 where = artillery }
command = { type = manpowerpool value = 30 } # manpower
command = { type = set_relation which = FRA value = 200 }
command = { type = set_relation which = SOV value = 200 }
command = { type = alliance which = FRA }
command = { type = alliance which = SOV }
}
}

This third one doesnt seem to fire at all, indicating that the second might not work properly. The ministers are OK (could simply be the fact that Quebec is liberated automatically) but the divisions are nowhere to be seen, and the relations and alliance also are not working. I tried firing the event through F12 as France and only the divisions appeared (not the diplomacy) and the divisions were French, not Quebec! :( By the way, if I want this newly Quebec to join the commintern alliance, what should I do? I put alliance with commie France and Soviets because I didnt know any better.


Any help would be appreciated. hope it's clear enough.
 

Patriotes1837

Colonel
5 Badges
Aug 12, 2003
949
0
  • Europa Universalis III Complete
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
Another question, do I have to put the events in the separate event files? I put them all in the French event file. Should I put the first event in the French file, the second in the Canadian event file and the third in a created Quebec event file?

Thanks.
 

Ayeshteni

Jehanne's Slave
111 Badges
Jul 31, 2002
6.280
108
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • Heir to the Throne
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • 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
  • A Game of Dwarves
  • 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
Patriotes1837 said:
Another question, do I have to put the events in the separate event files? I put them all in the French event file. Should I put the first event in the French file, the second in the Canadian event file and the third in a created Quebec event file?

Thanks.

they can be in a seperate file so long as you include the file entry in the events.txt file.

To include those two provinces for Quebec in the first event - put them in the revolt.txt file for Quebec.

sometimes events dont work properly in the console but do work in game. Edit the inc files so France owns London and Quebec and see if it works fine 'in-game'

As to the alliance, it is best just having them in the Comintern (i.e. Alliance with the soviets). You may need an earlier event to have France in the soviet comintern beforehand.

Ayeshteni
 

Patriotes1837

Colonel
5 Badges
Aug 12, 2003
949
0
  • Europa Universalis III Complete
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
Ayeshteni said:
they can be in a seperate file so long as you include the file entry in the events.txt file.

OK. That's what I thought.

To include those two provinces for Quebec in the first event - put them in the revolt.txt file for Quebec.


revolt.txt, that's what I was looking for. Thanks.


sometimes events dont work properly in the console but do work in game. Edit the inc files so France owns London and Quebec and see if it works fine 'in-game'

Nice suggestion. Will try.

As to the alliance, it is best just having them in the Comintern (i.e. Alliance with the soviets). You may need an earlier event to have France in the soviet comintern beforehand.

So if I ally them with SU, they're actually automatically in the Commintern? That's what I wanted to know. Thanks. France is already in the comintern for the sake of this scenario ;)

Thank you very much. I was hoping to at least have some input. Very helpful.
 

jdrou

Field Marshal
74 Badges
Jun 10, 2002
24.161
461
  • Stellaris: Federations
  • Europa Universalis IV
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Paradox Order
  • Stellaris: Digital Anniversary Edition
  • Humble Paradox Bundle
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Europa Universalis III: Collection
  • Europa Universalis III: Chronicles
  • 500k Club
  • 200k Club
  • Europa Universalis IV: Dharma Pre-order
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Golden Century
  • Stellaris: Megacorp
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Deus Vult
  • Darkest Hour
  • Crusader Kings II
  • Hearts of Iron II: Armageddon
  • Arsenal of Democracy
  • Hearts of Iron Anthology
  • Victoria 2
  • Rome Gold
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Stellaris: Galaxy Edition
Patriotes1837 said:
This third one doesnt seem to fire at all, indicating that the second might not work properly.
You are triggering the event for QUE when QUE does not exist. Move the trigger command after the independence command.
 

Patriotes1837

Colonel
5 Badges
Aug 12, 2003
949
0
  • Europa Universalis III Complete
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
jdrou said:
You are triggering the event for QUE when QUE does not exist. Move the trigger command after the independence command.

Thanks but I found out by myself before I saw your post. It makes sense. I just didnt realise it was important at first. Like I said, these are my first events. But this is addicting! :D

Anyway, I realized I didnt even need to put the secede_province things because the province were already in the revolt file. This works just fine.

#########################################################################
# Quebec liberation
#########################################################################
event = {
id = 9991
random = no
country = CAN

name = "EVT_9991_NAME"
desc = "EVT_9991_DESC"
style = 0
picture = "outlaw_communist_party"

action_a = {
name = "Damn ungreatful pea soup eating bastards!"
command = { type = independence which = QUE value = 0 }
command = { type = trigger which = 9992 }
}
}
 

Ayeshteni

Jehanne's Slave
111 Badges
Jul 31, 2002
6.280
108
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • Heir to the Throne
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • 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
  • A Game of Dwarves
  • 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
so it works fine now yeah?
Ayeshteni
 

Patriotes1837

Colonel
5 Badges
Aug 12, 2003
949
0
  • Europa Universalis III Complete
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
Ayeshteni said:
so it works fine now yeah?
Ayeshteni

Yup. I've even tweaked the last event for more "realism" (if possible in this case ;) ) i.e: set sliders, French techs, etc.

I officially like making events now. :cool: I use to stick with the province file, scenario files, etc. But events rule!