Hearts of Iron IV

Hearts of Iron IV

View Stats:
Province modding error
I've been changing province borders, and I've gotten this error: Province 11846 is setup as coastal but has no port building in the nudger. This will likely crash the game.
How can I correct this? Thanks
< >
Showing 1-4 of 4 comments
HYDRO_PC Feb 4, 2024 @ 2:45am 
have you been able to fix this problem i have the same issue?
Carolus Magnus Feb 4, 2024 @ 3:01am 
@HYDRO_PC Yes I have. You'll need to edit the buildings.txt file. Use the launcher option "-debug", load into the game so it gives the error document (Not the first one; you have to select a country and play). Look for the province id's in question and fix the issue in buildings.txt. Try and use a word processor to help find the lines in question because buildings.txt is massive.

Good luck!
Kaz Sep 13, 2024 @ 7:07am 
Originally posted by Carolus Magnus:
@HYDRO_PC Yes I have. You'll need to edit the buildings.txt file. Use the launcher option "-debug", load into the game so it gives the error document (Not the first one; you have to select a country and play). Look for the province id's in question and fix the issue in buildings.txt. Try and use a word processor to help find the lines in question because buildings.txt is massive.

What do I actually do in the txt?
CJ2770 Dec 29, 2024 @ 2:51pm 
Originally posted by Kaz:
Originally posted by Carolus Magnus:
@HYDRO_PC Yes I have. You'll need to edit the buildings.txt file. Use the launcher option "-debug", load into the game so it gives the error document (Not the first one; you have to select a country and play). Look for the province id's in question and fix the issue in buildings.txt. Try and use a word processor to help find the lines in question because buildings.txt is massive.

What do I actually do in the txt?
Replace the state ID number with the ID of the state that you created. Did it just now and it worked for me
Last edited by CJ2770; Dec 29, 2024 @ 2:52pm
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Jan 3, 2024 @ 1:18am
Posts: 4