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

DKM

General
54 Badges
Sep 29, 2013
2.487
513
  • March of the Eagles
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • King Arthur II
  • Leviathan: Warships
  • Magicka
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Pre-order
  • 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
  • Dungeonland
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis III Complete
  • Crusader Kings II: Charlemagne
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Stellaris Sign-up
  • Crusader Kings II: Way of Life
  • Hearts of Iron IV Sign-up
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Europa Universalis IV: Cossacks
  • War of the Roses
  • Warlock: Master of the Arcane
  • The Showdown Effect
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Hearts of Iron IV: Cadet
  • Age of Wonders III
  • Europa Universalis IV
  • Crusader Kings Complete
What exactly is wrong with the name? I think it has to do with syntax because I have used the exact same name and description with other events.

Code:
event = {
    id = 1011
    random = no
    persistent = no
    country = GRE
   
    trigger = {
            control = { province = 1057 data = GRE }
            control = { province = 1076 data = GRE }
            control = { province = 1077 data = GRE }
            control = { province = 1078 data = GRE }
            control = { province = 1079 data = GRE }
            control = { province = 384 data = GRE }
            control = { province = 385 data = GRE }
            control = { province = 387 data = GRE }
            control = { province = 388 data = GRE }
            control = { province = 409 data = GRE }
        }
    }

    name = "EVT_9005001_NAME"
    desc = "EVT_9005001_DESC"
    style = 2
    picture = "news_paper"

    action_a = {
    name = "EVT_ELECTIONS_LEFT"
    command = { type = addcore which = 1057 }
    command = { type = addcore which = 1076 }
    command = { type = addcore which = 1077 }
    command = { type = addcore which = 1078 }
    command = { type = addcore which = 1079 }
    command = { type = addcore which = 384 }
    command = { type = addcore which = 385 }
    command = { type = addcore which = 409 }
    command = { type = addcore which = 387 }
    command = { type = addcore which = 388 }
 

novapaddy

War-Father
103 Badges
Aug 26, 2009
8.904
1.314
  • The Kings Crusade
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Lead and Gold
  • Legio
  • Arsenal of Democracy
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron Anthology
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • 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
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • East India Company
  • East India Company Collection
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
What exactly is wrong with the name? I think it has to do with syntax because I have used the exact same name and description with other events.

Code:
event = {
    id = 1011
    random = no
    persistent = no
    country = GRE
 
    trigger = {
            control = { province = 1057 data = GRE }
            control = { province = 1076 data = GRE }
            control = { province = 1077 data = GRE }
            control = { province = 1078 data = GRE }
            control = { province = 1079 data = GRE }
            control = { province = 384 data = GRE }
            control = { province = 385 data = GRE }
            control = { province = 387 data = GRE }
            control = { province = 388 data = GRE }
            control = { province = 409 data = GRE }
        }
    }

    name = "EVT_9005001_NAME"
    desc = "EVT_9005001_DESC"
    style = 2
    picture = "news_paper"

    action_a = {
    name = "EVT_ELECTIONS_LEFT"
    command = { type = addcore which = 1057 }
    command = { type = addcore which = 1076 }
    command = { type = addcore which = 1077 }
    command = { type = addcore which = 1078 }
    command = { type = addcore which = 1079 }
    command = { type = addcore which = 384 }
    command = { type = addcore which = 385 }
    command = { type = addcore which = 409 }
    command = { type = addcore which = 387 }
    command = { type = addcore which = 388 }

The problem is the trigger. You have an extra } too many just before name =. Or in other words, you have already closed out the event before you even get to name =
 

DKM

General
54 Badges
Sep 29, 2013
2.487
513
  • March of the Eagles
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • King Arthur II
  • Leviathan: Warships
  • Magicka
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Pre-order
  • 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
  • Dungeonland
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis III Complete
  • Crusader Kings II: Charlemagne
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Stellaris Sign-up
  • Crusader Kings II: Way of Life
  • Hearts of Iron IV Sign-up
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Europa Universalis IV: Cossacks
  • War of the Roses
  • Warlock: Master of the Arcane
  • The Showdown Effect
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Hearts of Iron IV: Cadet
  • Age of Wonders III
  • Europa Universalis IV
  • Crusader Kings Complete
The problem is the trigger. You have an extra } too many just before name =. Or in other words, you have already closed out the event before you even get to name =
I originally had it that way but it kept freezing every time the loading bar completely filled. As it didn't state any errors in the debug, I copy-pasted a format of one of the events in Germany's folder.
 

