#modding
1 messages · Page 93 of 1
i think i understand it now
it doesn't get an icon
i straight up link it to the spritetype
NO IT'S NOT
HOW
Eh dynamic modifiers work a bit different than normal ideas
Instead of doing LIT_invested_in_farms
You add the GFX_idea part first
Since Dynamic modifiers don't auto write that like how Ideas do
I made a decent guide below
^^^
uhhhh
Adding them in a focus tree simply looks like this
Adding them as a starting modifier looks like this
common > dynamic_modifiers
Yes
Here
Just borrow one of mine that you can edit off of
#PACIFICI#
Military Unrest From Demobilization
PCF_Arms_Race_Aftershock = { #NATIONAL SPIRIT
enable = { always = yes }
icon = GFX_idea_ast_classify_aliens
stability_factor = PCF_Race_Stability_Factor
war_support_factor = PCF_Race_War_Support_Factor
consumer_goods_factor = PCF_Race_Consumers_Factor
production_speed_buildings_factor = PCF_Race_Construction_Factor
production_speed_arms_factory_factor = PCF_Race_Construction_Mils_Factor
production_speed_dockyard_factor = PCF_Race_Construction_Dockyards_Factor
industrial_capacity_factory = PCF_Race_Factory_Output_Factor
industrial_capacity_dockyard = PCF_Race_Naval_Output_Factor
experience_gain_air_factor = PCF_Race_Air_XP_Factor
experience_gain_navy_factor = PCF_Race_Navy_XP_Factor
experience_gain_army_factor = PCF_Race_Army_XP_Factor
}
To sum it up
You can assign a name to the effects, then when you change the value, use that new name
So if you wanna increase the army XP gain, you don't write "experience_gain_army_factor = 0.05" you write "PCF_Race_Army_XP_Factor = 0.05"
i'm so cofused
In actual practice it'd look like this
add_to_variable = { PCF_Race_Navy_XP_Factor = 0.1 }
This would add 10%+ Navy XP gain
Dynamic modifiers are easy once you get the hang of em dw
add_dynamic_modifier = { modifier = TGE_scientific_development }
can i put this in the completion reward?
Yes
hmmm
Now do note
You must pre-write the modifier/effects before you implement them
So if you add TGE_scientific_development right now, it won't have any modifiers
You can add these in the country's history file
not in the focus?
This is how (Without the add dynamic modifier part)
You can do it in the focus too
But dynamic modifier effects don't have change tooltips, so just keep that in mind
what's it for research speed
It may look like it doesn't change but it will
Are you asking for the modifier for research speed?
tbh i have no ideas what tooltips are
yep
research_speed_factor = "Number"
So if you want +10% research speed
do "add_to_variable = { TGE_science_research_speed = 0.1 }"
TGE_science_research_speed can be what you want depending on what you assign in the dynamic modifier file
oh so it takes the first word to identify it?
here science
You need to add the identities manually
😭
Just copy and paste this
Then edit it to what you want
#COUNTRY#
COMMENT
DYNAMIC_MODIFIER_NAME = { #NATIONAL SPIRIT
enable = { always = yes }
icon = GFX_idea_IMAGE
MODIFIER = CUSTOM_MODIFIER_NAME
MODIFIER = CUSTOM_MODIFIER_NAME
MODIFIER = CUSTOM_MODIFIER_NAME
}
yep i'm just making a normal idea and replacing it with a better one
sorry but i can't understand this
all i know is how to copy
i might have copied the whole reichkommisariat system but this is too much for me
Where would I be able to change it in the history file?
can you just tell me what to put exactly where to make sure it works
and i just try to understand how it works?
i can't make sense of it reading it
😔
Mb I was busy
my brain is exploding
just research speed
in my industry branch i get research speed as i keep going
i'm trying to figure out how to do the whole thing
so tried to copy legacy of greatness or soviet 5 year plan
but i couldn't
and now i'm here
TGE_scientific_development = { #NATIONAL SPIRIT
enable = { always = yes }
icon = GFX_idea_IMAGE
research_speed_factor = TGE_science_research_speed
}
It shouldn't if the file name is unique
GFX_idea_IMAGE is not an action icon is it?
It can just use a normal idea icon
hmmm
But make sure you add the GFX_idea part
lemme find the icons file
You want a good site for finding icons?
the what
yeah sure
omg thank you so much 😭
Np lmao
alright the thing gets added
so now adding the bonus
set_variable = {TGE_science_research_speed = 0.05}
Now just note
It won't show the modifier in the focus's effects unless you add it manually
damm...
So you have to code stuff like this manually
custom_effect_tooltip?
"\n Modify §YScientific Development§! by:\n$MODIFIER_RESEARCH_SPEED_FACTOR$: §G+5%§! "
Which ingame would look like this
completion_reward = {
custom_effect_tooltip = TGE_scientific_development_tt
set_variable = {TGE_science_research_speed = 0.05}
add_dynamic_modifier = { modifier = TGE_scientific_development }
}
i'm an idiot aren't i?
😭
Instead of set_variable do add_to_variable
set_variable's better for history files instead of focuses
yeah still nothing
Did you add the localisation?
Should be like this
TGE_scientific_development_tt:0 "\n Modify §YScientific Development§! by:\n$MODIFIER_RESEARCH_SPEED_FACTOR$: §G+5%§! "
well it doesn't work it seems like
What doesn't work about it
Oh ye have you set the base values in the history file of the country
^^^
Lmao
i fixed it
now my game isn't loading up anymore
istg if have to reinstall the game again...
not again 😭
did i mess up the game files?
completion_reward = {
custom_effect_tooltip = TGE_scientific_development_tt
add_to_variable = {TGE_science_research_speed = 0.05}
add_dynamic_modifier = { modifier = TGE_scientific_development }
}
what the tt do
^^^
the game won't load up the mod anymore
it says i need .net framework and visual c++ redistributable
damm
or it just won'T open it at all unless i remove it mod

