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

57 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 • • 2h ago

Teaser Weltreich Italy Teaser: Flight of the Archangel

Post image
8 Upvotes

We have broken ground on Italy's focus tree development! These focuses determine Italy's starting situation, the fate of the Poet, and its other political paths!

We will be back soon with a new content teaser!


r/hoi4modding • • 22h ago

Teaser Vive le Napoleon!

Post image
116 Upvotes

Hello everyone, VLN team is proud to announce that we have finished our first teaser, which is map of Europe and its leaders! In the year 1922 Europe stands united under Napoleonic bloc, spanning from Lisbon to Siberia (Soon to be teased!). We are also proud to announce that we have finished the lore document, where the basic lore of the world is written in the Discord server.

Vive l'Empereur!

https://discord.gg/zWNURRna6Z


r/hoi4modding • • 2h ago

Dev diary 2 : The United States of America : Part 1 : Rise and fall of Ford :

Thumbnail
reddit.com
1 Upvotes

Have a good reading ^^


r/hoi4modding • • 23h ago

Teaser Russian political situation in 1970 - Sword of Damocles: Between East and West

Post image
37 Upvotes

r/hoi4modding • • 4h ago

HOI4 crashes when loading a game after adding new land, states, and provinces to my map mod

1 Upvotes

I'm creating a HOI4 mod that adds new land, states, and provinces to the map. The game launches normally, but crashes while loading when I try to start a new game.

I have tried using Nudge! to fix the issue. I opened Nudge!, went to Buildings, selected "Validate All States", and saved. I then replaced my mod's buildings.txt with the generated file. However, the game still crashes. Only buildings.txt was generated, so I'm not sure if that is normal or if I need to generate other files as well.

Regarding the map changes, I have not modified any of the existing land provinces. However, I reclaimed some sea areas, which caused the original sea province 5555 to disappear completely. I reused the ID 5555 for a new land province, because otherwise the game would crash before even reaching the main menu. I also removed ports that were adjacent to the original sea province 5555, as well as ports that were originally located on the land I reclaimed. I believe the new land province 5555 is defined correctly.

I have searched this subreddit and other websites for similar problems and tried all the solutions I could find, but none of them have worked so far.

The following error appears in the game log:

Exception in: , line: 238. Description: Failed allocate data buffer.

There are also several other map-related errors and warnings, including:

MAP_ERROR: The land province 8151 - has no state.

map/buildings.txt port building has invalid sea zone for province 485.

State Error: Trying to set invalid province building "naval_base" to province #9498.

The log also contains many warnings about coastal provinces without ports and disagreements between the province bitmap and definition.

Does anyone know what might be causing this crash, or what else I should check?

This is my first time posting in this subreddit, so please let me know if there is anything I could have done better or if I have accidentally broken any rules. I have read through all the rules and guidelines, but I may have overlooked something.


r/hoi4modding • • 23h ago

Teaser Dawn of Empires 1.1 is NOW AVAILABLE!

Thumbnail
gallery
27 Upvotes

The wait is finally over! Dawn of Empires 1.1 has officially been released! 🎉

This update brings a huge amount of new content, improvements, and changes to the mod.

What's New?

  • Kingdom of Greece & Ottoman Empire: Two brand-new, extensive focus trees, featuring their historic rivalry and unique paths.
  • Smarter AI: Completely redesigned AI strategies, making countries act more intelligently according to their objectives.
  • AI Settings: New behavior settings for every country with custom content.
  • Peace Conferences: Improved AI strategies and rules for more logical and realistic peace deals.
  • Visual Overhaul: Redesigned loading and country selection screens, fully matching the mod's atmosphere.
  • Bug Fixes & Improvements: Numerous fixes and refinements based on your feedback.

This update is another major step forward for Dawn of Empires. We hope you enjoy everything we've been working on!

Thank you all for your continued support.
Mod Link: https://steamcommunity.com/sharedfiles/filedetails/?id=3782249498
Discord: https://discord.gg/HZcJ9a9KY


r/hoi4modding • • 1d ago Regret

Teaser Federation of Rhodesia and Nyasaland teaser TRW

Thumbnail
gallery
208 Upvotes

r/hoi4modding • • 1d ago

Teaser The Dead Continent: The World Outside Europe UPDATE!!!

Thumbnail
gallery
22 Upvotes

HELLO!!!

I am excited to announce that the next big update for this mod drops today! This one adds a lot of flavor and some bug fixes, along with much-needed content for the "Third World" nations outside of America and Japan. Thank you for all the support, and I hope you guys enjoy! This was one of the larger updates I pushed out, so this one did take a lot longer. I am still actively hunting bugs, so if you come across any, please reach out so we can deal with them asap. We are still very much in ALPHA, but I have had some people volunteer to help out, so hopefully we can have a full release as soon as possible!
https://steamcommunity.com/sharedfiles/filedetails/?id=3841114971