DKM

General
54 Badges
Sep 29, 2013
2.487
513
  • March of the Eagles
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • King Arthur II
  • Leviathan: Warships
  • Magicka
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Pre-order
  • 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
  • Dungeonland
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis III Complete
  • Crusader Kings II: Charlemagne
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Stellaris Sign-up
  • Crusader Kings II: Way of Life
  • Hearts of Iron IV Sign-up
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Europa Universalis IV: Cossacks
  • War of the Roses
  • Warlock: Master of the Arcane
  • The Showdown Effect
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Hearts of Iron IV: Cadet
  • Age of Wonders III
  • Europa Universalis IV
  • Crusader Kings Complete
Well, as no one seems to be able to identify the problem, I will just revert to my original solution of attempting to mod the save. @novapaddy Thank you for your attempt to help and do you know which thread I would go to for help at modding a save?
 

novapaddy

War-Father
103 Badges
Aug 26, 2009
8.904
1.314
  • The Kings Crusade
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Lead and Gold
  • Legio
  • Arsenal of Democracy
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron Anthology
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • 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
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • East India Company
  • East India Company Collection
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
Well, as no one seems to be able to identify the problem, I will just revert to my original solution of attempting to mod the save. @novapaddy Thank you for your attempt to help and do you know which thread I would go to for help at modding a save?

Let's try another approach, as you may have more than one problem here?

Are you definitely using the error checker, since the error in that event would definitely have been shown as multiple errors in the savedebug file?
You go to the settings.cfg file in the main dh folder and set it like this: 1 # Extra debug logs
Now when you load the game, it will highlight all the errors in the savedebug.txt file found underneath this file in that folder.

If your game is crashing right at the very end of the loading bar, it is likely to be a graphic problem (in my experience). Have you changed any images, loading screens? Have you used them as a .jpg file instead of the necessary .bmp file for instance?
 

DKM

General
54 Badges
Sep 29, 2013
2.487
513
  • March of the Eagles
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • King Arthur II
  • Leviathan: Warships
  • Magicka
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Pre-order
  • 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
  • Dungeonland
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis III Complete
  • Crusader Kings II: Charlemagne
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Stellaris Sign-up
  • Crusader Kings II: Way of Life
  • Hearts of Iron IV Sign-up
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Europa Universalis IV: Cossacks
  • War of the Roses
  • Warlock: Master of the Arcane
  • The Showdown Effect
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Hearts of Iron IV: Cadet
  • Age of Wonders III
  • Europa Universalis IV
  • Crusader Kings Complete
Novapaddy is correct. The trigger has an extra }.
Also, there are two } missing at the end (one to close the action, the other to close the event).
But like I said, anytime I didn't use that extra }, it froze. I originally had it without that } as I said in the post right after Novapaddy.

The two } are at the end of the event in the file. I guess I just didn't go down far enough when I was copy-pasting it into the post.
Let's try another approach, as you may have more than one problem here?

Are you definitely using the error checker, since the error in that event would definitely have been shown as multiple errors in the savedebug file?
You go to the settings.cfg file in the main dh folder and set it like this: 1 # Extra debug logs
Now when you load the game, it will highlight all the errors in the savedebug.txt file found underneath this file in that folder.

