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

^_AC_^

Field Marshal
84 Badges
Feb 24, 2009
5.695
327
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Victoria 2: Heart of Darkness
  • War of the Roses
  • Hearts of Iron IV Sign-up
  • Europa Universalis III Complete
  • The Showdown Effect
  • Warlock 2: The Exiled
  • Crusader Kings II: Conclave
  • 500k Club
  • Stellaris
  • Europa Universalis IV: El Dorado
  • Prison Architect
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Common Sense
  • Stellaris: Ancient Relics
  • Knights of Pen and Paper 2
  • Europa Universalis IV: Cossacks
  • Hearts of Iron IV: Cadet
  • Surviving Mars
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris Sign-up
  • Europa Universalis IV: Golden Century
  • Stellaris: Synthetic Dawn
  • Imperator: Rome
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome Deluxe Edition
I'll try that, thank you.
What about others triggered by specific events?
If they are triggered and without date+offset+deathdate then I guess it's fine (but it's difficult to judge without the events)
EDIT: after test, adding it crash the game...
Sorry, my fault. It's persistent = yes
 

Mexbuild

Major
55 Badges
Apr 25, 2006
757
79
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Art of War
  • 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
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Arsenal of Democracy
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
In the last time, I experience heavy problems with some events. Often they simply never trigger even if all requirements are fulfilled.

Here are two events that not trigger:

Code:
#########################################################################
#  The Polish Question
#########################################################################

event = {
    id = 99990935
    country = POL
    save_date = yes
    random = no
  
    trigger = {  random = 25 event = 99990911 flag = GER_EG OR = { flag = FRA_EG flag = ENG_EG } }
  
    date = { day = 0 month = january year = 1939 }
    offset = 7
    deathdate = { day = 27 month = december year = 1963 }
  
    name = "The Polish Question"
    desc = "E99990935_DESC" # Storytelling about Polands former development
    style = 2
    picture = "SV_EGTreaty"
    decision_picture = "SV_EGTreaty_D"
  
    action = {
        name = "Start European integration!"
        ai_chance = 80
        command = { type = setflag which = Poland_Europe }
        command = { type = event which = 99990936 where = POL when = 7 }
    }
    action = {
        name = "Side with the Fascists!"
        ai_chance = 5
        command = { type = setflag which = Poland_Fascist }
        command = { type = dissent value = 5 }
    }
    action = {
        ai_chance = 5
        name = "Poland has nothing to fear!"
        command = { type = setflag which = Poland_Alone }
        command = { type = dissent value = 3 }
    }
}

Short explanation: If Finnland gets the event which ends the Finnish Winter War (99990911 in this case), Poland should get this event within the next 1-4 weeks. The other flags are set by earlier events which successfully triggered.

Another similar event which does not trigger is this one:

Code:
event = {
    id = 99990920
    random = no
    country = EST
    save_date = yes
  
    trigger = { random = 25 event = 99990911 OR = { flag = FRA_EG flag = GER_EG } }
  
    date = { day = 0 month = january year = 1938 }
    offset = 3
    deathdate = { day = 27 month = december year = 1963 }
  
    name = "The threat in the East"
    desc = "Russia has shown it's true face by starting the war with Finland. Many Estonian citizens believe that we could be the next Soviet's aggression victim. Maybe we should consider a membership in the EL to strengthen our position towards the Russian face."
    style = 2
    picture = "SV_EGTreaty"
    decision_picture = "SV_EGTreaty_D"
  
    action = {
        name = "Send a membership application to the European League!"
        command = { type = clrflag which = VOTE_EST when = 0 value = 0 }
        command = { type = trigger which = 99990923 }
        command = { type = event which = 99990926 where = EST when = 3 }
    }
}

I don't know whats wrong here. The Finnish Winter War ever ends like designed with (End of the Finnish Winter War - Finns accepts 99990911) but then nothing happens... Both events should trigger some weeks (but not more than 4) after the End of the Winter War
 

^_AC_^

