• 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.
I had this reported as a bug years ago, but since this eaxct line isn't used in vanilla it never got in. I tested it again, and it's still not working. If a monarch gets his values reduced by 1, it's not displayed in the box with effects. Very odd, as a reduction with -2 is displayed. It occures in the save though.

Code:
                command = { type = DIP   which = -1 value = 500 }                
		command = { type = ADM   which = -1 value = 500 } 
                command = { type = MIL   which = -1 value = 500 }
 
Last edited:
In my gametesting for a huge event by which Gregorian calender is adopted by Christian countries, I have found out that

if we use such a trigger like "religion = <something>"

Havard said that it needs specific country to work, otherwise as I have tested that trigger means:"if that religion exists, wherever it could be, the event is fired for every player, no matter which is the religion of his playing country.

playing as Zimbabwe (pagan) I have received both catholic and protestant events (I have made the same event for both religion triggers!)

as Papal states (undoubtedly catholic or counterreformed) apart from the catholic one, I have received also the protestant event...
 
Tested for all combinations because of "bug" in chinese "Move to Beijing" event,

Use of fortress and population commands in same action and for the same province:
For fortifications increase, population (increase or decrease) command must be placed before the fortress command.
For fortifications decrease, population (increase or decrease) command must be placed after the fortress command.

Otherwise, the fortress command won't work.

Remark: fortress command is not limited by landtech.
 
Last edited:
Bordic said:
In my gametesting for a huge event by which Gregorian calender is adopted by Christian countries, I have found out that

if we use such a trigger like "religion = <something>"

Havard said that it needs specific country to work, otherwise as I have tested that trigger means:"if that religion exists, wherever it could be, the event is fired for every player, no matter which is the religion of his playing country.

playing as Zimbabwe (pagan) I have received both catholic and protestant events (I have made the same event for both religion triggers!)

as Papal states (undoubtedly catholic or counterreformed) apart from the catholic one, I have received also the protestant event...
Did you get the event right as the Hussites declare themselves protestants, or when did you get it?
 
After these two discoveries above I really wanted to get something to add too. :D I have had this one in mind for a while.
I did a small group of events playing as Sweden:

Code:
#Test#
event = {
    id = 291666
    trigger = { monarch = 04030 } #Henry V
    random = no
    country = SWE
    name = "I see the English king"
    desc = "."
    style = 2
    date = { day = 5 month = march year = 1419 }
    offset = 1
    deathdate = { day = 1 month = january year = 1518 }

    action_a ={
        name = "It works"
        command = { type = cash value = 50 }
    }
}
event = {
    id = 291667
    trigger = { monarch = 07350 } #Ashikaga Yoshimochi
    random = no
    country = SWE
    name = "I see the Japanese king"
    desc = "."
    style = 2
    date = { day = 5 month = march year = 1419 }
    offset = 1
    deathdate = { day = 1 month = january year = 1518 }

    action_a ={
        name = "It works"
        command = { type = cash value = 50 }
    }
}
event = {
    id = 291668
    trigger = { monarch = 19507 } #Erik
    random = no
    country = SWE
    name = "I see the Swedish king"
    desc = "."
    style = 2
    date = { day = 5 month = march year = 1419 }
    offset = 1
    deathdate = { day = 1 month = january year = 1518 }

    action_a ={
        name = "It works"
        command = { type = cash value = 50 }
    }
}
event = {
    id = 291669
    trigger = { leader = 09510 } #Engelbrekt, modified to start 1419
    random = no
    country = SWE
    name = "I see the Swedish leader"
    desc = "."
    style = 2
    date = { day = 5 month = march year = 1419 }
    offset = 1
    deathdate = { day = 1 month = january year = 1518 }

    action_a ={
        name = "It works"
        command = { type = cash value = 50 }
    }
}
event = {
    id = 291670
    trigger = { leader = 09640 } #P. Loredan
    random = no
    country = SWE
    name = "I see the Venetian leader"
    desc = "."
    style = 2
    date = { day = 5 month = march year = 1419 }
    offset = 1
    deathdate = { day = 1 month = january year = 1518 }

    action_a ={
        name = "It works"
        command = { type = cash value = 50 }
    }
}
event = {
    id = 291671
    trigger = { leader = 08830 } #Zheng Ho
    random = no
    country = SWE
    name = "I see the Chinese leader"
    desc = "."
    style = 2
    date = { day = 5 month = march year = 1419 }
    offset = 1
    deathdate = { day = 1 month = january year = 1518 }

    action_a ={
        name = "It works"
        command = { type = cash value = 50 }
    }
}
All leaders/monarchs are active from 1419. The event only triggers for my own king, but for all leaders.

CONCLUSION: The monarch triggger only triggers for your own monarch. The leader triggers for all leaders.
 
Norrefeldt said:
Did you get the event right as the Hussites declare themselves protestants, or when did you get it?
EDIT: made corrections!

I have tested the 1582 events lately posted in New Flavour Event Thread with date 1419 deathdate 1420 and date 1648-1650!

with PAP and with ZIM for 1419 scenario and only PAP with 1648 scenario.

the triggers were OR religion catholic/counterreformed for an event and OR protestant/reformed for the other event without any specific country = TAG.

