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

Falconhurst

Tibetan Admiral
92 Badges
Feb 23, 2004
832
1
  • Crusader Kings II: Conclave
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Knights of Pen and Paper 2
  • Europa Universalis IV: Cossacks
  • Rome: Vae Victis
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Necroids
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Victoria 2
  • Victoria 2: A House Divided
I can't get popular unification to trigger. I have been playing a game as Prussia and have tried to line up all of the ducks in order to get popular unification of Germany and a possibility of German-Austrian unification.

In 1 war, I satellited the large German minors to get their core provinces. Then in the mid-1840s, I noticed that only one of the minors -- Bremen -- had turned democratic (as the result of rebels overthrowing the government).

Meanwhile, I had taken 2 Hungarian provinces and war indemnities from Austria in 1843 or 1844. Since Hungary can't come into existence until the revolutions of 1848 (1 Jan 1848 is the earliest date), I satellited Hungary in 1848 or 1849 after the Slesvig war with Denmark (in which I also took 7 provinces from Russia).

As the event won't trigger if ANY of the remaining governments are monarchies, I invaded the remaining German minors and annexed them (except Bremen). How unfortunate that none of them besides Bremen had become democracies. In the final war (early 1850), I had to fight Austria again because they had a defensive pact with Bavaria who I annexed. It was a quick war in which they gave war indemnities after 2-3 months.

So it's 1850 and I'm ready to become a democracy. I change my political settings (universal sufferage/free parties/etc.) and become a democracy several weeks later. No unification. I wait and wait, hoping it will trigger. 30 December 1851 passes. No unification. Now it's January 1852, and I know that I've missed the boat on popular unification, since the event specifies that 30 Dec 1851 is the last possible date.
date = { day = 15 month = january year = 1836 }
offset = 30
deathdate = { day = 30 month = december year = 1851 }

I believe I've met all the prerequisites.
ANH, BAD, BAY, COB, FRM, HAM, HAN, HED, HEK, HLS, LIP, LUB, MEI, MEC, NAS, SAX, WEI, WUR - Annexed and part of Germany
NGF, SGF - have never existed
AUS - Constitutional Monarchy
BRE - Democracy
PRU - Democracy

HUN - Has existed as a satellite for a couple years, and is a monarchy but this doesn't matter. It's checked only in the Austria event file, so it affects only whether Austria has a possibility of joining, not whether popular unification for Prussia fires.

The code in the event file is:

#########################################################################
# Popular Unification of Germany
#########################################################################
event = {
id = 4612
random = no
country = PRU

trigger = {
NOT = { constitution = { country = ANH type = monarchy } }
NOT = { constitution = { country = AUS type = monarchy } }
NOT = { constitution = { country = BAD type = monarchy } }
NOT = { constitution = { country = BAY type = monarchy } }
NOT = { constitution = { country = BRA type = monarchy } }
NOT = { constitution = { country = BRE type = monarchy } }
NOT = { constitution = { country = COB type = monarchy } }
NOT = { constitution = { country = FRM type = monarchy } }
NOT = { constitution = { country = FRM type = monarchy } }
NOT = { constitution = { country = HAM type = monarchy } }
NOT = { constitution = { country = HAN type = monarchy } }
NOT = { constitution = { country = HED type = monarchy } }
NOT = { constitution = { country = HEK type = monarchy } }
NOT = { constitution = { country = HLS type = monarchy } }
NOT = { constitution = { country = LIP type = monarchy } }
NOT = { constitution = { country = LUB type = monarchy } }
NOT = { constitution = { country = MEC type = monarchy } }
NOT = { constitution = { country = MEI type = monarchy } }
NOT = { constitution = { country = NAS type = monarchy } }
NOT = { constitution = { country = NGF type = monarchy } }
NOT = { constitution = { country = SGF type = monarchy } }
NOT = { constitution = { country = OLD type = monarchy } }
NOT = { constitution = { country = PRU type = monarchy } }
NOT = { constitution = { country = SAX type = monarchy } }
NOT = { constitution = { country = WEI type = monarchy } }
NOT = { constitution = { country = WUR type = monarchy } }
}

name = "EVT_1509_NAME"
desc = "EVT_1509_DESC"
style = 0

date = { day = 15 month = january year = 1836 }
offset = 30
deathdate = { day = 30 month = december year = 1851 }

action_a = {
name = "ACCEPT" # Accept
command = { type = constitution which = democracy }
command = { type = executive_designation which = parliamentarism }
command = { type = party_system which = multi_party }
command = { type = national_value which = equality }
command = { type = set_ruling_party which = 4600 }
command = { type = country which = GER }
}
}

