
r/hoi4modding

Tired of late-game lag, I coded my own mod. It's 1949 and 1 day takes 2.4 seconds.
UP: Hey everyone, I'm seeing a lot of requests for the beta. Just to be clear, this post isn't AI slop my English just isn't great, so I used AI to translate it. I promise I'm doing my best to get the beta out. I'm not claiming to have the best AI or performance mod out there anyway. I just wanted to share the data with you all.
Hey guys. I got tired of the late-game lag on my mid-range setup (i5 11th Gen laptop), so I started making a performance mod. Instead of giving the AI artificial buffs like Expert AI does, I tried to optimize how the vanilla AI manages its military.
The main change is a hard cap: countries can only train divisions based on their current factory count and available manpower (e.g., 10 factories = max 5 divisions, 40 factories = 25). This stops minor nations from spamming units and choking the CPU. It also forces major nations to build high-quality, fully equipped templates instead of flooding the map with weak units.
I left an observe mode test running overnight. When I woke up, the game was in August 1949 and running surprisingly well on Speed 5 (FOW on):
1943: 1 day = ~1.8 seconds
1945: 1 day = ~2.0 seconds
1949: 1 day = ~2.4 seconds
Some observations on how the AI handled these restrictions by 1949:
Germany focused on economy until late 1938, then took Poland in 20 days with 16w templates. France built heavier divisions and held out until early 1941. Germany also invaded Switzerland right before Barbarossa.
For Barbarossa, Germany built around 4.5K planes (Fighter/CAS). The Soviets used a deep defense with infantry and AT stacks. It turned into a stalemate until 1945, but the Soviets eventually capitulated while I was asleep.
Axis forces invaded Turkey and pushed into Egypt.
The UK is stuck on its island with a massive iron deficit due to convoy raiding. However, the AI managed its production well: they have zero equipment deficits, a 10K plane stockpile, and 210 fully supplied divisions using Modern Tanks.
The US puppeted Japan.
AI dynamically adjusted production to fix deficits and built specific counter-units (like Germany making 16w AT divisions against naval invasions).
I'm not planning to upload this to the Workshop yet; I just wanted to share the test run.
(Screenshots are from 1945, when the Soviets were pushed back to the Urals.)
How do i change ownership of a single province in HOI4?
Im trying to make Al-Qassim control the highlighted province (because hoi4 tabuk is weirdly shaped) and whenever i try i break my game, How do i do this?
Endzeitalter - the war of species : Great Zentrasian War
Endzeitalter - the war of species is a HOI4 ORIGINAL FANTASY ANIME OVERHAULED MOD which is based on another earth where not only human beings, but also other tribes like elf and orc, exist.
The Great War, which broke out in 1914, killed countless tribes, but the victors were not rewarded appropriately, and the vanquished ones were given an opportunity to extreme their ideologies. In the 1930s, the Great Depression and the Colony Revolt broke out, destroying the largest empire-Britannia and intensifying ethnic conflicts. Now, the world's final day is coming. There is no evil and no justice in any tribes. The world is now looking at dusk.
I created all of provinces and states new. But because we don't have artists now, we use AI images for chracters.
Focus trees for two countries (United Empire of Britannia, Federal Republic of Zentrasia) are already created. Beta version will be released in summer.
Zentrasia and Britannia fight an all-out war, similar to the Sino-Japanese War in real history. This war will be a main content for each other.
Everlasting Peace Country Selection Screen
Everlasting Peace is a mod that allows players to experience the Interwar period of 1918, all the way up until the 1930s. The mod uses a vanilla+ approach, making higher-quality but still not overly complex content.
Players can either follow the historical timeline, or choose to diverge into a new one. Perhaps Trotsky, not Stalin gets into power? Or what if the Kapp Putsch succeeding, maybe stopping the rise of Hitler, but dooming Germany nonetheless? All of that and more will be available in Everlasting Peace, the Interwar Hearts of Iron IV mod.
The young democracies of Eastern Europe in 1970 - Sword of Damocles: Between East and West
A couple of Events for China and the Soviets - Shattered Curtain
Shattered Curtain is a mod set in 1989 that allows you to explore the collapse of the Eastern Bloc in both historical and ahistorical ways.
Beneath the Maroon Sky needs GFX Artists.
Hello there we need GFX Artits that are specialiced in the Arts of the TFR Icon Style.
We aim to create a unique World and Mod based on the Game of Suzerain.
We also need all kinds of other devs from a planner, researcher and writer to coders we if you are motivated we would love to see you join our team. :)
Probably not going to make a full mod, but I made ideology icons in the style of HoI4 for fun and thought I might as well show them off:
Is there a Weimar Republic mod or interwar mod?
I remember there was a mod to play as the Weimar Republic but it just lead to Hitler gaining power. Is there any way to play it without this happening?
Leaders and potential outcomes for Germany under the German State Party in Stalemate: the Frozen War
Developer Diary I - Under the Horizon!
Hello and welcome to the first developer diary for Over the Horizon! Well, it's more of a loredump than anything... this one will be a bit lighter on actual mod screenshots as this is mainly to establish the lore that I'm sure many of you have been begging to know about.
Some aspects of the map are very much so still work in progress, especially the starting states of some proxy conflicts and the borders for some divergences.
The Iron Curtain, 1990
^(As you can see, the DDR is a little larger, Greece is communist, and Austria is split in half?!)
^(Also, Yugoslavia isn't a puppet or anything. It's socialist but non-aligned, if you think the color should be changed feel free to say so!)
Over the Horizon's timeline ultimately branches out from the Battle of Stalingrad, one of the most important battles of the 20th century:
1940s:
- At the battle of Stalingrad, and subsequent Soviet offensive (see: Operation Uranus), German operational blunders result in a heavier loss of armor reserves and ultimately cascades in the Germans being routed at the Battle of Kursk. What follows is a faster collapse of the Eastern Front as Manstein's strategy of elastic defense cannot be sustained as well with less armor, and victory in Europe is achieved by early Feburary in 1945.
- During the conferences for establishing a post-war order, further Soviet territorial advancements resulted in the Soviets essentially getting more industry to strip as they secured Holstein, including the cities of Kiel, Hamburg and Hannover. In exchange, the allies retained the division of Korea in spite of the earlier Soviet entry in the pacific.
- Further, Roosevelt's commitment to free elections at Yalta now that the war has ended would also result in less British intervention in Greece, with a weaker Dekemvriana and the EAM participating in elections - resulting in a communist-led coalition government.
The Korean Peninsula at the start of the game, December 31, 1989
1950s:
- In June of 1950, North Korean forces crossed the 38th parallel after Kim Il-sung received his blessing to reunify the Korean peninsula. The ragtag UN coalition assembled by the US did not arrive in time as the Busan perimeter, already the last defensible line on the peninsula, was broken along the Naktong bulge and cleared of defenders within weeks. By the end of summer, Korea would be unified under Kim Il-Sung's DPRK.
- In Tokyo, MacArthur and the occupation authority concluded that Japan could not be left unprepared in the event of an assault by a red Korea backed by the Soviets and Chinese. When sovereignty was returned to Japan in 1952, the remilitarization results were... underwhelming. The problem? Prime Minister Yoshida's pacifism. Soon after, in a shocking coup, Yoshida was murdered in broad daylight and the conspirators led their Security forces to seize government institutions and install Ichirō Hatoyama as the new Prime Minister.
- Back in Europe, the Austrian State Treaty was never signed and both Austrian states were now comfortably integrated into their respective blocs. The Greek Civil War concludes in an EAM victory.
1960s:
- In October of 1962, Soviet missiles in Cuba brought the two superpowers to the brink of nuclear war, however both Kennedy and Khrushchev found a face saving way back from the edge: a mutual withdrawal, American missiles out of Turkey and Italy, Soviet missiles out of Cuba, and a quiet promise not to invade each other.
- Khrushchev returned to Moscow with enough prestige to survive removal, and could end up governing until 1971, however he would assume a more 'party elder' role and slowly hand off the reins by his later years.
- In Vietnam, the fall of Korea had left Washington with no appetite for another humiliation. Troop deployments climbed through the Kennedy years and exploded under Lyndon B. Johnson. By the height of the war, nearly 700,000 American personnel were stationed in Southeast Asia, culminating in massive anti-war protests and the derailment of his Great Society initiative.
- On October of 1965, Indonesian General Suharto, was killed in a coup by junior officers of the 30th of September Movement. President Sukarno and the PKI leadership, returned to Jakarta to find the army decapitated, and the Socialist Republic of Indonesia would be proclaimed on the 3rd of January, 1966.
^("The indomitable will of the proletariat, propelled by the ideals of Marxism-Leninism, can overcome any obstacle." - Alexei Leonov)
- In 1968, the Soviet Union achieved the impossible and catches the United States by surprise. Carried by the UR-700 rocket, Alexei Leonov stepped onto the lunar surface, becoming the first human being to walk on another world.
^(Fun fact: ITL, approximately ~550 million people would watch Leonov take his first steps on the moon on tv!)
- NASA scrambled to catch up, with Apollo 11 being rushed and launching weeks later. Many of the issues that plagued Apollo 10 would be left unaddressed, and astronauts Neil Armstrong and Buzz Aldrin would perish upon descent as the LM crashes into the moon, resulting in Nixon's infamous 'In Event of Moon Disaster' speech actually being broadcasted to tens of millions across the world.
Sub-Saharan, Central, and South Africa at the start of the game, December 31, 1989
1970s:
- Without the Lin Biao affair to discredit the radical Maoist faction, the Gang of Four kept much of their political credibility through Mao's last years. Mao's health deteriorated faster in the aftermath, and by 1974 he was in a coma. Deng Xiaoping, already in disgrace, was put on public trial in 1976 and executed. Wang Hongwen became Chairman of the Communist Party as a figurehead.
- In late 1977, Brezhnev died of a stroke and was succeeded by Yuri Andropov. A pragmatist, he reinstated key reforms, starting with a wide-scaled anti-corruption campaign, and turned his attention to addressing the stagnating economy, and took interest in the OGAS project, a nationwide computerized economic planning network developed by cyberneticist Viktor Glushkov.
- The Nigerian civil war that had begun in 1967 would soon grind to a stalemate, with neither Federal Nigeria nor Biafra being able achieve victory. In 1971, American diplomats brokered a partition: the Republic of Nigeria under a Hausa-Fulani junta in Kaduna, the Yoruba Republic in Lagos, and the Republic of Biafra.
- By early 1973, Nixon had secured his 'peace with honor' in Vietnam. American forces withdrew as South Vietnam secured a bilateral security treaty with the US, deterring invasion by the north and ultimately securing South Vietnam's independence.
- The Estado Novo remains in power as the colonial wars would largely result in the pacification of Portugese holdings in Africa, and the AFM's coup would quickly fall apart.
1980s:
- After years of stagflation, Colorado Senator Gary Hart defeated George H.W. Bush in 1980 in one of the largest landslides in American history. The Atari Democrats, the new generation of fiscally conservative and technologically optimistic liberals, inherited an economy already meaningfully recovering from the worst of the 70s. By 1982 the economy was growing again, driven by the buisness computing boom and a nascent semiconductor industry.
- Across the Atlantic, Iraq invaded Iran in 1980. The war quickly ended and Iraq emerged from the conflict as a major regional power with an intact army and greater oil reserves. Iran would soon fall into civil war as the Islamic Republic loses legitimacy.
- In 1984, the Americans would see the establishment of the Plymouth Lunar Base. Zvezda, the Soviet Union's lunar base, would soon follow. The 1980s would see private investment flow into aerospace as the Americans and Soviets begin assembling their own large LEO space stations.
- >!Margaret Thatcher would killed alongside several members of her cabinet in late 1984.!<
- In Japan, Yasuhiro Nakasone came to power in 1983. American pressure over trade and the Plaza Accords (which Japan refused to sign) pushed Nakasone toward a confrontation with the USA, by announcing that Japan would not renew the Anpo Treaty. For the first time since 1945, Japan stood alone. Over the course of the decade, Gary Hart preserve relations through negotiating voluntary caps in Japanese exports to reduce the strain on American companies.
- In South Vietnam, a miracle was happening on the Mekong delta. Japanese agricultural companies, trading houses, and American manufacturers had found in Vietnam exactly what they needed: cheap labor, improving infrastructure, and a government eager to make deals. Over the 80s, annualized growth in Vietnam would slowly approach double digits.
- The African National Congress had also been radicalized by the death of Nelson Mandela, shot during a botched rescue operation, and driven toward terrorism due to having no other option. Bombings and assassinations would further increase western hostility and delegitimized the movement abroad in spite of apartheid's institutions.
- In Portugal, Rui Patricio's reform program was slowly turning the country into something approaching a modern democracy. Economic liberalization and foreign investment were producing growth rates Portugal had never seen. In 1987, the first free elections since the 1920s were held. While the assimilado system was abolished, citizens in Angola and Mozambique were still left without a vote.
- By the end of the decade Andropov's reforms produced increases in efficiency in industrial sectors where implementation was widespread. The cultural thaw done out of pragmaticism was producing a richer culture quite different from our historical late 80s: science fiction would boom in popularity, boosted by the space program's achievements. Rock would be legitimized and the scene wouldn’t be underground like it was OTL due to less restrictive institutions. TV would be more varied: at the national level, science programs explaining the space program to kids, serial dramas, comedy, cooking show, musicians performing live, cartoons, etc. However, two unspoken rules remained: do not question the party, do not place western liberal democracy in a positive light
- American foreign policy would sharply change course with John McCain winning the American presidency in 1988, declaring that the United States would no longer tolerate Soviet imperialism as domestic concern over Soviet influence abroad and the militarization of space grows.
^(There is also some loredump here in the form of news exerpts from the perspective of the universe)
Aaaandd... that's it! We did have to skim over a LOT of events, pieces of major historical info, and including those would make this dev diary end up being 10x longer (im serious). Plus, we'd have nothing to show off in the following dev diaries! Over the last few years (since 2021 at it's earliest!), Over the Horizon remained as a more or less solo passion project for the first few years and it's taken two major iterations of essentially nuking everything and starting from a clean slate to get to the point where we are today. (lesson learned: perfection is the enemy of progress).
There's no schedule at all for these and it's mainly when we feel like it because this alone took like 5 hours to piece together from our lore docs and picking and choosing the events we felt were most important. We hope you enjoyed our first real dev diary, and thank you for reading!
^(Also an obligatory thank you to our current contributors, those who were with our team and the dozens of modders who have let us use their stuff like pie charts and such!)
Rise of Slavia / Nordic teaser
Discord server: https://discord.gg/S6NbPfbB
Why is this character not beeing recruited?
characters={
HEF_Karl_Stieler={
name= HEF_Karl_Stieler
portraits = {
civilian = {
small=GFX_portrait_Karl_Stieler}
}
advisor={
slot = political_advisor
cost = 75
visible = {
always = yes
}
allowed = {
original_tag = HEF
}
traits = {
captain_of_industry
}
}
}
}
everytime I start the game the error log says:
[17:50:53][1936.01.01.12][effectimplementation.cpp:5461]: history/countries/HEF-Hersfeld.txt:54: recruit_character: Unknown character
(TEAW TEASER/RECRUITMENT POSTER) In my opinion, nothing has contributed so much to the corruption of the original idea of socialism as the belief that Russia is a socialist country and that every act of its rulers must be excused, if not imitated. - George Orwell
TEAW presents, the Second Great Patriotic War and the outcome of a Soviet Loss in the war. What makes mods like TWR and TNO memorable is how they handle the expression of a world where the USSR fell into anarchy due to losing WW2. What makes us different is that you can also view the USSR go from a world superpower, to a nation in chaos.
===For your interest===
To End All Wars is a HOI4 mod which seeks to explore a world where Germany never pushed for an ultra-aggressive foreign policy due to complications around the 1930-40s and where Japan managed to do more damage on the US in Pearl Harbor, but the following war would end up in a stalemate. This would result in the world being divided into 5 power blocs around 1956, each of them wanting to grow their influence and power, no matter the consequences. If you are interested in the project and either want to contribute or interact with the community then join the TEAW server TODAY!!!
Millennium Daydream | Russia's Southwestern Neighbors
Some of the States/Dominions that neighbor the Union of Russia in Millenium Daydream.
British and Irish Civil war after death of Edward the VIII. Ideas probably will change later.
Dusk of the Sovereign
Mod is set in 1972. In this timeline king Edward the VIII didn't abdicated and choose more imperialistic way. Years of United Kingdom's hegemony is near end with Edward himself. For now I am the only dev working on it so be forgiving for mistakes.
If you want to be on time with all other teasers, be part of dev team join mine discord.
Plankton's New Order: Patrick Teaser
RWBY: Remains of Remnants progresses nicely, have some teasers!
Hello again! I'm still working on my Hoi4 RWBY mod, Remains of Remnant for those of you who remember that! And I figured with a new big chunk of work done I'd show it off to you all and let you see!
It's a pretty big update this next one which I've taken calling Hunter and the Prey, that name chosen for a specific reason because it's the update to the mod that finally brings in the unique Huntsman tech tree! As well as some small amounts of content for the Academies slowly bringing them up while I continue to work on the mechanics of the mod.
But before we get into that, the first thing I did was work on Atlas some more everyone's favourite. Adding a unique effect to one of their starting ideas to represent the influence of the SDC, as you can see in images 1 and 2 the influence of the SDC is deep within Atlas thanks to their monopoly of Dust Mines, leading to them being a great supporter of Atlas. But one who's support can be removed at any time. Following that with some more Atlas content I've been adding some advisors to the various nations to spice them up and give some use to the political power gained throughout the mod, so of course added Ironwood as Army Chief and a few generic officers and soldiers as High Command.
Now we can get into the Huntsman tech! Sadly, missing icons as I'm not the best with graphics, this tech tree is a bit unique. To represent Huntsman tech being far and advanced upon everything else, but also insanely specialised it cannot be normally researched throughout the game, instead you must get a "research token" through focuses or events that you can then use to research what you want. Forcing you to make the choice between what type of Huntsmans equipment you focus on first. Then I couldn't just add Huntsman and their tech without adding some teams! So I added a team to every Academy, from Team VNLA in Beacon, to DMND in Shade, and KHKI in Haven! Each team has their general and acts as the starting army for the Academies.
Hope you enjoyed me popping back in to showcase what I'm doing, and I hope you like it! No release date yet but hopefully soon, the updates turning out pretty big.
A link to the discord in case you want to keep more active track of the mod as all of these teasers can posted there first.