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

Conscrapt

Private
41 Badges
Apr 27, 2009
20
0
  • Darkest Hour
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Federations
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Age of Wonders III
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Cadet
  • Battle for Bosporus
  • Stellaris: Necroids
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Victoria 2
  • Europa Universalis IV
  • Arsenal of Democracy
  • Crusader Kings II
Hi. I have very little event experience and could use some help with this event that's driving me crazy:wacko:

I thought I had it figured out, it made sense. But the event makes my game lock up at the loading screen.

I'm trying to make an event that causes Russia to grant independence to the USSR and give them moscow and cause a civil war.

Code:
	event = { 		
	    country = RUS 		
	    id = 48105 		
	    random = no 		
	    style = 0
            picture = "default"		
			
	    name = "March Revolution" 		
	    desc = "The workers of moscow have proclaimed independence and declared the Russian Soviet Federative Republic. They call upon the communist parties of all former-republics to revolt!" 		

      date = { day = 22 month = march year = 2003 }
      offset = 2
      deathdate = { day = 30 month = december year = 2019 }
	
	    action_a = { 		
	        name = "Let the capitalists tremble!" 		
		command = { type = independence which = SOV value = 0 } #value 0	
		command = { type = civil_war which = SOV }
		command = { type = secedeprovince which = SOV value = 94		
	    } 		
	}

Sorry if this is a noobish question! I can't figure this out :eek:o
 

Hallsten

Hairloss Ninja
36 Badges
Mar 17, 2001
5.274
119
  • Crusader Kings II
  • 500k Club
  • Europa Universalis: Rome
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Divine Wind
  • Deus Vult
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • Crusader Kings II: Horse Lords
  • 200k Club
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Way of Life
  • Europa Universalis: Rome Collectors Edition
  • Europa Universalis III: Collection
  • Crusader Kings II: Holy Knight (pre-order)
  • Rome: Vae Victis
  • Europa Universalis IV
Hi. I have very little event experience and could use some help with this event that's driving me crazy:wacko:

I thought I had it figured out, it made sense. But the event makes my game lock up at the loading screen.

I'm trying to make an event that causes Russia to grant independence to the USSR and give them moscow and cause a civil war.

Code:
	event = { 		
	    country = RUS 		
	    id = 48105 		
	    random = no 		
	    style = 0
            picture = "default"		
			
	    name = "March Revolution" 		
	    desc = "The workers of moscow have proclaimed independence and declared the Russian Soviet Federative Republic. They call upon the communist parties of all former-republics to revolt!" 		

      date = { day = 22 month = march year = 2003 }
      offset = 2
      deathdate = { day = 30 month = december year = 2019 }
	
	    action_a = { 		
	        name = "Let the capitalists tremble!" 		
		command = { type = independence which = SOV value = 0 } #value 0	
		command = { type = civil_war which = SOV }
		command = { type = secedeprovince which = SOV value = 94		
	    } 		
	}

Sorry if this is a noobish question! I can't figure this out :eek:o
This line
Code:
command = { type = independence which = SOV value = 0 }
releases as much as possible of SOV as a new nation (in this case your country will cease to be). This line
Code:
command = { type = civil_war which = SOV }
releases only part of SOV as a new nation and also declares war on it.
Ergo, remove the independence-line and you'll be fine.
 
Last edited:

Hallsten

Hairloss Ninja
36 Badges
Mar 17, 2001
5.274
119
  • Crusader Kings II
  • 500k Club
  • Europa Universalis: Rome
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Divine Wind
  • Deus Vult
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • Crusader Kings II: Horse Lords
  • 200k Club
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Way of Life
  • Europa Universalis: Rome Collectors Edition
  • Europa Universalis III: Collection
  • Crusader Kings II: Holy Knight (pre-order)
  • Rome: Vae Victis
  • Europa Universalis IV
Yeah, I added that because I realized it was making me crash earlier. Still, nothing happens when the event fires.

Maybe it has something to do with Modern Day Scenario? I'm pretty sure I added all the USSR country info..
What if you make a second event that secedes the province?

EDIT: Are you sure the province isn't seceded to SOV already? If you have troops there, they will just re-take the province as soon as it changes ownership.
 

Conscrapt

Private
41 Badges
Apr 27, 2009
20
0
  • Darkest Hour
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Federations
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Age of Wonders III
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Cadet
  • Battle for Bosporus
  • Stellaris: Necroids
  • Stellaris: Synthetic Dawn
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Victoria 2
  • Europa Universalis IV
  • Arsenal of Democracy
  • Crusader Kings II
What if you make a second event that secedes the province?

EDIT: Are you sure the province isn't seceded to SOV already? If you have troops there, they will just re-take the province as soon as it changes ownership.

I'll try that


Yeah, I was thinking that too. I tried strategic redeploying them somewhere else before the event fired. I didn't have any luck

Okay, I think I know what the problem is. When the event fires it doesn't say 'Secede [provice] to Soviet Union'

EDIT: I'm wondering if MDS took out the USSR someway. I noticed when I was going through the files that there was no country info for the USSR in the MDS scenario folder. Also its flag and shield were changed in the GFX folder.

EDIT2: I changed the tag for secedeprovince from SOV to SPA. I can secede moscow to spain fine, just not the soviet union.
 

Sledgehammer7

Air Chief Marshal
5 Badges
Nov 14, 2008
156
0
  • Arsenal of Democracy
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Victoria 2
  • 500k Club
Mmm. Alright, here's my theory. The problem is cause you're trying to secede the province in the same event where you're creating the country that it is to be seceded to. The event starts making the USSR, and while its doing that, but not entirely finished, the game sees the secede command, checks to see if the USSR exists, which it doesn't yet, so it skips that.

Try having your original event, only add at the bottom a trigger to cause a second event. In the second event, you secede the province you want. I bet that this will now work, cause the first event will create the USSR and complete, then trigger the second, which will now have a valid target nation to secede too.

Whew. That sounded pretty smart, now heres hoping that it works.