Sometime if the mod breaks the game to oblivion before load screen that may happen
i will add AFV ifv and apc units and templates to my hoi4 multi mod
aswell as new tank armored and MBT units and templates aswell
Does a hoi4 map have to be 5632 by 2080 or can it bigger ?
It can definitely be smaller so I assume larger as well
remember how it wan't working? it was because i forgot to add l_english 😭
Does anyone have any Czechoslovakian focus trees mods that are working?
can somebody please tell me how to edit tiles/create new ones? I tried editing the provinces.bmp file but as expected that didnt work.
definition.csv got info on all the tiles
while history/states has which state theyre assigned to
i am kinda new to modding, but I want to make more tiles in northern africa, how do i get them on the map?
Draw new tile with unique RGB, then define it using that RGB at the bottom of definition.csv, then assign it to a state in history/states
See the wiki also
so editing the provinces.bmp file was correct, i just had to pull all of the info of the tiles in definition.csv and assigne them to a state?
yup
How can I easily rename all the flag files to a new created ideology?
Do it with the nudger
Also just Look at a Tutorial on YouTube
Way easier
If you only define it and put it into the State, it will Crash the Game, you also need to put in the Stratetig region
And validate it with the troops and buildings, since some stuff may bug and also crashes u the Game of the error keeps on repeating Itself
I'm using mod 通用坦克模型修改 Generic tank model modification. The tank models do appear in the tank design section, but how can I make them appear in the division design section?
so if i wanna mod the game do I have to have a paradox account or is it ok if i just use a steam account?
you just need the paradox launcher and the game on steam
oh ok
You need the PDX launcher to upload mods, but you dont need a PDX account to do that IIRC ^^
Can support as many as the main game, and more
Oh no i meant in programming
Typically you just put English, and if its a really popular mod you could try to find translators
ah
Its more of a...data format?
Oh ok
most the code is just pure content
Read the wiki and watch the guides on YT
Ah
okay
Official Paradox beginner modding guides:
https://www.youtube.com/watch?v=E7zIU3L2eUs&list=PL6EAZcF5cWbg57Srq6BTVvguMl6YfP9pG
How do I mod Hearts of Iron IV? Hearts of Iron offers a unique sandbox experience which, with a little skill, you can adapt to include any scenario you could think of. Today we begin a series teaching you how to mod Hearts of Iron IV. This first video in the series covers how to get started modding Hearts of Iron IV. Stay tuned for part 2!
0:00...
thanks
i'm having some trouble giving a dynamix modifier an icon
chat hypothetically if i integrate a map graphics mod in my 1.14.5 mod and then i try to update my mod to 1.16.5 and it crashes should i just remove it
or is it crashing just cuz the game added more states
nnnevermind same crash
i hate this
anyone got an idea how to make the limit work?? since this is not working properly every_possible_country = { limit = {date < 1936.2.1} add_timed_idea = {idea = no_trade days = 729}}
depends on what files your mod has
can crash bc of building files
well in short i made a new country in the soviet union and thats pretty much it everything else has the same mechanics
does it also crash nudge tool?
it crashes while the game is loading
so idk
if it just creates a new country, then the file count is low prob, join vc helping lounge 1, can help with that
just stream your mod files
go to map files
ok, wait
just stay at the main place, since you dont have that
go history
and states
all of those are siberian states and idk if paradox changed anything for soviet union in 1.15 and 1.16
my first guess is air zones, but cant figure that much out of this
hmmm
well if the map stuff is the only problem i guess i could copy all the other files over to my 1.16.5 backup mod
like this
actually wait, if its crashin nudge, than it cant be
but i can never know that if it crashes while loading
like
it almost finishes loading and then im hit with a 50 megabyte crash file
go to steam, and open setting on hoi4, then properties, and write debug, and then open hoi
wont that do the same thing
but aight
i already got a shortcut here
oh wow
weird
why this mf gone
its supposed to be green russian state
is that the problem
umm, i see that history aint workin properly
wait, let me see the map
lemme think
ok, so your country is not properly written, so go to history files first, and lemme see the new country file
that stuff does not crash debugg
this one fine?
it is, so go country tags next
Anyone know how to solve this? I can't continue with it.
u reactivated my brain
theres new french and british puppets right
thats the problem
possibly, but not sure about it, since your nation does not appear on the map
thats cuz when we were checking it i didnt insert the common file, which included colors
the states were independent
thanks alot bro
ill update u if 1.16.5 works later
Anyone have a guide for Great War redux Germany?
I believe you have to make a certian type of unit to have a fighting chance
I think it involves mortars
you would have to check tho
what would a good shock trooper template be for great war redux germany?
Defense or offensive
the most recent update made artillery and mortar have same soft attack but mortars have a higher production cost so its legit a scam
Good evening Soliders!
I'm fairly new to the game, and one of the issues I am facing is basically knowing how many Mills to put on X production and why. I was wondering (pretty sure I saw this in a video somewhere) Is there a mod that adds a button or something, or indicators, that automatically sorts mills to your production depending on your needs, how many factories you have etc.
And are there more quality of life mods you may suggest!
Thanks in advance (please do tag me when someone answers)
any mods to stop mega factions? I'm tired that everyone joins the allies for no reason
Not as far as I know
I like recall volunteers and unlimited dockyards per line
And then a peacedeal fixing mod, either Toolpack or Player Lead Peace
Would that give me a button thing to auto sort how many mills I put per production line?
No I dont know such a mod
A good guideline is to just compare how many your production line is making and how big your deficit is
If itd take 400 days to fix your gun shortage and 800 to fix the artillery one, you maybe reassign 1 factory
Hi, does anyone know how to guide me on how to create these models for my mod?
This is my knowledge on how to make models. If you have question look up the discord HOI4 Discord Modding Den.
Links to the modding pages:
https://github.com/ross-g/io_pdx_mesh
I also use this guide here : https://docs.google.com/document/d/17knnrF_RzaVFo_s66360m7rCypSH6yMTymA8B0jpTog/edit
T-SHIRT MERCH: https://www.etsy.com/shop/BiometricNukeS...
this is the only model guide I could find
Thanks, and I already have the 3D models or .mesh files created, but I would like to create the small models like the one I sent, but they don't turn out the same. I don't know if I need to process them through Photoshop or how to make them have the game's artistic style. I'm attaching a model from the game and one of the models I was able to extract from Blender.
can spot optimization worked in single player?
question
so i made a 1991 scenario
no new states
added all 1017 states (i think thats how many)
but what do i change?
history or 1939
i wanna make 1991 borders
and the map shows the 1939 map
tommykay what are you doing here
Should give 3 research slots and research speed since technocrat
im gonna lose it do i have to change anything else outside game rules what groups what the hell is this
Nothing worthwhile
Spot optimization doesnt actually optimize anything
It just changes how lag is triggered in MP, maybe AI behavior a bit
I'm making a mod that adds a 1942 start date. So that means that vichy france exists. Do I just need to use their country tag (VIC) or do I first need to create a Vichy France country?
VIC is actually not a tag you can use for effects at game start
VIC is a tag alias for a FRA tag with the Vichy focus tree
The game either creates a dynamic country or civil war (idk which of the two by heart), and gives that the Vichy tree, only then can it be addressed with VIC
Oh alright thanks
quick question, do any of you guys use debug_smooth command in ANY of your games?
Y'all know how to fix this? I have a feeling it might be breaking strat bombing
Can you code a nation to focus on certain objective during a multiple war. Example, France gets in a war with Spain and Germany, is there a way to code the AI to prioritize capitulating Spain rather than Germany?
I'm sure the new ai strategy thing from GotDam dlc free update allow you to do that
Then if I make a civilwar like for France, French Republic VS Fascist France and Commie France, can I prioritize like that French Republic prioritizes Commie France first?
"here comes the sun"
Almost every game
Hi
How I can get the temperature of a province or a state (by average), and stock to a variable?
Ie the -2°C. I want to get it.
Dosent that make the game stutter alot more?
Makes it faster
I do wonder if the screen flickers I experience are related to using it
Probably, When I use it my game is a stutter mess
could someone upload rise of nations for 1.16 on the paradox website
I dont think we as a community should be stealing and reuploading someone elses passion project
how do you get a mod to work?
Thats is so vague
i love finally being able to make good looking ideology icons
does anyone know if adding gfx files will change the checksum
Most wont
You can change country leaders/generals portraits and political advisors portraits all you want.
can you add new ones and it won't change the checksum or can you only rename
LIke add new leaders? You can change the gfx in the gfx/leaders folder
kinda. Mostly defining some previously generic ones. But I would have to add new portraits.
since they otherwise use generic leader portraits
for China specifically
Adding portraits dosent change check sum
great; thanks!
I think It depends by the terrain?
Well, for now, I give in a variable a random number for the temperature between the same interval of the month (I create a variable for that too) of the state every day ||I imagine a future… Stop Monika :D||. I know isn’t maybe the best solution but is work. Because the weather simulation if I understand is apart.
Hello does someone know where the ideology sprites are located
like somewhere in interface?
Idk how you can code something based on the weather or temp
But weather/temp is usually generally coded via Strategic Regions I believe
any mod reccommendation if i want content past 1945?
base game basically everything stops around 1945 - 1946
i suppose road to 56
feel free to check out one of my mods: https://steamcommunity.com/sharedfiles/filedetails/?id=3422296327
i tried that but it messes up the focus tree for some countries majorly.
soviet union looks so weird
Can anyone recommend some tutorial/tutorial series to be able to make any ideas come true?
What’s the best country to play I. Great War redux?
How can I disable a MIO, is there any syntax for it ?
wt
i created a new state, added all the files to the sates and strategic regions files. yet i keep getting this error
You have to take the provinces in the new state out of the state you split it off from
It depends. Most fun is subjective.
does anyone know where the file is for the unit grouping distance in the twr files
e.g this type of file cuz i wanna timelapse it but the units group when zoomed out
Not advertising but is there anywhere I can post something looking for people who maybe want to help a mod in development
whats the mod called that makes colours better
Theres dedicated servers/threads for that
Anyone bumped into any cut content while modding? I think itd make an interesting YT video

