r/hoi4modding Jun 12 '26

Important TAOG Update Guide

Thumbnail
docs.google.com
9 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

55 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 8h ago

Teaser "Aftermath: The Cold War" presents: The North American Theater (US focus tree)

22 Upvotes

The USA is the country with the largest focus tree because of the huge influence they had in every part of the world. Today, we present you a part of the foreign policies that the US can take on in ATCW. If you have any questions, please comment or join the discord server

We are always on the look for dedicated writers, coders, and GFX artists

Join the discord server here: https://discord.gg/yQKxNeMCf2


r/hoi4modding 1h ago

Coding Support Im trying to make a focus tree where you annex tibet as china and i the bracket for the completion reward keeps going this yellow colour and ignoring all the code below it

Thumbnail
gallery
Upvotes

r/hoi4modding 8h ago

Discussion Would anyone be willing to make a mod that makes Mittelafrika achievable without a world conquest?

Thumbnail gallery
4 Upvotes

r/hoi4modding 57m ago

GFX Support HOI4 Mod Loader Order Not Working

Upvotes

So basically, I have a HOI4 mod that changes some GFX elements in the game (it's ironman compatible). However, when I activate another mod in the launcher that changes the same GFX elements (any mod) my mod gets overwritten always, no matter where in the mod loader it is positioned (above or below). I would appreciate any help.


r/hoi4modding 2h ago

Discussion What am I doing wrong?

0 Upvotes

I'm trying to get the focus tree I made for a custom nation to show up correctly. However, it only shows one focus, and it only has the script id.


r/hoi4modding 7h ago

Teaser How proxies work in the new cliche last days of uniqueness

2 Upvotes

Today we're going to learn how proxies work in the famed mod The New Cliche : Last days of Uniqueness! Today's example is a little dubious insurgency known as the Malaysian insurgency Mosley fumbled ww2 and now the Commies are affecting his rubber supply! Now it is up to you to save the Anglosphere! You can prepare for a lightning fast warfare or bunker up and tire the rebels out! You can also invade the lonely countries in Brunei to expand Malaysian bases. WARNING : this will cause internation condemnation and might lead to a quicker world war 3!!!! In image 2 we can see a new country, the Malayan Federation has spawned! This is the side both you and Canada fight to help win and dominate the peninsula! You get 3 weeks time for final preparations and seize initial lands! But bear in mind that the war is just one part of the wider proxy! From image 3, this is the Evacuation ending of the proxy, if you did seize Brunei and didnt cause ww3, you can now do a Taiwan style exile government but granted, it will be harder to protect from Canadian interests and keep stable Next teaser will focus on the peace time proxies hope you enjoyed this one see you soon!

Peace time Tomfoolery
Its gonna start ruh roh
The evacuation ending
  1. Incase you were wondering what happens if you completely fumble

https://reddit.com/link/1v4dmvp/video/1kduymrybzeh1/player

Discord : https://discord.gg/fNNQFR5dm


r/hoi4modding 1d 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
39 Upvotes

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


r/hoi4modding 6h ago

Discussion is there a turtorial for the ANKA mod editor?

0 Upvotes

im trying to get into hoi4 modding and ANKA seems easy to use (Plus it's the only thing that doesnt confuse me) so is there any tutorial for it?


r/hoi4modding 1d ago

Teaser 🇩🇪 Bundesrepublik Deutschland 🇩🇪 (Red Storm)

Post image
35 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 1d ago

Teaser Judgement Day: Red Japan Focus Tree Teaser

Thumbnail
gallery
20 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 1d ago

Discussion You opinion on Mod Maker Programs

14 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 1d ago

Coding Support Why can some countries not be released?

3 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 23h 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 1d 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 1d ago

Coding Support What makes the custom Intelligence agency not work?

Post image
3 Upvotes

r/hoi4modding 1d 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 1d ago

Teaser Commies on Midway

9 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 1d 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 2d ago

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

Post image
32 Upvotes

r/hoi4modding 1d ago

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

0 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 2d ago

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

Post image
264 Upvotes

r/hoi4modding 2d ago

Coding Support Mod won't upload

7 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 2d 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