Field Marshal
84 Badges
Feb 24, 2009
5.695
327
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Victoria 2: Heart of Darkness
  • War of the Roses
  • Hearts of Iron IV Sign-up
  • Europa Universalis III Complete
  • The Showdown Effect
  • Warlock 2: The Exiled
  • Crusader Kings II: Conclave
  • 500k Club
  • Stellaris
  • Europa Universalis IV: El Dorado
  • Prison Architect
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Common Sense
  • Stellaris: Ancient Relics
  • Knights of Pen and Paper 2
  • Europa Universalis IV: Cossacks
  • Hearts of Iron IV: Cadet
  • Surviving Mars
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris Sign-up
  • Europa Universalis IV: Golden Century
  • Stellaris: Synthetic Dawn
  • Imperator: Rome
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome Deluxe Edition
In the last time, I experience heavy problems with some events. Often they simply never trigger even if all requirements are fulfilled.

Here are two events that not trigger:

Code:
#########################################################################
#  The Polish Question
#########################################################################

event = {
    id = 99990935
    country = POL
    save_date = yes
    random = no
 
    trigger = {  random = 25 event = 99990911 flag = GER_EG OR = { flag = FRA_EG flag = ENG_EG } }
 
    date = { day = 0 month = january year = 1939 }
    offset = 7
    deathdate = { day = 27 month = december year = 1963 }
 
    name = "The Polish Question"
    desc = "E99990935_DESC" # Storytelling about Polands former development
    style = 2
    picture = "SV_EGTreaty"
    decision_picture = "SV_EGTreaty_D"
 
    action = {
        name = "Start European integration!"
        ai_chance = 80
        command = { type = setflag which = Poland_Europe }
        command = { type = event which = 99990936 where = POL when = 7 }
    }
    action = {
        name = "Side with the Fascists!"
        ai_chance = 5
        command = { type = setflag which = Poland_Fascist }
        command = { type = dissent value = 5 }
    }
    action = {
        ai_chance = 5
        name = "Poland has nothing to fear!"
        command = { type = setflag which = Poland_Alone }
        command = { type = dissent value = 3 }
    }
}

Short explanation: If Finnland gets the event which ends the Finnish Winter War (99990911 in this case), Poland should get this event within the next 1-4 weeks. The other flags are set by earlier events which successfully triggered.

Another similar event which does not trigger is this one:

Code:
event = {
    id = 99990920
    random = no
    country = EST
    save_date = yes
 
    trigger = { random = 25 event = 99990911 OR = { flag = FRA_EG flag = GER_EG } }
 
    date = { day = 0 month = january year = 1938 }
    offset = 3
    deathdate = { day = 27 month = december year = 1963 }
 
    name = "The threat in the East"
    desc = "Russia has shown it's true face by starting the war with Finland. Many Estonian citizens believe that we could be the next Soviet's aggression victim. Maybe we should consider a membership in the EL to strengthen our position towards the Russian face."
    style = 2
    picture = "SV_EGTreaty"
    decision_picture = "SV_EGTreaty_D"
 
    action = {
        name = "Send a membership application to the European League!"
        command = { type = clrflag which = VOTE_EST when = 0 value = 0 }
        command = { type = trigger which = 99990923 }
        command = { type = event which = 99990926 where = EST when = 3 }
    }
}

I don't know whats wrong here. The Finnish Winter War ever ends like designed with (End of the Finnish Winter War - Finns accepts 99990911) but then nothing happens... Both events should trigger some weeks (but not more than 4) after the End of the Winter War
First a stupid question, but do you really need save_date = yes for later events?
Then, with random = 25 there's no guarantee that the event fires within 4 weeks. I could not fire for years, theoretically.
Anyway, assuming that event 99990911 fired, the most likely culprit are the flags. You make the game where these events are supposed to fire and check the flag.
Lastly, a simple trick it to convert this events into decision, so you can load as these countries and see in the toolip of the decision which conditions are not verified.

EDIT: after re-reading your post, I suggest to use the last trick I mentioned. Also, could it be that these events have been slept by mistake by other events?
 