Have you
Yeah
I dont look in enough of that to notice to much of it lol
Is the old ID system still used?
commander IDs?
In leaders
Is there any use for it
I always just that line because it causes no difference
there might be some old content that still uses it
What did it even do
just pre-character system way to target commanders
Interesting, then why was it a line for leaders?
The really obvious ones are:
- It was seemingly planned for investing in Greece to actually have an impact, but that was cut
- Turkey allying the Axis has an unused variable to give them Bospherus access
- One of the Italian paths was likely intended to be Republican, but thatd mean another BoP, so I assume that made them make it constitutional monarchy instead
- Russia still has democratic ideology buffs apparently, but no democratic branch to use it in
Dang
What to do if i create an event like in official beginners guide, but when i launch the game, it looks like there is no mod?
how do i use toolpack in multiplayer?
When I was changing some French states I saw some unused dams. Not much but it's something
You got the newest edition?
(mine)
3,5 as it was changes with No Step Back
💀 its been 3,5 years since NSB?
Yes
The Second World War’s hardest fighting was on the Eastern Front of Europe.
No Step Back is the newest expansion for Hearts of Iron IV, Paradox Interactive’s grand strategy wargame about the world crisis of the 1930s and World War II. This expansion adds greater detail for many nations in Eastern Europe, unique game systems to reflect Soviet…
$13.99
3358
Time goes by quickly

