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

Sute]{h

Field Marshal
88 Badges
Jun 25, 2002
3.505
199
  • Europa Universalis IV: Pre-order
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome Collectors Edition
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • 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
  • Stellaris: Galaxy Edition
  • Victoria 3 Sign Up
  • Europa Universalis IV: Art of War
  • 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
  • Deus Vult
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Crusader Kings II
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • Majesty 2
I've written the following event for use with the EU2VIC converter, but for some reason it wont trigger. I've run a test lasting about 5 years into the game with the UK, but still no Industrial Revolution. Can anyone spot the problem?
Code:
[color=white]
#Industrial Revolution
event = {
	id = 6
	random = no
	invention = yes

	trigger = {
		civilized = yes
		atwar = no
		OR = {
			religion = { country = -1 type = protestant }
			religion = { country = -1 type = catholic }
		}
	}

	name = "Industrial Revolution"
	desc = "The industrial revolution has begun in our country."

	date = { day = 1 month = januar year = 1836 }
	offset = 1
	deathdate = { day = 30 month = december year = 1920 }

	action_a = {
		name = "Great!"
		command = { type = pop_consciousness which = capitalists value = 1 }
		command = { type = pop_consciousness which = clerks value = 1 }
		command = { type = pop_consciousness which = craftsmen value = 1 }
		command = { type = pop_militancy which = craftsmen value = 1 }
		command = { type = pop_militancy which = labourers value = 1 }
		command = { type = gain_tech which = 3001 } #Private Banks
		command = { type = gain_tech which = 3301 } #Freedom of Trade
		command = { type = gain_tech which = 4001 } #Classicism & Early Romaticism
		command = { type = gain_tech which = 4401 } #Introspectionism
		command = { type = gain_tech which = 5001 } #Water-wheel Power
		command = { type = gain_tech which = 5101 } #Publishing Industry
		command = { type = gain_tech which = 5201 } #Mechanized Mining
	}
}
[/color]
 

Strategist

General
68 Badges
May 6, 2004
2.401
15
  • Victoria 2: Heart of Darkness
  • Magicka
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • The Showdown Effect
  • Victoria 2
  • Victoria 2: A House Divided
  • Europa Universalis III Complete
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Europa Universalis IV: Common Sense
  • Europa Universalis 4: Emperor
  • Europa Universalis III: Chronicles
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Diplomacy
  • Dungeonland
  • Europa Universalis III
  • A Game of Dwarves
  • Europa Universalis III Complete
  • 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
You need a tech to activate an invention, so add it to a tech :)
 

Sute]{h

Field Marshal
88 Badges
Jun 25, 2002
3.505
199
  • Europa Universalis IV: Pre-order
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome Collectors Edition
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • 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
  • Stellaris: Galaxy Edition
  • Victoria 3 Sign Up
  • Europa Universalis IV: Art of War
  • 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
  • Deus Vult
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Crusader Kings II
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • Majesty 2
Strategist said:
You need a tech to activate an invention, so add it to a tech :)
Hmm... As far as I can tell neither the Liberal Revolution or the Socialist Revolution is linked to a tech, though they are both classified as inventions (see global_revolutions.txt). They both trigger fine anyways...

And the only way I can see of "linking" my event with a tech, would be to add the tech as a requirement in the event trigger. I fail to see why this should be needed, if the other invention-classed revolutions works as intended.

But if there is some place other than the event text where one needs to add the event please let me know... for the time being I'm quite confused. :confused:
 

Strategist

General
68 Badges
May 6, 2004
2.401
15
  • Victoria 2: Heart of Darkness
  • Magicka
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • The Showdown Effect
  • Victoria 2
  • Victoria 2: A House Divided
  • Europa Universalis III Complete
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Europa Universalis IV: Common Sense
  • Europa Universalis 4: Emperor
  • Europa Universalis III: Chronicles
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Diplomacy
  • Dungeonland
  • Europa Universalis III
  • A Game of Dwarves
  • Europa Universalis III Complete
  • 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
the lib rev etc are triggered by the gamemachine itself... :)

so you can t do it that way

It may be better to make it a random high chance persistent = yes event, not happening if you have all of these techs allready in order to have it trigger only once per country :D
 

Sute]{h

Field Marshal
88 Badges
Jun 25, 2002
3.505
199
  • Europa Universalis IV: Pre-order
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome Collectors Edition
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • 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
  • Stellaris: Galaxy Edition
  • Victoria 3 Sign Up
  • Europa Universalis IV: Art of War
  • 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
  • Deus Vult
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Crusader Kings II
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • Majesty 2
Strategist said:
the lib rev etc are triggered by the gamemachine itself... :)

so you can t do it that way

It may be better to make it a random high chance persistent = yes event, not happening if you have all of these techs allready in order to have it trigger only once per country :D
Can you explain what persistent events does and how one creates them? I've searched Havard's event manual, and he has a reference to them, but doesn't explain what they are or do.
 

Strategist

General
68 Badges
May 6, 2004
2.401
15
  • Victoria 2: Heart of Darkness
  • Magicka
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • The Showdown Effect
  • Victoria 2
  • Victoria 2: A House Divided
  • Europa Universalis III Complete
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Europa Universalis IV: Common Sense
  • Europa Universalis 4: Emperor
  • Europa Universalis III: Chronicles
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Diplomacy
  • Dungeonland
  • Europa Universalis III
  • A Game of Dwarves
  • Europa Universalis III Complete
  • 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
add at the first lines of the event (like random = no/yes) a line with persistent = yes.

This will make the event been abled to trigger multiple times, however as you dont want the event to trigger twice for the same nation, you should add the NOT if the country has all events allready. That should work fine ;)
 

tyrel68

V.I.P. Graphics Guru
4 Badges
Feb 15, 2004
1.862
0
  • Europa Universalis III: Chronicles
  • Hearts of Iron III
  • Victoria 2
  • 500k Club
Strategist said:
add at the first lines of the event (like random = no/yes) a line with persistent = yes.

This will make the event been abled to trigger multiple times, however as you dont want the event to trigger twice for the same nation, you should add the NOT if the country has all events allready. That should work fine ;)
That will not work.

I tested this type of event through VIP and found it does not work. The only two ways to make an event trigger for all countries are as follows:

1) random = yes and invention = no
This method is prone to pure randomness

2) random = no and invention = yes with start and end dates
This event will fire for every nation but it will only fire once

Both of these would not have any country = XXX lines

As a side note:

random = no
persistent = yes

This will only fire for the country that the PLAYER is currently playing. If you put an incflag in the event you will find the event fired only that once time and no others.

My findings show that if you have random = no and invention = no with no country = XXX specified, then the program defaults the specified country to the one you are currentl playing
 

Sute]{h

Field Marshal
88 Badges
Jun 25, 2002
3.505
199
  • Europa Universalis IV: Pre-order
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome Collectors Edition
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • 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
  • Stellaris: Galaxy Edition
  • Victoria 3 Sign Up
  • Europa Universalis IV: Art of War
  • 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
  • Deus Vult
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Crusader Kings II
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • Majesty 2
Tyrel68 can you explain why the event I've posted above doesn't trigger then? :confused:
 

tyrel68

V.I.P. Graphics Guru
4 Badges
Feb 15, 2004
1.862
0
  • Europa Universalis III: Chronicles
  • Hearts of Iron III
  • Victoria 2
  • 500k Club
Sute]{h said:
Tyrel68 can you explain why the event I've posted above doesn't trigger then? :confused:
It fires fine save for the religon lines in the trigger, which seem to be bugged maybe?