#modding
1 messages · Page 28 of 1
man u modders r absolute geniuses
I just say what I see
alr most errors gone now
[22:24:53][persistent.cpp:48]: Error: "Unexpected token: add_core_of, near line: 13" in file: "history/states/910-Northern Schleswig.txt" near line: 13
[22:24:53][effect.cpp:425]: Invalid effect 'provinces' in history/states/911-Baden.txt line : 17
[22:24:53][persistent.cpp:48]: Error: "Unknown effect-type: provinces, near line: 17
Unexpected token: provinces, near line: 19" in file: "history/states/911-Baden.txt" near line: 19
[22:24:53][effect.cpp:425]: Invalid effect 'manpower' in history/states/911-Baden.txt line : 20
[22:24:53][persistent.cpp:48]: Error: "Unknown effect-type: manpower, near line: 20
Unexpected token: manpower, near line: 20" in file: "history/states/911-Baden.txt" near line: 20
[22:24:53][effect.cpp:425]: Invalid effect 'buildings_max_level_factor' in history/states/911-Baden.txt line : 21
[22:24:53][persistent.cpp:48]: Error: "Unknown effect-type: buildings_max_level_factor, near line: 21
Unexpected token: buildings_max_level_factor, near line: 21" in file: "history/states/911-Baden.txt" near line: 21
[22:24:53][effect.cpp:425]: Invalid effect 'local_supplies' in history/states/911-Baden.txt line : 22
[22:24:53][persistent.cpp:48]: Error: "Unknown effect-type: local_supplies, near line: 22
Unexpected token: local_supplies, near line: 22" in file: "history/states/911-Baden.txt" near line: 22
[22:24:53][persistent.cpp:48]: Error: "set victory points takes 2 parameters: victory_points, near line: 9" in file: "history/states/912-Fiume.txt" near line: 9
[22:24:53][persistent.cpp:48]: Error: "Invalid date 11564: 1, near line: 9
Malformed token: {, near line: 15
Malformed token: 11564, near line: 16
Malformed token: VICTORY_POINTS_11564_ITA, near line: 17" in file: "history/states/912-Fiume.txt" near line: 19
what else is broken
id=910
name="STATE_910"
history={
owner = DEN }
buildings = {
infrastructure = 4
industrial_complex = 2
air_base = 1
}
add_core_of = DEN
provinces = {
332 11251
}
manpower=57000
buildings_max_level_factor=1.000
state_category=town
local_supplies=0.000
}
still issues here
Don't need that bracket after owner = DEN
Remove the } after owner = DEN, add it again after add_core_of = DEN
ok
.
btw how do i edit/add my own provinces
Nudge tool, and a bit of knowhow on how the Nudge tool works
Paint it on the map in provinces.bmp
ik how to make states
Or do you add a province to the state?
i dont think nudge can make provinces
.
alr ty
Not directly no, but you still need the knowhow
I'd recommend checking out The Iron Workshop's video on map modding in the pins
Good starter, at least
Good on you, but not everybody is the lead dev on one of the top 10 HOI4 mods
Welcome to the advanced modding tutorials!
In this lesson we will learn how to add a new province to the world map.
If you have a complicated questions that can't be answered here properly (for example if you want to attach a screenshot) you are welcome to use the topic on the Paradox forums, I am always looking there for questions:
https://f...
true
Even more reason to not use nudge
If youre doing small edits I especially wouldnt use the nudge tool
im making a few small new states
for the historical immersion
My point being is that you're better off not relying on it
If you arent changing provinces thats fairly easy
Malformed token: 11564, near line: 16
Malformed token: VICTORY_POINTS_11564_ITA, near line: 17" in file: "history/states/912-Fiume.txt" near line: 19
[22:30:29][persistent.cpp:48]: Error: "Unexpected token: add_core_of, near line: 22" in file: "history/states/912-Fiume.txt" near line: 22
[22:30:29][persistent.cpp:48]: Error: "Unexpected token: add_core_of, near line: 23" in file: "history/states/912-Fiume.txt" near line: 23
[22:30:29][persistent.cpp:48]: Error: "Unexpected token: add_core_of, near line: 24" in file: "history/states/912-Fiume.txt" near line: 24
[22:30:29][persistent.cpp:48]: Error: "Unexpected token: add_core_of, near line: 25" in file: "history/states/912-Fiume.txt" near line: 25
[22:30:29][gameitemdatabasehelper.h:150]: Error: "Unexpected token: provinces, near line: 28" in file: "history/states/912-Fiume.txt" near line: 30
[22:30:29][gameitemdatabasehelper.h:150]: Error: "Unexpected token: manpower, near line: 31" in file: "history/states/912-Fiume.txt" near line: 31
[22:30:29][gameitemdatabasehelper.h:150]: Error: "Unexpected token: buildings_max_level_factor, near line: 32" in file: "history/states/912-Fiume.txt" near line: 32
[22:30:29][gameitemdatabasehelper.h:150]: Error: "Unexpected token: state_category, near line: 33" in file: "history/states/912-Fiume.txt" near line: 33
[22:30:29][gameitemdatabasehelper.h:150]: Error: "Unexpected token: local_supplies, near line: 34" in file: "history/states/912-Fiume.txt" near line: 34
[22:30:29][parser.cpp:932]: Error: unexpected token in file: "history/states/912-Fiume.txt" near line: 36 ( } )
[22:30:29][gameitemdatabasehelper.h:150]: Error: "Unexpected token: }, near line: 36" in file: "history/states/912-Fiume.txt" near line: 36
``` fiume messed up
id=912
name="STATE_912"
history={
owner = ITA
victory_points = {
11564 1 }
buildings = {
infrastructure = 4
dockyard = 1
11564 = {
naval_base = 2
set_province_name = {
id = 11564
name = VICTORY_POINTS_11564_ITA
}
}
}
add_core_of = ITA
add_core_of = YUG
add_core_of = CRO
add_core_of = LBV
}
provinces={
11564
}
manpower=112850
buildings_max_level_factor=1.000
state_category=city
local_supplies=0.000
}
what's wrong
Just send the file
set_province name is not a building
fix your indentation
Send the file
which file
This one
id=912
name="STATE_912"
history={
owner = ITA
victory_points = {
11564 1
}
buildings = {
infrastructure = 4
dockyard = 1
11564 = {
naval_base = 2
}
}
set_province_name = {
id = 11564
name = VICTORY_POINTS_11564_ITA
}
add_core_of = ITA
add_core_of = YUG
add_core_of = CRO
add_core_of = LBV
}
provinces={
11564
}
manpower=112850
buildings_max_level_factor=1.000
state_category=city
local_supplies=0.000
}
no shit
I've noticed
yes
Fixed the indentation
I thought you were a pirate with that pfp eyepatch
was a pirate
wow..
the game just crashed
nothing in the error log
Did you use the file I sent
i lay in sorrow deep depressed
There should still be one in your crash file
one for 4 pm today
rn it's 10:30 pm
for me
so uh
r any of my files messed up? this the documents folder
Okay, have you made sure that the province you took to make this new state still isn't a part of the old one
[11:42:33][statetemplate.cpp:231]: State #913 has no people living in it.
[11:42:42][gamestate.cpp:2682]: MAP_ERROR: The province 400 - has no strategic region assigned.
[11:42:42][gamestate.cpp:2682]: MAP_ERROR: The province 521 - has no strategic region assigned.
[11:42:42][gamestate.cpp:2682]: MAP_ERROR: The province 3254 - has no strategic region assigned.
[11:42:42][gamestate.cpp:2682]: MAP_ERROR: The province 11516 - has no strategic region assigned.```
You didn't assign 4 provinces to a strategic region
That'll do it
ah
Seems like a bit of an omission
how do i do it
Assign the province to the appropriate strategic region
map/strategicregions/
ty
Also, are you launching the game in debug mode?
I'm assuming it crashed for you last time because you were launching the game normally
idk how to launch in debug mode
i cant find no damn province 400
and it still crashes
found it nvm
was not in the state files
welp
still crashed
and no error log
i updated the files in the drive can someone check what's wrong again, i'm 99% sure i assigned everything
If you have a desktop shortcut for the game, right click and go to "Properties", and where it says "Target", add "-debug" to the end of the line
"C:\Program Files (x86)\Steam\steamapps\common\Hearts of Iron IV\hoi4.exe" -debug
For example
Go into C:\Program Files (x86)\Steam\steamapps\common\Hearts of Iron IV\, right click on hoi4.exe, and click "Create shortcut"
Take that new shortcut and move it to the desktop or where, and repeat the "-debug" thing mentioned previously on that
omg
[23:06:59][strategicregion.cpp:305]: Province '3524' added twice to strategic area Southern Germany(7)
[23:06:59][gamestate.cpp:2682]: MAP_ERROR: The province 3254 - has no strategic region assigned.
ahh ok
hopefully it works noiw
LETS GOOO IT WORKED
THANK YALL SO MUCH
I'm playing new ways rn and I can't find much or any information on any of the Xinjiang warlords apart from Sheng shical and ma hushan
No information given on Kashi, Aertai or Hami and their leaders, well apart from Hami but it isn't supposed to be there since it got subjugated 6 years before the game is set.
Hello people, I am rather new to modding HOI4. Just trying to make a mod where I am tweaking different things here and there. I have some experience with modding other games (Skyrim, BFME). I have a question regarding common/units/infantry.txt file. There is "infantry" subunit there and that unit has "active = no". If this unit correspond to the basic infantry troops that you have in your divisions from the start of the game, why it has set "active = no", where it gets unlocked and why it is not set to active = yes from the start. If it does not correspond to the basic infantry, where is the basic infantry units are described.
I have another question: After looking into the game files, it seems that the attack stats are defined by the equipment that is used by a unit. This means that special force units would have same attack stats as regular infantry? And if I want to give them a better stats from the game start, I would need to add a new infantry equipment type to the game that will be used by SP?
political advisor works as intended, but the other 3 do not. any idea how to fix this?
They may not work on modifier
I don't know if you can
found it
Does anyone knows any mods that adds more generals for Brazil?
Or one that adds Field Marshals
Such a shame that Brazil only features two general models
@lofty plaza I can't remember if I asked you this, but are achievements with a map mod possible if nothing else has been altered apart from graphics?
This Hearts of Iron IV modding lesson will explain how to create new states, fix missing state info and fix map related errors.
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 th...
thats what i used, it works really well
also i forgot if he covers it or not but dont forget to add like infrastructure
theres nothing wrong if you dont btw
i found a little bug where the name for rhineland and moselland are swapped around
see the state id
but in the files, 51 is moselland
confused me a lot when i was adding a new state
When they added new states they mightve not changed filenames, despite them now being inaccurate
i made a state that kinda looks like china
Chicken wing
A dog sitting
I'm particularly fond of some of the file names for the states in Central Siberia/East Asia
Someone ran out of steam somewhere, so they have names like Sov state 3.txt and China 5.txt
is it possible to make a state modifier that only affects a certain country?
just look on the workshop
i did
i dont think this one with chinese letters is the one im looking for
most stable balkans
Fr I used to think 3 hours to reinstall a game was a short amount of time
Tbh verifying can also take ages
now that there's been an update, how do we update our mods?
can someone help me with my custom nation?
Entirely depends on what the update changes and what your mod does
Many mods will probably need to change absolutely nothing besides a version number
so just update this number for each mod, and re-uplaod it?
Uh, depends on whether the update changed anything relevant to them
But for most mods yeah you would just hit the upload button again
But you don't need to manually change it
ok let me see
Just go through the upload process on Paradox Launcher and click the circular arrow button and it should automatically give it the right number
For 3GB?
Not HOI4, it was TF2. Which is like 20gb granted, but I was used to like 12 hours
Actually hold on it was 5 hours that I considered fast
I would do a focus tree, land, flag, leaders, units, etc
(Re)Hi. I have a question.
It is a bug in modding we have different result between our mod local and the mod you post on Steam by example, even if they have exactly the same thing? For example, I do a translation submod for a mod but only my local submod work, not my version on Steam. I don’t know why, even when I put dependencies.
you cannot have the steam and local version of your mod installed at the same time, itll confuse the launcher/game and usually means the Steam version won't load
when making new division template icons, what is the maximum number? 999?
Is it possible that HOI4 developers would change the way how localisation works, so that players could dynamically change their country names (like in CK3, or/and with naming colonies/client states in EU4)? I think it could greatly improve players roleplay experience
Test it out lol
That would be cool
You should see if you can make it into some kind of mod
I asked a bunch of people about this issue, but all they said is that localisation of countries and regions in HOI4 is static (which means that any localisation changes have to be preprogrammed in order to be able to be changed, and dynamic country naming with keyboard is not possible)
The developers would need to change how the game gets names for countries and states in order to let players change states and countries\ names with custom names written after launch
I'm not familiar with Clausewitz engine used by Paradox, but if they were able to make this happen in CK3 and EU4, it should be also possible to be done in HOI4. People would just need to voice their need for this QoL feature.
many current game features are unnecessary, but they are still present
Like?
QoLs generally are unnecessary, but if you implement them in huge numbers they greatly improve game experience
Features implemented by DLCs, like Espionage, lend lease, custom game ruleset, etc.
Those are all things they were in the real world besides custom game set that’s just for extra customization
like also possibility to change country names by players
Like the US lend leased a lot, ignoring it isn’t a good idea
but it could have been easily implemented by decisions or/and ingame events
some mods do it
all I want to say is that HOI4 is a great platform for roleplaying, with mods such as Kaiserreich or for example Old World Blues
and feature like custom nation naming (or even something like custom nation creator from eu4) could greatly expand roleplaying experience
I even believe that huge part of HoI4 community still plays this game due to mods and mp/mods roleplay
vanilla after some time just becomes repetitive
If the developers were interested in extending the life of hoi4 among its community, an increase in the number of tools and roleplaying options would certainly have a positive impact on this
I'm absolutely sure of that
Yes
I’m just saying it’s unlikely for paradox to do it
That’s really tacky and makes it more difficult to manage then the custom menu
imo not having the feature won’t kill the community
But to each their own I suppose
It’s definitely a cool idea tho
of course it won't, but it would be something nice to have
[20:11:07][strategicregion.cpp:311]: Province has added another strategic region as theirs. Might be duplicates of this province in strategic regions templates. ProvinceID = 6469 first region: North-West Germany(6) overridden by: Rhineland(275)
[20:11:07][strategicregion.cpp:311]: Province has added another strategic region as theirs. Might be duplicates of this province in strategic regions templates. ProvinceID = 6570 first region: North-West Germany(6) overridden by: Rhineland(275)
[20:11:07][strategicregion.cpp:311]: Province has added another strategic region as theirs. Might be duplicates of this province in strategic regions templates. ProvinceID = 9482 first region: North-West Germany(6) overridden by: Rhineland(275)
[20:11:07][gamestate.cpp:2579]: MAP_ERROR: State "Moselland"(#42) has provinces (#563, #11560) belonging to different strategic areas: "Rhineland" (#275), "Southern Germany" (#7)
``` is this a big issue
I disable my local version to test the Steam version, in case.
Not sufficient, you have to remove it from the folder and move it somewhere else
Not sure but its a fairly easy fix
No but all provinces of a state need to be in the same airzone
I will test that.
help
i halved the errors but there r still a lot
can someone explain it all to me cuz idk what half the stuff means
🤟 ey you use my mod
the building file needs both state and province number in its entries, which easily breaks
Any new states also need a province set where their airport will spawn, same with rocket sites
what
top 4 lines are from toolpack
what building file
map/buildings.txt
ah
ok
i'll fix that with nudger
how do i make nudger directly modify the mod files
instead of making a seperate folder
cuz it's hard to manage nudger files and mod files together
Thanks you, is work now.
what do u use then
All manual
So Im making my own mod and as Im new to it started with a template but the mod I want to use as a template removes nation boosting I have got it so I can move the slider up and down and add nations but no effects are done how do I fix this?
once i finish a national focus, and i re-hover over it, it always says "national focus has no effect" even though it did, and i mods like TNO it doesn'/t have that
does anyone know how to fix it?
hey guys how do i assign a icon to my custom sub ideology in my mod?
anyone know what this is?
I made a new map through mapgen and its only plains but i have no idea what this is
im just wondering if its a mistake i made or just something small
Snow?
might be but ive no clue why its there if it is snow
I have no clue about the modding thing about the game, I don't know how the weather works
How does a music mod changes the main menu theme song?
I'd like to delete that line of code to keep the default main menu theme
But can't find it anywhere within the mod files
Usually the actual audio file gets overridden.
Can't do that much about it.
Do you know it's name?
nevermind, found it!
How do I add a country over here?:
Common/bookmark
Thank you!
looks like someone gave up naming the russian states lol
does anyone know where i can find the russian provisional government leader photo?
i cannot find it anywhere
or can anyone tell me where these effects go?
nvm i found it
whar
^^ anyone know what to do with this?
someone in vc or in dm can help me install a hoi4 nexus mod?
do you have a .rar or .zip of your mod?
yea sure hold on
ill send in dms
what do you mean
thats both impossible and piracy
dont discuss it again please
not possible, still piracy
You're unlocking a DLC feature without paying for it, stop discussing it
why did you delete my messages I said I did a good deed for somewhat selfish reasons
you gonna get bannedđź’€
Anyone got any idea?
any ai that can make art based on image not words
it annoys me so much
every ai editor i found is only based on words
So Im making my own mod and as Im new to it started with a template but the mod I want to use as a template removes nation boosting I have got it so I can move the slider up and down and add nations but no effects are done how do I fix this?
PLEASE ANYONE ASKED EVERYWHERE GETTING NO REPLYS
Should be in dlc file
so im trying to make a simple coruption system that can be reduced via decisions
but i have no idea where to start if someone could help me that be awsomne
I can't run RT56, I just installed it and it says map definition error. Yes, I deleted cache, RT56 is the only mod I enabled, I verified file integrity by comparing it to a normal vanilla install of hoi4
I downloaded it from paradox plazay.
I have all DLCs
do you mean Strengthen in the custom modify
how can i use MapGen to make new areas
Hello, I'm "kinda new" (500 hours ish) to the game. Are there any mods thats based around the height of the cold war (1950-1970) era? Something similar to Millenium Dawn?
How would I make an event that when hre is formed, the event fires and basically changes the leader to Otto
Von Habsburg
Like “Otto Von Habsburg demands the the title of holy Roman emperor” and if you say no Victoria stay as the leader but if you say no Otto becomes the leader
maybe some know, im creating VP, on the max zoom up the city work but when i scroll down the city is not visible
other cities work but capital no
Yo how do I get palpetines gamble to work? What game version should I be using?
never heard of
i keep on crashing because i messed up assigning provinces or whatever, but it wont show that in the error log, how to fix? or am i looking in the wrong error log
It could be that you didn't validate and random in states
Crash log?
pardon? no offense but it looks like you had a stroke writing that
had nothing about provinces being screwed up
How do you know that is the issue then
because thats all i changed since it was working
So what did you change specifically
im trying to change provinces around in kaiserredux so that the states all go along the river in the middle of germany, but i messed something up
also i found the error, i think, idk if it matters but one province id wasnt in numerical order from smallest to largest
That wouldn't be it
oh
It's possible you just have conflicts somewhere
Like two states have a province in it
But I know very little detail so I couldn't tell you for sure
nah i double checked, i even did a small province transfer and it crashed
does anyone here know anything about bookmark modding (the 1936 and 1939 start) I have a question regarding my mod.
Go on
so basically I edited the defines.lua like I was supposed to. Then I edited the starting date in the coming storm scenario file. I opened the game to test it and alot of the state ownership was messed up. (I had reassigned states to different countries). I realized it was because I had set the start date to 2016 and since the game was starting post 1939 countries would own territories that they would own in the blitzkrieg scenario (for example, italy owning Ethiopia). Im trying to find a way that the game could start in 2016 without overwriting the state ownership I had assigned
You would need to change the ownership depending on the start date. Eastern Chinese states are a good example on how to do this.
I just went into the history files and changed the ownership from there. Was there something about a start date in there that I missed or is it in a different file?
Hi, I am trying to mod that disables supply via rivers, I am stumped since I do not know what else to do since setting the river rail level to 0 does nothing
anyone know how to change the leaders of existing countries (such as france)? ive done create_country_leader in the FRA - France.txt file but it dosent seem to do anything, unless i need to change it somewhere else too?
nvm i got it
how can I fix this?
it didn't add all the songs I wanted
even tho they show there
hello?
like it added some of them
but some of them are just 00:00
and never play
how can I fix that issue?
Is it issue with OneDrive being full?
how to disable it bruh
ok nvm
odne
done
Nope still only half of the songs I added are present
how can Ifix that issue?`
like some songs are like th9is
how to fix it
The problem is here
Is it possible to have data rounded to one decimal place instead of rounding to an integer?
round_variable rounds to an integer.
Is there a mod that lets me have achievements even if I use cheats?
and fr I added all the songs, I did everything I was supposed to do correctly, but it doesn't work
How can I fix it?
helo?
urgh what now
You delete it?
how can I fix this issue?
bruh
You're not supposed to outright delete it
the only fun part of modding is focus tree gfx
wym
@lofty plaza can ya help me with this?
As in
it shows that it's there but it doesn't play or show in the playlist
They updated Endsieg?
I dont think so, Endsieg is discontinued
they made a new project, which then was also outdated
yeah primo victoria
but
i just checked endsiegs workshop page
and it said last updated 17 may
(2023)
Oh yeh they updated finally
I cannot no
I've been experiencing crashing with my mod, I've talk to the HoI4 modding den and they couldn't help so i'm hoping for help here.
Anything in error.txt?
no
just noticed they updated primo victoria aswell
Is there any other information you need to help?
aside from showing the mod there isnt anything useful
Well then can we? I'd like the help to fix it if you are fine with doing so.
Sorry to bother you again but could you answer my question from the message after this please. I’m kinda lost
anyone know if there are any up to date versions of endsieg? Tried doing the whole rollback the version of the game using steam console business but it kept not working
I still have the problem iwht music modding
only halfthe songs appear on the playlist when I turn on the radiostation
I would like to know what I am doing wrong
am i allowed to lets say "advertise" the mod that I am working alone on here
just started making few days ago
Do you mind me doing that by sending you the mod?
Feel free to
need ideas for a communist sweden path this is currently all i have
compared to the interventionalist path
Am i allowed to offer spelling/grammar corrections? There are a couple things i noticed
sure go ahead lol
Okay first, Univerities ends with "ies", not "ys", just like salaries.
Im pretty sure you also mispelled Comintern (i think it ends with n not m, not 100% sure though)
Finally, some words like plant in Rare Minerals plant should be capitalized
Alright i will fix those
Yo who here is a burgundy enjoyer (TNO)
thank you for telling me
No problem, im good at spotting stuff like that
At least i asked before going correction mode for once, lol
does anyone know what local_supplies does in a state file?
id assume its supply hubs but im not sure
the line at the bottom for reference
zamn
When playing, open the supply map mode.
There you can see a state's supply.
how do i add supply hubs
Edit buildings.txt
Replace exile the royal family with "fate of the royal family" like the other communist paths so you can pick between chill or die hard communism.
How much supply the state gives by default
Im trying to replace the main menu music in a mod (kaiserredux) but everytime i do that the game completely bricks, anything else i need to do other than changing this one line?
Do you have a separate economic/tech tree? You could add some tech bonuses before the peoples university
I think you gotta define the music file? I’ll find a video and time stamp for you
www.youtube.com/watch?v=XWUhe70ue6A go to like 7:17
Remember leftist infighting
Something like, “To Moscow we go!”
Something like, “The Swedish Revolution”
Something like, “Swedish Democracy”
first path has an alliance with the soviets, soviet investment (like german focuses), research saving, alliance, and diplomatic focuses to seize control of Scandinavia with the exception of invading Finland
second path involves an attack on literally everyone being super duper antagonistic, you spread the revolution to scandinavia, either choose to secretly collaborate with the germans or end up at war with them defensively (hate of communism) and war with the soviets over Finland (maybe war with allies as well?)
social democracy allows you to join the allies as a socialist state allowing for allied investment, peaceful unification of scandanavia, and invading the USSR to liberate fins/baltic peoples
ok thank you very much
(saying this theoretically, correct it to match up with actual swedish ideology)
im trying to create a new leader for the uk but i cant get the image to show up, can anyone see where i went wrong?
the image path is correct btw
Missing a "
what the hell did i stumble upon
you can't
zamn
I've been replacing portraits slowly for a few days now
started with UK
they're my most played nation atm
how to graphic
I find the image I want in the internet
I run palette.fm to get a rough colorization
I move it to Clip Studio paint and make a cut out of the image
I put the cut out on Hearts of Iron 4's portrait background, scaling it down in the process
I get rid of the rough edges by running the eraser around the image
I use Clip Studio Paint's Tonal Correction settings to adjust the colors and fix any problems like those white parts in old images you'd see often in old movies
That's it
is there like a tutorial or something i can follow?
like on youtube?
cuz rn im just taking photos from google đź’€
sure but those are typically for painting the image yourself, I kinda went the easy way by making palette.fm give me the colorized version đź’€
Clip Studio Paint must be one of my best purchases so far even though it cost me my entire bank balance as a student when I bought it 50% off
if anyone is looking for it, here's the leader portrait background
this might be because I am blind but I wasn't able to find it in the gfx folder so I searched around
kolchak
How do you center/move the bookmarks/start dates?
Start in debug mode, then use ` on the bookmark menu
It'll show the GUI elements and you can try edit them to be center
k thanks
Any idea of i can remove the 1939 date?
I don't believe so
ah lol seems like the update changed the state numbers and if it cant set the capital it wont fire anything at all
I have a question- with Mods like 'ideology matters' and 'faction distance limiter', I had the idea of asking you guys - y'know who mod, if it would be possible to give Individual factions their own modiffier on who can join it.
like chinese minors are the only ones who can join the... 'chinese united front'
I’m thinking about playing an alt history mod for hoi4 that is not Kaiserreich nor Furherreich. Any recommendations?
what if ottomans won ww1
Link in workshop?
oh sorry
i read it wrong
i thought you asked for ideas to make a mod
idk
if the mod i'm working on was somewhere near finished it would be great
You are making a mod?
yep
What is it about?
"What if Serbia got its Greater Serbia idea and Croatia was left on a third of its land"
but primary focus is on Croatia
i'll probably make Serbia and Slovenia also
i can send you a link if you want to see it
i'm also doing it completely alone and its the first mod i'm ever doing
So basically Serbia builds an empire rather than a slavic nation?
yea, but i am so sorry to be that guy but it wasnt serbia who built yugoslavia
thank you
yes i do
done
Can you?
I've been crashing often with my mod, can anyone help?
Are there any genocide mods?
ayo
So is there any?
idk
Why?
just wanted to play a more historical mod
no hidden cravings nope

anyone have suggestions on a mod
i want one where i can be china but i want it unified
like 1945 except im at war
Hello I am working on a mod and I was hoping someone might know how to get the AI to build supply hubs
how do i get the present day countries mod? I am a new player
Go to the Steam workshop and filter on top subscribed
having a slight issue with steam mods
so i made a mod and i uploaded it and all its files to steam
im subscribed to it and it exists in my mods folder for steam and it shows in the launcher
however it doesnt seem to actually load the mod despite it being enabled in the launcher
my local version of the mod works just fine but the one i have subscribed from steam just launches vanilla, any idea what i need to do to fix it, ive never encountered this issue so i dont know what to do
this is giving me a massive headache, any time i try to create a new state from the van state, van just disappears every time
and if i try to modify the van state file by just excluding the provinces i took out, the game crashes and it says that all the provinces in van are not assigned to a state
If your doing my paths, I’d say it should either change depending on your political path (Swedish Democracy keeps it alive) or having a mostly merged together political tree for items such as wargoals (obviously still changes depending on ideology)
@rain aurora
i sent you in dm
I noticed some mods come in zip files, should I extract them or leave them as they are?
You may want to re-think what you're asking mate.
If you're working on a mod, you cannot have the Steam and local version installed at the same time under the same name. It usually leads to the Steam version not loading, but there might be other issues as well.
oh i wasnt aware of that, thanks
its a bit too late for me to do that but i will try that when i do the other nordics
https://steamcommunity.com/sharedfiles/filedetails/?id=2978033906 Hey guys just released my new mod. meant to equalize the game more. Would appreciate any input if you have any. Check it out in this mod
every nation starts with 0 technology researched
upgraded to 7 research tabs
0 units
0 air
0 navy
0 railroads
Does the ai even build railroads?
hey im new to making mods, is there a good area or playlist that i can go to for a basic mod-making guide
is there a way to generate decisions for each country. something like this?
puppets_decisions = {
for_each_scope_loop = {
array = subjects
test = {
available = {
num_subjects > 0
}
visible = {
always = yes
}
fire_only_once = no
cost = 75
complete_effect = {
log = [THIS.getName]
}
}
}
}
ai builds railroads but they do not make supply hubs
I still can’t believe they made supply hubs twice as expensive as a consumer factory
so about ideologies, can i change the party name based on which sub ideology the leader has?
so like neutrality has this, could i have a different party name for each type
I don’t think so
aw thats a shame
other scandi nations shouldn’t be copy paste
don’t do a baltics
or at least give each nation a custom path
Denmark should obvs have a tree more related to Germany
I mean, the Baltics have unique focus trees where it counts
Like shared industry trees are fine because at the of the day industry is mostly just make more factories
my mod addresses this. I amde a mod realistic construction and took from that mod and added it to this
If you have allowed be always = yes then that is already the case
been asking for 4 days now, anyone know how to fix this or is it not fixable?
What is the effect?
does anyone have a mod that still works. that allows anarchist spain to ally with people
You could use my cheat mod for this
it’s just something that gives infrastructure in some states, before i complete it, it shows the effect but after i complete it it doesn’t show
ok so i made a country and neither its name shows up nor does the state i made for it have a proper name
like wtf is this
You need to localise it
i did
but for some unknown reason the game doesnt use the localization
ik wasnt my plan also im only giving focus trees to countries that dont have them and -or sorta reworking old one ie. changing more focus's in france's tree to 35 days so it doesnt take forever to do one thing
The corporatist fascist being mr krabs
Sandy being in charge of the democratic party
King Neptune ruling the neutrality party
oh ok
Probably a stupid question but is there a way to limit what ideologies a country can have, so say i make a custom ideology for a country i make name it so only that country could use it
I dont think so, just remove boosting ideologies if you dont want some countries turning into some ideologies
you better double the focuses then
you add a location for buildings by adding the state number with { } brackets before the add_building_construction
example
and to remove ideas you do
remove_ideas = your_idea
ok
Poor indentation
did i say or put something wrong?
oh I didnt know that was a thing you could do wrong
Can you make a global string variable in hoi4? That works behind the scenes?
how do i make focuses mutually available
What do you want it for?
didnt work
wait
if i already have a factory in the state do i ahve to make it level 2
Hey guys!
Is there any way to adding commander after national focus?
idk modding makes me want to kms
i have same feeling
but you are persevering
i tried for 3 days
and it didnt work
well
i have literally hundreds of ideas for countries and stuff
so i am trying to spring before i can crawl
i mean sprint
i would be good as an idea giver
Ill see what i can do
like for example taking a generals name and name a country leader after this general.
recruit_character
Why not make the general also the country leader
Yeah leaders can have multiple roles
Just not of the same type
does anyone know what the interesting countries UI is called in the files?
localisation/[language]/bookmarks_l_[language].yml
is there a mod where i can create my own country?
or like
for example one of those where i can be anarchist
is there any mod that allows you to spend pp for extra buildings slots, like in vanilla but an expanded and cheaper version of that
how do i force a civil war with a focus
like not on my counntry but on a different one
with my focus
like a coup or something
If you have la resistance:
Put spies in the country and build intel network
Use propaganda to lower country stability if needed
Realize that it is really hard to coup with la resistance
is there a way to level ideas without using if statements to check for each level?
also running a scripted effect from within an on action isnt working
might wanna try -debug
and do what
Wdym
like the mod doesn't even load
Does anyone know why the name is all screwed up? The localization file works fine for other countries, but not Baja California. It's supposed to say "Baja Californian blah blah blah" instead of "BJcanian blah blah blah" or "Bjcaine". I think those errors are because I used Ukraine's localization for it, but I checked the localization file (multiple times) and it's still not fixed. PLEASE HELP
I can send the localization file if y'all need it
how does it work?
Well you create a character and then you recruit them, just like in the history files
ok, Thanks!
what font mod is this? because i know its not from the cold war: iron curtain mod
yeah that’s what i’ve thought of
hey guys
i am trying to play a mod that it says it was created for version 1.12.11
and i cant play it
but which?
no for example you create a new general (random name) and then there is a decision where you can make (random name) the leader of some country with the same name and stuff.
From TNO I assume
no
its not TNO
its from the Cold War mod
I mean its the cold war mod, but it doesnt use that font
completion_reward = {
XXX = { # XXX -> country tag
start_civil_war = { ... }
}
}
What's the difference with "unit_ratio", "role_ratio'?
and ... is ideology right?
read the wiki
bruh
That's not the TNO font
I play TNO all the time
never seen that
real
nor does the custom state have a name
i have localization files before you ask
i added it
i need help
I dont, so didnt know
what
Typo
how do i fix
it says state 909 instead of the name i assigned it
im making a meme mod btw
and also my country name doesnt show up
i have localizations
how do you make kaiserreich elections where instead of the outright results of the election it fires an event?
If elections are enabled you fire an event by on_action
if you dont want the automatic one just fire the next election by the election event
this happens whenever i try and upload a mod with a thumbnail
does anyone know how to fix it?
Steam has a limit on how much you can upload
This includes stuff like thumbnails and screenshots you’ve posted to Steam Forums
Why does it only happen with a thumbnail then and I can add more to the mod without issues
the size of the thumbnail is just 190kb
does the launcher have an error reports file or something that shows errors when uploading mods?
Nvm i found them
is there any weird mods out there? recently got into the ultimate crossover mod lol
Equestria at War
hey quick question, where are the focus tree pics .dds?
goals folder I believe under interface, in the GFX folder
thx
I'v been playing equestria for 2 days straight now...
Was twilight becoming country leader just for the april fools special?
Or am i just dumb
does anyone know how to annex austria as the german empire in r56?
I havent made that path yet
i want to secure the balkans for bulgaria who is allied to me but i can't take yugoslavia without passing through austria
also i remember in a previous run i could invite hungary using the "restore central powers" focus, what are the prereqs for that?
equestria at war is by far the weirdest
Need to be non aligned still
It can invite like 4/5 countries but some of them like Italy are rarely non-aligned
Does anyone know a mod that adds german voices?
I tried New German Voices but it isn't working
i checked and hungary is already nonaligned
i'm guessing because their ideology is despotism and not absolute monarchy
while bulgaria's is
does anyone know of a reliable source for a somewhat accurate 1920s china?
i swear this happens every time with expert ai for some reason
do they think theyre going through the north pole or smth
Can I make the dumb AI not do coastal defense by main template divisions, like 9-3?
anyone know where things like autonomous state (for the states like catalonia) is stored?
do you mean how to code one or how to make a mod file
Can you guys give me a suggestion for a place to make a focus tree?
I want to start modding for Hoi4
by place do you mean a country?
or a tool to code
A tool
Visual Studio Code with bracket highlighting using a Paradox code plugin
Go to upload mod in the launcher, in there you can create a new one too
paradox code plugin? oh that one
I forgot it for a second and got confused
I have vs code
but I am stupid and dumb and cannot code outside of HTML and CSS
use the games built in focus trees as a template
Not modding related, go to #ask-for-help-here
it is...
but sure whatever
how do i remove cavalry from a country
i want bicycles
i already added a focus to add bicycles
but how do i remove cavalry by default
cavalry is not a tech
you mean make it unavailable or a starting template/division?
Starting templates division are in oob's, defined in the country's history/countries file then found in history/units
unavailable
the country i made doesnt start with army
bicycle infantry > cavalry
fock horses
How would i go about creating a revolution type thing, like a few states just split off into their own country,
start_civil_war
Alr, can i have multiple of those happen? Or is it limited to 1
You could make it happen multiple times yes
does anyone have any national focus mod recommendations for countries with the default focus tree
?
Scandinavia Reworked (or something like that) is one called, can only recommend
Road to 56
is there millennium dawn mod download w out steam
sus
do you need the source code of it or what
hey guys im making a custom focus tree and i want to create a focus that when it gets completed it changes the rulling party of the country soo will set_ruling_party work?
nah
just dont own the game on steam
and its only on steam
idk
is there no way to apply this time/date/year to technologies so you can know exactly when they are going to be researched?
We wish
then it's time for a suggestions on the forum
is there a mod where you can make peace with amerika as germany in ww2 ?
Heyo ! Anyone know if the great war redux mod have some flavor for Belgium ?
the error log most commonly is not useful
wonderful
for crashes I mean
Also, only check the last second or so
alright
i think you can in vanilla but you have to change either the government of the US or Germany's
i could be wrong
I like the Peace Deals mod
it’s pretty good
Seems like a rather minor thing don't you think?
Yeah, but it'll still be pretty useful
does anyone know how to make a city or states localisation depend on who owns it?
like if germany owns danzig is still danzig but if poland own it, it turns into gdansk
Use on_actions for that.
There's an event for changing state control. There you can check for example if Poland controls Danzig and then you can rename the state if that's the case.
listen, how to make a trigger to change the focus tree? GPT chat gave me this
country_event = {
id = my_mod.1
title = my_mod.1.t
desc = my_mod.1.d
picture = GFX_event_example_picture
is_triggered_only = yes
option = {
name = my_mod.1.a
# Đффекты выбора
}
option = {
name = my_mod.1.b
# Đффекты выбора
}
}
and here's another
You probably want to use this; Never listen to ChatGPT when it comes to modding, most of the time it's talking shit
Thank you
yes you are a legend
xD
hey guys, so im making the russian civil war as part of my mod, and i need ways to represent the allied occupied areas
i was thinking i just make new countries and give the occupiers military access and guarantees
like the legation cities in KR
I have a question about civil wars, can i make it so a completely different nation which has been captured by the main nation split off instead of a different ideology version of the main nation, aswell as can i specify what states split off from the main nation
Please don’t use chatgpt lol
This is a good idea
Maybe make it a puppet country?
Yes you can
I think lol i don’t really understand your question
But you can set it to a certain ideology and certain states
Well like
https://youtu.be/Hq8lSKV2DYY this video should explain it
This tutorial will show you how to create civil wars in Hearts of Iron 4 and the various parameters you can use to modify the civil war according to your needs.
Civil War Code:
start_civil_war = {
ruling_party = communism
ideology = ROOT
size = 0.8
c...
Idk if it’s still up to date though
Alr ill check it out
If you got any questions/it doesn’t work I can help
Basically i want to make another country start a civil war instead of a different political party
Like i got a country which owns the land chad would have, and i wana make chad rebel and split off
Ill see if civil wars can do tbat tho, sorta new to modding lol
Alrighty, thanks
1 i checked
2 why do all americans write lol? I heard from Russian speakers the last time about 3 years ago
- Checked what
- Idk man it’s just a phrase
Yeah iirc there’s a thing in country files or the bookmark where you can set who’s at war with who
I forget though
Does anyone know a good alt history mod that is not Kaiserreich nor red flood?
Road to 56
Alt History
Me me making mod (trying atleast)
Old world blues
Would I be allowed to use DLC focus trees in my mod if I change them a bit?
No
ok
You would need to make it a dependency
yeah ok thanks
Any other?
theres also red world, palpatines gambit, lotr (forgot real name) theres a whole tab for alt history that you can sort by most popular
TNO - Last Days of Europe
Hey Guys
Can someone help me
I wanna do a vanilla mod
Where there Are less countries
And added corrs
Likes not removwd
But Countries that Are merged
So the game lags less
And some Garanteed rng
Events
Dm me if interested
HAHAHAHA I NEED THAT RN
@lofty plaza
if a country has troops but also has only demilitarized states, does the mod crash?
Hi
Hey man thx for answering
can we talk in dms?
I have a save
Is it possible to make it into a mod
And i also need some minor changes
Its hard to explain
Its better if we could talk
Just let me know when u find the time
why not just play the save and use toolpack
i wanna make it into a mod
Otherwise i have to always load up the save
Its just vanilla
But with some minors changes
ill accept every help
you probably cant turn saves into mods, cuz you need to do all the history files and stuff
And events
you mean edit?
Ye
yeah
In vanilla
but that wont apply to save games
its not problem
I have the save
As a Layout
Otherwise ill forget my cores
And changes
wdym
so you got all the history files and stuff like that already?
No im really 0 experienced in modding
I opened the game
And used console
Added cores
And removed nations
i dont think you can just turn a save into a mod
oh man
you'd have to manually make a mod
I hope someone finds the time
do u wanna do it?
But we have to talk about details n studf
Stuff*
nah bro
im making my own mod rn
Kaiserreich cold war between russia and commie france
Ok one question
Can u make a event for example
Italy caps Etiopia
In most times
Etiopia continues fighting
But sometimes the really cap
And u go into peace deal
Are You able to do that so its garanteed everytile
Everytime*
That this event happens
like you mean they dont capitulate?
so whats the problem again?
Are you able to make Events outcomes
100$
100% Garanteed
Like that Outcome always happens
That austria accepts anschluss
like what outcome happens everytime? that you go into peace deal?
theres custom game rules for some of those, but in the game files you can change the "Ai factor"
search up how to change ai factors for events
I mean can you make Events Into a 100% possibility
That this outcome will happen
Via code
yeah, make the AI guaranteed to do the event
Yes
just search this up
like what
idk about rng events but its probably also simple
20% is he survives
Sometimes it happens that stalin survives
And then the russia players gets a civilwar
And dies instantly
Can u edit it that the the possibility that stalin survives is impossible
yeah
just google it
I got a mod for EU4 that changes Byzantiums flag, name, and color.
Issue is the mod is old and the flag ID needs to be updated.
What’s the best way to edit the mods file to update the ID?
Posting here because EU4 does not have a discord.
The Number
Like from 50%
To 100%
Because i saw a guy modding
And he Worked on Events
Alr another Question @obtuse condor
In my Mod i annexed some countries
That have impact on the country
I annexed and cored Mongolia and tannu tuva as soviet Union
Do you know how to remove any focuses that have a connection to tannu tuva or mongolia
otherwise the focuses will have no impact or get bypassed
Which is lazy modding
Couple of questions:
-
Trying to run a scripted effect from within an on action. It doesn't seem to be working. The on action is triggering properly because the other effects in the action run, and the scripted effect works when I run it through to console, but the scripted effect does not run when it should in the on action. Why does this happen?
-
is there a way to level ideas without using if statements to check for each level?
What are your favorite historical mods. I’m looking to host noob friendly historical games on Saturday’s. I’m looking for historical mods ive been using IH&E but when I played last time there was some license purchasing bugs and there was no Spanish civil war. I’m curious what yal all like to play. And why you like them.
do either of these matter
they keep on crashing my game when i load into the actual game
Road to 56 is generally a safe bet
I’m not gonna lie I’ve always viewed it as an Alt history mod.
There’s still historical paths, Idk what you’d consider historical if R56 doesn’t count
someone plz help me one of these errors or both is crashing my mod and i cant test it
did you added this files or just changed them?
@obtuse condor , what you did last time?
maybe there is typo/syntax errors in files
Removed factions from some countries, gave Tibet a province and made more puppets
I removed the faction from the actual country notepad btw
Nah I ain’t touch those yet
But do either of those errors crash the game
Or is it smth else
so there is 2 problems, faction assigning and state ownership?
Probably not the Tibet getting a province thing
show what code of this province looks like
That’s what I did last, but it’s probably those two errors since my game crashes when they appear
I can guarantee that it’s not the Tibet getting a state