here the results:
in order to fire the 2nd event the trigger seems to meet the condition that protestant or reformed religion are activated and so after 1520, otherwise only catholic religion let the event to be fired. Hussites going reformed doesn't trigger the protestant calender event!
 
Last edited:
Norrefeldt said:
It seems the Reformation event (112) is needed then. It sets the flag 1, for reformation.
"Trigger religion. When used in an event without nation tag or province ID it triggers for all nations, of every religion, as soon as the religion is available."
OK?
Yes, That's it!
 
Norrefeldt said:
It seems the Reformation event (112) is needed then. It sets the flag 1, for reformation.
"Trigger religion. When used in an event without nation tag or province ID it triggers for all nations, of every religion, as soon as the religion is available."
OK?

Not really correct, it is not a religion thing. This is long known, but it does not seem to catch on, cause ever so often these province or country less events come up.

When you have an event that is not specified directed to a country or province, e.g. no country or province tag, these events happen only for the human player(s) in the game. AI countries do not get these events.

Furthermore the triggers (if any) for these events are subject to the entire world in the game. Any tag can fulfill any of the triggers. All tags in the world combined to try to fulfill the triggers of a single event. That means in province or country less events virtually no trigger is of use (there are a few), as they are instantaneously fulfilled but the sheer multitude of different things that exists with the different tags, at game begin.
 
Daywalker said:
When you have an event that is not specified directed to a country or province, e.g. no country or province tag, these events happen only for the human player(s) in the game. AI countries do not get these events.
Maybe I explained that wrongly! :eek:o
In my tests only my nation (PAP or ZIM) had the event, but the trigger religion = protestant or reformed works for "countryless event" as I had no event in 1419-1420 since the Reformation event fires after. Hussites religion event didn't affect it!
 
More new entries? Are they OK?

Commands fortress + population. Use of fortress and population commands in same action and for the same province:
For fortifications increase, population (increase or decrease) command must be placed before the fortress command.
For fortifications decrease, population (increase or decrease) command must be placed after the fortress command.
Otherwise, the fortress command won't work. Remark: fortress command is not limited by landtech.

Trigger monarch.
Trigger only works for the monarchs of the country getting the event.

Trigger leader.
Trigger works for all leaders, even those of other countries.

Trigger religion. When used in an event without nation tag or province ID it triggers for the player, regardless of country or religion, as soon as the religion is available (religion flag is set to 1).

Events without country or province entries. An event without country tag or province ID specified will only trigger for the player, regardless of played country.
 
Last edited:
Norrefeldt said:
Trigger religion. When used in an event without nation tag or province ID it triggers for the player, regardless of country or religion, as soon as the religion is available (religion flag is set ot 1)[/U].
Just a typo...
 
Norrefeldt said:
More new entries? Are they OK?

Trigger religion. When used in an event without nation tag or province ID it triggers for the player, regardless of country or religion, as soon as the religion is available (religion flag is set to 1).


Technical it is correct, but it gives a faulty impression. It gives the impression that this is something special to the religion trigger. It is not!

It goes for all triggers. In country and province less events, as soon as any tag, no matter where in the world he is or who controls him, can make x trigger true, it becomes true.

To give you an idea of what I’m talking about. Just by starting a stock GC all these triggers (and many more) are instantly true in a country and province less event. Thus per definition that are useless as triggers for such events.

[ai = yes] = instantly true
[ai = no] = instantly true
[atwar = yes] = instantly true
[atwar = no] = instantly true

[religion = catholic] = instantly true
[religion = orthodox] = instantly true
[religion = sunni] = instantly true
[religion = shiite] = instantly true
[religion = confucianism] = instantly true
[religion = buddhism] = instantly true
[religion = hinduism] = instantly true
[religion = pagan] = instantly true

[continent = europe] = instantly true
[continent = america] = instantly true
[continent = asia] = instantly true
[continent = africa] = instantly true
[continent = oceania] = instantly true
 
Thanks.
# Trigger religion. When used in an event without nation tag or province ID it triggers for the player, regardless of country or religion, as soon as the religion is available (religion flag is set to 1).
# Events without country or province entries. An event without country tag or province ID specified will only trigger for the player, regardless of played country.

Changed to:
# Events without country or province entries. An event without country tag or province ID specified will trigger for the player as soon as any tag, no matter where in the world it is or who controls it, can make the trigger true. Therefore they are mostly useless.

Is it correct?
 
Leader Files - location =

Sorry if this is the wrong place to post this.

In Havard's file editing guide under leader files it says you can specify "location ="

This may be old news or a bug but I notice that when I set location = 247 for all of ENG leaders they still show up in random provinces rather than 247. Also sometimes they show up in 0 Terra Incognita but this seems to be some how connected to having an army in another country during a war at the time the new leader arives as I have a save game that I can make this happen again and again or avoid the problem by leaving the army out of the war. Is this a known bug? I tried to seach the forum but was unable to find the answer. Either way if the location = does not work you may want to mention it on your list.
 
location works as long as there is a preexisting army in that province. If there is no army in province 247 when that leader is spawned, it then goes into a random province.
 
Havard's Bible said:
You can set the province a leader should appear in if possible. Leaders must appear in provinces you own, thus if set to an unowned province this will be ignored.
So some information is missing here then.
Suggestion:
"Leaders must appear in provinces you own and already have an army in, thus if set to an unowned province this will be ignored."