Europa Universalis IV

Europa Universalis IV

View Stats:
end game tags modding
HI, i want to make my new nation an end game tag, how di i do that, i found this
was_never_end_game_tag_trigger = yes
tho i understood that this makes end tags not be able to form the nation wiht this scope, but how then do you set a end game tag is the question?
< >
Showing 1-3 of 3 comments
grotaclas Mar 3, 2024 @ 4:15am 
was_never_end_game_tag_trigger is a scripted trigger. You can find them in common/scripted_triggers/ . In general, you can find stuff like this if you just search the files for the code with a tool which can search the whole folder(e.g. by opening the eu4 files in an IDE like vscode).
Miloš Obilić Mar 3, 2024 @ 8:46am 
Originally posted by grotaclas:
was_never_end_game_tag_trigger is a scripted trigger. You can find them in common/scripted_triggers/ . In general, you can find stuff like this if you just search the files for the code with a tool which can search the whole folder(e.g. by opening the eu4 files in an IDE like vscode).

do you know how to make a event fire on a spasific date, like date = 1449.11.1
grotaclas Mar 3, 2024 @ 11:25am 
Originally posted by Miloš Obilić:
do you know how to make a event fire on a spasific date, like date = 1449.11.1
If you want to do it reliably, it is really complicated, because there is no mechanism for this. You could either do an MTTH even with a 1-months MTTH(or maybe even lower) which requires at least that date, but MTTH events are only checked every 20 days (on different days for each tag). Or you could calculate how many days it is from the game start and fire a delayed event by that many days in on_startup(make sure that it only happens once, because on_startup is triggered each time you load the game), but that could break if the country stops existing or gets reformed.
You could also do a hybrid approach of triggering an delayed event from an MTTH or pulse event which happens a little earlier. Or you could hope that an existing country has a pulse or MTTH check on that day and trigger a hidden event for all countries which then fires the actual event which you want. But that would cost performance if you do it with many events
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Mar 3, 2024 @ 4:12am
Posts: 3