If your game is crashing right at the very end of the loading bar, it is likely to be a graphic problem (in my experience). Have you changed any images, loading screens? Have you used them as a .jpg file instead of the necessary .bmp file for instance?
It doesn't crash, it freezes; and I know how to set the debugs and read them from the save debug file. That is the whole reason why I even knew that the problem with the other version was around the name; because it told me that was where the error was happening. This problem DOESN'T SHOW UP in save debug because it doesn't crash, it freezes and stops responding. Please do not make me repeat my previous sentences. It irritates me quite badly when I have to repeat myself.
but it kept freezing every time the loading bar completely filled
not crashing

And no, I haven't done anything at all with images. I barely know how to frankenstein events. I can't do anything with images.

Apologies if anything in this post sounds rude. I am merely trying to emphasize the important parts that you seem to have missed in my previous posts and there is very little way to do that when typing, unlike speech where tone would play into emphasization.
 

novapaddy

War-Father
103 Badges
Aug 26, 2009
8.904
1.314
  • The Kings Crusade
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Lead and Gold
  • Legio
  • Arsenal of Democracy
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron Anthology
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • 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
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • East India Company
  • East India Company Collection
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
But like I said, anytime I didn't use that extra }, it froze. I originally had it without that } as I said in the post right after Novapaddy.

The two } are at the end of the event in the file. I guess I just didn't go down far enough when I was copy-pasting it into the post.

It doesn't crash, it freezes; and I know how to set the debugs and read them from the save debug file. That is the whole reason why I even knew that the problem with the other version was around the name; because it told me that was where the error was happening. This problem DOESN'T SHOW UP in save debug because it doesn't crash, it freezes and stops responding. Please do not make me repeat my previous sentences. It irritates me quite badly when I have to repeat myself.
not crashing

And no, I haven't done anything at all with images. I barely know how to frankenstein events. I can't do anything with images.

Apologies if anything in this post sounds rude. I am merely trying to emphasize the important parts that you seem to have missed in my previous posts and there is very little way to do that when typing, unlike speech where tone would play into emphasization.

I know it is very frustrating when you have a problem but no solution. That club has a large membership.

OK, why not delimit that whole event with # before each line. Load it again and see what happens?
If it loads ok, I would remove that event, maybe even that event file is corrupted?
Rewrite the event from scratch?

If it does not load, and freezes again, and there is nothing in the savedebug, then you have another spare } somewhere.
Just work backwards going through all the stuff you worked on, to find it.

Unfortunately there is no other way but looking line by line. Done it myself a 100 times. Cheers
 

DKM

General
54 Badges
Sep 29, 2013
2.487
513
  • March of the Eagles
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • King Arthur II
  • Leviathan: Warships
  • Magicka
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Pre-order
  • 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
  • Dungeonland
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis III Complete
  • Crusader Kings II: Charlemagne
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Stellaris Sign-up
  • Crusader Kings II: Way of Life
  • Hearts of Iron IV Sign-up
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Europa Universalis IV: Cossacks
  • War of the Roses
  • Warlock: Master of the Arcane
  • The Showdown Effect
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Hearts of Iron IV: Cadet
  • Age of Wonders III
  • Europa Universalis IV
  • Crusader Kings Complete
I know it is very frustrating when you have a problem but no solution. That club has a large membership.

OK, why not delimit that whole event with # before each line. Load it again and see what happens?
If it loads ok, I would remove that event, maybe even that event file is corrupted?
Rewrite the event from scratch?

If it does not load, and freezes again, and there is nothing in the savedebug, then you have another spare } somewhere.
Just work backwards going through all the stuff you worked on, to find it.

Unfortunately there is no other way but looking line by line. Done it myself a 100 times. Cheers
I know it is most definitely this event that is causing the problem because I have been writing these events as I need them. This event is to make my Greek ally stop giving away the land I gave it from the now puppet-Turkey. I guess I will try to rewrite it. Honestly, I am just trying to learn how to make events and, in the process, I have gained a new respect for modders. Doing this is tiring and takes hours to finish even one event.
 

Czaristan

