r/hoi4modding Jun 12 '26

Important TAOG Update Guide

Thumbnail
docs.google.com
6 Upvotes

Courtesy of the EAW team, we have a guide to updating your mods to the latest patch.


r/hoi4modding May 10 '23

Important HOI4 Modding Information + Discord Server

56 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 4h ago

Teaser 160 years ago, the Austrian Empire sealed their victory over the Kingdom of Prussia on the fields near Pressburg... 58 years later, we present to you the state of affairs in the Empire of Austria in 1924 in *Arcana Perfidia*!

Post image
19 Upvotes

Our Discord: https://discord.gg/g3GKwSYZKx
A.E.I.O.U.!


r/hoi4modding 6h ago

Teaser 🇩🇪 Bundesrepublik Deutschland 🇩🇪 (Red Storm)

Post image
15 Upvotes

Introducing a look at part of the Germany focus tree for the release update. This brings basic focus as of 1.0 but will be expanded on and runs from 1949-1956. I hope you enjoy this and I will try to work harder on future updates.

https://discord.gg/9ZxKSN8Jsf


r/hoi4modding 6h ago

Teaser Judgement Day: Red Japan Focus Tree Teaser

Thumbnail
gallery
11 Upvotes

"A change in political tactics was inaugurated by revisionism, which meant changing Marxism into a bourgeois-liberal-labor party."

-Vladimir Lenin

Hello everyone! Today we present Red Japan's Start-off embattled leader, Kazuo Fukumoto and his two paths to success. Will he buckle under pressure and compromise or will he double down? The choice is yours to make as you guide the Worker's Union through a typhoon of uncertainty.


r/hoi4modding 12h ago

Discussion You opinion on Mod Maker Programs

10 Upvotes

Hey, I am a long time modder and genuinely enjoy writing scripts and creating new stuff, but recently I saw that a mod maker was on the steam workshop as well as being advertised here. I believe that coding is one of the funnest parts of modding and that these simple programs take that out of it. I enjoy learning new mechanics and how to mod them into the game, but I fear that these tools will bring 1. A massive amount of mods with no real care put into them and 2. That future modders won't even know how hoi4 code works. What do you think about modding tools?


r/hoi4modding 1h ago

A New Dawn: Coders Recruitment Post

Upvotes

Not that experienced in coding for Hoi4, looking for people willing to fill that role (credits will of course be given). I personally will be the lead writer (as the mod is my idea and the lore is made by me). A general overview of the lore is below.

The year is 2050, the USA, with help from the European Union, defeated Russia in World War III (2033 - 2040), which was caused by Russia's attack on Georgia (which was mostly caused by revanchism following Russia's defeat in Ukraine). While WWIII was ongoing, China and North Korea fought against Japan, South Korea, and Taiwan in the Great East Asian War (2037 - 2039). The GEAW ended in a stalemate, with China annexing Taiwan and Korea being united by South Korea. Putin is assassinated in 2041 and is replaced by Medvedev. Stability has mostly returned to the congo under the US-aligned Republic of Congo. Canada is dealing with tons of unrest in Quebec which threatens full-scale revolution. The Middle East is largely quiet apart from a civil war in Egypt, with the Israel-Palestine conflict being put to rest following Palestine's defeat of Israel in 2027. Russia remains under Medvedev, but Medvedev's health is failing, and internal threats from the CPRF and LDPR threaten to tear Russia apart. Not to mention there is an ever-growing rift between the USA and Europe despite their continued alliance under NATO.

Let me know if you want to help make A New Dawn, or ask questions about the lore if you want.


r/hoi4modding 2h ago

Coding Support Only some ideas showing up for country

Thumbnail pastebin.com
1 Upvotes

In the mod I'm making, only the first and last ideas show up for the country (tag OWL). I was wondering why this happens; I tried changing the syntax and making sure each bracket is paired correctly, but nothing works.


r/hoi4modding 3h ago

Coding Support Why can some countries not be released?

1 Upvotes

For example, Germany cant release their kingdoms like Bavaria and Canada cant release Quebec
Usually they need to complete a focus to release them but when I make a decision with the exact same effect as the focus it doesnt work
How would I make a mod that allows for example Germany to release all of their releasables?


r/hoi4modding 6h ago

Teaser Iron and Ashes (2) Kickstart

1 Upvotes

Iron and Ashes is a mod that answers the question of "What if Poland lost the Soviet-Polish War?".
The mod is in its early stages and in need of Coders and GFX artists.
Discord: https://discord.gg/KKyYAD5fN


r/hoi4modding 6h ago

Coding Support How the fuck do you deal with Nudge's madness while mod-vibing using Google's AI overview?

1 Upvotes

Hi, I'm editing the states of the "Antarctica Redux" mod for personal use. The issue is that since I'm modifying states i need to use the Nudge tool to adjust the buildings. However, the mod I took the files from already has a 'buildings.txt' file, so I would have to overwrite it to apply my changes. How can I keep both the base mod's changes and the ones I make using Nudge?

