HOI4 Mod

- Project Overview
- What does your project do?
- My project is to make a HOI4 mod that fires a single event.
- Why did you choose it?
- I chose this mod so that I could have fun while making it. I also overestimated my abilities, thinking it could be done easily :(
- Reflection
- What challenges did you face?
- I was unprepared for the coding portion and out of my league when it came to fixing said coding issues.
- What would you do differently next time?
- I would give myself far more time to do it, and i'd also like to have a better guide than what the HOI4 channel gives.
- What did you learn?
Supplies



Also this (can't be embedded): https://code.visualstudio.com/download
Watching the Above Videos and Others in Playlists


https://www.youtube.com/watch?v=E7zIU3L2eUs&list=PL6EAZcF5cWbg57Srq6BTVvguMl6YfP9pG&index=1
https://www.youtube.com/watch?v=vU4_5X1JEbM&list=PL6EAZcF5cWbiwdGsdZs-C3o6-uwgD4RKs&index=1
Watch the above:
Download Visual Code Studio

This is what we use to code!
Creating Our First Event!

The above is my event. This showcases something similar to what you must make. Since your mod won't be the exact same as mine, copying mine word for word is not a good idea. Anyway, constructing this is relatively simple:
"add_namespace= (event name)" is telling the system that this is an event with "country_event" being what the event actually is.
"is_triggered_only = yes is_instant = yes" Is stating that the event fires once and is instant.
"mean_time_to_happen" states how many days from the game start it unlocks and is fireable.
"fire_only_once = yes" is, I'd say, self-explanatory.
And finally, "option" is the flavor text shown to the player
The Event Itself

"ideas =" is telling the game that this event exists and where to find it. The following below that, it is me declaring what type of event it is and then giving it a name.
"picture =" is what it looks like in the game
"modifier =" is the effects of the events
Your Done!

Congratulations are in order if it works. Otherwise, get troubleshooting and then declare your victory!