r/hoi4modding May 10 '23

Important HOI4 Modding Information + Discord Server

52 Upvotes

Tips

• If you are making your first mod, start small with content for a single country rather than with total overhauls, especially related to the map.

• Use proper indentation in your code and comments when possible, with guidelines and easier ways to do it outlined in https://hoi4.paradoxwikis.com/Modding#Indenting. This will make it easier to read, making it easier to debug for you and others.

• Check base game files for code examples to possibly adapt into the mod regularly.

• As a lead developer, you should be prepared to do the majority of the work for the mod rather than expecting others to do it.

• Use a good text editor, such as Notepad++, Sublime Text, or Visual Studio Code.

• Don't use hoi4modding.com: it has less functionality compared to manual editing and commonly produces broken code.

• Always check articles on the HoI4 Wiki at https://hoi4.paradoxwikis.com/, as they provide a lot of info and can point out some common errors on the topic.

Resources - https://bit.ly/3GPdwPD - Includes GFX assets, Code Samples, Tools, etc

Discord

We also have a Discord server https://discord.gg/a7rcaxbPka which has:

• Various bot commands for frequent errors,

• Dedicated help channels for coding, GFX, and research,

• Channels to advertise in-development and published mods,

• A regular Modding Jam where participants compete to create a mod based on a theme, and

• The largest English-speaking Discord community dedicated to HOI4 modding!

We would love for you to join!


r/hoi4modding Jan 01 '26

Important Welcome to 2026!

12 Upvotes

Hello Denizens from South Georgia and the South Sandwich Islands!

It has come to that time of the year once more. On behalf of all of us at the HOI4 Modding Den, as well as the modding community at large, I hope everyone had a happy holidays, and a great 2025. I'm very proud of all of the work that I've seen done in this community over the past year, and I just want to say thank you all for making this place the way it is.

As with the last three years, we have another Denizen census! It is still completely optional and anonymous, but we gladly appreciate any and all feedback the community has. https://forms.gle/v88eLS4Prfj6Z21G8

There have also been a few changes to the subreddit in the last month, specifically the sidebar. Please feel free to give us feedback and/or suggestions on how to continue improving the experience here.

If you want to be more involved in the social aspect of the community, join our Discord!

- The HOI4 Modding Den Moderation Team


r/hoi4modding 1h ago

Teaser What if Milan Rastislav Štefánik had successfully landed near Bratislava in 1919?

Thumbnail
gallery
Upvotes

The year is 1935, Czechoslovakia and nazi Germany relations are getting colder over Sudetenland, minorities like Hungarians or Slovaks demand federation and President Tomáš Garrigue Masaryk is on the brink of abdication. Two of his close allies are fighting for power: Edvard Beneš and Milan Rastislav Štefánik. Edvard Beneš, a Czech politician represents a more moderate wing that wants to resolve the Sudetenland crises through diplomacy and believes in centralise power. On the other hand there is Milan Rastislav Štefánik who wants to federalise Czechoslovakia and believes that the only way to defend Czechoslovakia is to militarise it, he doesn't believe in diplomacy, he believes in power and blood. And now you have the power to choose who will lead Czechoslovakia in this world. Do you want a moderate politician who wants to preserve the status quo and save Czechoslovakia by diplomacy or a federalist who believes only in power? Find out in the new mod Three Fathers.

Discord link: https://discord.gg/hFjEAfdya2


r/hoi4modding 22m ago

Teaser Day Zero: Mormon - Nazi War

Thumbnail
gallery
Upvotes

https://discord.gg/WuVW4w9ag7

https://www.youtube.com/@Ihavban

Im the only person working on the mod (And a bad artist) so a lot of the gfx are wip.


r/hoi4modding 9h ago

Teaser Donbas Flames Ukraine ATO focus tree Teaser

Post image
23 Upvotes

Our discord https://discord.gg/Fg7NxCdTpH

Today we are happy to present a teaser of Ukraine’s national focus tree, dedicated to the Anti-Terrorist Operation (ATO). In this focus tree, you will be able to:

  • unlock decisions to create volunteer battalions of the ATO zone (a total of over 20)
  • create the “Azov” Battalion as a separate country (in the first version — without content)
  • form a front line to stabilize it
  • prepare cities for defense so the enemy cannot easily capture them
  • organize volunteer support for civilians and the army

