r/hoi4modding 1h ago

Discussion What am I doing wrong?

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 5h 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 6h 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 6h ago

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

20 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 6h ago

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

Thumbnail gallery
3 Upvotes

r/hoi4modding 22h 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 23h 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 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 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

Teaser Judgement Day: Red Japan Focus Tree Teaser

Thumbnail
gallery
18 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

Teaser 🇩🇪 Bundesrepublik Deutschland 🇩🇪 (Red Storm)

Post image
37 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

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

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 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 What makes the custom Intelligence agency not work?

Post image
3 Upvotes

r/hoi4modding 1d ago

Teaser Commies on Midway

10 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 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
31 Upvotes

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


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

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

Post image
7 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 Behold! The Gutted Giant: Spain! | Millenium Daydream

Post image
262 Upvotes

r/hoi4modding 2d ago

Coding Support How to set up focus prerequisites like this?

3 Upvotes

focus needs you to have Focus A, and either both focuses B & C, or both focuses D & E


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
37 Upvotes