#modding
1 messages · Page 103 of 1
I wonder if there is a mod to re-add the continuous focus naval production glitch
Thats something on the hardcoded side Im pretty sure
I fixed it for Road to 56 back then but vanilla fixed the same thing another way in the source code we cant access
How can I find the historical templates for the equipment designer (I have all the DLC), for example if I wanted to edit the Catalina small naval bomber for the USA, where would I look? I know that Catalina in the localization files has the ID USA_nav_bomber_equipment_1, but I can't seem to find that anywhere.
why does my game keep crashing while testing my mod and no crash making errors appear in the logs
It happens when starting a new game
Is there any mod for the Czechoslovakian Exile focus tree?
i think there is a mod being developed right now called (for now atleast) vanilla redone, which will include it
and also next time use #hoi4-general i think thats more appropiate
Alr thx
Does HOI4 use Year/Month/Day or Year/Day/Month ?
YYYY/MM/DD
you might need to put "06"
hello friends
I'm trying to make my own unique ottoman empire focus tree as an addon for Apres Moi Le Deluge - Revival (all credit to them, not posting it on workshop or anything) and the mod shows up in my paradox launcher well and dandy.
I boot up the game and it works as fine, but my dummy file (which should remove old focus tree and put in a dummy one with 1 focus) just doesn't work. instead, the old one is still there.
I'm not sure
You have the correct ID?
Yep I'm using the OG mod's ID for turkey/ottomans
their modifier is 10 so this should overwrite it but it doesn't
Maybe is the deluge_turkey focus
But no idea
I would say
replace_path = common/[focuses]
But that erases all focuses
Not just a single country
here is the apres moi le deluge turkey tree
fair enough
This is literally my first time modding and it isn't very motivating when i've spent 2 hours trying to make it just do something
at the same time, it's quickly increasing my respect for other modders
Are you doing this alone or with some kind of tutorial?
I'm using basic modding tutorial by the hoi4 YT channel, and now I'm using AI to try and help me fix problem even though I hate using AI
I seriously am stumped
yea
but they don't help much because thats for making a non dependant mod
video 4 talks about making focus trees
Ye I know
I've seen them
But it was a focus tree for a new nation
You are modifying an already existing one
that is essentially what i'm doing
I'm clearing the entire old one and redoing it as an end goal
Hmm
Check the wiki
Maybe there's something in there
Other than that no idea
Keep asking the Ai
sounds good
its a lot of stuff but its the only way foreward
I've been trying 😭
Thanks for the help though
Can try loading it by on_action/seeing if they use an on_action
Although if you wish to replace their tree, just have the same filename and itll automatically replace
can you help me bro?
rq
Sure
hop on dm can we?
Is it moderation related?
i sent message
Is there a wiki page on that?
I'm new sorry
*Update: Found it
Wait so if I name it just "turkey.txt" instead of "turkey_override.txt"?
Hey, can I get someones help with RandomParadox? It keeps taking the landmap I insert into it and splitting it, and then moving the split section over to the other side of the map. Anyway I can fix this?
Anyone know what the current best and most funs mods are? I haven't played in a year and want to get back into it.
lord of the rings mod is what im doing rn
thanks, I'll look into it
the fire rises
this is the top tier mod of the moment btw
also kaiserredux is peak
can someone help me? i wanna figure out how to change a leader for a specific party (such as communist) without changing the leader of the current party
Yup
@stark wolf #server-rules
Im confused why is this in modding and so loud
might make a mod based on stickmen lol
okay
just assign your country leader to a sub-ideology of communism.
If it's at game start.
hey yalls
im gonna add new CCs
to my hoi4 multi mod
like Instant production
and instant build
ill make the 2 main MP CCs
like: 100k and 100 mil
yes manpower
i do wanna modify the ale command
like a number and then a letter like k or m
it will be nice to use
Does anybodyu know a mod that takes away all factions?
- https://steamcommunity.com/sharedfiles/filedetails/?id=2913150560&searchtext=Toolpack (Helps dismantle/remove factions)
- https://steamcommunity.com/sharedfiles/filedetails/?id=2918042388&searchtext=Faction (Prevents countries not in factions from joining ones without a focus or event)
ty
Does anyone have any good mods that start the game earlier? I found one for 1933 but all research was just impossible and it crashed around 1934
❤️
Darkest Hour
I personally dislike it because Soviets died before Japan declared war on me as the US, but you might like it
can anyone help with my irish mod, Im trying to do an election focus, here's the code that I did for it
Can anyone help me with a localization error?
I have a country named but it isn't showing up in game
here's the localization code
TSA_fascism:0 "Russian Imperiya"
TSA_fascism_DEF:0 "the Russian Imperiya"
TSA_democratic:0 "Russian Republic"
TSA_democratic_DEF:0 "the Russian Republic"
TSA_neutrality:1 "Russian Empire"
TSA_neutrality_DEF:1 "the Russian Empire"
TSA_communism:0 "Russian Soviet Federative Socialist Republic"
TSA_communism_DEF:0 "the Russian Soviet Federative Socialist Republic"
TSA_fascism_ADJ:0 "Russian"
TSA_democratic_ADJ:0 "Russian"
TSA_neutrality_ADJ:0 "Russian"
TSA_communism_ADJ:0 "Russian"
TSA:0 "Russia"
TSA_DEF:0 "Russia"
TSA_ADJ:0 "Russian"
I'm using notepad++ btw
is that it
are you just showing the string of text or is that all
what file did you put this in
what exactly is the issue
Alliance
?
or this
depending on what you mean by "early"
It's the localization
it's my localization
here's the image of the error
whats the name of the file
does the file start with "l_english:"
I personally experienced localisation to be a lot more volatile than what the wiki describes
By the way the issue was not resolved by renaming file.
If anyone else has a solution, I would love to hear your input
it's called countries_l_english
I made another country and have the same problem, so it's probably a file problem
Is this okay? 🥺
Type error in the console and show the error log
It's an error with the country name not showing
Its probably because of wrong file encoding
How should they be encoded?
UTF-8 bom
which files should be encoded that way?
Localisation
Does the first line of code start with "l_english:"?
yes
Damn
Yeah
Do this
Ok
Scroll to the bottom and tell us what’s there
the reason it's talking about the algerian advisors is because I used the algerian file as a base for both countries that I currently have
I'll fix that soon though
What’s the tag of Nicholas’ country
TSA
Yeah I assumed that but there are a lot of RUS errors
hmm
ohhhh
i replaced all the GER with RUS for some reason
im pretty sure RUS was an early tag idea for Nicholas' country
Yeah but other than that there is nothing about the localisation
I'll reload the game and see if anything changes
here's another error log, after fixing the RUS stuff
Idk whats the issue at this point
Yeah me neither
Try removing the 0s
where?
sorry, which is where?
im still pretty new to modding so I dont quite know where everything is yet
This
TSA_fascism:0 "Russian Imperiya"
TSA_fascism_DEF:0 "the Russian Imperiya"
TSA_democratic:0 "Russian Republic"
TSA_democratic_DEF:0 "the Russian Republic"
TSA_neutrality:1 "Russian Empire"
TSA_neutrality_DEF:1 "the Russian Empire"
TSA_communism:0 "Russian Soviet Federative Socialist Republic"
TSA_communism_DEF:0 "the Russian Soviet Federative Socialist Republic"
TSA_fascism_ADJ:0 "Russian"
TSA_democratic_ADJ:0 "Russian"
TSA_neutrality_ADJ:0 "Russian"
TSA_communism_ADJ:0 "Russian"
TSA:0 "Russia"
TSA_DEF:0 "Russia"
TSA_ADJ:0 "Russian"
ok thanks
still doesn't work
idk what the problem is at this point
check your countries history files and see if the name is the same as the localisation
you can also just copy and paste the file from like HOI4 vanilla or a dif mod, and format it to your nation
what toolpack mod do you recommend me for MP games??
im gonna add new MP buildings and buildables to Get MORE MP in hoi4 SP
My game now crashes whenever I try to start a game, no matter what combination of mods. Says that there is a map definition error
So, if you know where you have save games in files, then go 1 File backwards, And most likely over there you can find the folder "map" i think its called. Delete that. And it's fixed
is your file a .yml file?
should I verify files after that?
Hello everyone, I have a question. How can I reference a country that's in a civil war with another country? (I need to conclude peace between them and transfer some of the original country's territory to the rebels.)
look at the "war" section
3.9
and then the state cope number 4
i dont fully understand what you're trying to do, but the things you need should be in there
if you have specific question for the effects, feel free to ask
To put it simply how to end a civil war without one side capitulating?
I was copy pasting the file already
it is
and you could then handle the rest with an event
you could trigger it with this
the white peace effect would then go into the effect block
try copying the entire countries yml localisation file into your mod folder and then just adding your localisation at the beginning
thats exacctly what i did though
so it's weird that it's doing that
ok
even if it feels completely stupid
it didn't work, anything else?
is the file in the correct folder?
it's in the english folder, which is in the localization folder
which is in my mod's folder
all other things related to the Tag work?
yeah, the colors and flag work, same with the leader portrait and name
Okay, so which country tag should I use? When a civil war starts, one country keeps its original tag, and the second one gets something like D01, D02, D03...
as long as you can guarantee that you know the Tag of the dynamic country, i dont think it matters which way you do it
use the scope of the Tag that has the original tag maybe
okay thank you
i think the problem is something incredibly minor and i dont think i can find it like this
yeah, thanks for the help though
Does anyone know how tfb's island hoppin mecanic (allies get debufs if japan takes islands) works? because i really couldnt find anything in the mod files
Try to check on_actions in common
yo lads
im making a ancient times mod
if anyone wants to hop in on development or is simply interested hit me up for discord link
guys how do you make map mods like the tno map mod etc
I couldn't find a mod that increased aircraft torpedoes, so I decided to make one. Anyone who wants it can use it.
https://steamcommunity.com/sharedfiles/filedetails/?id=3572448629
Unnecessary, unless you modded in the vanilla files directly (the map thing is not)
thank you
Through suffering
How do I rename cities?
what file does it go in?
Oh if you dont want the old name ever used, you instead copy the lines you wanna change from victory_points_l_english.yml
Yeah because I'm trying to change Leningrad to Saint Petersburg, so I don't think it would be needed
Then make a small file with only your edit, and place that in the /replace folder like this so the game knows to load it after everything else
Do I also edit the victory points file or no?
Only take the files you want to edit into a new file in /replace
no need to include thousands of lines you arent changing in your mod
l_english:
VICTORY_POINTS_3151:0 "Saint Petersburg"
this is the contents of my file so far @pale sparrow
am I doing it correctly or no
the file name is zarodinu_replace_l_english.yml
Yes sounds good
Just make sure the pathing is good and the file is saved is saved as UTF8+BOM