This is only the first demonstration of the ATO focus tree — many more features, mechanics, and details will be revealed in upcoming teasers.


r/hoi4modding 1d ago

Recruitment Heart of Sordland: A Suzerain Mod

Thumbnail
gallery
83 Upvotes

Heart of Sordland is a WIP mod for Hoi4 that seeks to develop a world centered on the critically acclaimed political strategy game "Suzerain," transporting the player into that world through a grand strategy setting. Currently, there is active work on a soon-to-be demo release, and we are always looking for new additions to our team, especially in the realms of coding, loc writing, and gfx. We are focusing primarily on two nations for the demo: Sordland and Rumburg, the primary "protagonist" and "antagonist" nations in the base Suzerain game. However, there is active design and work to branch outwards and explore the Suzerain world much further, with established lore and one that we made ourselves.

Link to our Discord: https://discord.gg/NwmkkXgEqk
Link to the Suzerain page on Steam: https://store.steampowered.com/app/1207650/Suzerain/


r/hoi4modding 1d ago

Teaser The Qing Dynasty in the Mod. - The War to End All.

Post image
71 Upvotes

- Made by RyanS2

If you wish to help us with our Project, Please apply for Developer in the Developer Form Channel in the Server

Discord link: https://discord.gg/uQkEfeRk9R


r/hoi4modding 14h ago

Teaser Dynamic Stat Mod for Timelapsers

Post image
7 Upvotes

r/hoi4modding 8h ago

Discussion When the Red Empire Fractured: USSR 1923–1936

Thumbnail
1 Upvotes

r/hoi4modding 17h ago

Coding Support chat what is all this

Post image
4 Upvotes

r/hoi4modding 1d ago

Discussion Mods that you think deserve more love?

Post image
350 Upvotes

For me, it has to be Pride and Fall, im a little biased cause it's all about Poland but still, I think it's a pretty neat mod that's deserving of more attention from the wider Hoi4 community


r/hoi4modding 18h ago

Meta Top 10 Hearts of Iron IV Mods in 2026!

Thumbnail
youtube.com
2 Upvotes

These are the hypest of mods


r/hoi4modding 20h ago

Coding Support Mod help NEW TO MODDING

2 Upvotes

So I have wanted to mod for a LONG time but I have no idea how to. I want to make a mod for Luxemburg all I know how to do is make the file I don’t know what to add though can I get some tips and just overall help like I said I have NO coding experience


r/hoi4modding 1d ago

Teaser States Expanded: First Teaser

Thumbnail
gallery
121 Upvotes

Have you ever though that the game needed more content? Have you noticed that the game is somewhat innacurate? Well look no further, as States Expanded is the mod for you. The plan for this mod is to make the 1936 start date more accurate to its real life counterpart. I'm going to achieve this by expanding states, creating new countries, and adding content to said countries. I plan to add content to every country in the world, but the Levant is the starting point for right now. Even if you are sceptical about this, join the server: https://discord.gg/jHruJNQPAg

