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

Limith

Modding for Myself
18 Badges
Apr 7, 2010
3.742
369
  • Darkest Hour
  • Deus Vult
  • East India Company
  • Europa Universalis III Complete
  • Divine Wind
  • Crusader Kings II
  • Heir to the Throne
  • Rome: Vae Victis
  • Rome Gold
  • Sword of the Stars
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Stellaris Sign-up
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
I somehow coded (completely functional) silent events in ARMA out of the blue, and while I don't have DH, it should work seeing as I haven't read any changes in the modding guide.
Unfortunately, it requires the country that fires the event to not be playable in the scenario but existing, (possibly also requiring puppet/military control, haven't tested fully).

Is there a way to force an event to fire silently in DH?

Also, would love to have a wakeminister command :D

PS: There is a bug with setting custom songs inside a scenario via songs = "filename" in ARMA which I'm not sure if it is fixed in DH. If songs = is used in the scenario, countries without a specified starting parameter will play one song then stop. A similar bug is that if songs = "" is used, if the country goes to war, no music plays.
 
Last edited:
PS: There is a bug with setting custom songs inside a scenario via songs = "filename" in ARMA which I'm not sure if it is fixed in DH. If songs = is used in the scenario, countries without a specified starting parameter will play one song then stop. A similar bug is that if songs = "" is used, if the country goes to war, no music plays.
Exactly!! This is a bug I once reported to Martin but I am not sure if he fixed it (was not considered really important at the time)

I didn't get what you meant bu silent event btw? Could you post an example? You can use AI_EVENT as event name if you just don't want it to be displayed on the log
 
Silent event means it doesn't show up on log nor does it pop up for the player. Hence silent.
(Oh, and the event below doesn't show up on log for me either as the countries are non-playable in the scenario)

event = {
id = 100901
random = no
persistent = yes

trigger = {
or = {
country = U15
country = U16
country = U17
country = U18
country = U20
country = U21
country = U22
country = U23
}
not = { dissent = 25}
}


name = "Unrest among the populace."
desc = "Britannia's policy of social darwinism ensures dissent in occupied countries cannot fall below 25."
style = 0

picture = "ruined_city"
date = { day = 1 month = january year = 1936}
offset = 5
deathdate = {day = 1 month = january year = 1990}

action_a = {
name = "Unfortunate. (SAZ will disable this)"
command = {type = dissent value = 5} # +5% dissent.
}
}

And regarding the bug, I two very long winded workarounds deployed in my mod. One of them requires the above silent event thing (Thinking about setting TAN as the unplayable country, why is TAN in every mod? Spectating for multiplayer?), the other uses a popup every time war/peace changes.
 
Silent event means it doesn't show up on log nor does it pop up for the player. Hence silent.
(Oh, and the event below doesn't show up on log for me either as the countries are non-playable in the scenario)

event = {
id = 100901
random = no
persistent = yes

trigger = {
or = {
country = U15
country = U16
country = U17
country = U18
country = U20
country = U21
country = U22
country = U23
}
not = { dissent = 25}
}


name = "Unrest among the populace."
desc = "Britannia's policy of social darwinism ensures dissent in occupied countries cannot fall below 25."
style = 0

picture = "ruined_city"
date = { day = 1 month = january year = 1936}
offset = 5
deathdate = {day = 1 month = january year = 1990}

action_a = {
name = "Unfortunate. (SAZ will disable this)"
command = {type = dissent value = 5} # +5% dissent.
}
}

And regarding the bug, I two very long winded workarounds deployed in my mod. One of them requires the above silent event thing (Thinking about setting TAN as the unplayable country, why is TAN in every mod? Spectating for multiplayer?), the other uses a popup every time war/peace changes.

If none of the countries in that trigger exist, then this event will never fire in-game.
If you need a country that is never played by player and AI to execute an event, then you should use REB tag for that ;)
 
That is a weird event. Are you Mel Gibson?
 
And regarding the bug, I two very long winded workarounds deployed in my mod. One of them requires the above silent event thing (Thinking about setting TAN as the unplayable country, why is TAN in every mod? Spectating for multiplayer?), the other uses a popup every time war/peace changes.
I think this is not logged because it is a "generic", not country-specific events. It is simply missing country = TAG, that's why it isn't logged (if I recall correctly).

BTW, if I'm not wrong in DH you can simply use the following code to achieve the same results:
event = {
id = 100901
random = no
persistent = yes

tag = { U15 U16 U17 U18 U20 U21 U22 U23 }

trigger = {
not = { dissent = 25}
}


name = "Unrest among the populace."
desc = "Britannia's policy of social darwinism ensures dissent in occupied countries cannot fall below 25."
style = 0

picture = "ruined_city"
date = { day = 1 month = january year = 1936}
offset = 5
deathdate = {day = 1 month = january year = 1990}

action_a = {
name = "Unfortunate. (SAZ will disable this)"
command = {type = dissent value = 5} # +5% dissent.
}
}