still not working
it's like everything is failing with this haha
my country names arent showing and now this
"C:\Users(myname)\OneDrive\Documents\Paradox Interactive\Hearts of Iron IV\mod\zarodinu\localization\english\replace\zarodinu_replace_l_english.yml"
oh my god that explains everything
thank you so much
does anyone know what the file for the buttons on the main menu are called
i cant find them and its making me crash out
not helpful
I think the latter file needs to include .txt
It worked, thank you
frontendmainview.gui
i found it
i was looking for main_lobby_button.dds
Hello i am trying to do my own first mod and i discovered the tutorials on the hoi4 discord and when i tried the first one with the events it instantly didnt work even though i copied exactly the text does anybody know if they should still work?
Can you show code and path in file explorer
you mean this right?
events folder doesn't go in commons
omg...... thx
that add_ideas block could be simplified by removing both limit's and doing a every_enemy_country block instead
okay thats good to know thanks
Thank you very much it works now
Hello again i have a two new problems. This time my flags are randomly turned upside down and i have an error with my custom character. Hope someone sees what i dont.
More seriously:
In my case
I used mapgen and astro tools
Pretty helpful but you still have to do some stuff
Make sure you don't have points less than 8 pixels tho
For that reason it took me a month or so making the mod
I think it's a problem with the format
About the flag
I'm not sure
But I remember there was a flag inserter for Hoi4
But isnt it dds with 156x210 pixels?
Don't remember
Try out this
It worked for me
About the character
No idea tbh
It says unknown character
You know if they have some kind of id or something?
Hold on I checked the wiki
You have the character on common/characters?
Cuz in the error log it's just in history/countries
And in recruit_character?
jup under history/countries/GOG - Land.txt
Is that the whole error log?
I mean the problem could be with your country
jup thats all thats why and i have no clue why it is because i dont find anything
maybe but the whole country functions as it should
Well I'm as clueless as you then
Wait For the big ones to help ya
See ya
Thank you for you help
is there a mod where the map looks like this?
otl
Millennium dawn but it's garbage mod and slow on average laptops
does tfr have a custom loading screen
Yeah
If anyone has an idea i would still need help
the fire rises but its garbage too becuse there is only 5 or 6 country has focus tree
tfr and garbage on the same sentence 🥀