@pale sparrowsorry, do u know anything about twr (thousand week reich) ive been asking everywhere and no one knows.....
I doubt he knows much about it
i just need answers 😭 😔
He is a modder yes, but isnt apart of thousand week Reich. He is a main dev for R56 though
ik i just looking for anyone atp
join their discord if they have one
i do and its pretty inactive and still no one can help 🙏
idk if u can have a look or something 🙏 🙏 🙏
You could search the wiki defines page for clues
I dont know it by heart
of, also, graphical defines are in a seperate file
wdym
nvm im such a dumbass i looked at every "defines" file except for the one i needed
note to self if i ever forget 🙏🙏
Does anyone know why it doesn't let me play mods?
It is in the common/defines folder and it's called 00_graphical.lua
outdated or conflicting mods
err i think thats for the main hoi4 game i was asking for the TWR mod, sorry
i got it now anyway
It is there too just named TWR_idkwhatexactly.lua
its in the screenshot lol
:)
Is the Nudger buggy for y'all too
Like for example if you make a state that overrides an existing one or change an existing state itself, it does this
Yeh thats normal
nope only one mod
But it is a bug
ok well does it have a yellow triangle next to it?
In the game since Goetterdaemmerung
That sometimes doesn't matter
yeah well thats why im asking to see if it matters
And rather what version does the tooltip on the yellow triangle say
yea
mhm even if its like 1.15 i think they modified some states so mods would crash on that too
yea
Damn I didnt know you were a spy for Rise of Nations
Im a secret spy for spyies expanded llc
Question what mods would be good for OWB server
Hey, I;ve been thinking of creating my own mod while teaching myself how to mod and I wanna learn different skills too, such as doing gfx etc... But, I have a question about the gfx, do I need photoshop premium to do that?
No
Paint.net and gimp work just fine
If people want to join 90266446849756181 is the server ID
(Required mod: Millennium Dawn: A Modern Day Mod)
Not a spy
And if I was then Harry's too 👊 🇨🇱 🔥
I’m not sure where I should’ve asked, but do any of you know what mod this is? I saw it in a video of MP hoi4 and want to try it
I accidentally made a new state and need to reattach it to undo that
Road to 56 rp edition
Does anyone know when the new project valachord mod is set to update?
Yo how the forman chronicles mod coming along
anyone who has a good mod, preferring older times the 1936
8 years war of resistance
I think I didn't gave enough context about gfx, I meant gfx talking about Portrait designs, ideology designs etc. Like the designs for TFR
Will Russia ever not declare war if you politely refuse their demands in kaiserredux?
I've almost unified China as the Mongols (great yuan now) and I feel confident I could take on Russia, but I'm still at war at the moment.
Can I at least delay the war a couple of months?
.
Its best to use paint.net or gimp for that
Really?
Yeah
I tought photoshop was better for making cool portraits
nope
Why tho
They are free, easy to use and have all the features you need to make hoi4 portraits
And most modders that make their own portraits have artists
Oh ok ok, which is better Paint or gimp, I heard Paint was the best
Paint is way easier to use
Gimp is a little more complicated
Thanks man
wohhho got my first countries, now, I want to make sum changes to Germany, should I change the already Ger file or maybe make a new one? So i don't mess with all of that code in there, idk tho
you can
there are values in the focus tree to set their position
Also I know it is a pretty overrated idea but how do I make a design for portraits like the ones from the Fire Rises and Iron Curtain you know like the screen thingy, also trynna add symbols behind it.
When im editing an existing nation
I just use the og files and edit things from there
Dear god help me why did i do this
I think the nudger is still broken, do any of you guys know if it's being fixed?
nudger is not broken, what do you want to do?
Can someone answer me both questions or maybe just one?
thanks!
Welp, this is awkward
It is broken. Several mod developers, such as Tiles Galore for example, all share the same issues. Things are overlaping, not saving and overall not working.
for states modding and other stuff its not, i used it and its good
it aint
used it and its not broken
are you clearing and putting in the files from the nugdger in the paradox folder?
cause if you dont clear the paradox folder in documents the games going to crash
- The game hasn't crashed once.
- I am moving the files, yes. But despite changes, it doesn't always work. For example, I made a new state which had provinces in 2 different strategic regions. This is obviously a no no, so I deselected the state away from any region and then assigned it to 1. I saved it, moved the files and reloaded the game. Everything was back to overlapping. Nothing had changed.
If it wasn't broken, I wouldn't be the only one complaining.
HOI4 is just really really unstable and slow and Paradox does barely anything about it. Instead increasing the price of the game and selling overpriced DLCs
I know it is a pretty overrated idea but how do I make a design for portraits like the ones from the Fire Rises and Iron Curtain you know like the screen thingy, also trynna add symbols behind it.
did you define the provinces? Cause my mod litteraly has new provinces and it works
if you have some time just join the vc i can help you how to add new provinces or change states
cause for me it works
I know that this sounds like an excuse but I scambled my provinces idea. I have no issues with making states because I do it manually instead of using the nudge tool. It is with strategic regions I had issues with for the most part.
did you put in the right defines in the stratetic region?
cause sometimes the defines change in the nudger and u need to put that in
I don't think so, however, again, someone as expereinced as yummycheetos22 or other modders wouldn't have issues. Therefore I still believe that the nudge tool is broken.
what is the dirrence between recuit character and create new country leader?
recruit is the modern way for all characters
Advisors were previously ideas, and leaders create_country_leader
Sticking to the modern way is preferable, yes
thx man
Especially on leaders, on advisors the newer system isnt that much better, if better at all
Ok vro
Hi guys, I got a question, can someone show me how to make cool portraits for my leaders? How to colour them etc, I tried with AI but it seems so, strange, so Imma make myself suffer until success
Ever wanted to create a portrait that look similar to the ones in the base game? Well, I hope this tutorial helps enlighten you!
Get the files here:
https://drive.google.com/drive/folders/1RRpqLh_MBydlHkj31W0hzsbPUudTz8rs?usp=sharing
Follow the artists mentioned!
https://www.reddit.com/user/PoorBananaMan27/
https://www.reddit.com/user/Noremac1...
is there a mod where i can core all of africa as an african nation
Thats already a thing
core ALLL of africa?
yep
thanks
Its pretty hard and not very fun or good
does anyone know the reason i can't see any nations in the nudger
the names appear but not the color
what is the nudger
😭 ✌️
the one who nudges
What you use to create new states but it highly unstable I found.
The Nudger IS broken tho
It gets File Paths wrong, messes up existing state files if they happen to be edited, Very finnicky when it comes to the Database tool, The Supply editor just doesn't work, flat out
thankfully i just use it to check prov and state IDS
Hey all, getting this for every mod in the launcher for some reason after moving my game to a different drive through Steam. Not sure why it's failing to recognise, given that the 'Show in folder' button takes me straight to it
Have already tried verifying files^
Thanks:)
Making portraits stresses me out ngl
I cannot make none perfect so I usually needa delete em
well aint for me
i need help removing mods
can someone give me like
good optimization mod?
i think im lagging too much when i have 3200 divisions
how do I make an ai strategy to target multiple countries
from what I read in the wiki I have to give it an id tag
ai_strategy = {
type = conquer
id = GER
value = 100
}
stuff like this but what I want the ai to try and conquer every single country is there a way to do it without having to list every single one of them
Multiplayer+ and AI market something something
is there any other way to transfer states to the country than simply changing state owner in file?
use reversed = yes