The country 3-letter codes look reasonable to me, but maybe one of them is inaccurate and represents a country outside of Germany and this is preventing unification from happening? The 3-letter codes are the same as in the Conservative Empire thread which triggers the event so I doubt that this is the problem.

The one thing I notice is that FRM is listed twice in the code, not sure if this matters.

I'm not sure what the offset = 30 means. Again this explanation seems unlikely because other events in prussia.txt have similar offset of 30 or 31 (days, presumably?) and have worked for me.

Stanislaw reported a similar problem of not being able to get the event to fire in this thread: http://forum.paradoxplaza.com/forum/showthread.php?p=2827591#post2827591

Any troubleshooting help would be appreciated. What am I missing? Has anyone succeeded in getting a popular unification, and if so, how?

Thanx.

Falconhurst
 
Do you have a save from when all the condictions are met? If so could you zip it and send it to me? Email's in the other thread. I'd like to see what's happening.
 
Ok, after a good bit of testing and tweaking I got it to fire:
ScreenSave3.jpg


Nice, eh? :)

The problem? If any of the minors don't exist " NOT = { constitution = { country = XXX type = monarchy } }" returns as false, so to trigger the PU all the minors, Austria and the NGF + SGF must exist, which may be impossible since the GFs absorb certain minors...

I'll make up a new event for people to use untill 1.04 comes out.
 
If you're wondering, the BB for Germany in the above pic was 114 :eek:

Anyway, here's what I've been doing instead of sleeping at 4am:
Code:
##################################################################################
# Popular Unification of Germany (fixed by Darkrenown)
################################################## ###############################
event = {
	id = 4612
	random = no
	country = PRU

	trigger = {
		
		
		OR = {
		constitution = { country = ANH type = democracy }
		constitution = { country = ANH type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = AUS type = democracy }
		constitution = { country = AUS type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = BAD type = democracy }
		constitution = { country = BAD type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = BAY type = democracy }
		constitution = { country = BAY type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = BRA type = democracy }
		constitution = { country = BRA type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = BRE type = democracy }
		constitution = { country = BRE type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = COB type = democracy }
		constitution = { country = COB type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = FRM type = democracy }
		constitution = { country = FRM type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = HAM type = democracy }
		constitution = { country = HAM type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = HAN type = democracy }
		constitution = { country = HAN type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = HED type = democracy }
		constitution = { country = HED type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = HEK type = democracy }
		constitution = { country = HEK type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = HLS type = democracy }
		constitution = { country = HLS type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = LIP type = democracy }
		constitution = { country = LIP type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = LUB type = democracy }
		constitution = { country = LUB type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = MEC type = democracy }
		constitution = { country = MEC type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = MEI type = democracy }
		constitution = { country = MEI type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = NAS type = democracy }
		constitution = { country = NAS type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = NGF type = democracy }
		constitution = { country = NGF type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = SGF type = democracy }
		constitution = { country = SGF type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = OLD type = democracy }
		constitution = { country = OLD type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = PRU type = democracy }
		constitution = { country = PRU type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = SAX type = democracy }
		constitution = { country = SAX type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = WEI type = democracy }
		constitution = { country = WEI type = constitutional_monarchy }
		}
		OR = {
		constitution = { country = WUR type = democracy }
		constitution = { country = WUR type = constitutional_monarchy }
		}
	}

name = "EVT_1509_NAME"
desc = "EVT_1509_DESC"
style = 0

date = { day = 15 month = january year = 1836 }
offset = 30
deathdate = { day = 30 month = december year = 1851 }

action_a = {
name = "ACCEPT" # Accept
command = { type = constitution which = democracy }
command = { type = executive_designation which = parliamentarism }
command = { type = party_system which = multi_party }
command = { type = national_value which = equality }
command = { type = set_ruling_party which = 4600 }
command = { type = country which = GER }
}
}

