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

unmerged(178957)

Second Lieutenant
4 Badges
Nov 15, 2009
101
0
  • Hearts of Iron II: Armageddon
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • 500k Club
Hi, whenever this event is in the SOV event file, the scenario won't completely load. Whenever I remove the event from the file, it loads fine. So here's my question: What is wrong with this event, since I want to be able to use it in game (NOTE: This is only my second event. The first one works, but doesn't fire so I just use F12.)

#########################################################################
# The Falling Sun - Japanese Surrender to the USSR
#########################################################################

event = {
id = 9998
random = no
country = SOV

trigger = {
war = { country = SOV country = JAP }

}

name = "The Falling Sun"
desc = "With the liberation of China complete and the Japanese homeland secured, the Japanese have finally accepted the inevitable. We shall create a Chinese satellite state, in order to maintain control in Asia more effectively."
style = 0
picture = "JAP_surrender"

action_a = {
name = "Flawless Victory!" #
command = { type = inherit which = JAP }
command = { type = inherit which = MAN }
command = { type = dissent value = -10 }
command = { type = manpowerpool value = 2000 }

}
}

So pretty much, I don't want this event to fire on it's own. I want to be able to only fire it with F12. Can someone tell me where I went wrong?

Thanks,
Crilly

P.S. The event is supposed to make the Soviet Union annex Japan and it's puppet.
 

|AXiN|

General
93 Badges
Apr 3, 2003
1.947
0
  • Europa Universalis IV: Pre-order
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock 2: The Exiled
  • Warlock 2: Wrath of the Nagas
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Majesty 2
  • Rise of Prussia
  • 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
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Achtung Panzer
  • Europa Universalis IV: Mare Nostrum
  • Victoria 3 Sign Up
  • Europa Universalis III: Chronicles
  • 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
  • Deus Vult
  • East India Company Collection
  • Europa Universalis III
  • Arsenal of Democracy
  • 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 Motherland
  • Hearts of Iron III
  • Heir to the Throne
If you're triggering it manually, there's no need for trigger conditions. Try removing them and see what happens. I take it you've checked that the event id is free, too. What error message does the game give when it fails to load?
 

unmerged(178957)

Second Lieutenant
4 Badges
Nov 15, 2009
101
0
  • Hearts of Iron II: Armageddon
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • 500k Club
Ok, I got rid of the trigger conditions and tried again. This time, it did the same, but an error message showed up:

--- ERROR : (unknown data defined in event database)'action_a = {'Line = 3317 file = db\events\USSR.txt ---
Do you still want to contine?

Abort Retry Ignore

All of the choices result in a CTD. I don't know what could be the issue with that line though, but I'm not the expert.

Crilly

BTW, here's the event now:

#########################################################################
# The Falling Sun - Japanese Surrender to the USSR
#########################################################################
event = {
id = 90000
random = no
country = SOV

name = "The Falling Sun"
desc = "With the liberation of China complete and the Japanese homeland secured, the Japanese have finally accepted the inevitable. We shall create a Chinese satellite state, in order to maintain control in Asia more effectively."
picture = "JAP_surrender"
style = 0

}

action_a = {
name = "Flawless Victory!" #
command = { type = inherit which = JAP }
command = { type = inherit which = MAN }
command = { type = dissent value = -10 }
command = { type = manpowerpool value = 2000 }
}
}
 

unmerged(178957)

Second Lieutenant
4 Badges
Nov 15, 2009
101
0
  • Hearts of Iron II: Armageddon
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • 500k Club
Yep, that was it! Thanks for your help!

Crilly