GER_conquer_everybody = {
reversed = yes
allowed = { original_tag = GER }
enable = {
NOT = { has_war_with = GER }
}
abort_when_not_enabled = yes
ai_strategy = {
type = conquer
id = GER
value = 200
}
}
oh

this isn't code block
but anyway
just use reversed = yes
it will basically use "enable" to define scope as triggered by the target countries
in ai strategy you still use the source country id
im gonna add a lot of new MBTs tanks afvs ifvs and apcs to My HOI4 MULTI MOD
Hello! I'm the lead for the Vic3 to HoI4 converter, and I've been working on what I call the stories system (https://docs.google.com/document/d/17G9UjrKI2J3dn6e-KgBG383dvivdFkYLrgek338VRxA/edit?usp=sharing) for some time, with the intent that the community would generate most of the stories used by the converter.
In exciting times, I've finally hit an important threshold for the stories system! I think there's enough in place for others to start trying to craft stories, and this is where I need the community to start doing so. There are two main limitations: no localizations, and requirements are faked out. For now, requirements must contain a single entry of the form tag=ITA. My plan is to work on making them function as actual triggers in my next phase of work.
If you'd like to start playing with the stories system, open Configuration/fronter-options.txt. At the bottom, there's a commented-out block. Uncomment it so it looks like
option = {
name = stories_system
displayName = STORIES_SYSTEM
tooltip = STORIES_SYSTEMTIP
radioSelector = {
radioOption = {
name = no
displayName = NO
tooltip = STORIES_SYSTEMNOTIP
default = false
}
radioOption = {
name = yes
displayName = YES
tooltip = STORIES_SYSTEMYESTIP
default = true
}
}
}
Now when you run the converter there's an option to use the stories system that defaults to yes. Everything should work from there!
Vic3 to Hoi4 Converter Stories System Design Updated 2023-10-02 Objective Make converted games dynamic with an extensible and configurable system of generating national focus trees, events, and decisions. Background The AI in HoI4 largely relies on focus trees, events, and decisions to act on the...
If you decide to play with this, ping or message me so I can answer questions and see your work!
incredible man
So I've been working on ideas for a mod of mine and I wanted to ask, is it better if I create my custom provinces first before assigning countries states?
I think as long as you include all provinces in the correct states before you try to run the mod, the order in which you do this shouldn't matter, although i would say starting with provinces and then moving on to states seems like the better option
Dang man, fire
Great skill, I can't even make a good portrait I can't imagine doing sum 3d
bananas
awesome thanks a lot
I’m working on a country_event that should fire when the player captures a state (state ID 405) during a civil war. Here’s the trigger:
trigger = {
has_country_flag = PER_civil_war
NOT = { has_country_flag = PER_uav_news_fired }
405 = {
is_controlled_by = ROOT
has_state_flag = PER_locals_swayed
}
}
I also set this in on_actions.txt:
on_actions = {
on_state_control_changed = {
events = { PER_civil_war.12 }
}
}
Issue:
• If I control Tehran before the civil war starts, the event works.
• If I start the civil war without controlling Tehran, and capture it later, the event never fires — even if the state has the flag and I control it.
• Manually triggering the event with event PER_civil_war.12 works fine.
Any idea why the event isn’t firing dynamically after capturing the state? Am I missing something in how on_state_control_changed or state flags work?
events = isnt an effect
its country_event = PER_civil_war.12
and that on_action is not formatted at all
What do you mean?!
it doesnt know what state to check nor who to send the effect
So what should I do?
check the wiki
effect = {
if = {
limit = {
FROM.FROM = { state = 405 }
has_state_flag = PER_locals_swayed
}
}
}
}
Add the info into this based on the formatting shown on the wiki
on_actions = {
on_state_control_changed = {
effect = {
if = {
limit = {
FROM = { id = 405 } # Tehran
has_state_flag = PER_locals_swayed
ROOT = { has_country_flag = PER_civil_war }
NOT = { ROOT = { has_country_flag = PER_uav_news_fired } }
}
ROOT = {
set_country_flag = PER_uav_news_fired
news_event = { id = PER_civil_war.12 }
}
}
}
}
}
The scoping is wrong
You also never have to list ROOT unless youre inside in a different scope, ROOT is the default
Is this ok”
on_actions = {
on_state_control_changed = {
effect = {
if = {
limit = {
FROM = { id = 405 }
has_state_flag = PER_locals_swayed
has_country_flag = PER_civil_war
NOT = { has_country_flag = PER_uav_news_fired }
}
set_country_flag = PER_uav_news_fired
news_event = { id = PER_civil_war.12 }
}
}
}
}
“
I wanted to ask how hard is it to mod a focus tree bc I've been wanting to make one
Depends on what you want to do
I wanted to remake the Japan focus tree by adding a bunch of focuses make a bunch 35 days. Add the agitprop system and add a few special research facilitys on the map but that's not focus tree related I suppose
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.
This lesson will explain how to create/edit a new focus tree in Hearts of Iron 4.
Timestamps for this tutorial/lesson:
00:00 - Lesson beginning
...
This would be a good place to start
Thank you
All of the iron workshop videos, while older. Are still great for learning basic modding. Its where I got my start :)
there needs to be an updated version, not gonna lie
I would love for updated iron workshop tutorials
How do I make new provinces?
I trynna change sum borders for countries for them to have more hist states than sum of the vanilla ones that don't work too well or don't give exact borders for sum countries
For what? The fundamentals haven't changed at all
I have seen sum changed from hid old videos, idk tho
Isn't that to create states by selecting already made provinces?
Like I said
Im not 100% sure
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...
This would be a good place to start
I have never messed with the nudger tool or making new states/provinces
Does it get more complex?
Wym?
Idk how to explain what I understood ngl
I got it.
By "a good place to start" you mean it is the most easiest way to do learn the basics of that and then there are other more complex things that the video doesn't talk about?
Well the tutorial covers how to add a province
Ok, don't worry. Anyways, thanks man :)
No problem
Hi, so I got a question, so for example I wanna change all of Germany to get a new name, new color and new events etc. Is it easier to create a new country for separated or just change vanilla Ger files? May sound stupid but I mean, idk
It would prob be easier to start from the vanilla files
So you still have all the generals, focus tree, political leaders etc
And so you dont have to re assign to many provinces
What about the great text wall of events?
Adding new events for an already existing nation dosent seem to hard
I wouldnt 100% know since I have never made events
I mean I think that if my games starts in 1949 all the vanilla events would just not pop up
thanks anyways man :)
Cold War alt-hist
mhm
I’ve been looking into making a Cold War type mod
Thats a pretty ambitious for a first project
Kinda wanna do allat by myself, wanna get as much experience as I can
I know it will take months
but
I am in for the challenge
hmm
It would be cool if something like The Iron Curtain mod had better mechanics for starting proxy wars and staging coups
And if it didnt have a horrid ui
That too lol
I just hate when mods get all into space and other shit as well, like I just want to fight in wars lmao
I kinda like CWIC but it has thing it can improve ngl
I like the fun and cool mechanics Md and Iron curtain have like the space stuff
It’s cool for RP purposes I suppose
Yes
Also I can barely distinguish a division from the other in CWIC
Thats mostly because the mod uses nato symbols
How hard is modding with Paradox language? I have some programming knowledge but never messed with modding
I mean from what I have done it ain't coding itself rather changing sum files and copying and pasting
Gotcha I see
yes CWIC is boring ngl
but I like proxys
I enjoy the combat that hoi4 brings, and I feel like CWIC you wait around for years to get just a little bit of action
It has cool features but meh
feels also too like not many alt options
if you communist u can only be communist
Its fairly easy
Just can get time consuming
And sometimes things just wont work >:)
that is coding in everything ngl
True
I might look into modding
but ye I will try my best and gather all the skills I can in modding
But at the same time, look at the paradox spaghetti code
lol
Id say start with something smaller
Like a custom nation with a focus tree, or a focus tree for a nation that doesn't have one
Ye I was thinking about modding Mexico, adding it historical states, new focus tree, new events, sum cool things, it kinda has everything I wanna learn in a single nation
Yeah
Thats a good idea for learning focus trees
I kinda just wanna learn about focus trees, making new events, making characters (like the ones you assign for buffs also leaders) and creating new province so ye
Imma use that to practice, thanks for making me realize that tho hahaha
Is there a mod for an easy cheat menu, it's kind of tough with the commands and province IDs and stuff
Tool pack
Pls dont use it for blatant cheating
Im talking like coring excessive land, giving yourself land. That sort of thing
I mostly use it for making nice borders and such
Is it toolpakt?
no its toolpack without the errors
Whats the lore behind the new donersuperfan77 name
Ame in #off-topic is donersuperfan76
I thought itd be funny (Im also a superfan of Doner anyway)
Thats pretty funny and unexpected
what that
expensive?
@pale sparrow how can i activade
Bottom right
Cheating? In my video game?
i found it ty
some guys here (atleats me) play this for fun