TheRemQc

French Canadian Imperialist
45 Badges
Aug 3, 2014
571
188
  • Europa Universalis IV: Res Publica
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Darkest Hour
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Steel Division: Normandy 44
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Campus
  • Hearts of Iron IV: La Resistance
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
It's me again,
this time I'm having problem with flags triggers:
Code:
event = {
    id = 11032
    random = no
    country = ENG
        save_date = yes

    trigger = {
    event = { id = 11031 days = 30 }
        flag = IMP_DEF_IND_yes
        flag = IMP_DEF_yes
        flag = IP_ASIA_yes
        flag = ENG_IP_yes
        }

    name = "Winds of Imperialism"
    desc = "EVT_11032_DESC"
    style = 2
      picture = "winds_imperialism"
     
        action = {
        name = "Rule Britannia!"
        command = { type = dissent value = -12 }
        command = { type = clrflag which = IMP_DEF_IND_yes }
        command = { type = clrflag which = IMP_DEF_yes }
        command = { type = clrflag which = IP_ASIA_yes }
        command = { type = clrflag which = ENG_IP_yes }
                command = { type = setflag which = EMPIRE }

                command = { type = trigger which = 229014 }
                command = { type = trigger which = 221002 }
                command = { type = trigger which = 128006 }
                command = { type = trigger which = 425007 }

    }
}


event = {
    id = 11034
    random = no
    country = ENG
        save_date = yes

    trigger = {
    OR = {
        flag = IMP_DEF_no
        flag = ENG_no_IP
        flag = IMP_DEF_IND_no
        flag = IP_ASIA_no
        }
        event = { id = 11031 days = 30 }
        }

    name = "Winds of continuation"
    desc = "EVT_11034_DESC"
    style = 2
      picture = "winds_continuation"
     
        action = {
        name = "For King and Country!"
        command = { type = dissent value = -9 }
        command = { type = clrflag which = IMP_DEF_IND_yes }
        command = { type = clrflag which = IMP_DEF_yes }
        command = { type = clrflag which = IP_ASIA_yes }
        command = { type = clrflag which = ENG_IP_yes }
        command = { type = clrflag which = IMP_DEF_IND_no }
        command = { type = clrflag which = IMP_DEF_no }
        command = { type = clrflag which = IP_ASIA_no }
        command = { type = clrflag which = ENG_no_IP }
                command = { type = setflag which = CONTINUATION }

                command = { type = trigger which = 229015 }
                command = { type = trigger which = 221003 }
                command = { type = trigger which = 128007 }
                command = { type = trigger which = 425009 }
    }
}



event = {
    id = 11036
    random = no
    country = ENG
        save_date = yes

    trigger = {
    event = { id = 11031 days = 31 }
        flag = IMP_DEF_no
        flag = ENG_no_IP
        flag = IMP_DEF_IND_no
        flag = IP_ASIA_no
        }

    name = "Winds of nationalism"
    desc = "EVT_11034_DESC"
    style = 2
      picture = "winds_nationalism"
     
        action = {
        name = "There's nothing like home really..."
        command = { type = dissent value = 3 }

                command = { type = sleepevent which = 11034 }

        command = { type = clrflag which = IMP_DEF_IND_no }
        command = { type = clrflag which = IMP_DEF_no }
        command = { type = clrflag which = IP_ASIA_no }
        command = { type = clrflag which = ENG_no_IP }
                command = { type = setflag which = FADING }

                command = { type = trigger which = 229016 }
                command = { type = trigger which = 221004 }
                command = { type = trigger which = 128008 }
                command = { type = trigger which = 425008 }
    }
}
What I want to do is simple: I have three different events, in the first one 30 days after event 11031 if all four flags are active I want it to fire. In the second one, 30 days after event 11031 if any of these flags are active I want it to fire. The last one is the same thing as the first; if all four flags are active 30 days after event 11031 I want it to fire.

The problem is, neither of them actually works...:confused:

I'm still learning to work with complicated triggers and it seems that I'm missing something here, would someone please help me with this one?
 

^_AC_^

Field Marshal
84 Badges
Feb 24, 2009
5.695
327
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Victoria 2: Heart of Darkness
  • War of the Roses
  • Hearts of Iron IV Sign-up
  • Europa Universalis III Complete
  • The Showdown Effect
  • Warlock 2: The Exiled
  • Crusader Kings II: Conclave
  • 500k Club
  • Stellaris
  • Europa Universalis IV: El Dorado
  • Prison Architect
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Common Sense
  • Stellaris: Ancient Relics
  • Knights of Pen and Paper 2
  • Europa Universalis IV: Cossacks
  • Hearts of Iron IV: Cadet
  • Surviving Mars
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris Sign-up
  • Europa Universalis IV: Golden Century
  • Stellaris: Synthetic Dawn
  • Imperator: Rome
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome Deluxe Edition
Does event 11031 have save_date = yes?
Also, the flags you are checking are different in those triggers, sometimes _yes sometimes _no, are you sure they are correct?
Finally, without date+offset+deathdate they will never fire since apparenytly you are not directly triggering them.
 

TheRemQc

French Canadian Imperialist
45 Badges
Aug 3, 2014
571
188
  • Europa Universalis IV: Res Publica
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Darkest Hour
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Steel Division: Normandy 44
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Campus
  • Hearts of Iron IV: La Resistance
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
Does event 11031 have save_date = yes?
Yes it does.
Also, the flags you are checking are different in those triggers, sometimes _yes sometimes _no, are you sure they are correct?
It's on purpose
Finally, without date+offset+deathdate they will never fire since apparenytly you are not directly triggering them.
It thought that "days = 30" would do the job. I'm going to try this!
 

^_AC_^

Field Marshal
84 Badges
Feb 24, 2009
5.695
327
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Victoria 2: Heart of Darkness
  • War of the Roses
  • Hearts of Iron IV Sign-up
  • Europa Universalis III Complete
  • The Showdown Effect
  • Warlock 2: The Exiled
  • Crusader Kings II: Conclave
  • 500k Club
  • Stellaris
  • Europa Universalis IV: El Dorado
  • Prison Architect
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Common Sense
  • Stellaris: Ancient Relics
  • Knights of Pen and Paper 2
  • Europa Universalis IV: Cossacks
  • Hearts of Iron IV: Cadet
  • Surviving Mars
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris Sign-up
  • Europa Universalis IV: Golden Century
  • Stellaris: Synthetic Dawn
  • Imperator: Rome
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome Deluxe Edition
It thought that "days = 30" would do the job. I'm going to try this!
No, they are completely separated concept. If you don't fire the event (by using command = trigger or command = event) then you need date+offset+deathdate.

Anyway, I fear you're over-using save_date = yes. It should be used only in specific case and this doesn't appear to be what you need. Using too many save_date as it can slow down the game.

If I understand correctly what you want to do:
1) Keep the events as you wrote above, without date+offset+deathdate and remove event = { id = 11031 days = 30 } and event = { id = 11031 days = 31 } from the triggers.
2) Modify event 11031 adding the following commands:
command = { type = event which = 11032 where = ENG when = 30 }
command = { type = event which = 11034 where = ENG when = 30 }
command = { type = event which = 11036 where = ENG when = 31 }
This way the 3 events will always be checked at the correct distance from event 11031, but the trigger will still make them fire only at the right conditions.
 

TheRemQc

French Canadian Imperialist
45 Badges
Aug 3, 2014
571
188
  • Europa Universalis IV: Res Publica
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Darkest Hour
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Steel Division: Normandy 44
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Campus
  • Hearts of Iron IV: La Resistance
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
Anyway, I fear you're over-using save_date = yes. It should be used only in specific case and this doesn't appear to be what you need. Using too many save_date as it can slow down the game.
Oh, I didn't knew that. Date+offset+deathdate worked (which mean that after weeks of writing I finally finished this event chain, thank god!) but I think I'm going to follow your advice and reduce my using of it in the future. To what extend exactly does it affect the performances of the game?