Major
35 Badges
Mar 14, 2010
655
266
  • Darkest Hour
  • Majesty 2 Collection
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: No Step Back
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Crusader Kings III
  • Battle for Bosporus
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Hearts of Iron IV: By Blood Alone
  • Crusader Kings II
  • Stellaris: Leviathans Story Pack
  • Victoria 2
  • 500k Club
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
I'm having an issue where this event won't fire. It should be triggered by any of several events that create the Soviet Union after 6 months but they are Russian events. Would this cause an issue?

Code:
event = {
id = 7560201
random = no
country = SOV
style = 2

name = "The Two Mikhails"
desc = "Within the new Soviet state, two personalities have come to dominate domestic politics: Mikhail Frunze, old Bolshevik and military commander, and Mikhail Tukhachevsky, brilliant young strategist and passionate revolutionary. Frunze advocates autonomy, peace, and an integration of the soviet state into the world order while Tukhachevsky espouses continual revolution and class struggle. The bitterness and public hostility between the two men threatens to tear the new republic apart."
picture = "krtip_soviet_marshalls"

trigger = {
    NOT = {
        exists = RUS
    }
    OR = {
        event = { id = 756030 days = 180 }
        event = { id = 757000 days = 180 }
        event = { id = 700003 days = 180 }
        event = { id = 750016 days = 180 }
    }
}

    date = { day = 1 month = january year = 1937 }
    offset = 10
    deathdate = { day = 29 month = december year = 1970 }

action = {
    name = "This might keep the peace..."
    command = { type = dissent value = 10 }
    command = { type = chiefofstaff which = 4007 }
    command = { type = chiefofarmy which = 40844 }
    }
}
 

Arcangelus

Major
9 Badges
Apr 8, 2012
753
36
  • Darkest Hour
  • Europa Universalis III Complete
  • Divine Wind
  • Heir to the Throne
  • Crusader Kings II: The Old Gods
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
  • Victoria 3 Sign Up
I'm having an issue where this event won't fire. It should be triggered by any of several events that create the Soviet Union after 6 months but they are Russian events. Would this cause an issue?

Code:
event = {
id = 7560201
random = no
country = SOV
style = 2

name = "The Two Mikhails"
desc = "Within the new Soviet state, two personalities have come to dominate domestic politics: Mikhail Frunze, old Bolshevik and military commander, and Mikhail Tukhachevsky, brilliant young strategist and passionate revolutionary. Frunze advocates autonomy, peace, and an integration of the soviet state into the world order while Tukhachevsky espouses continual revolution and class struggle. The bitterness and public hostility between the two men threatens to tear the new republic apart."
picture = "krtip_soviet_marshalls"

trigger = {
    NOT = {
        exists = RUS
    }
    OR = {
        event = { id = 756030 days = 180 }
        event = { id = 757000 days = 180 }
        event = { id = 700003 days = 180 }
        event = { id = 750016 days = 180 }
    }
}

    date = { day = 1 month = january year = 1937 }
    offset = 10
    deathdate = { day = 29 month = december year = 1970 }

action = {
    name = "This might keep the peace..."
    command = { type = dissent value = 10 }
    command = { type = chiefofstaff which = 4007 }
    command = { type = chiefofarmy which = 40844 }
    }
}
Do the events referenced have a "save_date=yes" section? Otherwise, the trigger will never be true.
 

Czaristan

Major
35 Badges
Mar 14, 2010
655
266
  • Darkest Hour
  • Majesty 2 Collection
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: No Step Back
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Crusader Kings III
  • Battle for Bosporus
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Hearts of Iron IV: By Blood Alone
  • Crusader Kings II
  • Stellaris: Leviathans Story Pack
  • Victoria 2
  • 500k Club
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
Having an issue with another event. Everything fires correctly, but the second option in the last event doesn't show up. I only get the "they aren't worth it" option.