I 'learnt' to mod two days ago so I pretty much don't know what the fuck I'm doing. Any help is appreciated

Also, I post it here because they won't let me at r/hoi4modding


r/hoi4modding 12h ago

Coding Support What makes the custom Intelligence agency not work?

Post image
3 Upvotes

r/hoi4modding 8h ago

Coding Support Where are generic tooltips?

1 Upvotes

Where can I find the localisation file for generic tooltips like "generic_skip_one_line_tt"? There isn't a "generic_l_english" file and it also isn't in "effect_l_english" or "triggers_l_english".


r/hoi4modding 22h ago

Teaser Commies on Midway

8 Upvotes

Have you ever wondered what if German communists got expelled to Midway Island in 1936?

Well I did!

In this mod the GDR got founded on Midway Island once the Nazis abandoned them there in 1936!

And soon you can take control over this country too!

(Only the starting tree, as shown, is available at the moment)


r/hoi4modding 11h ago

Coding Support I tryna add a Tank Module in game but i have a issue actually

1 Upvotes

z_corner_cutting.txt

equipment_modules = {
    corner_cutting_module = {
        abbreviation = "cc_mod"
        category = tank_special_module
        sfx = sfx_ui_sd_module_turret
        gfx = GFX_EMI_tank_module_easy_maintenance_access
        add_stats = {
            reliability = -0.15
        }
        multiply_stats = {
            build_cost_ic = -0.30
        }
        xp_cost = 5
    }
}

I want to make a mod that adds just one new tank module, but for some reason, the game won't let me add a module. However, for some reason, vanilla modules are somehow changeable.
so what code should i change for it
the 00_tank_modules.txt its regular code i copy in hoi4 folder
same as tank_chassis.txt

descriptor.mod

version="1.0"
tags={
    "Alternative History"
    "Military"
    "Technologies"
}
name="Corner Cutting Submod"
supported_version="1.19.2.0"
path="mod/CCS"

r/hoi4modding 1d ago

Discussion Is there anyway or mod where I can make the entire frontline on a faction? And not just 1 country?

Post image
25 Upvotes

r/hoi4modding 2d ago

Teaser Behold! The Gutted Giant: Spain! | Millenium Daydream

Post image
245 Upvotes

r/hoi4modding 1d ago

Coding Support Mod won't upload

5 Upvotes

So I made my own HOI4 mod, and I wanted to publish it to the Steam Workshop. But for some reason, I got this error


r/hoi4modding 1d ago

Teaser Reunification Super Events of the upcoming mod "Northern Front"

Thumbnail
youtube.com
3 Upvotes

All the Reunification Super events that comes with the launch of the upcoming mod HOI4 mod, Northern Front: Reclamation Day.
A HOI4 mod about a fictional Norwegian Civil war

The Super Events trigger when you have done the last focus to Unify the Country again. There is one for each of the Playable nations, and more depending on path


r/hoi4modding 2d ago

Teaser First (sorta) Teaser of the Winter of Nations total conversion mod! Here is an example of what the map will look like!

Post image
35 Upvotes

r/hoi4modding 1d ago

Coding Support Game crashes after selecting Japanese divisions

4 Upvotes

I am working on my small mod, and have created it before 1.17 and the No Compromise No Surrender update. For some time now my game crashes when I select a Japanese division.

  1. I have tried to edit another nation's oob and make it Japan's oob since I thought this was a template issue. It didnt work.

  2. All another nations in the Asia region do not have this issue, in fact all other nations on Earth do not have it.

  3. I thought this was hardcoded post-1.17 to the JAP tag, so I changed the JAP tag to a JPN tag, but the game still crashed after I selected a single division.

  4. Divisions in other parts of the world seem to be selected just fine, and volunteers can be selected just fine. When my divisions return to Japan and i select it, the game crashes.

Has anyone else experienced this? This happened even before the 1.17 update.


r/hoi4modding 2d ago

GFX Support Guys i need to find these wheat sheaf assets and these spiky stars separately.

Post image
21 Upvotes

r/hoi4modding 2d ago

GFX Support Why is HoI4 not making any sense?

Post image
22 Upvotes

I tried to add a custom focus icon but nothing really works, so if someone could help me, I'd be glad!


r/hoi4modding 2d ago

Coding Support figuring out how to edit a map will give you either super powers or a brain tumor

Post image
6 Upvotes

i got another stupid idea for a mod (other then DRO) for which i need a custom map but i legit have no clue on how to make it work. game just crashes once it tries to use my test province map(there is only 1 sea and land provinces/tiles).

i dont want to use genmap or whatever its called .

worst part is that there are NO tutorials on how to make a map from 0 without using that thing.


r/hoi4modding 2d ago

Teaser Greece and the Ottoman Empire in 1970 - Sword of Damocles: Between East and West

Post image
55 Upvotes