No kidding, I was JUST getting to the Making a New State part of the old playlist, didn't see history folder, raged, then saw this whilst troubleshooting. A surprise, but a welcome one to be sure. Great work! :)
@@TheIronWorkshop Hello, would it be cool with you if i sent you my attemp to if possible take a look and tell me what might went wrong, i did as above but i keep getting some errors, thanks anyways
@@TheIronWorkshop can u help me? my situation is: i made custom map and created the states. They are empty, with only basic info like manpower, wich was set to 1 in all states (ill change dat later) and state category there are no buildings in my state files, i filled thr weather, hubs and raiways files, but when i try to do the buildings file, by clicking in random all states, or random selected state, it just crashes, can u help?
If anyone finds that the localisation of all their states is broken, the state and strategic region localisation files made by the nudge tool are slightly different from the main folder ones, i can only assume due to an update. If you go into your new file and delete the '-1' at the end of any state or region it appears (e.g. STATE_58_DEN:-1 "Holsten" would become STATE_58_DEN: "Holsten"), the file should work fine. I would have assumed that the game needs a 0 in its place, but the base game file doesn't have it. It seems to mainly be an issue with states that have that _TAG at the end, which i assume denotes alternate names for states.
Thank you very much,guy.I not can found russian guide for creating new states,I found you and learned create new states for my mod!Thank you from Russia!
Excelent tutorial! Do you know how to modify the appearance of the HoI4 map? (E. G: make the water darker, make the country's colors more opaque) If so, could you do a tutorial explaining the basics?
Guys, even tho the nudge tool makes it reset after gotterdammerung, you can still bruteforce it by just assigning 1 province to your state and then later manually giving that state the provinces trough the history folder in your mod. But dont forget to delete the provinces from the states you changed. Also this will cause the localisation to freak up, to fix it just COPY not manually drag it, the state_names_l_english.yml from your game folder then paste it into your mods localisation folder. Next when making that province a duplicate history folder will be created in the history folder in your documents/the mod, just copy the text file in it and then delete the useless duplicate, tho the file will be the default one with no modified data in it so to fix that too just go to the steam folder, history, states, search the province id and copy n paste the text file into your mod. That should fix the problems i found my self have with this brute force method, there might be more depending on what you wanna do next.
Excellent as always, thank you for your video. I have started to play ck3 recently, and the amount of historical units that player can recruit is just shameless, so could you please someday make a tutorial about adding new units for different cultures and counties?
That's a video with very small viewer base because of how specific it is, the idea here is to learn the basic and then take those skills to start experimenting and creating the more complex content how YOU want to make it. Because something like this will be created differently each time it is created and there is no one "right" way for me to show how to create something like that.
Hey! I followed your tutorial! Very helpful! Although after a few times working, the game started crashing, even though I didn't change nothing in the files meanwhile
@@TheIronWorkshop could you do a guide on deleting the 1936 start date and doing bookmarks for much later dates? As normally the game crashes when I try this
so the state i created basically covered other states, and when i launch hoi4, it says "[14:14:00][state.cpp:681]: Error: Province with id: 1591 is already added to state "STATE_835" ( with id: 835 ), adding it to state "Alma-Ata" ( with id: 586) and thus overriding first state. [14:14:00][state.cpp:681]: Error: Province with id: 1840 is already added to state "STATE_835" ( with id: 835 ), adding it to state "Alma-Ata" ( with id: 586) and thus overriding first state" and etc how do I fix it? thanks
This error is when the original state and the new state are using the same province. The game is defaulting for the original and not your new state. You can fix this by using the Original state and modify it to become your new state. You can probably try to change the ID of your new state with that of the original state. But I have not tried this.
I doesn't work anymore. I did everything with the tutorial but when i look to Hoi4 files the state isn't there and in the mod it isn't too. please somebody help
Have you checked (Documents/Paradox Interactive/Hearts of Iron IV/history/states)? That is where the new states are being placed. You just need to drag the new states from the HOI4 states folder and place it in your mods states folder.
this went awful when i did it a few months ago, but now i'm better and i've made my own province for it, so, in advance let's hope it works edit: hmm it's not as bad but still not fully functional, i did what u said at the end but it crashes anyway edit2: NEVERMIND! it was an issue with a custom province i made for it not having an assigned continent. i sorted it out, thx for the tutorial :)
I tried to create a state just like you did it in the video, but my attempt just ended with the game crashing on me. Do you got any idea why this might happen? Edit : The game crashed since i used letters like Ø and Ä while creating states. I made it work by creating the states first with mock names, then assigning the real names later.
dude i was modding new states. i did everything right. error log was clean. and if i were to load and play my old save games with the mod, it was working (when i click the new states it was crashing). but i couldn’t play. I hope this will be it
Hi, I would like to ask about specific thing about states - Impassable terrain. I have found some file that modify impassable terrain and from which to which location should be impassable move divisions ("adjacencies" in map folder) but simple specify locations doesn't work. Could you please introduce how to make impassable terrain? Much appreciated. Otherwise: great work :)
Alright, having a legit issue now. I’m getting the nudge error, but there’s no history file in my main Hoi4 to delete. There’s a map folder, but just deleting that doesn’t work. The only thing thats worked so far is deleting the states folder out of my mod history folder, which sucks, cuz it means I have to restart from near scratch. Help, I’m at a brick wall and can’t continue with creating my mod.
I’m having issues! I’m trying to create new states for Sweden and I follow the video step by step. But yet when I launch the game it crashes while loading! What confuses me is that the error report doesn’t just point out a few things like no people living in state but sais things like unexpected token and invalid effect about every single line on every file! What do I do?
so i just made a map for sweden where i add all the läns, the issues i had is that i forgot to change victory points, which made it crash. And i get aluminum errors when i try to add them to any state. but other than that it does work now. the people in state is mostly about adding manpower, and such.
localisation i found a comment, ima just copying it "If anyone finds that the localisation of all their states is broken, the state and strategic region localisation files made by the nudge tool are slightly different from the main folder ones, i can only assume due to an update. If you go into your new file and delete the '-1' at the end of any state or region it appears (e.g. STATE_58_DEN:-1 "Holsten" would become STATE_58_DEN: "Holsten"), the file should work fine. I would have assumed that the game needs a 0 in its place, but the base game file doesn't have it. It seems to mainly be an issue with states that have that _TAG at the end, which i assume denotes alternate names for states."
Hi, when i make the new state, i followed your exact instructions, it shows it as its own state, shows it as part of the original state as well, and the text remains on screen of when it was just one province. how come this is happening? i can send an imgur link if necessary
You need to go into the history folder (Documents/Paradox Interactive/Hearts of Iron IV/history/states). Then drag the new state files in there into your mod. The next time you startup Hearts of Iron 4 it will show the new state. To make multiple states yo need to go into the files of each state and change the id. Make sure that the states id are in order.
I am struggling deeply. The error codes for my game include, "[22:53:59][no_game_date][state.cpp:686]: Error: Province with id: 12720 is already added to state "Karlsbad" ( with id: 940 ), adding it to state "New Mexico" ( with id: 376) and thus overriding first state." And the thing is, province 12720 isn't in state 376, I've checked the file atleast a dozen times. I don't quite know whats happening.
So, I created almost exactly the same state as you did in this tutorial. Only difference is I applied it to my custom country (independent Texas) and had a few less provinces in it. I keep getting the error “unexpected token: history, near line: 6” in file: “history/states/909-South Texas.txt” near line: 18 I checked the code and it looks almost exactly like yours (again, barring a few of the province numbers since I used less). Anyway, my new state is coming up as unclaimed land and is not a part of my country. What am I doing wrong?
i launched my mod in normal hoi4 (not debug) and it displayed the message that the map failed to load but when i loaded the mod in the debug version it displayed the message and said it will "likely crash when i start a game" but i worked flawlessly i want to use it in multiplayer but debug mode doesnt have multiplayer (i deleted the map and history folders) i also tried clearing user directory
@@doge4291 Well i did it. In Documents/Paradox Interactive/Hearts Of Iron IV and you need to delete what is inside from the folders of Map and History that should work. srry for my english
i still followed your instructions about the fixing the failed to load map error i went to ''This PC'' , ''Documents'' ''Paradox Interactive'' ''HOI4'' i then deleted the map folder and the history folder i deactivated all my mods, even the ones that dont contain a map i tried going into -debug mode in the hoi4 shortcut and none of them work i tried different combinations of these solutions too such as debug mode and starting hoi4 with the deleted folders, etc still doesnt work please help.
Im having an issue at 10:00 area, like i didnt get no new mod folder so i made one myself, i cut and pasted the other folders in but when i looked into the history folder, every single state was in it!
I fixed it. I had copy pasted files from the steam->steamapps->common->Hearts of Iron IV and then you get all states but its located in Paradox Interactive ->Hearts of Iron IV. Just copy back the old files and paste the ones in Paradox-Hoi4
I have an issue where the provences names and you know all the stuff are switch sides, like for example New texas is where the "normal" Texas is and that Texas is in New Texas. It's a bit confusing, but can you still help?
Looking back at your video, my nudge tool will create a new state with its history file but it would not appear in the game immediately unlike yours. Do I have to manually add the history file into the mod and restart the game?
Thank you for all of your tutorials but, with states idk how to update your states for the Barbarossa update because they added like 30 new states do I just change my new state id our?
Late, but it's related with the English localisation errors from localisation/english/state_names_l_english.yml. It can simply be fixed by just copying the entire exact data of the HOI4 directory and paste it there, make sure to back up the names of your states!
@@themageofspace5516 I alredy fixed it, it's really easy. Never directly copy de localisation folder to the mod folder, because the nudge tool makes a wrong file, instead, manually add the new code of the localisation folder to the mod folder
Quiero crear un submod para el millennium pero no funciona, luego de crear más de 20 estados el juego deja de funcionar y empieza a crashear y cerrarse solo
I have a problem : every time I create a new state, some airports and rocket sites always disappear (always the same), and I am forced to add them manually again. It wouldn't be a problem if I added only some states, but I try to make dozens of them to allow more realistic frontiers in terms of geography, ethnicity and history. Does someone know what to do for the rocket sites and airports not to disappear?
I don't understand why but everytime I create a new state using the first step of the vid and click save it always reverts back to the original state...
It's been a while since this video but I'm encountering a problem and perhaps you can help me, so it's worth giving it a try. I've been trying to mod Rhodesia as a separate country with its own states (Mashonaland, Matabeleland, Victoria) but I keep getting this error: [10:49:17][state.cpp:682]: Error: Province with id: 7842 is already added to state "Rhodesia" ( with id: 545 ), adding it to state "Victoria" ( with id: 910) and thus overriding first state. I have one such error for each of the three states of course. Initially I only had the one country and relative .txt file with all provinces being in one state, which worked fine but limited construction. So I decided to create separate states, gave them the right provinces with the Nudge, and now I'm left with three separate .txt files plus the original one which encompasses all previous provinces. I have removed the original .txt but that did not fix the issue. I suppose that's because Rhodesia also exists in the base game, so the game just picks that file from the game directory, checks it against my new states, and can't choose which one to use. I also tried leaving the .txt in there but removing the provinces, but that still does not fix the issue. I understand the issue here is that I can't leave ID 545 empty, but I can't keep it as it is either since that means it overrides the new states. Do you have any ideas how this can be fixed? EDIT: Just to be clear, the game does work. I can launch the game, go to the map, select Rhodesia as a country, and build on the new states instead of building on one single state. But every time the game launches I get the warning that it might crash, so I would like to solve that.
How do I create entirely new bits of land and turn them into a state? I want to add an island to my vanilla game but I haven't found any tutorials that help me with that.
I'm trying to make a new country but I have a problem, i followed through on the Creating country video and then this video, I'm trying to take Slovakia Away from Czechoslovakia and I'm really confused
So, i've encountered a problem, which i couldn't fix by deleting the following folders, the error.log simply doesnt recognizes the states, saying that they havent got any provinces, that provinces haven't got any parent states, that states haven't got any categories, and so on, also, what does the "unexpected token near line x" means?
uh, yeah no, i've maybe found the solution, my layout was alot different from the layout the game uses, i'm talking about the .doc layout, and the thing is just to rewrite each state file.
Everything was going well, until i clicked on create state, then the game just crashed, idk why. And the 2nd thing is that when i want to create a focus, then sometimes it workes, but sometimes it just deleting half of the focustree, and sometimes it adds the 1 focus and sometimes it doesnt. Pls help meeee 😢
Hi I really like your content man. i am making my own mod with a custom map, is there an easy way i can create a country and using the nudge tool and assign states to it without editing all the state files manually?
OK so I've been working on a mod for a while now, I watched your old tutorial video about 2 or 3 months ago when I started. Everything was working great until I added music to the game, and the mod started crashing. I assumed the music was causing the issue so I removed it and it kept crashing - the nudge tool also crashed immediately, I couldn't even get it open. Nothing worked, so I reinstalled the game and after that it allowed me to open the nudge tool, but still gave me errors. I've figured out that it appears to be something wrong with my state file (or something connected to that file), which is weird because it worked fine before I added the music files. It appears that not one, but all the custom states I've added so far do not work. I tried using the nudge tool, but it crashes if I try to click the state or building button. I'd really not like to have to delete all my state folders, as I've already made several hundred.
If you ever are fighting a country with little to no vps, you'll notice that sometimes a "city" will appear on a state as the country's capitol. This "city" will have zero vps, due to the fact that it isn't actually a city. This is the same principal as when creating a new state. If there are zero victory points inside of the state, then a "city" with no vps will be created automatically. I do believe that by adding a victory point to your state, the weird ghost "city" will disappear. Hope that helps :)
Followed these steps to the letter. I was trying to make a new state for the Old World Blues mod in one of the "unoccupied wasteland" states. Did everything right, but can't fix "failed to load map" error and crash
I have been trying to fix this for a while now but it seams that I can't. There is this one province that works in starter Hoi4, but the moment I play an already played save, its a blank province, which when I assign a country tag to it, crashes the game. Any help?
Thanks for the help! one question, if i want to make more states for a mod, for example adding states to the millenium dawn map, how would i work with nudge and files? do i open millenium dawn mod with my map mod? it is not clear to me how to make states in mods
hey so i've made a state and everything is working fine except for one thing which is making the game crash outside of debug mode: i have made a state which has every province of the state washington, vancouver and haida island. as a result, i get the errors "no provinces in state "Washington" with id: 386." and then it repeats for the other 2 states. they have no provinces because i don't want them to exist, so how do i fix this?
Got a lil problem here. I have the impression that I did everything right... yet when I start a game, half the states are called "State_[the id of that state]... help
Does anyone know to create naval strategic regions? the nudger always selects the entire ocean since its all under a single state (the nudger doesnt let you change sea provinces for states)
Was editing a state that came with a mod, get a crash while loading every time. Have tried to edit the state files into as many places as a can, but the crash logs keep ending with the same error every time: "Could not open file: history/states/999-Brazza.txt, error: not found" Any fix?
im still getting error message even after cutting the history, map, and localisation folders (which were in the documents folder) and i am not running any other mods
I basically did this without looking at the guide, and everything works except the strategic regions. My question is, is there a way of adding to a strategic region without using nudge (game crashes on launch)
I don't know if you can still reply, but I did everything you do and I still keep getting this error: [no_game_date][dlc.cpp:147]: incorrect checksum for DLC i am not using any sort of mod, so can anyone can help me fix this?
@@TheIronWorkshop I am referring to the "map" folder of the mod, There are 3 files in that folder. Two are for air bases and Rocket sites. Previously, I will have to edit these files manually otherwise the debug log would say that "no rocket site or airbase present in the given state"( Not the exact line).
These are the graphical sprites and you should NEVER edit them manually only using the nudge tool. This isn't something new and has been done since the first versions of the game. Sometimes you will get errors about buildings but that is because when creating a new state building entries in the state files (history/states) don't move to the newly created state... I've talked about this in the video so make sure you understand the error and to which files it refers.
Late, but it's related with the English localisation errors from localisation/english/state_names_l_english.yml. It can simply be fixed by just copying the entire exact data of the HOI4 directory and paste it there, make sure to back up the names of your states!
Hi, can you create a new tutorial on creating technologies coz your old video is very outdated and can no longer be used as a reference. You can make it after uploading the Ideology tutorial. Thanks
i tried to give mosseland the a unique province that wasnt in the river border and the game just crashed and a do everything, deleted the folders in documentes, deleted also in my mod folder and the not documents folders but still crashing, the hoi4 open but when its 1/4 to start the game crash
Who else is sick of waiting for a map mod to come out that they like and are now just making their own?
I'm just trying to make the US more interesting.
yeah im doing a full world one that redoes vps and a few states
Me
Gotta add some new stuff to south africa
No kidding, I was JUST getting to the Making a New State part of the old playlist, didn't see history folder, raged, then saw this whilst troubleshooting. A surprise, but a welcome one to be sure. Great work! :)
I love your work! It has been helping me with modding so much!
Always glad to hear that :)
polska
@@TheIronWorkshop Hello, would it be cool with you if i sent you my attemp to if possible take a look and tell me what might went wrong, i did as above but i keep getting some errors, thanks anyways
@@TheIronWorkshop can u help me?
my situation is:
i made custom map and created the states. They are empty, with only basic info like manpower, wich was set to 1 in all states (ill change dat later) and state category
there are no buildings in my state files, i filled thr weather, hubs and raiways files, but when i try to do the buildings file, by clicking in random all states, or random selected state, it just crashes, can u help?
pl gurom
I spent *hours* figuring this out just last week. Thanks for making sure others don't have to feel my pain lol
Bruh i was making a state this morning and i didnt find your old video, thanks for making a new one
Thank you so much for helping me learn Hoi4 Modding! It really means alot to me, Thank You so Much!!!
I hit the like before I listened to 1 second of the video - a Yakov Smirnov reference will earn a like EVERY time
If anyone finds that the localisation of all their states is broken, the state and strategic region localisation files made by the nudge tool are slightly different from the main folder ones, i can only assume due to an update. If you go into your new file and delete the '-1' at the end of any state or region it appears (e.g. STATE_58_DEN:-1 "Holsten" would become STATE_58_DEN: "Holsten"), the file should work fine. I would have assumed that the game needs a 0 in its place, but the base game file doesn't have it. It seems to mainly be an issue with states that have that _TAG at the end, which i assume denotes alternate names for states.
Thank you so much I was really confused why my states were doing that
Thank you very much,guy.I not can found russian guide for creating new states,I found you and learned create new states for my mod!Thank you from Russia!
Just one detail like ago helped me a lot so that the names of the states and state numbers appear, as an example I get status 495, etc.
Thank you so much! I was struggling with this for forever!
Bless you man. It was driving me crazy after the new update to remake my mod.
Excelent tutorial!
Do you know how to modify the appearance of the HoI4 map?
(E. G: make the water darker, make the country's colors more opaque)
If so, could you do a tutorial explaining the basics?
just change rgb value?
@@mushtaq20000 no, I'm not talking about the country colors, I'm talking on doing the whole water hieghtmap and stuff like that
AFAIK they're the files in map/terrain. Just modify those.
@@mushtaq20000 Frickin' bing ass answer.
@@_delastern3163I believe I know what your talking about. I believe you can change them in the gfx folder somewhere maybe interface
Cheers, was really looking forward to this one!
Guys, even tho the nudge tool makes it reset after gotterdammerung, you can still bruteforce it by just assigning 1 province to your state and then later manually giving that state the provinces trough the history folder in your mod. But dont forget to delete the provinces from the states you changed. Also this will cause the localisation to freak up, to fix it just COPY not manually drag it, the state_names_l_english.yml from your game folder then paste it into your mods localisation folder. Next when making that province a duplicate history folder will be created in the history folder in your documents/the mod, just copy the text file in it and then delete the useless duplicate, tho the file will be the default one with no modified data in it so to fix that too just go to the steam folder, history, states, search the province id and copy n paste the text file into your mod. That should fix the problems i found my self have with this brute force method, there might be more depending on what you wanna do next.
fucking legend
Thanks buddy. I was getting confused on why it was resetting.
Thanks so much for these videos, really really really helpful for when i get stuck and don't know what to do.👍👍
Appreciate the effort! Keep it goin
Excellent as always, thank you for your video. I have started to play ck3 recently, and the amount of historical units that player can recruit is just shameless, so could you please someday make a tutorial about adding new units for different cultures and counties?
Hello! Love the video! Could you make a tutorial about how to use dynamic tags and make complex civil wars like the Spanish one in vanilla?
That's a video with very small viewer base because of how specific it is, the idea here is to learn the basic and then take those skills to start experimenting and creating the more complex content how YOU want to make it. Because something like this will be created differently each time it is created and there is no one "right" way for me to show how to create something like that.
Just copy and paste the script from those files and edit it line by line
Hey! I followed your tutorial! Very helpful! Although after a few times working, the game started crashing, even though I didn't change nothing in the files meanwhile
I think nudge tool is completely broken now
Thank you for this video!
Thanks so much for this updated guide
My pleasure, more to come :)
@@TheIronWorkshop could you do a guide on deleting the 1936 start date and doing bookmarks for much later dates? As normally the game crashes when I try this
"To show you the power of the Nudge tool, I'm splitting Texas in half!"
best hoi4 modding youtuber
You have saved me from insanity.
Thanks I can't wait to begin making a mod!
so the state i created basically covered other states, and when i launch hoi4, it says
"[14:14:00][state.cpp:681]: Error: Province with id: 1591 is already added to state "STATE_835" ( with id: 835 ), adding it to state "Alma-Ata" ( with id: 586) and thus overriding first state.
[14:14:00][state.cpp:681]: Error: Province with id: 1840 is already added to state "STATE_835" ( with id: 835 ), adding it to state "Alma-Ata" ( with id: 586) and thus overriding first state" and etc
how do I fix it? thanks
This error is when the original state and the new state are using the same province. The game is defaulting for the original and not your new state. You can fix this by using the Original state and modify it to become your new state.
You can probably try to change the ID of your new state with that of the original state. But I have not tried this.
I doesn't work anymore. I did everything with the tutorial but when i look to Hoi4 files the state isn't there and in the mod it isn't too. please somebody help
Have you checked (Documents/Paradox Interactive/Hearts of Iron IV/history/states)? That is where the new states are being placed. You just need to drag the new states from the HOI4 states folder and place it in your mods states folder.
this went awful when i did it a few months ago, but now i'm better and i've made my own province for it, so, in advance let's hope it works
edit: hmm it's not as bad but still not fully functional, i did what u said at the end but it crashes anyway
edit2: NEVERMIND! it was an issue with a custom province i made for it not having an assigned continent. i sorted it out, thx for the tutorial :)
I tried to create a state just like you did it in the video, but my attempt just ended with the game crashing on me.
Do you got any idea why this might happen?
Edit : The game crashed since i used letters like Ø and Ä while creating states. I made it work by creating the states first with mock names, then assigning the real names later.
5:28 how do you get back on the game
dude i was modding new states. i did everything right. error log was clean. and if i were to load and play my old save games with the mod, it was working (when i click the new states it was crashing). but i couldn’t play. I hope this will be it
may I ask to create a video on how to create a custom tile?
th-cam.com/video/bzlC9YaV8S8/w-d-xo.htmlsi=MtO7U1EY1XInYogM
super helpful video by Glasg0 called "Hoi4 Modding Tutorial | Creating Provinces" should help with that
I was trying to make multiple new states but i think i made a mistake since it says nudge tool error (Failed to load map)
you truly are a life saver!
Hi,
I would like to ask about specific thing about states - Impassable terrain. I have found some file that modify impassable terrain and from which to which location should be impassable move divisions ("adjacencies" in map folder) but simple specify locations doesn't work.
Could you please introduce how to make impassable terrain? Much appreciated.
Otherwise: great work :)
add impassible = yes in the state file
The Iron Workshop also know in the Hearts of Iron IV modding community as THE GREATEST MODDER OF THE MOTHERLAND.
Alright, having a legit issue now. I’m getting the nudge error, but there’s no history file in my main Hoi4 to delete. There’s a map folder, but just deleting that doesn’t work. The only thing thats worked so far is deleting the states folder out of my mod history folder, which sucks, cuz it means I have to restart from near scratch. Help, I’m at a brick wall and can’t continue with creating my mod.
I’m having issues!
I’m trying to create new states for Sweden and I follow the video step by step. But yet when I launch the game it crashes while loading! What confuses me is that the error report doesn’t just point out a few things like no people living in state but sais things like unexpected token and invalid effect about every single line on every file! What do I do?
Same thing here
Help me please 😢
so i just made a map for sweden where i add all the läns, the issues i had is that i forgot to change victory points, which made it crash. And i get aluminum errors when i try to add them to any state. but other than that it does work now.
the people in state is mostly about adding manpower, and such.
Hi there, great video! Do you have any plans on making a video on how to make new technologies?
i followed your exact instructions but it keeps crashing and i do not know what i have done wrong
I deleted the History and Map folder after my game broke and it did fix everything but the names of states. Can anyone help me with this one?
Did you already discover
that has to do with the localisation of the things. You might need to a watch a video on that
localisation
i found a comment, ima just copying it
"If anyone finds that the localisation of all their states is broken, the state and strategic region localisation files made by the nudge tool are slightly different from the main folder ones, i can only assume due to an update. If you go into your new file and delete the '-1' at the end of any state or region it appears (e.g. STATE_58_DEN:-1 "Holsten" would become STATE_58_DEN: "Holsten"), the file should work fine. I would have assumed that the game needs a 0 in its place, but the base game file doesn't have it. It seems to mainly be an issue with states that have that _TAG at the end, which i assume denotes alternate names for states."
Hi, when i make the new state, i followed your exact instructions, it shows it as its own state, shows it as part of the original state as well, and the text remains on screen of when it was just one province. how come this is happening? i can send an imgur link if necessary
Same
You need to go into the history folder (Documents/Paradox Interactive/Hearts of Iron IV/history/states). Then drag the new state files in there into your mod. The next time you startup Hearts of Iron 4 it will show the new state.
To make multiple states yo need to go into the files of each state and change the id. Make sure that the states id are in order.
Whenever I try to create a new state, it either goes back to the old state, or it stays as not a state
somewhat, the new update breaks the debug.
Thank you very much bro, yu are really god
I am struggling deeply.
The error codes for my game include, "[22:53:59][no_game_date][state.cpp:686]: Error: Province with id: 12720 is already added to state "Karlsbad" ( with id: 940 ), adding it to state "New Mexico" ( with id: 376) and thus overriding first state." And the thing is, province 12720 isn't in state 376, I've checked the file atleast a dozen times.
I don't quite know whats happening.
So, I created almost exactly the same state as you did in this tutorial. Only difference is I applied it to my custom country (independent Texas) and had a few less provinces in it. I keep getting the error “unexpected token: history, near line: 6” in file: “history/states/909-South Texas.txt” near line: 18
I checked the code and it looks almost exactly like yours (again, barring a few of the province numbers since I used less). Anyway, my new state is coming up as unclaimed land and is not a part of my country. What am I doing wrong?
Figured it out… I was missing the “t” in history 🤣
for the next tutorial, how about "creating new formable nations"?
See "Using cosmetic tags" lesson, that lesson + decisions lesson should give you all the info needed to create formable nations.
i launched my mod in normal hoi4 (not debug) and it displayed the message that the map failed to load but when i loaded the mod in the debug version it displayed the message and said it will "likely crash when i start a game" but i worked flawlessly i want to use it in multiplayer but debug mode doesnt have multiplayer (i deleted the map and history folders) i also tried clearing user directory
Did you fix it?
@@goldenwar5918 no
@@doge4291 Well i did it.
In Documents/Paradox Interactive/Hearts Of Iron IV and you need to delete what is inside from the folders of Map and History
that should work.
srry for my english
@@goldenwar5918 i did it
@@doge4291 damn
I am trying to create a new state but when i give the name and click create state it just reverts back to how it was
Same lol
When I create the state the game delete it and return it to the previous owner
Hi, will you make updated video about creating your own tech tree?
i still followed your instructions about the fixing the failed to load map error
i went to ''This PC'' , ''Documents'' ''Paradox Interactive'' ''HOI4''
i then deleted the map folder and the history folder
i deactivated all my mods, even the ones that dont contain a map
i tried going into -debug mode in the hoi4 shortcut
and none of them work
i tried different combinations of these solutions too
such as debug mode and starting hoi4 with the deleted folders, etc
still doesnt work
please help.
This seems to be outdated. I follow the nudge tool steps mentioned in the video but didn't get the result.
somewhat, the new update breaks the debug...
Im having an issue at 10:00 area, like i didnt get no new mod folder so i made one myself, i cut and pasted the other folders in but when i looked into the history folder, every single state was in it!
I fixed it. I had copy pasted files from the steam->steamapps->common->Hearts of Iron IV and then you get all states but its located in Paradox Interactive ->Hearts of Iron IV. Just copy back the old files and paste the ones in Paradox-Hoi4
I have an issue where the provences names and you know all the stuff are switch sides, like for example New texas is where the "normal" Texas is and that Texas is in New Texas. It's a bit confusing, but can you still help?
Looking back at your video, my nudge tool will create a new state with its history file but it would not appear in the game immediately unlike yours. Do I have to manually add the history file into the mod and restart the game?
Thank you for all of your tutorials but, with states idk how to update your states for the Barbarossa update because they added like 30 new states do I just change my new state id our?
Hey, a huge amount of States are no longer having the names and are now called STATE_###
How do I fix that?
Did you already discover?
@@jtgamer6498 I wasn’t able to fix it, and due to me not having a backup, I had to do a complete reset on Hearts of Iron to fix it
Late, but it's related with the English localisation errors from localisation/english/state_names_l_english.yml.
It can simply be fixed by just copying the entire exact data of the HOI4 directory and paste it there, make sure to back up the names of your states!
Help i have a crash error when i load game and i literally did everything in the video
i follow your instructions, but when i try to make more than one state, the game just appears with the "failed to load map" message
Everithing went right, but after I tried the mod, ALL the states in the game lost their names and now they are called STATE_(number)
yeah same here
@@themageofspace5516 I alredy fixed it, it's really easy. Never directly copy de localisation folder to the mod folder, because the nudge tool makes a wrong file, instead, manually add the new code of the localisation folder to the mod folder
Quiero crear un submod para el millennium pero no funciona, luego de crear más de 20 estados el juego deja de funcionar y empieza a crashear y cerrarse solo
I have a problem : every time I create a new state, some airports and rocket sites always disappear (always the same), and I am forced to add them manually again. It wouldn't be a problem if I added only some states, but I try to make dozens of them to allow more realistic frontiers in terms of geography, ethnicity and history. Does someone know what to do for the rocket sites and airports not to disappear?
I have the same problem, buildings in newly created states just keep disappearing and I still don't know how to repair it.
I don't understand why but everytime I create a new state using the first step of the vid and click save it always reverts back to the original state...
somewhat, the new update breaks the debug..
@@arlynnfolke Until when?
@@yusintv i don't know, it's up to developer, they gotta patch it to fix it.
@@arlynnfolke Thanks for the information
Hey! Can you make a tutorial on how to fix map size issue in NSB?
Map size issue?
It's been a while since this video but I'm encountering a problem and perhaps you can help me, so it's worth giving it a try.
I've been trying to mod Rhodesia as a separate country with its own states (Mashonaland, Matabeleland, Victoria) but I keep getting this error:
[10:49:17][state.cpp:682]: Error: Province with id: 7842 is already added to state "Rhodesia" ( with id: 545 ), adding it to state "Victoria" ( with id: 910) and thus overriding first state.
I have one such error for each of the three states of course.
Initially I only had the one country and relative .txt file with all provinces being in one state, which worked fine but limited construction. So I decided to create separate states, gave them the right provinces with the Nudge, and now I'm left with three separate .txt files plus the original one which encompasses all previous provinces. I have removed the original .txt but that did not fix the issue. I suppose that's because Rhodesia also exists in the base game, so the game just picks that file from the game directory, checks it against my new states, and can't choose which one to use. I also tried leaving the .txt in there but removing the provinces, but that still does not fix the issue.
I understand the issue here is that I can't leave ID 545 empty, but I can't keep it as it is either since that means it overrides the new states.
Do you have any ideas how this can be fixed?
EDIT: Just to be clear, the game does work. I can launch the game, go to the map, select Rhodesia as a country, and build on the new states instead of building on one single state. But every time the game launches I get the warning that it might crash, so I would like to solve that.
How do I create entirely new bits of land and turn them into a state? I want to add an island to my vanilla game but I haven't found any tutorials that help me with that.
I'm trying to make a new country but I have a problem, i followed through on the Creating country video and then this video, I'm trying to take Slovakia Away from Czechoslovakia and I'm really confused
the new state is attached to the old state, like when i select the old state, it also take the new state with it, how to fix
after i followed this almost all of my states were state_[number], how do i fix this without the nudge tool?
So, i've encountered a problem, which i couldn't fix by deleting the following folders, the error.log simply doesnt recognizes the states, saying that they havent got any provinces, that provinces haven't got any parent states, that states haven't got any categories, and so on, also, what does the "unexpected token near line x" means?
uh, yeah no, i've maybe found the solution, my layout was alot different from the layout the game uses, i'm talking about the .doc layout, and the thing is just to rewrite each state file.
Everything was going well, until i clicked on create state, then the game just crashed, idk why. And the 2nd thing is that when i want to create a focus, then sometimes it workes, but sometimes it just deleting half of the focustree, and sometimes it adds the 1 focus and sometimes it doesnt. Pls help meeee 😢
Hi I really like your content man. i am making my own mod with a custom map, is there an easy way i can create a country and using the nudge tool and assign states to it without editing all the state files manually?
make a video on how to make provinces
OK so I've been working on a mod for a while now, I watched your old tutorial video about 2 or 3 months ago when I started. Everything was working great until I added music to the game, and the mod started crashing. I assumed the music was causing the issue so I removed it and it kept crashing - the nudge tool also crashed immediately, I couldn't even get it open. Nothing worked, so I reinstalled the game and after that it allowed me to open the nudge tool, but still gave me errors. I've figured out that it appears to be something wrong with my state file (or something connected to that file), which is weird because it worked fine before I added the music files. It appears that not one, but all the custom states I've added so far do not work. I tried using the nudge tool, but it crashes if I try to click the state or building button. I'd really not like to have to delete all my state folders, as I've already made several hundred.
Great stuff!
One question: by creating a new state a city is going to be created automaticially, with a name of the state. How to delete/rename those?
If you ever are fighting a country with little to no vps, you'll notice that sometimes a "city" will appear on a state as the country's capitol. This "city" will have zero vps, due to the fact that it isn't actually a city. This is the same principal as when creating a new state. If there are zero victory points inside of the state, then a "city" with no vps will be created automatically. I do believe that by adding a victory point to your state, the weird ghost "city" will disappear. Hope that helps :)
HI. concerning the last paragraph: should I delete only history and map, or also localisation?
For me I delete only history and map.
In my case, I try to create a state in a selected province with no state but the game crashes 😢
i was using the nudge tool to create east normandy in normandy and i cant seem to fix or revert my actions
Followed these steps to the letter. I was trying to make a new state for the Old World Blues mod in one of the "unoccupied wasteland" states. Did everything right, but can't fix "failed to load map" error and crash
Redo the "Random In State" and the "Validate In State", in the nudge tool. I had the same problem and re-did that and it now works.
I have been trying to fix this for a while now but it seams that I can't. There is this one province that works in starter Hoi4, but the moment I play an already played save, its a blank province, which when I assign a country tag to it, crashes the game. Any help?
Thanks for the help! one question, if i want to make more states for a mod, for example adding states to the millenium dawn map, how would i work with nudge and files? do i open millenium dawn mod with my map mod? it is not clear to me how to make states in mods
hey so i've made a state and everything is working fine except for one thing which is making the game crash outside of debug mode: i have made a state which has every province of the state washington, vancouver and haida island. as a result, i get the errors "no provinces in state "Washington" with id: 386." and then it repeats for the other 2 states. they have no provinces because i don't want them to exist, so how do i fix this?
Got a lil problem here. I have the impression that I did everything right... yet when I start a game, half the states are called "State_[the id of that state]... help
localisation
3 of the scenarios i made are not visible... since all of the scenarios are in just one row how do i make it so that theres two rows?
Does anyone know to create naval strategic regions? the nudger always selects the entire ocean since its all under a single state (the nudger doesnt let you change sea provinces for states)
I wanted to ask is there any way to place your capital + other cities if you’re modding a large nation?
that would be under the victory point guide
Was editing a state that came with a mod, get a crash while loading every time. Have tried to edit the state files into as many places as a can, but the crash logs keep ending with the same error every time:
"Could not open file: history/states/999-Brazza.txt, error: not found"
Any fix?
im still getting error message even after cutting the history, map, and localisation folders (which were in the documents folder) and i am not running any other mods
I basically did this without looking at the guide, and everything works except the strategic regions. My question is, is there a way of adding to a strategic region without using nudge (game crashes on launch)
I managed to create the new state but when I cut the file and paste it in the mod folder the mod doesn't work
Same issue here
I don't know if you can still reply, but I did everything you do and I still keep getting this error:
[no_game_date][dlc.cpp:147]: incorrect checksum for DLC
i am not using any sort of mod, so can anyone can help me fix this?
It doesn't work for me if I want to make it into an existing mod that I started some time ago. Please help
Does the game automatically add airports and Rocket sites now coz previously, I had to manually configure them using notepad++
You mean the graphical sprites or the buildings entries in the state files?
@@TheIronWorkshop I am referring to the "map" folder of the mod, There are 3 files in that folder. Two are for air bases and Rocket sites. Previously, I will have to edit these files manually otherwise the debug log would say that "no rocket site or airbase present in the given state"( Not the exact line).
These are the graphical sprites and you should NEVER edit them manually only using the nudge tool. This isn't something new and has been done since the first versions of the game. Sometimes you will get errors about buildings but that is because when creating a new state building entries in the state files (history/states) don't move to the newly created state... I've talked about this in the video so make sure you understand the error and to which files it refers.
@@TheIronWorkshop Thanks
I'm having a problem with assigning a strategic region to my new state, you have any insight on that?
Hello, The game launches and works perfectly however almost every state is renamed to something like "State 123" is there anyway to fix this
Late, but it's related with the English localisation errors from localisation/english/state_names_l_english.yml.
It can simply be fixed by just copying the entire exact data of the HOI4 directory and paste it there, make sure to back up the names of your states!
@@twocontradictions yes but it causes a mess, surely there's a better way right?
Hi, can you create a new tutorial on creating technologies coz your old video is very outdated and can no longer be used as a reference. You can make it after uploading the Ideology tutorial. Thanks
can you also do a remake of the adding new province tutorial?
i tried to give mosseland the a unique province that wasnt in the river border and the game just crashed and a do everything, deleted the folders in documentes, deleted also in my mod folder and the not documents folders but still crashing, the hoi4 open but when its 1/4 to start the game crash