Code:
event ={
id = 2771030
random = no
country = SOV
style = 2

decision = {
exists = KYG
NOT = { exists = KAZ
    exists = RUS
    ispuppet = KYG
    alliance = { country = ROV country = KYG }
    }
}

decision_trigger = {
        atwar = no
    }

trigger = {
exists = KYG

NOT = {
exists = RUS
exists = KAZ
ispuppet = KYG
war = { country = SOV country = KYG }
alliance = { country = SOV country = KYG }
}
}

name = "Expanding into Turkestan"
desc = "With Alash Orda out of the way, only the Turkish state exists to prevent our total control of Central Asia. Though a direct invasion would certainly prove effective, an excuse would provoke less international protest."
decision_picture = "decision_afghanwar"
picture = "diplomatic_campaign"

date = { day = 1 month = may year = 1937 }
offset = 40
deathdate = { day = 29 month = december year = 1938 }

action_a = {
ai_chance = 10
name = "Invade!"
command = { type = war which = KYG }
command = { type = dissent value = 5 }
command = { type = belligerence which = SOV value = 10 }
}

action_b = {
ai_chance = 50
trigger = { not = { headofgovernment = 40844} }  #frunze can't send himself
name = "Frunze could prove his usefulness. Send him in!"
command = { type = removeclaim which = 1097 where = SOV }
command = { type = removeclaim which = 1098 where = SOV }
command = { type = removeclaim which = 1099 where = SOV }
command = { type = removeclaim which = 1100 where = SOV }
command = { type = removeclaim which = 1102 where = SOV }
command = { type = removeclaim which = 1103 where = SOV }
command = { type = removeclaim which = 1104 where = SOV }
command = { type = removeclaim which = 1105 where = SOV }
command = { type = removeclaim which = 1106 where = SOV }
command = { type = removeclaim which = 1112 where = SOV }
command = { type = trigger which = 1771031 where = KYG when = 2  }
command = { type = make_puppet which = KYG }
}

action_c = {
ai_chance =  40
name = "Leave the Turks alone for now."
}
}

event ={
id = 2771031
random = no
country = KYG
style = 2

trigger = {
exists = KYG
event = 2771030
}

name = "The Soviet Coup."
desc = "Late last night a platoon of soldiers stormed the royal palace and killed our glorious leader. Bolshevik Mihail Frunze has descended from Moscow and installed himself President."
picture = "diplomatic_campaign"

date = { day = 1 month = may year = 1937 }
offset = 5
deathdate = { day = 29 month = december year = 1938 }

action = {
name = "Oh No!"
command = { type = dissent value = 15 }
command = { type = headofstate which = 521001 }
}
}

event ={
id = 2771032
random = no
country = KYG
style = 2

trigger = {
exists = KYG
event = 2771031
}

name = "To Coup a Coup."
desc = "A few days ago, Russian agents affected a coup in our beloved Turkestan. A Russian president now rules our proud people. This cannot start."
picture = "diplomatic_campaign"

date = { day = 1 month = may year = 1937 }
offset = 15
deathdate = { day = 29 month = december year = 1938 }

action_a = {
ai_chance = 100
name = "Kill Him!"
command = { type = headofstate which = 521001 }
command = { type = end_puppet }
command = { type = end_access which = SOV }
command = { type = relation which = SOV value = -100 }
command = { type = set_domestic which = democratic value = 2 }
command = { type = set_domestic which = political_left value = 3 }
command = { type = set_domestic which = freedom value = 2 }
command = { type = set_domestic which = free_market value = 2 }
command = { type = trigger which = 2771033 when = 3 }
}

action_b = {
ai_chance = 0
name = "It's too risky!"
command = { type = dissent value = 10 }
}
}

event ={
id = 2771033
random = no
country = SOV
style = 2

trigger = {
exists = KYG
event = 2771032
}

name = "Our Man in Bukhara"
desc = "The Turks have arrested Frunze and stormed the embassy. This outrage cannot be allowed to stand."
picture = "russiangroundmanuevres"

date = { day = 1 month = may year = 1937 }
offset = 15
deathdate = { day = 29 month = december year = 1950 }

action_a = {
ai_chance = 5
name = "They aren't worth it."
command = { type = dissent value = 5 }
}

action_b = {
ai_chance = 95
name = "Enough of this. Destroy them!"
command = { type = war which = KYG }
}
}
 

