#modding
1 messages · Page 72 of 1
You probably screwed up a textline in the gfx define folder or whatever it’s called
Does anyone know of a mod to add more releasable countries in Siberia?
Guys how can I change the color of the country of British Malaysia in Road to 56? Pls guys i've been asking since yesterday.
How can I change the color of British Malaya without it changing it's flag?
guys?
bro is any here who can help me?
changing the colour changes the country's cosmetic tag. since the flag is also being set by a different cosmetic tag, changing the colour will remove the flag
you could alternatively use the color 255 255 255 console command
alr I will try
I tried but did nothing
wait it's tag_color
ok
I'm not too sure
thats alr

bros testing the waters with that Germany flag lmao
why doesnt it work
i want hungary to move their capital to vienna once austria-hungary is formed
set capital doesnt work?
yeah, it doesnt do anything when i test the focus, its like the game ignores it
try capital = 4
well I thought it might since this is how its set in history

its jover then
fr
i dont have any text files in the gfc folder
how do I make a new formable nation descision?
set_capital = { state = num }
still doesnt work
dang
you got any ideas on why its not working?
dunno
any idea why this doesnt work?
what does that mean?
how should it look like
like this?
there aint no way the problem is in indentation
Could someone redo the "Colorize your Country" mod?
usually mod description tells if thats the case
add_core_of = SAS*
You see the dotted lines?
oh they are a problem?
Nah, The “limit” line has to be further inward than the line above as that’s what it’s referring to
this worked for me
Yeah that’s right
does this matter?
Yeah
Yo guys, can someone help me with this:
Why is the capital like this? Ploiesti has 1 victory point while Bucharest has 40, shouldn't the capital be Bucharest since the higher victory points?
It might've been replaced after a civil war? Only explanation I can think of
anypne know if its a mod that lets you buy provinces with money or is it actually a dlc? saw it on youtube
Yeah i did, i made Bucharest its own state, but i figured it was something from the history folder
It might be a mod, cause that's no such dlc.
you need to make bucharest the capital in the romanian history/countries file
I don't have the countries file on my mod since its a mode purely for states, so i assume its from the history files
Or do i also need to copy the countries file from the main game?
you need the countries file
or change the states
so its muntenia which is the new state
So i'll just do a quick change in the code
yo guys does anyone wanna create a czechoslovakia rework w me
what's the ai offensive modifier
like whats the base modifier that makes the AI attack
oh
what?
oh
Why the railway start in the province next to Warsaw but in railway.txt start in Warsaw?
Only on the map is in this place, in construction in good
Hi, the BBA dlc breaks my mod in gfx for units_planes, I took some 3D planes models from anothers dlc but reskin. Everything works fine without BBA but when I activate it only the base skins appear, for example "MEX_light/medium/heavy_plane_entity". In the most recent TOA dlc, in the BRA_units_planes.asset they used an entity clone to modify the post BBA tags, but I already tried the method without success. I would appreciate your help:)
would anyone know any fixes for a crash when it's generating the checksum?
the error log is blank
and it is a custom map but I have no idea where to start to try fix it
guys if I got a mod that's compatible with achievements if I host multiplayer game do other players get the mods temporarily too?
like for example colored buttons
no all players should join a lobby with the same game mods
client side mods (which i assume coloured buttons is) are applied locally to your game only.
why
I remember joining some random mp
and getting the coloured buttons
even tho I didn't install them
did you have any mods enabled?
someone should make a game of thrones hoi4 mod
if it's well-done, I'd play it
i got a question how do we make custom formables into already setup countries like netherlands or congo
or germany
in europe in flames agora, which is the most powerful country?
Albania, clearest answer
please come home we miss you
what? lol
does anyone know what the problem is here? i am trying to replace venezuela's flag with my own but ingame it just appears as a black flag. i already did the same as the picture for the small and medium file catevories inside of gfx flags and the other ven_democratic and ven_facism
Did you turn off rle compress
rle compress?
When you save the flag (for example in paint.net), you choose "save as" and pick .tga on the top left of the screen there will be something call rle compress turn it off
alrigt
Hi, do you have any tricks to recommend for making a tangled focus tree understandable?
thanms
are red world's focused all meant to be locked off?
cause I got the president I wanted and then the rest of the focus tree that isn't done through event is completely blocked
How do I activate debug mode on a Mac?
I added leaders
how would i make so a country gets approved relations with another leader if they have a certain trait?
I want Denmark and Russia to get positive relations because of their leaders
because they have the same royal family how would i go about adding this?
has_country_leader_with_trait
add positive relations?
how would i do this giving improved relations based on dynastic ties?
Does anybody know how to change Germany’s leader name?
go to history, then country, then find german reich, and change the leader's name
K thanks
Do I need to put the text you sent in the file
you need to find the picture's text in your german reich country file
Okay
or={
has_country_leader_with_trait = Glucksburg
has_country_leader_with_trait = Holstein-Gottorp
has_country_leader_with_trait = Holstein-Gottorp-Romanov
has_country_leader_with_trait = Oldenburg
}
i swear, those 2 states should be in the main game ASAP
like, its a need at this point
where is ai_focus_on_agressive file?
is it on ai_strategy?
I want to change the ai
to make it attack ALWAYS
^^
Ola guys I want to make a stats like this showing the dead kills and army does anyone want to help?
is there any mod crash reason that i can check?
im searching error.log for 8 hours but still have not found why testing mod gets crashed in main menu tab
wish i could helped you man, but i am as dumb as you, maybe even dumber
recruit_character = HUN_miklos_horthy
recruit_character = HUN_matyas_rakosi
recruit_character = HUN_arpad_szakasits
recruit_character = HUN_geza_lakatos
recruit_character = HUN_ivan_hindy
recruit_character = HUN_karoly_beregfy
recruit_character = HUN_lajos_veress
recruit_character = HUN_ferenc_feketehalmyczeydner
recruit_character = HUN_istvan_szechenyi
recruit_character = HUN_francois_deak
recruit_character = HUN_gyorgy_jendrassik
recruit_character = HUN_jeno_ratz
recruit_character = HUN_henrik_werth
recruit_character = HUN_hugo_sonyi
recruit_character = HUN_ferenc_szombathelyi
recruit_character = HUN_gusztav_jany
recruit_character = HUN_dezso_laszlo
recruit_character = HUN_reszo_kastner
recruit_character = HUN_shvoy_kalman
recruit_character = HUN_sandor_magyarossy
recruit_character = HUN_bela_rakosi
recruit_character = HUN_kalman_kanya
recruit_character = HUN_jozsef_szell
recruit_character = HUN_vilmos_roder
recruit_character = HUN_zoltan_tildy
recruit_character = HUN_laszlo_rajk
recruit_character = HUN_kalman_daranyi
recruit_character = HUN_lajos_remenyi_schneller
recruit_character = HUN_gusztav_gratz
recruit_character = HUN_gyula_gombos_de_jakfa
recruit_character = HUN_otto_von_habsburg
recruit_character = HUN_franz_friedrich
1765.1.1 = {
recruit_character=HUN_josephiihun
promote_character=HUN_josephiihun
}
1790.1.1 = {
recruit_character=HUN_leopoldiihun
promote_character=HUN_leopoldiihun
retire_character=HUN_josephiihun
}
1792.1.1 = {
recruit_character=HUN_francisiihun
promote_character=HUN_francisiihun
retire_character=HUN_leopoldiihun
}
1836.1.1 = {
recruit_character=HUN_ferdinandihun
promote_character=HUN_ferdinandihun
retire_character=HUN_francisiihun
}
1849.1.1 = {
retire_character=HUN_ferdinandihun
}
1920.1.1 = {
promote_character=HUN_miklos_horthy
}
1945.1.1 = {
retire_character=HUN_miklos_horthy
}
I found an example of this in another mod
``1857.1.1 = {
recruit_character = PRS_otto_theodor_von_manteuffel
}
1870.5.19 = {
retire_character = PRS_otto_theodor_von_manteuffel
}``
@wintry geode do this
End of a new beggining tbh
its fixed now thanks
np
is there anyone who can explain what is cpt.txt and tpt.txt?
where is ai_focus_on_agressive file?
Hi I have a strange problem... Or maybe I just misunderstand how it actually does work. So I want this category to be visible if you've completed the focus and your are democratic or if you have that global flag and you're democratic. For some reason the game just doesn't care and whatever I try the category is visible if you become democratic ingoring the aditional conditions.
The flag is set via the option of the event
hello i have a question with the "new order" mod
when i start the game the, the game crashed and i cant play someone now what is the problem?
look at this https://www.youtube.com/watch?v=nVehWZMFS24&t=449s
This lesson will explain how to create decisions and missions in Hearts of Iron 4. Please make sure to download the following "mod" from the steam workshop since it includes pre prepared code that you can use as a template to create your own missions and decisions.
Link to DMTF mod on Steam: https://steamcommunity.com/sharedfiles/filedetails/?i...
It’s not in the file, what do I do?
Nvm I did it
THANK YOU SO MUCH YOU AREM MY SAVIOR
np
where is the file for those
Search the hoi4 archives
I'm thinking of modding the game to change the German situation into a "Roehm leads Germany" situation. Anyone interested?
what's a Roehm 🗿
also yes
Ernst Roehm (should be Rohm with ulemut O but can't type it rn), head of SA, died in Night of Long Knives in 1934 by Hitler ofc
Power struggle
how can we mod someone that's already dead 
Alt-hist ofc
take it that my Germany mod also has Sheev Palpatine easter egg but ok
What Roehm killed Hitler earlier?
so like he's somehow alive in this timeline
He;s gay and also a socailaist sector of the Nazi Party
what if we have an event that says he somehow magically reappeared
Yep
Nah, I'm thinking KR like stuff
Like he survives that situation and leads Germany
yes I have heard there were many homosexuals in the party so
the PoD would be 1934
Not really
Because of him, gay ppl are put into concentration camps
that means we create an entirely new scenario?
Also the whole nation is very homophobic
Yes
Nawt really
what have you modded
also haven't we talked before
@wicked sapphire stop switching tabs immediately!
Nothing bascially
wouldn't want to ping reply every time 
Switch what tab
as in, doing some other shizz
okay so I assume you just have read a lot of stuff about this topic
Yep
A few tutorials maybe
Yeah
I have good memory, I can recall what we talked about
What did we talk about
it was some stereotype about weebs having no jobs
and that you have a job
the pfp gave it away
but anywho
what would you want in this mod
also, don't other popular mods have alt Germany covered?
like that one 1933 mod
or RoN
Oh yeash
I recall mentioning that I am a teaching assistant
yes yes now you rember
Hmm yeah, but none of them really does this scenario
I prepare to call it Volksreich, using the Something-reich series
VR means Peoples' Empire
but like where
do you expect it to be a big mod or just some Germany exclusive content alt-hist
If we have a team I must make it big but if it's Just the Two of Us...
We can make it if we try
I wouldn't really be interested in this alt-hist scenario since I don't know much about it
would you explain it further on how it would work
ah yes, my team of one other person (who also has no modding experience and only does research)
Heh
and graphic design too
I love graphic design but suck
my one problem is implementing it into the 1936 start date
that would mean new focus tree, new flag, new flavor
no SS recruitment which I worked so hard on 
Simply, the guy we talkin abt is the head of SA, the Sturmabeilung, aka Stormtroopers
He was purged by Hitler himself since Roehm was:
- gay
- leftist
- powerful
Sturmabteilung 😡
Sooooo... he died
what if he just didn't die
The SS would certainly revolt and we can assume there will be a civil war
What if he caught wind and acted pre-emptively
him killing Hitler would be a difficult and rather unrealistic scenario 🤔
Not really
He's in the highest circle
okay okay I'll hear you out
If he assassinated Hitler we can assume a civil war
With a more-like-red Nazi Germany
Very devastating
people boom boom in streets but the countryside is quiet
Basically SA vs SS
okay not what I was expecting
vs Wehrmacht which probably doesn't want Nazis anymore
Three way civil war I'd say
From which the SA faction emerged victorious
should I watch Mark Felton video about this 🤔
how would they beat a small but professional Wehrmacht
Felton did make a vid?
with loyal generals like the uber powerful and mastermind Erich von Manstein!
he made videos about 1930s German politics a few years back
Let's say the Wehrmacht split some stood by the SA and the other SS
okay okay I gotchu
continue
then what
this Rohm guy takes over
does he do the same stuff as Hitler did?
Nope
He's more radical
Leftists
I assume he will make it "An Equal Germany above the World"
Socialists
But he might also be irredentist
I dunno about this left and right bull💩
so like he was left-handed!?
Nope
He's socialist, I should put it
Radical
okay that makes more sense
whenever I see someone talk about left or right
I think of prefered hand in writing lmao
would that lead to WW2? if not then uhhh abandon ship!
Maybe
Berlin-Moscow Axis maybe
That would become WWII
or Berlin vs Moscow
Actually, I think Anschluss would happen too
ugh why can't I swear here 😡
But maybe not Sudetenland - instead it would be Danzig first
cursed, absolutely facking cursed
Not really
It's just Comintern 2.0
how would him taking over Germany lead to WW2
what's an OTL
Albeit with Socialist Elements
original timeline
okay so it's Hitler but with a different face
And more commie
name, body, identity
Less Nazi
No great Patriotic War
Spread of Communism more like
USSR takes the southern Slavics
The Allies composes of Britain, France and Italy
Italy is broke thru and dies
African front? No African front
Then Nordics are swayed with probably becoming Commie and Denmark surrendering
The Finland partitioned between Sweden and USSR
America may or may not join
But Britain probably surrenders promptly before anything could hapen
And then, Cold War. woohoo!
absolutely cursed timeline
so cursed
why would Finland be partitioned lol
Soviets wanted all of Finland
I think it would be a fun timeline if executed properly
with good mechanics and a good focus tree
if you could provide for them a focus path, I'd take a shot at it
is there any tips to find why mod crashes in main menu from error.log?
so anyway
what would you want in the mod
type these two to startup settings in steam. after that. go to hoi4 folder and find crashes folder
i know and i already did
but i need to concentrate on which error makes crash from looking error.log
check log file then
tips to find more likely to crash mod
Hi, please tell me the code for spawning railway guns. I know about the Italian national focus about railway guns, but I did not understand how it works.
Hi guys, I need to generate a sprite sheet but the plug-in I installed in Photoshop crashes due to the high number of frames and their size and I think due to the low computing power of my PC. Also I should save it in the lowest quality possible to save on the weight of the final file in .dds format. Do you have any tools to recommend to me? Could someone generate it for me?
Dimension 44.800 x 41.040 px
Layers 35 x 57 number
Frame 1.280 x 720 px```
The crash is usually in the last few lines, or the crash log isnt useful
However you have many errors that should probably be fixed regardless if they fix the crash, so might as well work through them
How do I make a state non-impassible?
Because pretty much the entirety of French-occupied Africa has the impassible thing
Nevermind found it
Am I able to replace models of tanks? Or add my own?
I dont know how I'd go about importing 3d models though
I wish there was a mode inbetween historical and ahistorical
Like, I want most nations to go ahistorical with only a few random ones to go different. 0-1 majors and 1-5 minors, something like that
Is there a mod that does something like that
Is it possible to change the name of a national focus of a focus tree?
if i open hoi4 with debug mod and game crashes without printing error.log, where should i need to check?
Hello i had a problem when i uploaded a mod with most of the states saying STATE_845 and numbers and stuff is there a fix to this?
how do i make my custom nation appear here
im asking this because:
still mod crashes and error.log just show this
In common/bookmarks
I need modding tool 
Visual Studio Code
not that kind... like a github project for example.
For what do you need a tool
Theres one for flags, otherwise its all code-based
How many do you have?
Theres VScode, VScode plugins, ironworkshop flag creator...
nothing else except GIMP for my basic texture edits and menu designing
Flag creator works in reverse for me. Flags appear upside down.
Thx
what are some mods that are just a very big extension of the base game? i liked europe in flames agora but i learned it really quickly and its boring now. any tips?
Road to 56?
Black ice is the best
For extension of the base game
Can somebody say where is officer corps in hoi4 files?
Ideas
thx
How do I remove the Political Advisors the basic ones
Are there any other mods besides novum and millennium dawn that you can play modern day
Are we allowed to share our mods here?
Disregard
Does anyone of ya know if there's a mod that makes the non alignment better eg. Political advisors that raise it
manchuria
https://steamcommunity.com/sharedfiles/filedetails/?id=3270367181
My first mod
Please, rate it.
does this allow putting army generals as your leader?
that would be based
I think I will add ability to make your leader general or feld for trait points
k nice, will try out the mod rn
gl
Anyway I made it for one RP server where it can be used for RP
mod works wonder goddam I got no idea how you made this work
Some variables and Python code for portraits (it is hell for make it by yourself)
I think this mod was created manually https://steamcommunity.com/sharedfiles/filedetails/?id=2328762932&searchtext=choose+your+leader
So crazy
Anyway I'm also looking for ideas for traits
Имба
agreed
Maybe will do some balance fixs
hooooldd the phone
I need to check something
there aint no way
you didnt add trait face licker?
I think add new operation to mod - kill leader
I think no..
As soon as finish it
👍
gang whats the best mp mod
Hi guys, I need to generate a sprite sheet but the plug-in I installed in Photoshop crashes due to the high number of frames and their size and I think due to the low computing power of my PC. Also I should save it in the lowest quality possible to save on the weight of the final file in .dds format. Do you have any tools to recommend to me? Could someone generate it for me?
Dimension 44.800 x 41.040 px
Layers 35 x 57 number
Frame 1.280 x 720 px```
you have to assign every state
PLPC doesnt work like that though
you gotta assign everyones lands
hello, im making a mod for spain and added an event that is gonna trigger when spain joins allies. this is the response option for axis powers. but is it too racist or harsh?
i will change it if it is too hurtfull
It's not racist?
"or harsh"
i mean asking god to curse a spesific type of people because of their race is
racist
Whats wrong with this code?
i want to make so countries get positive relations with eachother if the leader has the same trait
The code doesnt work i dont get positive relations with bohemia
how to fix?
visibility sponsons
there isn't any localization for basic machine tools tech in the localization files
it works in game but there isn't anything in the files help
the gfx file for it is also missing but the picture works fine in game
help
Hi, how can I block diplomatic functions?
=-
I CAN'T FIX THE GRIDBOXTYPE FOR ZE TECHNOLOGY PLZ HELP
Hi, how can I block diplomatic functions?
Hi, how can I block diplomatic functions?
Hi, how can I block diplomatic functions?
Hi, how can I block diplomatic functions?
<@&846894118219022336>
Hi, how can I block diplomatic functions?
bruh
are yalls messages disappearing too?
nice
@lethal mist is spamming space
HELP
HEKPLEIEMKNJHFIYGUDUDLSKJ
<@&846894118219022336>
HELICOPTER
BRUH HELP
<@&846894118219022336>
<@&846894118219022336>
<@&846894118219022336>
<@&846894118219022336> help!
???
<@&846894118219022336>
<@&846894118219022336>
i got him
thank u mods
oof
on mobile somehow
thank god
i am impressed with myself
good stuff
B)
anyways
I CAN'T FIX THE GRIDBOXTYPE FOR ZE TECHNOLOGY PLZ HELP
[14:27:09][1936.01.01.12][containerwindow.cpp:851]: interface/countrytechtreeview.gui (line 3566 ): Could not find "Build_slots_tree" in window industry_folder
but I have the gridboxtype in it
Hi, how can I block diplomatic functions?
whats the modifier for tension limit requirment for non aligned to join a faction( example joining comintern as non aligne)
i want to make a mod that removes all requirement for faction joining
It's join_faction_tension in common/ideologies/00_ideologies.txt
0.1 is 10 percent right
Yep
No worries
Hi everyone. How can I create new states? I was doing everything according to that one tutorial yet my game crashes on loading checksum
you can manually create new files and pull cut->paste provinces into them and it should work with new saves
For example, I can just create new file named ''904-Nowy Sazc'', and then just put/remove the data I need in the file? Becuase I was usuing nudge tool
Nudge is convenient at times, but its hard to know mistakes
Id only use it for unitstacks
Unless you wanna make many states, then you can use it and fix issues like this after
Thank you very much. I'll remember your advice
what is the strongest country in europe in flames agora?
whats a good starting country to play in kaiserreich
why are my ball itchy
💀
Can you change the whole hoi4 soundtrack to just one song
Via modding
Because I want to change it to a song by a certain Rick for April 1st 2025
https://steamcommunity.com/sharedfiles/filedetails/?id=3269366301&searchtext=kalter new kaiserriech mod thing
didn't this release last month
my friend and i am trying to play together but it says host has another version of the game even though it worked a day ago we both didnt change anything
@spring juniper no on the workshop page it says it was released yesterday
it was updated yesterday but released on the 18th of June
isn't this the new fuhrereich or weltenreich or something
i'm sure i've seen this mod
idk on the workshop page it says posted on july 8th
oh shit im stupid it was posted in june
my bad
that was a private release, the workshop item only became public on 4th of july, hell they only announced the release on 20th of june
anyways, reason why im here, i was wondering if someone could help with my scripting as atm im getting a very uncommon error and ive been unable to recieve help in all of the modder run modding servers so i figured i might as well ask the pdx devs themselves
i have a nested gridbox where im fetching the entry container used via scripted localisation (first try was making a new namespace, currently experimenting with just fetching the var value directly into the entry container)
dynamic_lists = {
SOV_the_red_vanguard_dummy_gridbox = {
array = red_vanguard_dummy_single_element_array
entry_container = "SOV_the_Red_Vanguard_decision_gui_inner_[?red_vanguard_target_countries^num]"
#entry_container = "[GetRedVanguardGUIWindow]" # prior attempt
}
SOV_the_red_vanguard_countries_gridbox = {
array = red_vanguard_target_countries
entry_container = SOV_the_red_vanguard_country_entry_window
value = RV_current_country
change_scope = yes
}
}
My bad, I only said what I saw at a first glance
however i keep on getting the LastRead: memfile (3) error
alternatively if i try and fetch the array via a new scripted loc namespace i get the following error
LastRead: memfile (3)
LastScript: common/scripted_localisation/SOV_scripted_localisation.txt:345: check_variable
but its unhelpful af
as its not the specific line thats the issue clearly as the lastscript changes depending on the # of elements in the array which im checking
defined_text = {
name = GetRedVanguardGUIWindow
text = {
trigger = {
check_variable = { red_vanguard_target_countries^num = 1 } # lastread is this line (327) if theres one element in the array
}
localization_key = SOV_the_Red_Vanguard_decision_gui_inner_1
}
text = {
trigger = {
check_variable = { red_vanguard_target_countries^num = 2 } # lastread is this line (333) if theres two element in the array
}
localization_key = SOV_the_Red_Vanguard_decision_gui_inner_2
}
text = {
trigger = {
check_variable = { red_vanguard_target_countries^num = 3 } # lastread is this line (339) if theres three element in the array
}
localization_key = SOV_the_Red_Vanguard_decision_gui_inner_3
}
text = {
trigger = {
check_variable = { red_vanguard_target_countries^num = 4 } # lastread is this line (345) if theres four element in the array
}
localization_key = SOV_the_Red_Vanguard_decision_gui_inner_4
}
text = {
localization_key = ""
}
}
and since it was a memfile issue my initial thought would be that itd be a meta trigger/effect error which is why i initially thought it was this but this has zero effect and the log isnt in the game.log whichd lead me to believe that it has nothing to do with this and is an issue with the entry container or smth
defined_text = {
name = GetRedVanguardButtonState
text = {
trigger = {
log = "Button State Fetched"
meta_trigger = {
text = {
has_country_flag = SOV_RV_selected_country_[FETCH_TAG]
}
FETCH_TAG = "[?RV_current_target.GetTag]"
}
}
localization_key = "GFX_SOV_RV_[?RV_current_country.GetTag]_selected_bg"
}
text = {
localization_key = "GFX_SOV_RV_ITA_unselected_bg"
}
}
but afaik its all to code
from what ik from other programming languages like python id guess its an issue with the array? but its not a large one, its just an array of 4 tags which is like nothing lol
A memory error occurs when a program tries to allocate more memory than the system can provide. This can happen when a program tries to store too much data in memory or when a program creates too many objects . . . This error usually occurs when a program attempts to generate a massive data structure, such as a list or dictionary, or when it creates little objects continuously until the available memory is consumed.
other stuff ive tried has been this
defined_text = {
name = GetRedVanguardGUIWindow
text = {
trigger = {
check_variable = { red_vanguard_target_countries^num < 2 }
}
localization_key = SOV_the_Red_Vanguard_decision_gui_inner_1
}
text = {
trigger = {
check_variable = { red_vanguard_target_countries^num < 3 }
}
localization_key = SOV_the_Red_Vanguard_decision_gui_inner_2
}
# etc...
}
and this
defined_text = {
name = GetRedVanguardGUIWindow
text = {
trigger = {
set_temp_variable = { temp_var = red_vanguard_target_countries^num }
check_variable = { temp_var < 2 }
}
localization_key = SOV_the_Red_Vanguard_decision_gui_inner_1
}
text = {
trigger = {
set_temp_variable = { temp_var = red_vanguard_target_countries^num }
check_variable = { temp_var < 3 }
}
localization_key = SOV_the_Red_Vanguard_decision_gui_inner_2
}
# etc...
}
and this...
entry_container = "SOV_the_Red_Vanguard_decision_gui_inner_[?red_vanguard_target_countries^num]"
#entry_container = "[ROOT.GetRedVanguardGUIWindow]" # ROOT was prob redundant since THIS and ROOT refer to the same tag since its a decision_category context type but i wanted to confirm that it wasnt a scoping error
if more info is needed feel free to ask
id upload the whole mod but its a large total overhaul and leaking the git would not be taken lightly lol
anyone done research-type specific slots yet?
see bice
Ask the question so people know what youre asking
question as I cant find it anywhere: what is the command for refreshing focus tree so I can see certain changes?
Reload focus
thank you
Does someone have the link to the paradox hoi4 modding tutorials
I remember that they made 4 vids on advanced modding but I can't find them anymore
It's this?
Paradox made the video
I can't find it on the hoi4 channel and the paradox channel tho
[17:51:42][1859.08.27.09][unitcontroller.cpp:3496]: Error in front for order group Army Group 3
does anyone know what causes this error, get it for army group 1 and 2 as well. or any clue where i can look to fix it
@proper acorn if you know, the advanced tutorial by the iron workshop, does it work with Trial of Allegiance?
the one I sent you does work
only the localization has changed, but he says so himself in the comments
trigger = {
original_tag = OTO
date > 1792.1.9 date < 1794.1.1
has_war_with = RUS
OR = {
OTO = {surrender_progress > 0.1 }
RUS={controls_state = 192}
RUS={controls_state = 1204}
RUS={controls_state = 1226}
}
}
fire_only_once = yes
option = { #
name = "Treaty of Jassy"
ai_chance = { factor = 100 }
if = {
limit = {
192={is_claimed_by = RUS}
}
RUS={add_war_support = 0.05}
OTO={add_war_support = -0.05}
RUS={
transfer_state = 192
transfer_state = 834
transfer_state = 1204
transfer_state = 1228
}
}
Whats the fault with this code?
i want odessa to be transfered to russia if odessa is a claim of russia yet nothing happens
I heard that the map creation had problems in ToA
Not sure tho
anyone here a modder or experienced with the game?
cause for some reason when i turn on the mods i want they dont do anything
they are all up to date
ill even list the ones i have on
(fixed) the spot optimization
reichkommisariats plus
festung europa
Player led peace conferences
Ultimate cheat mod improved
Classical music
the only mod that is out of date is the classical music one but idk if that would mess the whole thing up
i have no clue why those mods wouldnt do anything
is an addon for rk+
Ooooooo
anyone?
please
Ai is never taking navy at peace conference
How can i make them to do iy
Tag me pls while answer
I'm creating a new mod.
There will be probably other developers helping me.
Two questions:
- If i want to share the code with other developers and improve developing speed do I need to use Github?
- If I want to ask someone to act as tester, how do I give them the dev version of a certain mod? (I don't want to put that version on steam)
I found D-6 under Moscow
Anyway this is the mod its based on Metro 2033
https://steamcommunity.com/sharedfiles/filedetails/?id=2620272492&searchtext=Metro
Chat me if anyone is capable of making a custom infantry model
?
is anyone expirienced with hoi4 in general cause i need help
anyone know how to dowload the modern day mod?
anyone play great war redux?
Guys how can I mod the tank designer?
If I want to add a new module category and a slot that only allows modulo for that category, where should I look at?
Also, If I want to make two modulo incompatiable, how do I do that?
You should download straight into the hearts of iron paradox launcher when you subscribe to the mod
do you know how to download mods
Github is highly recommended. You can put a version on steam but have it listed as private
anyone can help me with localisation of my mod?
i tried to name a country in russian but the name doesnt appear
if you need other screenshots, i can send them
The localisation file needs to be in a "russian" folder, so like \localisation\russian\countries_l_russian.yml
it is even worse, every other country’s name disappeared
set encoding to be utf8bom and another thing to be lf
already utf-8-bom
you can just copy file from base game if that works for you
Keeping the vanilla file name means it's going to override the vanilla file
you'll have to change the name
its also doesnt have to be in language folder it just has to be in localisation
other is just your preference
like “1countries_l_russian.yml”?
if you want to
changed the name, the original problem is still there
also i tried copying everything from vanilla file and naming my localisation file “countries_l_russian.yml”, it didnt help
Is the name just invisible?
the space, where the name has to be is blank
If you change the file name to english and put it in the english loc folder, does it work?
No
it doesnt work
Did the encoding reset to something else after you changed the file name?
it didnt
How to put it as private?
i fixed that issue
what was the cause?
On the workshop page under "owner controls", there is a change visibility dropdown
idk actually, i copied the code of germany’s name and used it for the country i made and it worked
i guess i misspelled something
huh odd
ah nice
When the finnish states become controlled by sweden they become like this
how to stop this?
how to stop this from happening? where is the event or whatever that changes it locacted?
Ok, thanks
is there any mods where germany is the main focus and is significantly expanded upon?
Most vanilla-like overhauls make Germany silly big and have like no content on the other countries
anyone know how I can make a focus unlock a module?
I tried
enable_equipment_modules = {
tank_heavy_cannon_3
}
didn't work
Anybody know a good mode similar to Old World Blues. Im trying to turn my game into something else then Real Life if you get my flow. Im not intrested in Kaiserreich, and mods like that. Im trying to get a new fun map! Also i tried the Equestria thingy, not my boat!😂
cuz it doesn't
unfortunately, enable_equipment_modules is not considered an effect
Yer figures. Didn't see any option in a list of effects on the wiki, is it just impossible?
without a roundabout way? yeah, impossible unless you work on the actual codes
That's unfortunate, thanks for confirming tho
Guess I'll either add a hidden tech for it or just create a variant for it from the focus like Japan with the zero.
usually it is either you use country_flag and hidden_effect to hide it, or you use prerequisites = focus to lock a researchable tech
which path should i go down as communist france in r56?
either cgt or pcf coalition
Idk its the worst France branch
hello im having a problem with my submod
its turned on but for some reason it stopped working after resubscribing to the base mod
the mod includes changes in states and added national spirits
it was working but not anymore
the game just loads in without the mod
yes
When people transform irl maps to hoi4 (like the cold war mod or ww1 mod) how do they do it
Do they just do it by hand? Isnt it really hard to make an accurate map that way?
vanilla hoi4 already has the necessary provinces to make a cold war or WW1 map. it's just about modifying states slightly. but even that is mostly done already
I want to learn about submodding I play the fallout mod their you usually learn on your own but I thought someone would give me advice on making a submod, I’m mainly focusing on gives a country buff focused or making them stronger. I’m not on pc right now but I would just like to know if someone would be willing to help me
Hey can someone help me? my game always crashed when using these mods.
Improved tech trees isn't updated for the latest version of MD apparently
So how do can I play the Millenium dawn mod if the tech tree mod is outdated?
play without the tech tree mod
The game crashed.
what mods are you launching with?
FPS map and millenium dawn only.
Loading screen.
did it freeze, or did it straight up crash on its own?
It just crash.
so no freeze or not responding message?
Oh there responsing messege about unexpected error and crash.
could you send a screenshot?
Ok wait
The screen goes black when it's on loading screen now.
You'll have to wait a while md takes a while to load
Not that the screen goes black then I am out of the game.
Or because my laptop is potato 💀
That's possible, but i'm not too sure unfortunately
Might be using the wrong mod pack, I forgot loads of time ngl 🤷♂️
can someone help me please
i've created a mod with a custom map, custom start date, and custom countries
but i have no idea how to assign a division template
idk if i have to assign units to a specific date/scenario
a tag of one of my coutries is STA so i created a txt file called STA in history/units
thought it would be enough
I can help
search oob on https://hoi4.paradoxwikis.com/Country_creation
alright thanks that was simpler than i expected
How can I have a focus create a new unit template?
is road to 56 good?
It works the same as in OOBs
I was being a fool and had load oob at the top of my focus rather than in completion rewards

The worst part about learning to mod is spending an hour staring at a screen trying to work out why it doesn't work and then feeling like an idiot when you eventually work it out
Couldnt be me, on a few ocassions Ive been so sure something would work that Ive put it on the workshop and gone to sleep to do the testing the next morning

I'm making a game balance for my MP group so we keep finding broken stuff during our games and I get blamed :(. Made a focus for the USA after neutrality act, didn't realise the ai would rigidly follow it's prescribed path so we looked over at the USA in 1942 to see the USA on undisturbed with 13 mils XD

what are the best mods i should play
My mod
Any good mod for an alt historic edgy play through? Kinda like TNO - but starting in 1930s where we fight WW2 as Germany, win, and form a TNO style world - so in other words, an overhauled Germany experience with alt history puppet names etc
Road to 56?
I need someone help with submodding, I broke the game.
I hit the world record for banned from the Great War Redux server.
I joined, asked why an event wasn't firing, got called the r-slur by one of the mods, then banned.
Just, magnificent. What is it with big HOI4 mods and being absolute jackasses?
Same thing happened to me, FPS Maps doesn’t work
i need mod to save template
whats the best optimization mods so my game isnt choppy at 5 speed cuz idk why it is
any good moods like, greece ultimate and also i millenium dawn still broken ?
Heyy
Can sombody help me
My mods are crashing
After i play for like 5to 10 minutes
You have incompatible mods, figure out which ones are conflicting if you can.
Map Mods Conflicts are the most likely.,
heyooo, i also require assistance with submodding a submodd
did rt56 update the romanian tech tree?
it automatically swapped me to the modded one
i want my free faction switches back
i would like to basically cut part of a focus tree from one nation and just slap it into another
yes
5 speed will always be choppy, nothing you can do about that
5 speed makes the game as fast as possible with no regard to framerate
it's still choppy on my 7900xt
you can Ctrl c+Ctrl v the relevant focuses in one nations focus file to the other's. You may have to change all the nation prefixes but replace all in notepad++ makes that easy
should I ping moderation for scam msgs like that?
just wanted to share that i have just spent 5 hours trying to get get a national spirits picture to work and just figured out it was because it said idea_ infront of it
hey it just started with all this is it possible to choose the other paths (mod is the new order)
Question for experienced modders, do you ever git gud or do you still find yourself confused why something isn't working and googling syntax.
They dont get their army...
i need to make a second event that gives them an army for petes sake
Intentionally no
It is to simulate that the Nixon Administration already made choices
alr ty
Does anyone have a list of good UI/QOL/Visual mods that are ideally ironman compatitlbe (its fine if it isn't)
I think stuff like RT56 stray too far from vanilla and that HOI4 kinda sucks when it comes to UI and micromanaging esp for stuff like unit management + sorting planes, etc
Is this template too OP for a rebellion division?
I wouldn't say so
but it might be hard for them to get enough artillery to maintain those divisions since they wouldn't have a military factory base
if i'm interpreting rebellion right
What's this area called in the interface folder?
yep
You need to load the oob after they get the state
So just swap it around so it gives the state first then it should work
So, I'm making a map of Italy and a bit of surroundings, which size should I make it?
Also I checked Paint's sizes and some exceeded the borders I could draw, there is a better app to draw the map or is Paint good too?
Basically I'm downloading maps from the Internet and copying their borders
How do I add buildings at game start? Didn't see an option on nudge
bruh i might update ho4 plus
Hey, I have an idea for a mod. First I want to say that I have no experience with modding. But if anyone is interested just PM me.
which program is the best for editing rivers.bmp without errors?
photoshop
or gimp
8 for rivers iirc
Can someone help?
Tried adding a new operation but it's not showing up, any ideas?
Guys i have a big problem since a few day, i would like to play some modded hoi4 but almost every mod i play just crash the game (i play on the paradox launcher and dl my mods from paradox plaza cause idk how to do it on steam and i also dont fix it will fix the problem) so if someone has the solution plsssss
don't use pdn as it breaks most of hoi's bmp files
pdn is paradoxplaza ?
a friend sent me it so maybe lol
yeah that's probably it then
oh
wait did they send it to you as a steam key or smth?
i wanted to buy the game but idk which dlc are useful cause dont wanna buy all the cosmetic dlc
nah a gdrive file
yeah pirated then
so which dlc are usefuls ?
nsb is probably the best
the pages usually say if they're expansions
but they're nsb, bba, aat, toa I think
a few of them were made free a while ago i can't keep up with this stuff ahahah
also mtg and bftb
lmao ill look in detail
all the cheap dlcs aren't worth getting they're just reskins and songs mostly
yeah thats what i saw
is that it ?
you can also get the country packs if you want all the content
what do they do ?
trial of allegiance is south america content, focuses etc. and battle for the bosphorus is the same for greece turkey bulgaria iirc
yeah
isnt there like another way for me to play mods ?
cause i dont have the money
sorry i can't help you with that
ah
So to make an hoi4 map I have to
- Use Gimp
- Draw the many layers
- Import everything on MapGen
Right?
@timber zenith also if I want to make a precise map, where do I find a photo that I could use to draw the map
can you send a link?
It is the 2.2 version
hasn't been updated since 2018
Which problems does it give?
every problem
💀
by hand
How....
I never made a map until now
I thought mapgen was the most reliable instrument because of yt videos
if you haven't done map modding before i wouldn't suggest starting with something of such a large scale
But how to do map modding
That's the point
https://steamcommunity.com/sharedfiles/filedetails/?id=3261305586) try this firstly
for a full tutorial youd have to pay me
because it would take too long
I just need to know where to paint the map
provinces.bmp
No, to make a new map which program would I need to use to paint it
If paint is not good
What should I use
photoshop or gimp
The colors that I'll use for the terrain etc are the same for MapGen?
Is rise of nations a good mod?
Photoshop doesn't work, use gimp
xd
pay
for smth to learn hoi4 modding
maybe u know but when i open rivers.bmp by gimp i have warning about wrong format file bmp
You gotta like export it
Not save
but this warning is when i open a rivers.bmp from
windows explo
oh better, i can't open this file with gimp
with paint and paint.net i can but crashing
and i don't have photoshop
i need help coding my first mod
does anyone know if there's a mod like millenial dawn but without the money system? like modern day with only the focuses and decisions, nothing else
There is Millennium Dawn classic
Yo I am trying to launch a misile in milenium dawn but it does not let me select a launching point
Like I don't have the button that I need to press to select the silo to launch from
Haiti and the Kingdom of France joined the 1st coalition?
country_event = {
id = fra_1789_event.10
title = "The War in the Vendée"
desc = fra_1789_event.10.d
picture = GFX_idi_amin_india
is_triggered_only = yes
fire_only_once = yes
option = { #
name = "Declare war on the Vendée"
ai_chance = { factor = 100 }
VND={
declare_war_on = {
target = FRA
type = annex_everything
}
}
}
}
I put nothing in the code that makes either join a faction
and i disabled the ability to join factions without a decision/focus/event
Anybody know a lite-r version of mappa mundi? It crashed my 8gb laptop lmao
Thanks, I wanted to play a modern day mod that wouldn't fry both my PC and my brain for a while now
Fair enough
what's with the surge of Millennium Dawn mods all of a sudden? Not that I'm complaining
Кто тут шарит в моддинге?
А то я хз как, но редактируя мод, я как то смог затронуть и ваниль игру
Is there a some sort of database/collection to download custom focus icons, technology icons etc? I would like to avoid editing each one myself or taking from other mods.
I found all the info I needed on the paradox wiki, without paying anyone
it works fine for me, wdym?
Meh
is there a mod to ssplit armies into 24 div groups
wip icons for focus tree
i am making a map mod, is there a fast way to test a lot of settings without having to restart game again and again]
Hi. It is possible to put a flag for a sub_ideology like despotism? I know in localization, we can do that, but for the flag, I put TAG_despotism but it take the TAG_neutrality flag instead.
that looks like age of history 3 research
well KIND of
Is there any way to add priorities to any_of = {}
what kind of settings
No, as it's the leader that has the subideology not the country
You could do it if you set up something like
set_cosmetic_tag = TAG_despotism
would change the cosmetic tag (which would include the flag you set up)
trigger = {
original_tag = POL
date > 1794.1.1 date < 1799.1.1
or = {
POL = {surrender_progress > 0.1 }
has_war_with = PRE
RUS={controls_state = 206}
}
}
You could automate that by setting up a series of on actions, potentially using the on_government_change trigger(?) however I can't guarantee that would work
It might be more consistent if you use the on_state_control_changed on action
i always have issues with events triggers not triggering
oh do you have it set to is_triggered_only = yes?
bro, sorry, maybe the question is off topic, but didn’t you think it was too big for the 18th century? I would make the city bigger in size to write in the era
What are you talking about
what city
about which provinces, they are too small
Bruh, Google translator translated the provinces as cities,
how do I get rid of these errors? I don't own the dlc for those countries
whats the modifier to make these borders thin
when you are creating lots of new leaders, does it make more sense to create separate interface.gfx files for each country or to keep them all in a single file?
single file but cluster them
Hi. Somebody knows how to make text in a button pink? Like, add a costum color?
i think you put this symbol at the beggining and end of your quote
inside the quotation marks
§
but
you add a "P" after the first symbol
to indicate that its pink
i think this is how it works but im not sure im still an amateur
in the localization file i forgot to mention
doesnt work
hm
maybe pink doesnt exist as a possible color
im gonna try if yellow or red works
well yellow does work
idk tbh maybe you mix up the colors or sum?
Hi! New to HOI4, and I'm looking for a mod to make it even better (imo)
I've seen all the modern overhaul mods, but they start you in that modern age.
What I'd like, and what I'm hoping is out there, is a mod that allows me to start the game normally, but continue into the 80s, 90s, 00s, and so on. A true alternate history course that you somewhat control the path of the whole way.
Would such a mod exist? With tech, buildings, events?
Rise of Nations
but its broken af and hardly playable
iron curtain is good for the cold war era but its unfinished as well
and RT56 has some good postwar content
Ugh, but that workshop page looks so promising. That's almost exactly what I'm after, brownie points for allowing me to start pre-WW2 era, too!
the thing is i can guess why such a mod has never been made
its because of power creep mostly
I've seen RT56, but it also seems like an abrupt end to such an interesting concept that is alternate history.
Power creep, like, the eventual global domination of a single country?
maybe you would like the great war redux, its ww1 and into 1922 ish
theres also that
but power creep is
when like
lets imagine you set the attack value of a division at 10, and defense at 10 also, as the player researches new technologies, you would have to up those stats to ridiculous amounts after like 3-4 decades of ingame time
and also you would have to constantly add new building slots to allow players to keep on expanding
and also there is that thing you mentioned where eventually a nation will snowball into an unstoppable force
I suppose I'm used to stellaris, where those ridiculous amounts do happen, relatively speaking.
really? ive never played stellaris so
It absolutely gives you so much more content beyond the "finish line", making sense to keep playing, and snowball into a galactic influence or dominator.
Which, is what I wish hoi4 did.
Even if they were vague nameless events
i guess it would be cool, but like would you personally play a hoi4 game for THAT long?
yes
i personally get bored and start a new save after some years
literally the most ive played was till 1951
Rebellions you'd have to quell, and at the point where I literally couldn't do anything anymore, I'd take the setup of my nation, and recreate it in Stellaris, and keep going
Thats how I want to play hoi4
yeah you can do mega campaigns which are cool
oh this is the modding channel lol
i forgot
Well! It's still on topic regarding a mod I'm looking for.
Something that extends hoi4, but allows me to start in history, still.
im curious about this as well does anyone know how to freely put any color on text?
hello, i was wondeirng what the current state of hoi4 modding is? has any official modding tools been rleased or is everything still jsut editing text and image documents?
last looked at how this game is modded a few years ago and eventually lost interest
still the usual surface editing