-PP

NEW FOCUS TREES

Indochina: Vietnam, Cochinchina, the Pathet Lao, Laos, Cambodia and the Issarak Front, all tied into the Vietnam War, the Laotian and Cambodian civil wars, the Indochinese Federation and the Second Indochina War.

The Caucasus: Georgia, Armenia, Baku and the Imamate, with a shared Transcaucasian pact that can become a federation.

Central Asia: Alash, the Turkestan District, Bukhara and the Turkmen.

The warbands: the Ashen Riders, the Po Valley Brigands, the Carpathian Wolves and the Lost Legion. They keep their own trees after they settle.

Africa: three shared regional trees, for French Africa, the former Italian colonies and British Africa. Each has a common core plus a branch for each nation.

The Americas: Argentina ("The Third Position"), Brazil, and shared trees for the Southern Cone, the Andes, Mexico and Central America, and the Caribbean.

The SS holdouts, rebuilt:

Festung Nord (53 focuses): the food crisis, the Akershus files, the Milorg, Vemork's heavy water, and four endings, from a last stand to Operation Homecoming.

The Black Order (60 focuses): Himmler's failing health and the fight over his successor between Berger, Pohl and Schellenberg; forced-labour levies, heresy courts and the uranium road.

Banat (47 focuses): crusading zeal, the Swabian villages and its neighbours' hatred. It can burn out, launch a last crusade, flee, or face a rising of the villages.

The Corsican Raiders (31 focuses): raids, Sardinia and Tuscany, a pirate fleet, and three paths: the Brotherhood of the Coast, Paoli's Constitution, or the Tricolore under Free France.

O Sistema (24 focuses): the families of southern Italy. Rackets, Naples and Sicily, and three paths: La Cupola, Lucky's Friends (American money through Lucky Luciano), or the Bishop's Ring under the Holy League.

NEW STORY CONTENT

The Americas, four chapters: the real March 1950 governments of all twenty republics; the Rio Pact; Perón's Third Position; Vargas' return; La Violencia; Árbenz and land reform; Batista's coup; the Bolivian Revolution; the Buenos Aires Accord (Argentina becomes Japan's foothold); Guatemala 1954, where Árbenz survives; the Liberating Revolution in Argentina; Castro and the Sierra Maestra; Venezuela 1958.

The Partition: when India leaves the Empire, Pakistan and Bangladesh-Assam go with it. Four months later all three fight each other at once, over Kashmir, Calcutta and East Bengal. If nobody wins within 30 months, an armistice freezes the lines.

NEW SYSTEMS

The Holdout system for the SS states:

a veteran cadre that can't be replaced;

unrest in occupied states, answered with terror or concessions;

desertion;

ratlines to Argentina and Spain;

couriers between the holdouts;

a final collapse.

NATO's cohesion arc: the Lisbon force goals, the European Defence Community vote, "Pacific First?", dual-key warheads, and alliance unity that shapes Chapter IV.

The arms race and the secret war: strategic strength built from warheads and delivery systems, plus spy networks, operations, counter-intelligence and exposure events.

Corsican raids: loot from six coastlines, building infamy, and punitive expeditions when a victim has had enough.

Southern Italian rackets: protection money, smuggling and rigged contracts that raise tension between the families until they go to war with each other.

MAP CHANGES

Over 110 states changed hands across three map rounds.

South Asia:

Britain keeps Pakistan and Bangladesh-Assam as colonies, and the Shan States become a protectorate of British Burma.

Britain also rules Palestine, Transjordan and Kuwait directly.

The Pacific:

Japan holds Malaya, Singapore, North Borneo, Guam, Timor, New Guinea and parts of coastal China.

Indonesia is Japan's colony: the Japanese Protectorate of Indonesia.

New nations: Somaliland, the Corsican Raiders and O Sistema.

Europe:

Switzerland is much smaller, with a far weaker starting army.

The Lost Legion moves into Alsace-Lorraine.

The Alpenfestung trades Vorarlberg for South Tyrol and Trentino.

Thrace goes to Greece's communists.

Finland loses Petsamo and Salla.

The Middle East: about 270 new provinces and 16 new states across Iraq, Syria, Lebanon, Transjordan and Saudi Arabia.

Central Arabia is renamed Saudi Arabia.

New map colours: Saudi Arabia green, Sudan light blue, Libya light green, Iraq brown, Afghanistan soft blue, Spain orange.

China's capital moves to Beijing.

BALANCE

The wasteland is settled more slowly: one state per focus, frontier strain is respected, and new land takes nine months to consolidate.

The Vietnam War and the Laotian civil war now end in an armistice after four years if nobody wins.