hansnery

General Secretary
60 Badges
Sep 4, 2005
1.289
64
forum.paradoxplaza.com
  • Hearts of Iron IV Sign-up
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Magicka: Wizard Wars Founder Wizard
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • War of the Roses
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Mandate of Heaven
  • Knights of Honor
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis 4: Emperor
  • Europa Universalis III: Chronicles
  • Cities in Motion
  • 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
  • Arsenal of Democracy
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Iron Cross
  • Legio
  • March of the Eagles
  • Rome Gold
  • Victoria 2
  • Victoria 2: A House Divided
Having an issue with another event. Everything fires correctly, but the second option in the last event doesn't show up. I only get the "they aren't worth it" option.

Code:
event ={
id = 2771030
random = no
country = SOV
style = 2

decision = {
exists = KYG
NOT = { exists = KAZ
    exists = RUS
    ispuppet = KYG
    alliance = { country = ROV country = KYG }
    }
}

decision_trigger = {
        atwar = no
    }

trigger = {
exists = KYG

NOT = {
exists = RUS
exists = KAZ
ispuppet = KYG
war = { country = SOV country = KYG }
alliance = { country = SOV country = KYG }
}
}

name = "Expanding into Turkestan"
desc = "With Alash Orda out of the way, only the Turkish state exists to prevent our total control of Central Asia. Though a direct invasion would certainly prove effective, an excuse would provoke less international protest."
decision_picture = "decision_afghanwar"
picture = "diplomatic_campaign"

date = { day = 1 month = may year = 1937 }
offset = 40
deathdate = { day = 29 month = december year = 1938 }

action_a = {
ai_chance = 10
name = "Invade!"
command = { type = war which = KYG }
command = { type = dissent value = 5 }
command = { type = belligerence which = SOV value = 10 }
}

action_b = {
ai_chance = 50
trigger = { not = { headofgovernment = 40844} }  #frunze can't send himself
name = "Frunze could prove his usefulness. Send him in!"
command = { type = removeclaim which = 1097 where = SOV }
command = { type = removeclaim which = 1098 where = SOV }
command = { type = removeclaim which = 1099 where = SOV }
command = { type = removeclaim which = 1100 where = SOV }
command = { type = removeclaim which = 1102 where = SOV }
command = { type = removeclaim which = 1103 where = SOV }
command = { type = removeclaim which = 1104 where = SOV }
command = { type = removeclaim which = 1105 where = SOV }
command = { type = removeclaim which = 1106 where = SOV }
command = { type = removeclaim which = 1112 where = SOV }
command = { type = trigger which = 1771031 where = KYG when = 2  }
command = { type = make_puppet which = KYG }
}

action_c = {
ai_chance =  40
name = "Leave the Turks alone for now."
}
}

event ={
id = 2771031
random = no
country = KYG
style = 2

trigger = {
exists = KYG
event = 2771030
}

name = "The Soviet Coup."
desc = "Late last night a platoon of soldiers stormed the royal palace and killed our glorious leader. Bolshevik Mihail Frunze has descended from Moscow and installed himself President."
picture = "diplomatic_campaign"

date = { day = 1 month = may year = 1937 }
offset = 5
deathdate = { day = 29 month = december year = 1938 }

action = {
name = "Oh No!"
command = { type = dissent value = 15 }
command = { type = headofstate which = 521001 }
}
}

event ={
id = 2771032
random = no
country = KYG
style = 2

trigger = {
exists = KYG
event = 2771031
}

name = "To Coup a Coup."
desc = "A few days ago, Russian agents affected a coup in our beloved Turkestan. A Russian president now rules our proud people. This cannot start."
picture = "diplomatic_campaign"

date = { day = 1 month = may year = 1937 }
offset = 15
deathdate = { day = 29 month = december year = 1938 }

action_a = {
ai_chance = 100
name = "Kill Him!"
command = { type = headofstate which = 521001 }
command = { type = end_puppet }
command = { type = end_access which = SOV }
command = { type = relation which = SOV value = -100 }
command = { type = set_domestic which = democratic value = 2 }
command = { type = set_domestic which = political_left value = 3 }
command = { type = set_domestic which = freedom value = 2 }
command = { type = set_domestic which = free_market value = 2 }
command = { type = trigger which = 2771033 when = 3 }
}

action_b = {
ai_chance = 0
name = "It's too risky!"
command = { type = dissent value = 10 }
}
}