Many thanks for such fast answers!
 

Roven

Corporal
62 Badges
Jan 15, 2013
39
4
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Jade Dragon
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: Res Publica
  • Magicka
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome Deluxe Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Field Marshal
  • Victoria 3 Sign Up
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
Hi all, I have a question: is it possible to add new panel technology? like "infantry" or "industry" but new.
And if possible - how to do it. I have tried to experiment and copied the other file with the technology, changed id and name, but nothing happened
 
Last edited:

mccarty.geoff

Major
On Probation
Jul 11, 2017
641
4
The technology interface strings are in ..config/tech_names.csv
Such as row 1245: "TECH_INDUSTRY_NAME;Industrial;..."
To change the title for the Industrial group you'd change the language specific values after it's string name.
So, to change the English value of Industrial to Societal I'd edit row 1245: "TECH_INDUSTRY_NAME;Societal;..."
 
Last edited:

Roven

Corporal
62 Badges
Jan 15, 2013
39
4
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Jade Dragon
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: Res Publica
  • Magicka
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome Deluxe Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Field Marshal
  • Victoria 3 Sign Up
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
No,I think I said it wrong.
I don't need to change are the title but need new panel and add in this panel new techs. This is possible?

Or did u mean that I should create a new analogue of example TECH_INDUSTRY_NAME but your?
 
Last edited:

Roven

Corporal
62 Badges
Jan 15, 2013
39
4
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Jade Dragon
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: Res Publica
  • Magicka
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome Deluxe Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Field Marshal
  • Victoria 3 Sign Up
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
Sad... I wanted to make a separate panel for secret technologies of WWI and WWII. For the first to make the technology associated with the gas attacks and protection from them and a bunch of other things. Okay, then I'll work with what we have
 

JJMerrill

Colonel
76 Badges
Dec 20, 2013
960
346
  • Darkest Hour
  • Victoria 2: A House Divided
  • Imperator: Rome Deluxe Edition
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Victoria 3 Sign Up
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Stellaris
  • Europa Universalis IV
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • 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: Mandate of Heaven
  • Hearts of Iron IV Sign-up
  • 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: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Megacorp
  • Hearts of Iron IV: La Resistance
I'd like to modify this event to only fire for the included TAGs if they are allied to Germany, and also fire for Germany itself. How could I accomplish this? Is there a trigger that checks to see which faction a TAG is allied to?

Edit: Think I got it - I could use "alliance = { country = -1 country = TAG }" to accomplish this, and put it in an OR statement to check if the TAG in question is Germany itself. Thanks

Code:
#### Successful crusade against Bolshevism
event = {
    id = 1000658
    random = no
    tag = { GER ITA HUN ROM BUL SLO FIN CRO }
    persistent = yes

    trigger = {
        event = { id = 1000600 days = 30 } #Treaty of Moscow happened 30 days ago
        #alliance = { country = (this tag) country = GER }
        NOT = { war = { country = GER country = SOV } }
        NOT = { local_flag = Crusade }
        random = 50
    }

    name = 1000658name
    desc = 1000658desc
    style = 2
    picture = "crusade"

    date = { day = 0 month = january year = 1933 }
    offset = 30
    deathdate = { day = 29 month = december year = 1999 }

    action = {
        name = 1000658a
        command = { type = dissent value = -5 }    
        command = { type = morale which = land value = 1 }
        command = { type = local_setflag which = Crusade }
    }
}
 
Last edited:

Nick3210

Captain
1 Badges
Aug 7, 2013
459
293
  • Darkest Hour
Tell me please, where are the color settings of "Economic Mapmod" and other Mapmods ?
 

Nick3210

Captain
1 Badges
Aug 7, 2013
459
293
  • Darkest Hour
Thanks a lot !!

Yesterday I was experimenting with this file and decided that it works by any unknown and very strange magic :D
Now I understood it all !! :)
 
Last edited: