Different Focus Tree and Event Problems
For the event, you have set "is_triggered_only" and also filled in the "trigger" box.
These are mutually exclusive, and the game is getting confused.
is_triggered_only means that the event will be triggered by another action (focus tree, another event, etc.) using:
country_event = {
id = my_event.1
}
or
news_event = {
id = my_event.1
}
(depending on what type of event it is)
Whereas the trigger is what has to have happened for the event to fire on its own (e.g. a country is at war, a certain date has passed, etc.).
For checking a focus has been completed, I would personally use the is_triggered_only method, unless it is to happen to another country (e.g. after Germany has done Danzig or war, there's a chance Poland may get a random event asking them to join the Soviet Union)
If you are going to use the has_completed_focus trigger, you do need to specify a country scope:
GER = {
has_completed_focus = GER_negotiate_for_danzig
}
As for the focus tree, I think the issue is because of the focus tree ID "german=focus" swap out the = for _ or nothing and the error log should at least make sense. (maybe 1 or 2 obvious errors, instead of all of the stuff you have currently)
Just click the settings icon, and you can edit the focus tree ID there:
For the event, you have set "is_triggered_only" and also filled in the "trigger" box.
These are mutually exclusive, and the game is getting confused.
is_triggered_only means that the event will be triggered by another action (focus tree, another event, etc.) using:
country_event = {
id = my_event.1
}
or
news_event = {
id = my_event.1
}
(depending on what type of event it is)
Whereas the trigger is what has to have happened for the event to fire on its own (e.g. a country is at war, a certain date has passed, etc.).
For checking a focus has been completed, I would personally use the is_triggered_only method, unless it is to happen to another country (e.g. after Germany has done Danzig or war, there's a chance Poland may get a random event asking them to join the Soviet Union)
If you are going to use the has_completed_focus trigger, you do need to specify a country scope:
GER = {
has_completed_focus = GER_negotiate_for_danzig
}
As for the focus tree, I think the issue is because of the focus tree ID "german=focus" swap out the = for _ or nothing and the error log should at least make sense. (maybe 1 or 2 obvious errors, instead of all of the stuff you have currently)
Just click the settings icon, and you can edit the focus tree ID there:
-jordsta95
Sorry for the late reply. Thank you for the Explanation of the Event Problem, I was not aware of this and just confused and I changed the "=" now to a "_" it seems that I typed the wrong thing in and Thank you so much for the Help and Explanation again
Yeti
Hey there,
I am currently working on my first Mod and because of that am also completely new to HOI4 Modding. I am developing it through this Wep Application (Which I definetly have to say is amazing) and even though I already got Experience with Programming, I still have some Problems with HOI4 Modding and especially currently National Focusses.
I am working on my first Mod named "Yeti's Overhaul" which currently aims to Overhaul some Focus Trees and I am at first working on a new German Focus Tree. I also run HOI in Debug Mode which gives me a good view on everything going on
My first Problem is related to Events
I have created this event, with 2 Options to choose but this apparently has a Problem.
Where I am not quite sure what the Problem would be.
My Second Problem would be
I would be very grateful for any kind of Help or Support, because I am still new and Learning
I wish you all a good day or night!