event ={
id = 2771033
random = no
country = SOV
style = 2

trigger = {
exists = KYG
event = 2771032
}

name = "Our Man in Bukhara"
desc = "The Turks have arrested Frunze and stormed the embassy. This outrage cannot be allowed to stand."
picture = "russiangroundmanuevres"

date = { day = 1 month = may year = 1937 }
offset = 15
deathdate = { day = 29 month = december year = 1950 }

action_a = {
ai_chance = 5
name = "They aren't worth it."
command = { type = dissent value = 5 }
}

action_b = {
ai_chance = 95
name = "Enough of this. Destroy them!"
command = { type = war which = KYG }
}
}
I would guess that either SOV is already at war with KYG or KYG gives military access to SOV, and since the command can't execute, the action doesn't appear.
 

Colt556

Captain
24 Badges
Feb 15, 2012
488
167
  • Darkest Hour
  • Crusader Kings II
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • 500k Club
  • Victoria 2
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Magicka
Here's a question... can you no longer use " " for name and description? I keep getting errors over that for -a lot- more events similar to these.

Code:
event = {
id = 446625

country = CGX
style = 2
picture = "alsaceorwar"

name = "The threat of Mongolia and Japan"
desc = "Japan and Russia have signed peace with one and another, with Germany distracted by Syndicalist Madness, we and the rest of Asia are ripe for Japanese hands to pick. In addition, Mongolia has conquered the Qing Dynasty, we will be next unless we ask Yunnan and the Legation Cities to unite with us. If they don't, China will fall." 
action_a = {
ai_chance = 80
name = "We must do this, for the sake of China!"
command = { type = dissent value = -1 }
command = { type = relation which JAP = -75 }
command = { tyoe = relation which MON = -75 }
command = { type = trigger which = 446622 }
command = { type = trigger which = 446626 }
}
action_b = {
ai_chance = 20
name = "This is madness, we're safe"
command = { type = dissent value = 6 }
}
]

event = {
id = 446622

country = CYN
style = 2
picture = "alsaceorwar"

name = "The threat of Mongolia and Japan"
desc = "The AOG has realized that both Mongolia and Japan pose a threat to all of China, and since we have no industry to win a war against either, we would be crushed, but if we united with the AOG, we can make sure the people of China never fall to Mongolian Barbarism or Japanese Imperialism."
action_a = {
name = "German influence be damned, we must save China!"
command = { type = trigger which = 446627 }
}
]

event = {
id = 446627

country = CGX
style = 2
picture = "alsaceorwar"

name = "Yunnan agrees"
desc = "They have agreed to our proposal."
action_a = {
name = "Great!"
command = { type = inherit which = CYN }
}
]
event = {
id = 446626

country = EAF
style = 2
picture = "alsaceorwar"

name = "The threat of Mongolia and Japan"
desc = "The AOG has realized that both Mongolia and Japan pose a threat to all of China, seeing as we have no real military, we would be crushed, but if we were annexed by the AOG, we could at least make it the bloodiest road for either power to ever take."
action_a = {
name = "China wills it, we must do this"
command = { type = trigger which = 446628 }
}
]
 

Arcangelus

Major
9 Badges
Apr 8, 2012
753
36
  • Darkest Hour
  • Europa Universalis III Complete
  • Divine Wind
  • Heir to the Throne
  • Crusader Kings II: The Old Gods
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
  • Victoria 3 Sign Up
You can, but there is a limit on the number of characters you can use that way. I don't remember the exact number, but I believe it was 255 (spaces do count)