I wanna see it when the efficiency is at max
I'm trying to write a very basic system where if a country get's puppeted by a specific tag, or tags in this case, the cities get appropriate names, and I'm having trouble getting it to work for multiple tags
{
effect =
{
if =
{
# German Names for Czech, Hungarian, "Yugoslavian", and Galician Cities
limit =
{
OR =
{
FROM = { tag = AUS }
FROM = { tag = GER }
}
}
if =
{
limit = { ROOT = { tag = CZE } }
9 = { set_state_name = AUS_STATE_9 } #Böhmen
set_province_name = { id = 11542 name = AUS_VICTORY_POINTS_11542 } #Prag
set_province_name = { id = 6418 name = AUS_VICTORY_POINTS_6418 } #Pilsen
set_province_name = { id = 9569 name = AUS_VICTORY_POINTS_9569 } # Taber
}
}
}
}```
when I remove the "OR = {}" scope and one of the "FROM ={}" it works fine, but the moment i try to use the OR scope it breaks. I tried putting two seperate limit blocks in side the OR scope but that didnt work too. Has anyone done something similar before? I cant get it to work the way i want it
how do i add new stuff to custom game rules
(like kaiserreich, they have division limits and player primacy peace deals)
theres no tutorials on youtube, the wiki didnt cover this yet and when i go into code of the mods i see random bullshit that i cant understand what to connect it to
@unreal forge This was a screenshot from an old campaign whilst using dabr0’s Map Pack which has since disappeared from the Workshop.
I don't know any map mods but someone might have something similar. Could just search the workshop as well
I’ve been looking and its how they did the map textures when zoomed so far out thats where I’m gettin’ stuck if ya get me?
I'm really new to modding, and I want to make an addon for Germany, and I might have a lot of questions, (sorry if i annoy you).
How do i change a countries color? Do i need to do something in the "countries" file?
Countries file and change the color_gui or whatever it is
Thanks
Hearts of iron star wars mod (Valachord 2.1.1 ) multiplayer scheduled for this week, new fan discord out now, dm for details.
Hey does someone know any map creator where I can create a model for my mod map?
MapGen V2.2 is probably what you're looking for
dont know if this is the place to ask, but ive been trying to make my first mod, but i keep getting this error around "country" does it matter?
Depends on what your doing in your mod but the crash log would help
Is there anyway to stop the game from generating female admirals ?
Why
Its up to ideology btw
Iran shouldn’t have any female admirals though
Fascist nations wont generate them, democratic and communist will
Sorry nothing you can do about it
Unless you go fasicst
What file define this ?
And idk why your looking for accuracy in hoi4
Working on a mod, it’s generating specific portraits for Iran
I can’t find it 🤦🏻♂️
Well
Rip
If its that important just go through as many files as possible that might contain it
Ok
Hello my dearest members of the hoi4 community, does anybody know anything about Fall Rot in TNO? I cannot join the TNO server for unknown concequences, and when does It start
you are misusing the OR scope with multiple check on the same scope FROM
handle tags by using FROM = { OR { blaw blaw } }
FROM = {
OR = {
tag = AUS
tag = GER
}
}
this is explicitly checking the scope once and then using an OR within that scope to check multiple tags
Didn't they get rid of Gorings path?
I tried playing TNO as the US and saw that Goring did not have a focus tree while the other factions did
Göering is a submod
Didn't use to I thought
I remember playing base TNO and sending volunteers to Switzerland and breaking Germany
That was pure comedy
Yooo
Another W for the OFN
how can your pc run it?
I have 20 fps on 5 speed
I run it for a bit, get bored, and do something else
The mod is feature bloated
what speed
Fr
5 speed
The OFN is goated
debug_smooth
doesn't it slows down when you reach 1st of a month?
yeah
Real
Play ironman tno for weekly autosaves 
Kaiserreich is quite bloated but runs better
Because it did the smart thing and not put an economy system in a war game
kaiserreich runs way better than tno
it is like normal hoi4 performance
No
Kaiserreich is decently slow
TWR runs faster
Vanilla speeds through
I can get to 1939 in an hour in vanilla 5 speed
And then the game slows with war
i have no issue with kaiserreich
Kaiserreich runs fine
It just doesn't speedrun like vanilla
is 4 speed good for tno?
You aren't fighting much either
You only go below 5 speed to micro and such
Just hit pause when you have to
even old world blues is way more optimized than tno
kaiserreich is reliable
vanilla research tree
and templates
EaW is best optimized mod
The go touch grass one is even more.
It just gives you the quit game button
True true
How should I create a vichy France file for a more start dates mod I'm making
What does "Removal cost" even do? It's usually -1, but why?
do ya'll know of any mods like magna europa, but instead of solely being for europe its for the entire game world
Yes man this is the place to ask about modding
What? Like a mod that has as many states as magna europa but the entire world?
I think yes he means that
mega hoi4
Imagine the lag
a small price to pay
You unpause the game, and your cpu just dies
check if you can run TNO or Millennium dawn
i can run millennium dawn
Because if you cant run either of those mods at even 3/4 of the speed
A mega world would just not work
And btw the closest you can get are state mods
There is no magna europa for the entire world
There are a few historical ww2 mods, like darkest hour and Bice. But they only add borders to be more historical to irl, not millions of states
Hi guys im new to modding, just wanna ask is there a way to access remove_ship_from_fleet effect? Or is everything available to modders already on wiki?
is there a mod that at least adds BICE game mechanics (electricity, rations, etc) to base game HOI4?
or a mod that adds althis paths to BICE
It is extremely broken in new versions of hoi4
What ever the launcher says
alr
Load the mod on the launcher and see what version it says the mod is from
this means any 1.14 version?
alr
btw do you know of any good peace deal mods for 1.14?
before i was just using post-war settlement but that is incompatible with 1.14
Just an older version of toolpack and playerled
Post war settlement in my opinion isnt even all that good.....
I've tried everything I can think of, but for the life of me I can understand why the event isn't firing. (I followed the updated tutorial from paradox themselves and it still doesn't work)
someone pls help me, im trying to code a reward once u complete a focus, where the country leader gets a trait, however it says "Invalid effect 'traits'" in the logs and it doesnt work, nor does it show that the characther gets a trait in the focus hover,
and yes the trait in itself works whenever i add it manually into the characthers before hand
Shot in the dark, remove the curly Brackets around the Trait term
so its
trait = father_of_slavic_socialism
instead of
trait = { father_of_slavic_socialism }
I believe for traits you need the brackets
Yes, traits, plural.
Brackets are used wherever multiple Arguments are accepted (in General), whereas this specific effect can (as far as I can tell) only assign one trait.
Therefore the Game sees the Curly Brackets and assumes, this must be something which CAN take multiple Arguments and spits out an error
Interesting that I didnt face that error
I wish I had access to my old custom leader mod so I could show what im talking about
But windows decided to delete my mods folder
Did you test it? Because testing beats Wiki/Experience every day of the Week.
Also, yes there are effects which do take multiple traits, specifically the ones creating a Character. This is just not one of them.
I did
Ill see if I can somehow recover it
I cant quite remember
If im wrong then im wrong
Hello. As you can see, I created an event with a very long description. The issue is that no choices appear and some of the text is cut off. Is there a way to maybe add a scroll bar or solve the issue in a different way?
To the guys who made TFR, I have an issue. There's a game in your crash simulator, pls fix.
Idk if they have a discord server anymore, but you should probably ask there if there is one.
Also you probably want to give details besides just that.
Last time I checked though, their discord server exploded
they do
How do I make my graphics and put them on my mod?
hello guys i wanted to ask dose the Max Training Modifier work or no , it dosent look like it has any effect
can someone reccomend me a good and interesting mod?
Millinium Dawn
Are tough trying to configure that or it is ust a question abt the game? Ppl look more messages for help at #hoi4-general or #ask-for-help-here this is mainly for modding mods, so like barely anyone sees this channel
too heavy for my pc
I really like "The Great War Redux" and a 1700s mod called "Empires (something after it)".
So I am trying to get my custom nation its already defined ruler but struggling. I have done 'recruit character' in the history file and have in the common> characters folder put the custom txt file which includes the definition of the leader. Any ideas why it's not functioning?
i need answers smh
Even craziers thinkin that you didn't achieved to even do the tag, and u cannot tag everyone
I cannot answer ur question tho
alr
the name is the same as the id, gonna cause issues
The id gotta be different?!
Damn I mean I didn't asked that but that answers me questions hahaha, thanks
every_state = {
if = {
limit = { oil > 300 }
add_resource = { type = oil amount = -300 }
}
}
how can I get the specific value of a resource in a state? I want to do something like the code above but using the exact amount
I forgor how to do code block
there it is
How do I make my graphics and put them on my mod?
Graphics for the map
Also how do I make that my friends and I can work on the same Mod? I heard we have to use github but, idk how to use it at all, any help would be appreciated
Get Github desktop, then make it target a folder inside the Documents/Paradox Interactive/Hearts of Iron IV/mod folder
do you guys prefer the Road to 56 focus trees or the basic trees (from dlc)
Thx a lot
Yoyo, quick question, lets say I wanted to have a decision category exclusive to one ideology of a nation, but when a focus for an alternative ideology is taken, I want the category hidden. Would I have to make each decision unavailable/hidden so that the category goes away, or is there a way to hide the entire category some other way?
how do I even use github hahaha, Do I have to make a repository?
Categories have visible blocks too
What do I do w this
Nothing
I js ignore it?
yes
Anyone know the mod name that is like the EMPIRES but a bit later on like late 18 century
crazy name
I am looking for the mod but idk the name 😦
Ok now how do I assing a file to the repository so we can edit it?
Basic
I have a question
i am new to modding the game, and i would like to make a country use a unique unit model. How would i do that?
i have tried changing the country file but it only shows a generic model ingame, and no unique one appears as an option for the units.
How to change the color of a country based on ideologies?
Anyone know why bombers in my mod seem VERY dedicated to just logi bombing lmao
I have a feeling it's something to do with these errors
But I'm not sure how to fix them
Nvm fixed it, outdated defines file
This must be the simpliest thing in the universe, answer me gang 💔
What the actual frick. It's using my Main battle force as a garrison template. GAME, WHY? That costs millions of manpower
Why'd you put this in the modding channel-
Why not
Cause it's not modding related 😭
True true
Oh this is the modding channel
Well, is anyone excited about that new “war never changes “ mod?
Basically trying to show how the world went to pot in pre war fallout up to 2077
is there a mod that makes all formables independent?
Just release them vro
anyone know of a list of mods that are compatible with Rise of Nations
Just release them bro
i already said that i wont
who tf has the time for that
bet
It takes 2 mins gang
bet
.
Console
what do i type
He said to make all Formables independent
Idk if he meant Releasables, but even then most formables would prob overlap so like why 😭
Does anyone know an updated improved nudging tool mod?
Wym?
What mod does tommykay use (if its a mod idk) so you actually have money in the game
Im having issues with mods and the launcher i purged a bunch of mods from the workshop and noe the launcher is freaking ozt and everytime i click the playset it crashes the launcher
I even reinstalled the game and nothing seems to be helping the issue
my mod that i published and recently deleted from the mod folder doesnt appear in "all installed mods" anymore, only if i download it from the workshop(this doesnt help cuz if i download it from the workshop i wont be able to update the mod), what do i do?
maybe millenium dawn?
it has some sort of money system i think
yeah that too but this one is road to 56 rp
what programming language I need to know for moding?
None
how?
The files you mod are data files, all processing of that information is hardcoded
Language of Paradox
they code hoi4 in arabic
Use the Vic 3 to Hoi4 converter
Some cool mods game looks so nice :0
Idk how the vic 3 one works
especially america
I hate vic 3 with a passion so I only know how the vic 2 one works
Also the vic 2/3 converters dont work well if you dont play to the end date