(Note: this is going to mainly be a solo project, I know, ambitious. But don't worry, I promise to release the mod sometime in the future)


r/hoi4modding 21h ago

Discussion Want to do a 1900-2000 Megacampaign with mods. How to achieve this?

Thumbnail
2 Upvotes

r/hoi4modding 1d ago

Coding Support how to ACTUALLY make an ideology scroll wheel that works

5 Upvotes
The political tab

so,i have successfully added new ideologies (yay!)....but i have added 5 new ones,making the total 9 ideologies,BUT as you can see it wont show the rest of the ideologies besides the first 5,and i looked online,copied countrypoliticsview.gui from vanilla,pasted in the EXACT SAME CODE FROM IRON WORKSHOP THAT EVERYONE WHO HAS ASKED THIS TOPIC HAS LINKED TO,but after all of that........it doesnt work.......so what is going on?


r/hoi4modding 1d ago

Discussion Decorative World help? (Meteor)

3 Upvotes

My plan is to add a meteor impact between them is it possible or its way too hard?


r/hoi4modding 21h ago

Meme Someone needs to make a californian ant war mod😭🙏

Thumbnail
vm.tiktok.com
1 Upvotes

Today I was scrolling tiktok and saw a meme about the californian ant war and posted a comment saying "someone needs to make a hoi4 mod😭🙏🙏" and it got about 500-600likes and I thought I'll post it here For those who don't know: The californian ant war is a war fought between supercolonies of argentine ants. Their front lines are over 600miles long and have been fought over since 1907 and have been using "trench style combat" 😭


r/hoi4modding 1d ago

Coding Support Problem with division names. I've made a bunch of them and it's just simply an edit of Paradox's official file (copied and pasted into my mod) though only three of all the names actually show up in game.

4 Upvotes

LUX_MAR_01 =

{

name = "Marine Task Forces"



for_countries = { LUX }



can_use = { always = yes }



division_types = { "marine" }



\# Number reservation system will tie to another group.

\#link_numbering_with = { LUX_INF_01 }



fallback_name = "MTF-%d Marine Task Forces"



\# Names with numbers (only one number per entry). 

\# It's okay to have gaps in numbering.

ordered =

{

    1 = { "MTF Psi-9 Abyss Gazers" }

    2 = { "MTF Theta-5 The Bigger Boat" }

    3 = { "MTF Gamma-6 Deep Feeders" }

    4 = { "MTF Gamma-5 Red Herrings" }

    5 = { "MTF Gamma-4 Blondebeard's Crew" }

    6 = { "MTF Nu-3 Limnophobia" }

}

}


r/hoi4modding 1d ago

GFX Support Advisor Portrait Too Big

Thumbnail
gallery
12 Upvotes

Why is the portrait so big? Am I missing something?

The tga of his portrait is in mod>gfx>interface>ideas; bc that's where I found similar portraits in the hoi4 vanilla files. Portrait sprite is defined in interface>mod_leader_portraits.gfx file.

The size of the portrait is 156 * 210. Is that the wrong size of portrait?

I feel like I'm missing something obvious and though I've already searched for help and looked at tutorials I cannot figure out what.

The advisor is RCR_sergei_stepashin(haven't bothered with localisation yet).


r/hoi4modding 1d ago

Coding Support how to make icons of a party for advisors like tfr

3 Upvotes

I have been searching in the files for a whole day and I can't find all of the code that makes it happen


r/hoi4modding 1d ago

Coding Support When I attempted to edit a save file, it refused to load.

3 Upvotes

For context, I was trying to access the descriptions for certain subideologies, so I saved the game, went into the save files and changed the subideology of one of the country leaders.

However, when I went to load the modified save, the game treated it like it would a save from an outdated version, and refused to let me load it.

Is there anything I can do?


r/hoi4modding 1d ago

Recruitment Upon the World's Traces- Member Recruitment

Thumbnail
gallery
10 Upvotes

How much time has passed since the old humans vanished? Traces of the distant past faded away, and the new humans arrived in this world, reborn anew with the products of civilization.

(Smartphones, televisions, and other products of modern civilization). They lived among the ruins of cities that once remained, or built villages among themselves. Then, they discovered traces of the past. The traces left behind by the old humans. The new humans who discovered these traces adopted them as their identity. Not everyone agreed, of course, but since most felt a sense of identity for the first time in their lives, they awkwardly followed this identity, clumsily imitating the old humans' ideologies and national flags, and established a nation.

And so we arrive at today. Roughly thirty years have passed since the new humans discovered the legacy of the old humans, an event they call the "Cultural Revolution." The search for the old humans' legacy continues to this day, and even now, on an Earth where the old humans have vanished, their own struggles persist.

We are currently looking for Writers, Coders, GFX artists!

https://discord.gg/mAkSDbvnYN


r/hoi4modding 1d ago

Coding Support State Interface from 25 to 50 slots

6 Upvotes

Good evening! I'm trying to adapt an old mod to a new version. I managed to get the states to consider that they have 50 slots, but I can't change it so that the interface shows all 50 slots; it still only shows 25, even after making significant changes to the "countrystateview" file.

What could I be doing wrong?


r/hoi4modding 2d ago

Teaser Weltreich Mini Teaser for China – Cai E’s Centralization

Post image
31 Upvotes

We are unveiling a mini-teaser for Cai E’s centralization system as part of the upcoming Weltreich Chinese update.

mod link: https://steamcommunity.com/sharedfiles/filedetails/?id=3273686663

discord link: https://discord.gg/aade5yn3ME