What’s that
most popular mod
okay but that 6 countries that have focus trees are really high quality
hi
TFR is more of railroaded mod it doesnt need 50 countries to have focuses
its not like kx where anything can happen
does anyone have any suggestions?
the only mod I have is player led peace conferences
Road to 56
I am in an argument with someone about whether the text circled in red is a tooltip or not
Is it a tooltip?
The box is a tooltip, the info inside it is largely available elsewhere too so I'd not call it all tooltip text
insert generic focus tree here
You are wrong

can anyone help with advice on localization? Im making a mod and the localization refuses to work for some reason despite everything being correct, however when I transfer the files into a random workshop mod everything is working as intended so its something to do with my local files im guessing but I cant figure out what.
GUYS ! how can i fix it
the icon dont load until i took it AND it dont shows in flag window
mod file
Is that for the fire rises?
The box is a tooltip
yea
that is great becuse im iranian too 🙂
عالی
اره فقط یه سوال دیگه
به همه ورژن های ماد و بازی می خوره؟
من هر دو نوسخه که دارم 16.4 هستن
که باید بخوره
it is?
مود اصلی رو بریز بعد بریزش تو فایل اگه کار کرد که کرد نکرد باید نسخه جدید بریزی من خودم نسخه بالا ترینم
پس احتمالا می خوره
چون اخرین ورژنه اگ خدا بخواد
so okay
thank you for share that
بخدا من خودمم ایرانیم
میدونم
ok
👍
@molten lily@subtle pendantThis server is English only, please go to PMs next time
ok sorry
Does any one know a mod that lets you have more time before the war? I tried the more scenarios mod but it doesnt actually change the date
it just changes the displayed number
so you have less effective time
you get research penalties but the war still happens 3 years after start date
can i make a mod that integrates ALL DLCs/Expansions to main base game?
I dont think you would be able to
why?
why not?
Would it require ownership of the DLCs?
what
Mods on workshop have the option to require certain dlc ownership in order to download
would your mod require ownership of the DLCs that are integrated
yes they will need ownership of The DLCs
Then I guess you could but I see 0 reason as to why you would do it
becus we need em in base game for hoi4
if you own the DLCs then they may as well be base game
there is no functional difference
Those mods will be instantly taken down by PDX
As you essentially set sail on the seas if you get what I mean 😉😉
alr
Make a mod that just adds content that the dlcs add and make it a tiny bit different
alr
For legal purposes I was joking
They want our money
There is 0 benefit to them doing that, they probably wouldnt even increase normal sales marginally
how do i write in my effect so ALL divisions owned by a country dissapear?
Loop through units and do destroy_unit
Wrong
Hello, I am trying to make a mod that allows players (and only players) to freely pick any idea (without meeting the requirments)
The fire rises is peak
How can I change provinces between states?
Just want to check so I dont screw up my files
i wanna add Sturmzug stormtrooper and assault units and templates
Put both the state youre taking them from and the state its going to in your mod, then cut and paste the province IDs to move them
Then open the game in debug mode, go into nudge tool and verify all in the buildings tool
Then cut and paste the buildings.txt from your hoi iv documents folder into your mod after saving your nudge changes
Note: Copy paste would give issues, do make sure to actually move the stuff
Looking for GFX artists and Coders, for Original fantasy mod with AI anime portraits
If you are intersted in, send DM for me
What if you keep the mod to yourself and don’t publish it?🤔
@pale sparrow Do you know how to find the name of a country in a file?
its a cosmetic tag, but the tag has a bugged name when democratic and I want to fix it
<@&916727924093239336> How do i change the traits / name of a leader?#
what folder is it located in
Character
thanks, and does the "ideology" matter?
he is a communist but the ideology is just a sub thing
does it have to be referrenced elsewhere?
Yes sub ideologies need to be defined to have the correct broad ideology
Like socialism is democratic for example
Damn. Where do I go and reference that then?
and changing the name just gives me a localisation issue
FRA_la_cagoule
yeah thats the problem
I changed the name to FRA_MILITARY_OFFICE but it also includes the FRA and underscores
What do you mean?
Oh I see. so i need to go to the localisation and change the " FRA_la_cagoule:0 "La Cagoule"
" to FRA_la_cagoule:0 "Military Office"
no idea how
i just want to replace the fascist character with a custom one
ive hacked it by just changing the filenames
I also changed the flag but, the large flag doesnt render
the small and medium flags do though
Any idea how to fix?
Then Fredrik Paradox will haunt you...
Which you don't want
Cursed
Was banging my head on the desk...Just becasue i forgot to change the country_tags from spr to spa...
Bro got the flash on
Is there a way of modding a nation with specific tech icons, models, and names, to share those icons, models, and names with another tag?
Say for example if I was to give the Korea tech tree access to Japanese tech
Can anyone help with something?
When i go to load up my game in the mod that I've created, this pops up
Nevermind, I've fixed the errors
The HMG Is the heavy machine gun?
Indeed
Nice
Is there an Interactive Map that shows State IDs? I hate having the game open while modding just to get the state IDs
If you have a good Memory on the regions name you can Just check the states file ig? Search the state and look at the number
Check this
If you move your cursor on the state It gives the name
If you have some problems
Is the State name the same as in the Game Files? Because i need the Name or ID, because if i mod new countries with idk 5-10 states its so annoying to note all necressary states before doing any changes
Ye? In the history/states you get the names as they are in game
With the ID near them
The same goes for the mapchart
Aye
Ig
Is there any doc about special project modding?
I wanna mess with SP but right now i only have the source files to work it, it would be nice if there's some sort of doc out there
why do modded maps always look like this
I quickly drew what I mean
When people make their imaginary worlds, they never make a bunch of small countries be clumped up together
I know the map is not of the modder's design but it looks exactly like this
And hearts of minecrtaft also has no structure of actual countries
just a whole lot of random villages which are roughly the same size
so in the late game, you just have an Agar.io thing where all these smaller villages just join their bigger neighbors
resulting in the second image
i'd gladly design my own map, but honestly hoi4 modding is far too time consuming for me
making a whole new map with actual content would take months
and then i'd have to update it so it doesn't crash with new versions, which would be a whole another thing
first ever tree kinda nervous
Because it is easier to create 20 big countries than to create 200 small countries?
........
What do i do if the steam version of a mod dosent load anything? The local files load the mod fine, but they dont load on the steam version of it.
No
lol no but good guess ig
Are there any good Cold War mods?
Whats the best way to get a better economy in millennium dawn
So i dont make - all the time
Go on their discord.
Also some debt is fine, just dont go overboard
did but can you tell me anyways what im doing wrong
No
does anyone know if 1.5x NF has been updated for the 1.16.10 update
Can I have some help with my music station?
Only one song is showing, even though I have 2 in the station
Import oil
I don't play millenium dawn, but I do know that if running out of oil, import it
mod name?
lmao what was bro searching to find the post from 2016
The Forman chronicles
It’s not released
If you want the server inv dm me
Hey! I'm searching for master mapping
I have custom map and he need terrain 
can someone please help me, i wanna play with mods, mods worked for me but now they dont anymore, i have a ssd idk if the data is mixed up or idk
it says missing decryption data
Iron Curtain is a good one
There is but it’s so slop
I started developing my mod like a year now
It’s much better and plus it includes an extended tech and content till the Forman wars
It means you deleated something from the file called descriptor
If you did then you Need tò put It back
If i am not wrong tough others May Say the right thing
I mean that mod was inspired by a roblox fps game
They're just using the map
im gonna add Ranger units and templates
Versuchs mal neu zu installieren
das spiel oder die mods
also die Mod, im Workshop Abo beenden und dann neu abonnieren
müsste die Dateien neu herunterladen, inklusive der Deskriptordatei
danke
Kein Thema
i lowk recommend red dusk and red world fanfork
Is there a way to ignore all game files and make the game Just read only mines?
( besides the normal game files to run )
any good mods for normal historical/nonhistorical MP games with host tool?
Does anyone know how to fix the province is set up as coastal but has no port in the nudger error
Ive been told to use the find error button in the nudger but I cant because it gets stuck on a stupid Bad ammount of none error and its unfixable
For context I have been trying to edit the provinces of a map mod for my own mod
Replace path or something like that I am not sure but I think you should check the wiki
Oki thx
Thx
Is It a problem if the potrait for the leader Is 151 x 210 and not 156 x 210?
I think there’s going to be a bit of empty space but it should work
you have to use the building nudger
boef
Why on the debug mod map, 89 Is stanislawow while on the states hoi4 files its krakow
thanks
maybe the state was split at some point and the name wasnt changed
not unthinkable
easiest way is to have the game/state loc file/states wiki page/map analyzer excel sheet open when you mod history/states
Ye, i kept the game open to check for the IDs
So thats the why in some "states" the provinces didnt match the ones with their name
I Just tried to match state names - provinces id and not the state id with the provinces one
hmm it still doesn't work
i copy pasted over the buildings file
Another Centarua mod? 3 now is insane but still none for blood debt 😔
i got some gfx related problems
can someone explain me why it is shwoing something like the first image?
as you can see others are working
its only that 2
ok
That’s what I said but I can’t just click find error because whatever it does to find the error gets stuck on a state, usually for floating harbors, and it doesn’t say “bad amount of x building” it says “bad amount of none”, and no matter what I do to fix the error it keeps saying that. I have tried removing the building and fixing the number, I have tried randomizing the buildings. Nothing works and it will not tell me any more errors in the buildings.txt file if it isn’t fixed
is there a good mod for like 1v1s
There’s an official one for tournaments but I forgot the name
is there literally any mod that adds the western states that Qing lost in like 1790 or something
Click validate all states and then move the buildings file from paradox interactive/hearts if iron 4/map to your mods map folder
Click save before moving the file
Won't cutting and pasting the file create problems if I play a different mod from the one that I am creating?
Or if I play the base game with no mods
You cut and paste the nudgers output from the documents folder, not anything from the game folder
Restart the game, should fix it
So, i made a state in game, which appears on the map owned by poland, but, the other state ehich i Just modified to take off some provinces tò make that states wont appear owned and Just keeps crashing
When i try to start a game
I added the loc name for It still dont know what problem causes it
I wrote the replace_path="history/states"
In case It created some conflict with the hoi4 game files
Yet still crashes
[12:34:45][no_game_date][gamestate.cpp:2908]: MAP_ERROR: The land province 388 - has no state.
[12:34:45][no_game_date][gamestate.cpp:2908]: MAP_ERROR: The land province 3532 - has no state.
[12:34:45][no_game_date][gamestate.cpp:2908]: MAP_ERROR: The land province 6558 - has no state.
[12:34:45][no_game_date][gamestate.cpp:2908]: MAP_ERROR: The land province 11232 - has no state.
This are the provinces of the file which i modified, but they show stateless
Any suggestions?
Actually nvm its probably a good idea to replace the entire map since adding even 1 state gets annoying with map updates
tho i dont get why the game doesnt read my modified region
like
i took it from game files, took away some provinces and wont read it
but the created state yes
[12:34:03][no_game_date][persistent.cpp:68]: Error: "set victory points takes 2 parameters: victory_points, near line: 15" in file: "history/states/1017 - Kalisz.txt" near line: 15
[12:34:18][no_game_date][statetemplate.cpp:675]: State ID conflict: Both "Poznan" ( history/states/86-Poznan.txt) and "Poznan" ( C:\Users\Lenovo\OneDrive\Documenti\Paradox Interactive\Hearts of Iron IV\mod\jungewelt\history\states\1017 - Kalisz.txthistory/states/1017 - Kalisz.txt).
i got this ones too
this is how it should look
Wb this?
Ye i forgot to take the whole thing off 💀
Welp
Ok
Maybe i found the prob...
I didnt change the file ID.
So It was Reading two poznan.
Welp
( dont bully me for the ss 💔 )
👌
Thx for the time 
does dropping a cosmetic drop the color
Hello. When you are creating parties, how do you create the actual name and then the acronym?
my English is bad and I don't know if you understand me
it's like I create a democratic party name for example kebab workshipers association how do I script so it shows in the UI KWA, and when you put the mouse on the party name it shows the actual name?
@pale sparrow you know about this can you please help me?
Its two seperate loc strings
loc means localitation?
yes
If you name it like this, it'll apply automatically
if you name it differently, you have to fire an effect to load it
I am portuguese and my language have those characters like ã, I need a program to put those characters?
okay thank you so much