Replace your PU event with mine and it'll work fine.
 
But how will you met this triggers? All states are in the start monarchies, how can you turn them to democraties? And the only way to turn yourself into a democratie is by giving voterights?
 
Countries that no longer exist, e.g. by being annexed, won't be considered to be monarchies ;)

:) Rafiki
 
DarkRenown thank you very much for your help and for not having slept this night. :)
Is there someone willing to kindly recap the whole PU stuff? For example starting from where to paste the new event text DarkRenown wrote for us and also explaining the conditions to be met along with the ones to be avoided.

Thanks in advance.
 
DarkRenown deserves a really big thank-you from the Victoria community. The bottom line is that until his modified code, Popular Unification for Germany didn't exist/couldn't happen at all. Because states would fail the trigger if they didn't exist, popular unification was impossible. Even a single minor that is annexed would prevent the event from firing at all. But the problem didn't end there.

Even if NONE of the states are annexed, it STILL couldn't have possibly happened because the North & South German Federations can't coexist at the same time along with all of the minors that form them (i.e. the simultaneous existence of SGF and Saxony, Bavaria, Frankfurt-am-Main, Wurtemburg, Baden, etc. are MUTUALLY EXCLUSIVE). So this is vital material for the 1.04 patch, and something that enhances gameplay and makes the popular unification possible.

Thanx.

Falconhurst, happily eating away Russia and France with his big blob of German-Austrian democracy and 114 BB points :)
 
Last edited:
114 BB for Darkrenown's event? I still wish the BB from peaceful unification could be moderated a bit. Wonder what Prussia's BB was before that after all those little annexation wars . . . .
 
Well it should be possible to lower BB points to a reasonable degree (50 points maybe?) by editing the savegame file, isn't it? :confused:
 
Yes, that's possible, of course, but my larger question is whether we should be pestering the betas and Johan to moderate BB from peaceful unification in the game itself. It's clear from what Darkrenown gave us above that BB is not calculated by the event itself, but generated elsewhere by the game. So it can't be modded, apparently.
Other opinions?
 
Strategist said:
But how will you met this triggers? All states are in the start monarchies, how can you turn them to democraties? And the only way to turn yourself into a democratie is by giving voterights?

They can be constitutional monarchys OR democracies OR you can annex them OR you can have any mixture of the above.
 
Mad Max said:
Is there someone willing to kindly recap the whole PU stuff? For example starting from where to paste the new event text DarkRenown wrote for us and also explaining the conditions to be met along with the ones to be avoided.

Copy the event from my post (highlight and hit ctrl+c)
open prussia's event file in victoria/db/events
use the find function (ctrl + f) to find "4612"
that'll take you to the old PU event, delete it.
paste my event in (ctrl + v). take care not to paste it inside any other events or leave bits of the old event though.
save and close file.
play game :)
 
Kriegspieler said:
114 BB for Darkrenown's event? I still wish the BB from peaceful unification could be moderated a bit. Wonder what Prussia's BB was before that after all those little annexation wars . . . .

The 114 BB included the 57ish BB falconhurst had already racked up (I used his savefile to test this). The rest of the BB came from the event-annexing of austria at ((1bb per province) + 1). I didn't change the amount of BB gained from the event at all.

Having said that I'm thinking of updating my mod to include an event for when Austria joins the PU. If I made it, it would lower the BB gained to about 15-20 but would give away a austria's italian land and most of it's balkan holdings. Would people be interested in that?
 
Darkrenown said:
The 114 BB included the 57ish BB falconhurst had already racked up (I used his savefile to test this). The rest of the BB came from the event-annexing of austria at ((1bb per province) + 1). I didn't change the amount of BB gained from the event at all.

Having said that I'm thinking of updating my mod to include an event for when Austria joins the PU. If I made it, it would lower the BB gained to about 15-20 but would give away a austria's italian land and most of it's balkan holdings. Would people be interested in that?
Yes indeed! That sounds more appropriate in terms of BB consequences.
 
Have you tried using Wordpad instead? Notepad has restructions on how large files it can handle (if you are trying to use notepad, that is).

:) Rafiki