Focus war goals no longer target African or American states.

America's Cold War budget slows its arms build-up until a war with Japan, and Japan builds factories faster. The two now finish closer to even.

Japan keeps its client states more easily.

The Netherlands and the Belgian exiles can't join NATO until the Liberation of Brussels is decided, so the Black Order lasts longer.

Renamed countries keep their names under any government.


r/hoi4modding • • 23h ago

Discussion The unfinished state map for me and my friend's mod

Thumbnail
gallery
5 Upvotes

We want an accurate projection and more states because our mod has many countries, so we're making our own from scratch

making our own from scratch


r/hoi4modding • • 1d ago

Discussion Flags From Aftermath: The Cold War

Thumbnail
gallery
7 Upvotes

r/hoi4modding • • 1d ago

Discussion Proxy states

16 Upvotes

I genuinely love when mod adds cosmetic puppets and proxy states and war. Especially if they come with some real consequences. I don't understand why so many creators are doing "Focus conquer your neighbor" and them focus "Core your neighbor with some little debuffs" it's feels boring and unoriginal. I think more and more mods need to add proxy states and wars.


r/hoi4modding • • 2d ago

Teaser A World to Win — European Economic Community [WIP Teaser]

Thumbnail
gallery
162 Upvotes

Soon + 2 weeks
(currently working in Russian loc first)


r/hoi4modding • • 2d ago

Meme Here is my fully original mod for hoi4

Post image
23 Upvotes

you can tel its good because it has a generic name and it has purple just like the esoteric hoi4 meme factions guy its so schizo look at the purple


r/hoi4modding • • 1d ago

Coding Support How to update the mod from 1.19?

1 Upvotes

I'm split between just changing supported version, since 1.20 did not add any new mechanics that would break stuff and copying the files, creating a new mod and pasting them back in. which option should i choose?


r/hoi4modding • • 2d ago

Coding Support Now that the nudge tool is still broken, how do i create states? Does anyone know or have any tutorial on this?

2 Upvotes

As i said nudge tool is still broken as of 1.20.0, i have been making 2 mods for some time and have delayed making states for so long i have managed to do everything in those mods that doesn't require new states in any way but the time came and STILL the nudge tool doesn't work


r/hoi4modding • • 3d ago

GFX Support First HOI4 Icon, Esoteric Nazcap, what do I improve?

Post image
154 Upvotes

r/hoi4modding • • 2d ago

Discussion HOI4: No More Neutrality for Switzerland

Post image
4 Upvotes

I recently had a talk with a friend about Switzerland during WWII, and he told me something I honestly hadn't thought much about before.

Apparently, the Swiss had plans to blow up bridges, tunnels and other important passages if Germany ever invaded. Combined with the mountains, narrow passes and all the fortifications, turning Switzerland into an occupied territory would've been a pretty nasty logistical nightmare.

That gave me an idea for a HOI4 run.

I picked Switzerland and used PLITCH cheats like Instant Construction to quickly turn the entire country into an Alpine fortress. I also boosted my resources and stockpiles so I could produce enough equipment to send military aid to the Allies through Lend-Lease.

The idea is to stay neutral, build up an absurdly strong defensive position, supply the Allies with weapons, and eventually become a new problem for Germany right on its doorstep.


r/hoi4modding • • 2d ago

Teaser Warrior cats again!!

Post image
10 Upvotes

We are a mod about warrior cats (roleplay server) AU.
A long time ago, the original clans die out, so StarClan decides to rebuild the clans through loners and kittypets in a faraway valley. This is where they live today, in The New Era.

We have 5 clans - the originals. BUT We also have custom extra factions.

The Kittypets, split into rough and capable, soft and clumsy and the evil Rogue grouping, lead by the reason of the Great war thats brewing.. Yes, war, caused by Rogues, rising ideas and coincidences is coming.

In the teaser you can see one of the warlords of the aggressive kittypets, created purely to mass numbers and prepare to avenge those wronged and murdered by the big bad of the universe, by any means necessary.


r/hoi4modding • • 2d ago

Discussion Whats the best/easiest way for making mods?

4 Upvotes

I really want to make a mod but a i loose motivation to do so very quickly due to the loss of ideas and getting stuck on stuff. I dont want to use AI.


r/hoi4modding • • 2d ago

Coding Support How to do custom effect description

Post image
4 Upvotes

So basically the event fires about 60 Days after completing the focus ans I would like to tell that in the effect description, is that possible? and if yes how?


r/hoi4modding • • 4d ago

Teaser Country select screen for a 2000s Axis victory mod

Post image
423 Upvotes

r/hoi4modding • • 3d ago

Teaser Dead Boys and D-Bees

Thumbnail gallery
4 Upvotes

Making a mod set in Rifts. Currently working on techs and unit balances.