ya because in other games that are not paradox games when you are typing special characters you need an application
To mod these files you just use standard text editors, they'll support that
Visual Studio Code + some plugins is best according to most people
Oh ok, that makes sense now
Do I need to cut and paste it every time I want to change provinces between states?
Yes
Quick question, can I / should I use "conscription_factor" when adding a modifier to a state or should it be "local_manpower"?
And would I delete the old buildings file every time I cut and paste a new one over?
local manpower
Yeh
Ok, thanks
Thanks
can sm help me w modding my countries gfx and characters wont work
I might be able to, can you describe the problem?
ive got a few problems
im modding using vscode and literally everything is erorred im so confused
and i was making a custom nation, land claims and army etc worked but the gfx and character didnt
i could sharescreen if u want
does your leaders file path look liike this?
"C:\Users(username)\OneDrive\Documents\Paradox Interactive\Hearts of Iron IV\mod(modname)\gfx\leaders(countrytag)\Portrait_(countrytag)(firstname)(lastname).dds"
oh one thing, not to be rude, but I can see your name
yeah it was a poor attempt at hiding it
anyway
is the way ive laid it out wrong?
the portrait and leader name isnt working
aswell as the countries flag
no
does your country file (in the history folder) have this
create_country_leader = {
name = "Vladimir Lenin"
desc = ""
picture = "gfx/leaders/RSR/Portrait_RSR_Vladimir_Lenin.dds"
ideology = leninism
traits = {
#
}
}
not word for word, just replace the names with whatever you have
no it doesnt
does the recruit character thing not work?
didnt work
Huh that's weird
I would recommend you watch this
This lesson will explain how to create a new country in Hearts of Iron 4.
If you found this video helpful and want to help the channel grow you can use the super thanks button above, any amount helps the Iron Workshop improve and continue to make more videos like this one.
Timestamps for this tutorial/lesson:
00:00 - Lesson beginning
02:00 - ...
I'm pretty new to modding so I don't know much yet
But this guy's videos have helped me out
that video didnt help man im so lost
Hey, this may be stupid request but is there a way to make a client side only modification that after lets say 30 days of game start, makes like a sound play or some gui element pop up, just something i may use as an notification? ty in advance
i can go from there its just if its possible
Is there an updated version of the No Divisions Limit mod?
is there a mod where we can send ships with lend lease
like i want to send battleships to allies
what language are the focuses written in, im trying to modify a focus tree
is there a way to automatically change the x and y axis of the focuses
how do I trigger an event with commands? Typing 'event ___' doesn't seem to work
hello, how to change the date to 2008 without bookmarks? Just display the year as year + 72
is there a way of giving a unit buffs only when they're used as volunteers? Like having +10% attack "When deployed as a volunteer"
GXC = {
drop_cosmetic_tag = yes
set_cosmetic_tag = GXC_base}
is there anything wrong with this code? I am coding in the common > events file
The Hoi4 modding syntax is kind of its own thing
the game itself is written in C++ I believe, though as i said, the modding syntax doesnt really reflect that
Should still work
Ignore if it sais
This is where your mod is finally getting somewhere. In part three we teach you how to create a new country, add a flag, and creating characters and giving them portraits. What is debug mode? What are tags? What is a custom name list? All of this will also be covered. But you want to learn more, so stay tuned for part 4!
0:00 - In this tutorial...
Hello everyone, i'm in need of help with a mod, would anyone like to join in? It would a great surprise for the upcoming update!
whats the mod about
You could create a hidden idea, which could be removed anytime when the country is at war - leading voluteers will have the buff.
how do I remove these countries from the country selection menu
Go to Bookmarks (Make one if u don't have it already) and cut the countries u don't want
Did you use blender?
The model was made by my friend, I coded it in but yes he used blender
Noice
Ooooh, now that is smart, thank you!
I just had an idea for a new ideology.
Is there an up-to-date peace mod, by chance? That would let you make a peace deal without fully capitulating an enemy?
the hell is that division editor
how do i fix this?
[23:49:39][no_game_date][localize.cpp:647]: l_english: Duplicate localization found, key
i get this in both vicotry points and state names loc
How do I make generals
Admirals, field marshals and advisors?
This Hearts of Iron IV modding lesson will explain how to create new characters, including country leaders, advisors, corps commanders, field marshal and admirals.
If you found this video helpful and want to help the channel grow you can use the super thanks button above, any amount helps the Iron Workshop improve and continue to make more vide...
heart of slots
i still have a prob with the loc, eveytime i load into a game the game jsut crashes, i check in the logs/text.log and it just gives me the loc of my created states + modified states name and say its a duplicate
[00:24:53][no_game_date][localize.cpp:647]: l_english: Duplicate localization found, key: STATE_51, file: localisation/state_names_l_english.yml, value: Western Rhineland
[00:24:53][no_game_date][localize.cpp:647]: l_english: Duplicate localization found, key: STATE_51, file: localisation/english/state_names_l_english.yml, value: Rhineland
[00:24:53][no_game_date][localize.cpp:647]: l_english: Duplicate localization found, key: STATE_65, file: localisation/state_names_l_english.yml, value: Western Sachsen
[00:24:53][no_game_date][localize.cpp:647]: l_english: Duplicate localization found, key: STATE_65, file: localisation/english/state_names_l_english.yml, value: Sachsen
You have two states with the same state id
Twice
But there are none
You need to get rid of the stare you don’t want to use or change it’s state id
Its Just one
You have Western_Rhineland and Rhineland both under stateid 51
Same with western sachsen and sachsen
In the history/states the state id 51 Is "rhineland" but in the loc One i putted Eastern Rhineland
Do i have to change the name of the state id name in the states file too?
Because there are no doubles
STATE_51 → "Western Rhineland" (from localisation/state_names_l_english.yml)
STATE_51 → "Rhineland" (from localisation/english/state_names_l_english.yml)
STATE_65 → "Western Sachsen"
STATE_65 → "Sachsen"
I assume you have split both sachsen and rhineland into east and west, to do so you need to get rid of the original states for both of them
So...i have to create a whole new state for It?
wdym
Like, now the western rhineland Is state_1020, which Is a new state made by me, do i Need to do the same thing with the other part?
If you’re creating a new state that’s in the place of base rheinland, you need to get rid of the base rhineland in your code, and possibly create a new state for the area your new state doesn’t take up?
Idk if I’m understanding you correctly, I apologize
Nah its more me not knowing the problem lol
The problem right now is that your mod has State_51 & State_56 registered twice with different data
Like, i took the base rhineland state file from the history/states of the base game, copy and pasted it in my mod states file, i created state_1020 which Is the western rhineland, and i Just modified the provinces of the states, and tried changing the name of the rhineland state_51 to eastern, but It still counts It as a duplicate
Before doing that, i made western and eastern sachsen, i loaded in game and It runned well, no crash
Dunno what happened with that one
Hmm
Tho i have the " replace_path="history/states"
STATE_51:0 "Eastern Rhineland"
STATE_1020:0 "Western Rhineland"
write your stateids like this
And it should work
Imma try hollon
Sorry wait no
In localisation/state_names_l_english.yml
make sure you have
l_english:
STATE_51:0 "Eastern Rhineland"
STATE_1020:0 "Western Rhineland"
[01:14:17][no_game_date][localize.cpp:647]: l_english: Duplicate localization found, key: STATE_51, file: localisation/state_names_l_english.yml, value: Western Rhineland
nope
hmm
i dont get why this shows up just now tho, it went all good till this
Are you able to share your .yml file in some form?
hollon
ye the eastern and west are switched because i confused them
i tried anyways
still same error
it just gives me duplicate file in the text.log
i tested before doing the rhine, all the states, posen, kalisz, frankurt, appeared
and with their gfiven loc names
Make sure you don’t have the entire vanilla state_names_l_english.yml copied into your mod
only thing I can think of really
If that isn’t the issue someone with more knowledge will have to help you
Sorry ❤️🩹
Welp, we tried...thx for the help anyways, Imma Just try again tmrw
Sry for the waste of time 🙏 Imma look into some videos to get whats wrong with it
Can anyone help me with my music station, only one song is showing up, even though I have 2 in the radio
Odd, it says that but it still works
So is anyone ever going to recreate the Colonial Expansion mod? (https://steamcommunity.com/sharedfiles/filedetails/?id=2777718835)
This mod was literally my favorite and made so many fun scenarios. Its not compatable with the current update but I dont see why anyone hasnt updated it. The project seems abandoned and its a real shame, I would play the hell out of it for days straight.
Why does top bar resources not work with iron man?
If i can get perms from the owner of it I can update it to 1.16.10 (I also played the mod)
Do you know a mod to remove the reflection on the sea? The ones on Steam don’t work for me.
I'm a new, playing Brazil, how to land, the readiness is 100%, but the landing doesn't start, the divisions are standing in the port
Naval supremacy? Convoys?
yes i think
Anyone know how to hide the tooltip from on_add/on_remove?
Or better yet, make modifiers in an idea hidden? I tried hidden_modifier but it didn't work
hidden_effect
on_add and on_remove are effects, not modifiers
Tried that already, didn't work
u did prob smth wrong as it worked for me in the past...
is there a mod for hoi4 that works like the timelapse mechanic in eu4 where i can see my own gameplay timelapsed?
modding
can someone help me with switching provinces between states?
I get a pop-up that says "Failed to load the map" when I open the game
did you validate
put the hidden effect inside the on_add and on_remove
go into debug mode
I am in debug
can you show the full error
How would I fix this?
I gave Edirne and Istanbul to Greece, and changed province 11829 from Istanbul state to Izmir state
How cna i crash but have no prob with checksum and nothing Is written in the text.log 💔
- Check the buildings, ensure that they're randomized and validated to avoid state buildings in provinces they don't own
- Check strategic regions, they don't update based on state changes most of the time
Can someone help me, no state names are appearing
The nudger has a tendency of breaking the loc file, remove the one generated in the Documents folder
Ok
when making new states for my mod, how do i make the error go away in the main screen? (it lets me start a game after about 10 second but it’d be embarrassing to have that in my mod.
Buildings/units file you can let the nudger construct, its really good at that
The rest you gotta do manually based on error log
Additionally, if you do use the nudger's generated loc file, remove any negative IDs after the states, as they're the cause for it breaking
Example:
STATE_17:-1 "TEST" (Won't work)
STATE_17:0 "TEST" (Will work)
Also the numbers are optional, you can delete em if you want
Usually happens when you got a potentially game-breaking map error, such as a province without a state, state/provinces without strategic regions, etc
I mean at what point is it of no use? from what ive heard he hasnt even been online in the last year. I mean as long as you credit the original creator and link the original mod i dont see the issue with it. But ofc im not familiar with modding ethics
Hey fellow Map starers,
So I’ve been thinking – there are a ton of alt-history mods for HoI4 out there, but they’re kinda scattered around different discords, subreddits, random Steam pages, etc. What if we just… made one big list?
I put together a simple form where you can drop in whatever alt-history mods you know (big projects, WIPs, even those that play in the future). Once there are enough submissions, I’ll compile everything into a nice, easy-to-browse sheet and share it back here. That way if you’re ever hunting for a “what if X happened instead” mod, you don’t have to spend hours searching.
👉 https://forms.gle/a7Rw5BRXe99D9JJN8
If you’ve got any personal favorites, toss them in! The more niche the better. Also, if you’re a dev working on something and want to plug your own project, go for it – I’ll include it in the list too.
Thanks ahead!
[graphics.cpp:1365]: Failed to create gui object. Could not find sprite type [GFX_mapicon_mega_gun_emplacement]
[graphics.cpp:1365]: Failed to create gui object. Could not find sprite type [GFX_mapicon_mega_gun_emplacement_large]
i'm going crazy trying to track down where these errors are coming from. i understand what i think to be happening, and have identified a handful of mods that were missing the relevant sprite type definition in mapicons.gfx, but I made my own mod (actually just modifying a merged mod i made with irony mod manager) and literally added back the vanilla mapicons.gfx back with it last in the load order and it's STILL happening. so, what could I be missing here?
im gonna add a LOT/LOADS of new combat battalion units to my hoi4 multi mod
for like infantry marines tanks etc
aswell as LOTS/LOADS of new concsription draft and mobilization laws
I can make you this but will you be willing to pay?
guys question, how do i make it so a certain text in localization is shown when a variable is a specific value?
Moderators, my HoI4 won't run, it doesn't have a browser, how can I install it?
okay I just started EAW back up, anyone care to explain what the hell this is?
is there any like medieval style mods
yeah, it's called Crusader Kings
Can someone help me make a flag mod pack.
ummmmm
can i have that mod
it's Equestria at War, you can get it in the steam workshop
oh ok
i thought you made it yourself
There Is nothing we can do, easy
Europe 1300
how do i mod it so that in 1936 mode, british raj government is democratic and the leader is narendra modi
You gotta change It in the "common" countries files i think
You change starting ideolgoy
huh
And set a new character for the ideology
ok thanks
Check game files
👍
where does it define starting ideology?
This is where your mod is finally getting somewhere. In part three we teach you how to create a new country, add a flag, and creating characters and giving them portraits. What is debug mode? What are tags? What is a custom name list? All of this will also be covered. But you want to learn more, so stay tuned for part 4!
0:00 - In this tutorial...
Skip to the characters part
Or so
It Will explain it
Check desc fir Better starting clips of the video
i was actually looking at that
oh my god it worked
mobile 💔 i feel your pain
go to hoi4 game properties on steam, then files and browse, gfx (or dlc folder first if you want to change a dlc portrait) portraits, look for the country tag of your leader (FRA for france for example) open portrait with gimp program (it's free) then edit the image to your liking, then SAVE AS COPY
if you just want to make a small adjustment in your base game then make a copy of the original and replace it with your picture
if you want it to be a toggeable mod, create your own from the pdx launcher and simply copy the route for the portrait and paste your new portrait
im not on mobile
im on my old laptop
that.... runs
also why is this happening?
is it because i made my own RAJ file that doesnt have these things in it?
i havent even done anything to this
this happened when i fixed this one
What did U do?
Guys help
ahh so u freed india in 1936?
You gotta be more detailed about what you want
pretty much everything is explained on this page though
Okay in short, i want a certain text to appear in category description if lets say a value is 8
scripted localization then
See the wiki, its well explained
Can see a lot of examples in vanilla if needed
no im tryna make a mod that has 2019/2022 india "time travelled" back into 1936
just india
pakistan's area will be called British Punjab, bangladesh as British Bengal
they wont be free as only india time travelled
wait so does india get modern equipment and technology?
bruh india will be super op in this scenario
ull need to balance it somehow
nope
only the people travelled
not the items
i still feel like india would be too powerful
with engineers that understand modern tech
like once u build up a modern army ud be able to conquer the whole world in less than a year
Is there a space mod for modern day or Cold War
Is there any mod to make the border color gradient just a single line in the color of the country?
any idea why my game crashes ?
i literally see no reason for it to crash, i had those errors before and it worked just fine
this only happens if i make belgium not have a single starting state
Is there a mod that can make princess hibana a general in hoi4
yo who wants to help me and a few others in making a Minecraft styled mod outside of Hearts of Minecraft?
we need Coders mostly but any help is appreciated
if you want to join DM me privately and i can send the link
hi guys, what are some good performance mods for multiplayer? client side im fine with just fps map but my friends lag a bit, most of the multiplayer performance mods i find haven't been updated in years so what works now?
Optimization++
SOO opt
Hello all so im making this mod with a few others that is based on the popular game Minecraft, this is a mod that is not related towards hearts of Minecraft. we aim to be a Minecraft mod also but right now we are at a crossroads as its became apparent that the main struggle of the mod is that we lack a true developer team so it would be greatly appreciated if any CODERS or WRITERS can join to become a dev for this mod. and hopefully this mod can become good!
MESSAGE ME IN DMS FOR THE INVITE
or reply under this post
single starting state or date?
Is it possible to remove or reduce the gradient and have only the border line?
thank uuu <3
any ideas on actually making a good focus tree? like, i have this country thats supposed to go to civil war on basically game start (only about a year to prepare) and i wanna have two paths where you either support the totalitarian government or oppose them (with branching paths and different malices) and im not really sure how to make it actually fun
its set in the deus ex universe

wait
and what have you replaced it with
France and Netherlands
have you splitted off flanders and wallonia
between them
yeah
i might give luxembourg to germany
it's a mod set in the distant future
2050 that is
dang
How can I auto trigger a event I can't seem to do that so easily I want to trigger it when game starts
who should get it, players or a specific country?
Country
I set it to the country tag and used mean_time_to_happen and put the value to days = 1 but doesn't work
Fire it in the history file with a slight delay
I have to trigger manually
What's that? Im new as hell to modding
It defines the starting politics/units etc. for countries
but you can fire any effects there for game startup
Ok how and where is the file?
/history/countries folder
Ok how can I trigger?
And will it still trigger if I make a new file?
you need to override the vanilla file for the country
Simply fire it
Ok so will it append my code or I have to copy and paste all the vanilla file stuff to my modded file?
Does this trigger the event? it looks like Im just giving it a id and just a bunch of days and hours stuff
If you defined the event correctly, yes
And it will insta work? cause it says days = 10 and idk what's that random hours and days
Alright Im gonna give it a shot now
@pale sparrow Didn't work
And localisation also doesn't work when I trigger manually through console
Oh wait it worked!!
But localisation didn't @pale sparrow
And It also the national spirit doesn't have full name and if I want to add underlines _ it will just get a little ugly and also national spirit doesn't have buffs now last time it had buffs
Are you here?
on_action files
it's not at the history file
it's at the on_action files
so you will create your event originally at events files
after that
in the on_actions file
Both work but I think history file is the nicer place
on_actions = {
on_startup = {
effect = {
TAG = {
# 1937 Election
country_event = {
id = random_events.22
days = 512
}
}
that works the exact same as in history file, except now its not organized with the rest of TAG's setup
I tried it before didn't work Idk why probobly I messed up
therefore it would be still organized
did u created ur event at the events file
Arda's example should work too
Yes
Yes
You put name with _ in the idea file, then localize that token in the localization files with spaces
That looks to be working except the loc
How can I exactly localize?
The wiki has a dedicated page on this you should read first
My texts are diffrent in localisation file
the YT guides probably have one too
Yeah I saw one I did exactly same as the video but didn't work now Im here
Even the picture in event pop up is wrong
You might wanna check error log for faults with the loc file
I checked nothing
l_english:
Rush_to_Glory:0 "testing dsadasdad"
mod_event.1.t:0 "testttt"
mod_event.1.d:0 "testing"
mod_event.1.a:0 "test"
IIsn't this correct?
That looks correct
make sure the file is named correctly, in the right folder, and saved in UTF8+BOM
How can I save it like that?
Does visual studio code support something like this?
Yes