#modding
1 messages ¡ Page 65 of 1
A namespace must be first created before defining any events that use it. This is done with the line add_namespace = my_event which must be outside of any event. If a namespace is not defined, then the event ID will be considered a malformed token, leading it to not working in-game. The event namespace consists of word characters (e.g. letters of the English alphabet or underscores). This includes dots: add_namespace = my_event.subtopic can be used for events of the type of id = my_event.subtopic.1. The numeric ID will be taken to be everything after the last dot converted to an integer, or 0 if the conversion fails.
best not
I still don't understand it, sorry about myself
ok i will trying
add_namespace = ref_ref.2
add_namespace = ref_ref.2
country_event = {
id = ref_ref.2
days = 10
random = 50
random_days = 10
}
}
like that?
Cosmetic TAG?
i have it
.
No
But?
ok but i have question
How does the game know which country this event is for? @proper acorn
but I don't need it anymore
Can't remove recruit line in history/countries/AUS - Austria?
Tag = {
country_event = id
}
In focus, decisions
just remove the line of code
where is tag here?
You don't define this in the events
country_event = { id = ref_ref.2 days = 10 random_days = 50 }
} #max time to fire 10+50=60 days | why to add random = 50? random = 0.5 is 50% to fire event or not but into the event ref_ref.2 trigger```
If you want the event fire always remove random
In this script the time to fire is between 10 and 60 days
The event fire for the country that have CER as TAG (maybe CzEchoslovakia Republic, I don't know)
Please, someone helps me with my question
@plucky crystal what is the name of the mod you showed?
What is the difference between any_country, every_country and all_country?
I come from old CK2 modding đ
Do it with calm, I wait
do you mean the folder?
name
?
These are Scopes
ah
i understand
Executes the contained triggers as if they are contained in an AND with a country context for each country. Returns false on the first country yielding false, true otherwise.
all_country =
any_country Executes the contained triggers as if they are contained in an AND with a country context for each country. Returns true on the first country yielding true, false otherwise.
every_country - Executes children effects on every country that fulfills the "limit" trigger.
You understand?
I'm sorry, but I don't know how to explain it, it seems to me
I remember in CK2 there are only two general scopes:
random_characterfor one single random characterany_characterfor all character
We usedlimitfor narrow the circle of the groups of results for "a random one" (limit) and "any of these" (limit)
I see
Between
any_country = {
is_ai = no
}
}```
and
```trigger = {
all_country = {
is_ai = no
}
}```
what is the difference?
I solved for all_country
all_country is a special scope used only for trigger lines to report true if all country in the game has the conditions into his block
It can be limited by limit but all country narrowed by this must have the conditions into the block of all_country to report true the trigger
For any_country into trigger is enough that one report true
random_country is one but in trigger without limit has the same effect of any_country to report true because is enough that one exists to report true
everythings fine
average modding experience lol
i get errors in vanilla whenever i enable debug i think it's 100% normal
Ive reuploaded the mod multiple times and still the same result. Ive checked and workshop version contains all the same files as the local version
COMBAT_DAMAGE_STATS_MULTILPIER
what this define does? it multiplies with damage dealt on planes, or with the damage dealt on ground troops?
it's under NAir
What is the name of this mod?
If I remember correct, the valute of ground attack of plane or missiles can't be modify but only the percentage of success and his time
I wanted to create missiles that worked with animation of launch and nuclear explosion like ICBMs
Maybe it can also refer to CAS
I don't know
currently having the joy of state modding, the game wont load in when the mod is active but loads fine when no mod is active, and when I got to the error log it provides no information that actually relates to states
it just lists 3 mods that aren't active having the wrong version, then 2 localisation files don't have quotation marks where expected, then 3 errors in the common folder, one about a character and 2 about leader traits, which obv have no baring on state edits
@proper acorn
wants another event to be executed by 2 event
but my event is here but trigger dont work
anybody can help?
maybe I'll try another way to trigger the event with a different response in the event?
open the console and type "event id "
Id is the id of your event, if it works and the event appears, the code is correct
ok i will try
it works but when i click it then it dont work
I want when you click this button, an event will happen in another country
why does austria have 0 strength in its tank divison
armoured stick divison
so real
then?
.\
when i click this button
@proper acorn
A Pleasant Peninsula [1.14.5]
Correct your files and scripts, cancel the cache folders, open the file.mod and change the version number into the text
I was able to resolve the issue thx tho
What was the problem?
@plucky crystal pm
What is the effect that changes the frame to be displayed when the mouse passes over the element?
effectFile = "gfx/FX/buttonstate_nodowneffect.lua"?
how do i make a graphics mod that changes the nation leaders of every nation from scratch?
i got paint.net and know how to make dds files already
ping me once you respond aswell ty
pls help
Hi, is it for vanilla game?
yes
basically just want to change the nation leader photos to custom ones
want it as a mod tho since i dont want to mess my base game up
If you would change only the image and not the leaders you have two easy way
Create the image file into the folder of your mod gfx/leaders/[TAG]/[same title file of vanilla]
This way to overwrite the current image of the leaders
I don't know if you know how to create the mod folder
Alternatively you can insert your .dds file of same dimensions of other leaders images in gfx folder of your mod and write the file path of this in \interface_leader_portraits.gfx instead of what is already there in the right reference line
If you would create new leaders I recommend to watch the videos tutorial on YouTube
ok ty
Hey, can somebody explain to me what the problem is here?
Idk why the description is saying the name of the file and not its contents
TAG = {
country_event = id
}
after noticing several mods on workshop pertaining to paradropping tanks i decided to try to code in paradropping onto light tank divisions but no matter how many times i paste "can_be_parachuted = yes" into the units file (under #misc_abilities) and the equipment files i still cant paradrop god damn tanks.
i also have little clue of what im doing, i know very little programming
:3c:
What's the loc file look like?
Inside
make sure your localization file is: USA_FRYING_PAN_DESC_LOC:0 "Description"
You don't need the zero btw
really? i just always have
Yeah it's for some internal paradox metric i think most people just copy that
yeah i just do it anyway
for some reason my focus tree icons aren't appearing in game and I have no idea why only 1 of them is and there is no difference in the files, sizes, or formats.
interface file:
Have you added shine?
Check the focus_shine interface file
No, I haven't I didn't think it was required, never was with any other of my national focus mods
Wait are those vanilla icons or custom ones?
custom
Yeah you'll need shine
oh ok
Without shine It won't show the icon when it's available to select like your first two foci
It will in most other contexts
i misunderstood
when I upload it to discord it forces as a .txt file and removes my indents
didnt know that
alright it's working now
just one more question, is there a way I can add bonuses like weekly manpower using national focuses without creating ideas
no
sad
but you could just make an idea called "Militarizing The Army" or something
Not even with flag, modifier or array?
flags store variables, modifiers go on ideas[including advisors]/techs, arrays also just store variables
hoi4 modding:
10%: actually making the mod
90%: fixing errors because modifying ethiopia's focus tree breaks czech military organization
delete soviet union focus tree
â ď¸
12k errors
had 2000 errors
tried fixing errors
mfw
Have to be a bit more specific there
Are you looking for the file to edit? How to actually add effects?
Other than that though, does anyone know of a good USA overhaul mod?
Vanilla's not really doing it for me, but I still haven't found one I like on the workshop
Like i get a National idea from a army focus and while. I do more army focuses the Spirit gets more strong
Like
Focus 1= gains National idea "here"
Heer
Focus = modify National idea "heer" -5% Land doctrine cost
My brain: my Life Is potato
I dont understand what you mean
You can make a second idea, called "heer_2" or something, and include in the modifier of that idea all the bonuses from the original "heer" as well as the doctrine cost reduction you want added. Then in the focus effect, do
swap_ideas = {
remove_idea = heer
add_idea = heer_2
}```
But if i do this the focus Need to have a genetic line to follow
a genetic line? wdym
Like, i created an army Path with differeents line in It like arty, inf and tanks
But if i do the way you said
I have to create all differents spirits for it
Because
If i do your way
The spirits cant work on other lines
Like
I tried to use add_to_variable = { ideas_bonus = bonus Number }
But it wont work
check what pdx did for the italian ideas
They did add_to_variavle
I have no idea how it works but the stuff is in the italian history file
But It wont work
Ah yes it's common/dynamic_modifiers
that's the info you need in those files
Damn
Gotta break my ass again :c
Noe
Now
Anybody Who knows how dynamic modifiers work?
For anyone familiar with the debug console command, am I mistaken or is was there a command to clear the in game console history? I remember using it before and i think it was just âclearâ but when i used it today it said itâs an unknown command.
i have question on making autonomy system:
im making system like: Colony - Princely County - Margraviate - Duchy - Grand Duchy - Personal Union - (released)
but my system does not work in game - in exactly saying: puppet can lower the puppet level like Duchy to Margraviate, but it cannot upgrade level like Duchy to Grand Duchy(in game: upgrade autonomy level from Duchy to Duchy)
is there something that i forgot to make?
It is just set default wise that way
Below it should infact be Grand Duchy. It is usually in perspective of the overlord, but just in case, send a screenshot.
Not sure, I barely know many console commands not gonna lie
is there a mod that lets you release some sort of custom puppets / lets you do some sort of customisation to existing one
am I the only one that struggles to find working cold war mods?
no
no, theres cold war iron curtain thats biggest I believe, but even that is mostly filler
which makes sense as not as much happened
I'm playing iron curtain rn and it's....terrible
not as in content
content looks good
just terribly unplayable
why then
events happening multiple times in a row, out of date or out of conditions, playing as France, I can't even do vietnam war bc, the game doesn't allow me to move into some tiles for some reason, so we're just standing there not even fighting
also France's focus tree is locked behind events, one of them is named "elections of 1951, i guess I'll wait for the 51 elections, except is 53 now, so rip this entire focus tree I guess
also can't buy ressources, I have permanent 0 fuel
it's a shame bc the focus looks good, the events historical, the tech tree marvelous
but like...I can't play so
what to do but stare at it
I see
someone should make a mod that lets you choose models from different countries
like make a tank with the tiger model as argentina
or the spitfire model as china
like that
is it even possible?
Not sure
Maybe, but the way im thinking would be incredibly tedious
autonomy_state = {
id = duchy
min_freedom_level = 0.6
manpower_influence = 0.2
rule = {
desc = "RULE_DESC_IS_A_SUBJECT"
can_not_declare_war = yes
can_decline_call_to_war = no
can_be_spymaster = yes
}
modifier = {
autonomy_manpower_share = 0.0
extra_trade_to_overlord_factor = 0.4
overlord_trade_cost_factor = -0.4
peace_score_ratio_transferred_to_overlord = 0.05
lend_lease_tension_with_overlord = -0.1
}
ai_subject_wants_higher = {
factor = 1.0
}
ai_overlord_wants_lower = {
factor = 0.0
}
ai_overlord_wants_garrison = {
always = no
}
allowed_levels_filter = {
personal_union
grand_duchy
duchy
margraviate
princely_county
colony
}
allowed = {
if = {
limit = {
AND = {
OVERLORD = { original_tag = IMA }
OVERLORD = { NOT = { has_government = fascism } }
OVERLORD = { NOT = { has_government = communism } }
}
}
}
}
can_take_level = {
}
can_lose_level = {
}
}
...wait is there rule that ID should not be start with capital letter?
i wanna add storm battalions and companies to my HOI4 MULTI MOD
Chat HoI4 Age of Imperialism is great
Shame, this has been stuck on my mind since, I thought i was going crazy misremembering something that didnât exist.
Did you add the localization
Because how I see it you would have to make copies of the skins and put in decisions only for certain countries, check each individual country has taken that decision, and make the copy skins available based on that.
nope not localization problem
Possibly because the value is 1.0 to 0 which is like the full thing idk i dont usually add new autonomies
But I do with bop
Seems similar ebough to regards on the sides
and i found why this happened: there's a problem that if id starts with capital letter, the system broke
HuhâŚ.
Did you backup an earlier save before that issue
Because Ids HAVE to start with all capital letters
just in autonomy system, fortunately
i think someone should add the caution: you should make id with no capital letter when you make new autonomy system
Good idea
Acrually now that I think about it, its not that bad ive worked with variables before
Besides its simply changibg a variable from 0 to 1
To enable foreign design
anybody can help me with dyn modifiers ?
what
sup
hello
any thoughts on what I can add to this generic focus tree?
gib gfx
xD
those icons are fire man
this is where I got it from
its got pieces and backgrounds
thanks man
What´s the best way to start with modding ?
tutorials by the iron workshop on youtube
yes i love those
and start by making slow but precise progress
or you will end up like me
and not knowing why title of the focus wont fix
Extend the civil and military branches, add potential neighbor wargoals
Yes this saves a lot of time
Tutorials, as he said, and another good way is to go through and just look at how the game files are structured
Hello, i just started learning modding with some guy called "Iron workshop", but i can't seem to get past focus trees. I did everything according to the tutorial, even checked multiple wikis, but i can't seem to find the issue. I'm trying to slightly edit Czechoslovakian focus tree, but for some reason it doesn't work, i don't think that the mod even loaded in, is there any way to check?
Sebd a screenshot of your code
Also make sure the brackets are properly closed
That'd be too long since its the whole thing
And send a screenshot of thr focus tree
Send a ss of focus tree then
Ill be able to tell you if its blank between a few issues
Dynamic modifiers?
Just do it as if youâre making a normal modifier basically
i am getting raped by it
i cant understand the code of it
like
i copied, changed it
Whats giving you issues
thing doesnt work
Make sure brackets are closed always the first thing to check
i putted liek in the hoi4 wiki, but wont appear in focuses
i did
Um sorry for being so dumb, but you want me to screenshot the focus tree code, right?
Both
wdym both?
liek remove and add?
Focus tree result and the code
Focus tree modifiers can be used to trigger events and stuff without givingn effects midways through the focus and stuff
Dynamic modifiers arent necessary I dont think
The modifier happens until the complete effect
so i can add modifiers without remove and add the ideas ?
Ohhhh you just want to make an effect to change ideas?
What are you trting to do
Hold on one moment a little busy
like focus 1 = gains national idea "heer"
focus 2(on the right) = +5% breakthrought
focus 2 (on the centre) +5% inf attack
yeah sure
Can i just send u the file itself? Would have to do a lot of ss since it's the whole game implemented focus tree with slight edits
the focus tree loads in normally, just without the changes i made
Have you actually activated the mod in the launcher?
Yes
Ih thats easy
You can change the modifier at the beginning of the tree to a number larger than 10 it might just need to load on top of the vanilla tree
You can use an if scope to check if one is selected first
i set it to 20 and 100
didn't work either way
Could you upload the file then?
liek ?
Its like this
You have to make your national idea in a different folder
add_ideas = {
idea = IDEAIDHERE
}
dynamic folder ?
or just "ideas" folder
because i have bnoth
both
if = {
limit = { has_idea = x }
swap_ideas = {
remove_idea = x
add_idea = x_1
}
}
else_if = {
limit = { has_idea = x_1 }
swap_ideas = {
remove_idea = x_1
add_idea = x_2
}
}
```etc.
Its ideas folder
In common
Yeah there is also swap ideas
To edit an existing idea
In game it will appear as either replace idea with or modify idea by
i need to put precise ideas for that
It needs to be in common/ideas
No order
Just make sure brackets are closed
i will try
Also i forgot to ask, is it forbidden to remake game made focus trees?
I don't plan on posting it on workshop or anything
do whatever you want to vanilla stuff
and you can still upload
Focus = {
All your other code here
complete_effect = {
add_ideas = {
idea = Ideaidhere
}
}
}
No
Its fine
Okay, thanks
I'm currently checking for the brackets, but i'm not seeing anything
I cant see your file on discord because I dont use discord on pc
I think They're trying to have two focuses side by side, not mutually exclusive and you can select either at the same time that add modifiers to the same idea
Oh
brackets are fine the game just isn't detecting the mod
Yeah now you gotta create scopes thatll check if you got the certain idea
huh, so any ideas?
Thats why I prefer decisions when it comes to that
yeah there's no real clean way to do that
Welp that also didn't work
what folder is the focus tree file in?
Documents\Paradox Interactive\Hearts of Iron IV\mod\czechoslovakia\common\national_focus
What in the file did you modify? so i can check if its working for me
just a sec, i'll get it all
just something
completion_reward = {
add_political_power = 200
add_ideas = CZE_democratic_bastion
add_trait = {
character = CZE_edvard_benesh
ideology = conservatism
trait = little_churchill
}
the add_trait part
forgot one bracket, but its in the code
something is broken tho
hmm, maybe i corrupted my gamefiles somehow?
That's weird
question
is there something like a live server?
so i don't have to turn off and on the game every time i update something in the mod
(in case i managed to make it work somehow)
debug mode
right click the game in the list of the steam library, click properties, under launch options type -debug
wdym
You added the add_trait only, right?
nah i put in your whole focus tree file
Yes i checked multiple times
Other mods work just fine
Is there anything else i should have in the common folder?
or in the mod folder itself
I'm actually going insane, i tried everything and nothing worked
imagine me with dynamic modifiers ;3
i don't know what that is YET so i think im good :3
lucky you ;3
I can't get past loading the mod, so maybe i'll never know >:3
What mod are you creating?
I want to revamp central europe + balkans a bit
So that slovakia is playable, czechoslovakia as a whole would get expansion of their focus tree and probably better experience for releasables in yugoslavia
and also rework hungary, cuz commie branch is boring
wbu?
Bigger focus tree for everyone
For now Just germany
192 focuses đ
Will you also make a generic one?
nah đ
Dunno
For now i Will Just think to finish it
Its been 2 weeks
And i still have a lot tondo
To do
Pheew thats a dedication
Hopefully i can get to making stuff on your level once i get through my biggest issue :D
I am new too xd
Just
Putted more time
Now i am making wallpapers
Than i Will go to sleep
Its 2 a.m. now đ and i have school tomorrow
I deleted the German focus tree:
Noice
haha, good luck man :D
Hello i still can't get past my problem. As i already mentioned, i tried making my "own" mod, but it's not even loading into the game. I checked if i had the correct path and everything. Other mods work just fine. I also sent the code to someone on this server and the mod worked for them, so it's most likely me-sided issue. Any ideas as of what could be wrong?
Ai strategy
Restart pc for steam to update first just in case
I'm fixing it now
ok
will do
I just deleted everything that starts with has_completed_focus = GER
Didn't fix the issue
how do I fix it?
You got it so lowđ
Is there a way to make variable which will count players in each faction? Tried different things, but doesn't work that way
gotta love the 9k errors in base game
Best HOI4 mods ranking?
On my opinion:
- Player-Led Peace Conferences
- Europe in Flames
- Military Topographic Map / Supreme Graphics Collection
- MI2 / MI3
Clear doesn't clean the history of fired commands saved in a dedicated file but the that in the console commands window in game
Have you solve?
Oh yeah i know that theyâre stored in console_history file, i was more confused about clear being registered as an unknown command on my end
What is the name of this mod?
does anyone know why factories from focuses spawn the factories but still I cannot use them in my mod
Nope
Still havent
I Will try again when i go back home
was passiert
falls ich land tag switche
kommen die factories
oder econonomy law änder
aber normal nicht
i dont think so
because when the factories spawn there in the state
but the factory count on top doesnt change
thast fine
thank you tho
can anyone help pls.
In my mod I have focuses that spawn factories, in the state the factories do spawn after the focus is done, however the factory count on top doesn't go up/change and the factory isn't useable even though it exists in the state where it should spawn, if I change economy law or tag switch to a country and tag switch back, the factories work normally, I think its because how factories refresh, does anyone have an idea on how to fix this please?
actually duchy is just example
Read the wiki
And search video tutorial on YouTube
unpause
lol
Anyone pls đ
im not joking
Im gonna quit modding Inna sec
I did unpause
And wait
Nothing happened
Im not that dumb
What?
Write what you want and we make it together
Read this
Explained better
What is the name?
btw, only civs / mils or both?
but idk what i have to do
Did you make a new country?
yeah
Probably make a copy of one of the regular oob files from history/units and change the tags to your own
and delete the actual units, keep the templates and stuff
no problem
isnt working
idk whast wrong w the file but nothing in it works
bit of a wierd question, but how do I make good looking idea pictures/ leader pictures
Leader is hard ive been trying for a while but for ideas u can use stuff from vanilla or other mods and change them a bit
In paint.net
Yes I used to do that too but it looks bad
yes
Even for irrelevant countries
LOL
ye me too
Greece reworked also has some fire stuff
We needa make a red dead redemption 2 mod
Best game
I will buy ps :/
but my parents said they will kick me out of the house if I buy one
LOL
Js Save up
they said it will ruin my life
Nah tell them ur doing the same thing on a bad pc and it didnât ruin ur life
its my mom
she like hates games
my dad doesnt care
if I do anything wrong she says its bc of games :/
Move out đĽđĽ
Looks đĽ
I am developing a mod with my friends and there is a need to straight up remove a few large features. How could i remove a large feature like for example the whole of trading?
any 1v1 mod recommendations?
This would make for a good HOI4 focus icon
how do you change the loading screen background? i have images, but i want to set one of them exactly to be the background once the game loads
why not? its free real estate
arturd morgan?
xxtentincles facist monarchy for coloumbia
đą
There should be a mod which gives Germany a debuff called "one ball" and gives -0.001% population growth debuff.
gawd damn, its been only a week
I wonder if there's a mod that allows you to make claims on land, or even one that allows joint controll of a state
That'd be pretty dang cool tbh
Hey, is someone here that know how to use variables in national ideas like :
add_dynamic_modifier = { modifier = SOV_the_politburo_good_dynamic_modifier }
custom_effect_tooltip = SOV_the_centre_ns_tt
I am Trying to learn too >;3
i only found were the variables are
A new MOD, currently only do the UI, the plot has not yet figured out, I hope there are coder and writers can join
You Need Dynamic modifier folder, like in the hearts of iron 4
Thats a bit i know
Write in that file the modifier
And shit
Look on other dynamic modifiers like the One from soviets or italy
But still
Mines doesnt work
someone else know something?
Does anyone know what this
Is
Its been a problem in my mod and idk what I need to do
what is this about?
there is other way
like this
completion_reward = {
add_ideas = MPL_unions
if = {
limit = {
has_idea = MPL_two_people_union_1
}
swap_ideas = {
add_idea = MPL_two_people_union_2
remove_idea = MPL_two_people_union_1
}
}
else_if = {
limit = {
has_idea = MPL_two_people_union_2
}
swap_ideas = {
add_idea = MPL_two_people_union_3
remove_idea = MPL_two_people_union_2
}
}
else_if = {
limit = {
has_idea = MPL_two_people_union_3
}
swap_ideas = {
add_idea = MPL_two_people_union_4
remove_idea = MPL_two_people_union_3
}
}
else = {
effect_tooltip = {
swap_ideas = {
add_idea = MPL_two_people_union_2
remove_idea = MPL_two_people_union_1
}
}
}
checking if you have one of the ideas
I was making a mod for a custom national focus for Sweden but it didn't work in the mods folder. I put it into the vanilla file and it worked perfectly. its put into all the right folders and has been turned on in the launcher any idea what's going wrong?
wdym?
for example when you make idea for focus tree and make mistake or forget to add something in this idea
something like that
or you can send me piece of focus so i can check it
@torpid reef and you founded something?
My factories donât spawn from for example focuses
yeah but thats normal modifier, i want to make it easier with dynamic one's
if focuses dont spawn maybe you put a barrrck to much
show the code
I canât rn
dayum >:c
But pretty sure the code is right
hava
nagila hava
nagila hava something in jewish
ddint saw the varialble video on YT đ spent days to beg someoen for lessons and its the only video on yt
ironworkshop the best?
did you copied and paste ?
you want factories from focuses?
Yes
random_core_state = {
add_extra_state_shared_building_slots = 2
add_building_construction = {
type = industrial_complex
level = 1
instant_build = yes
}
add_building_construction = {
type = industrial_complex
level = 1
instant_build = yes
}
}
here you go my friend
and for military
random_core_state = {
add_extra_state_shared_building_slots = 1
add_building_construction = {
type = arms_factory
level = 1
instant_build = yes
}
}
"random_core_state" you can change to id of state
Reposting my still on-going problem
Hello i still can't get past my problem. As i already mentioned, i tried making my "own" mod, but it's not even loading into the game. I checked if i had the correct path and everything. Other mods work just fine. I also sent the code to someone on this server and the mod worked for them, so it's most likely me-sided issue. Any ideas as of what could be wrong?
Are u starting it from the steam version?
Or the mods path
@merry trout did you see code for factories that i sended you?
steam version i suppose
Then thatâs why
i don't think there is a way to start it from the mod one
Wait lemme see
\Documents\Paradox Interactive\Hearts of Iron IV\mod\
and then the folder of the mod (inside mod folder)
what do you see when you open hoi4 with mod?
ye i said that
default game shows up
no changes i made
while its on
the mod is not registered by the game
but other mods work just fine
you created mod in launcher?
Yes
I did everything shown in Iron workshop's tutorial
what about dlc?
ok
@limber badger
this is what i meant
one is from steam
and other from the mods path
I am a little confused, but i have it in the launcher if thats what you meant
u can start ur mod
dou have 2
like me
or one
One
ohh
then i dont know
but dissabling the one from the steam path worked for me
i had the same issue
maybe you don't see changes because you do something wrong in code (national focus etc.)
No the code was checked
no he said it works for others
As i said, one person tried the code
so there is one solution
aw man, i have been trying to fix it for three days now :D
is ur mod up on steam
make new one and copy code
tried that
elaborate?
wtf
yes
oh alr
that paradox created automatically
No worries, thanks for the help anyways
what is this server?
i dmed u it
I am not, i'll join it if i don't fix it today
hoi 4 modding server
can u send me on priv?
sure
hey I was making my mod but I accidentally got rid of the remote file id, is there any way to get it back cuz now the game says its missing a descriptor file
In ur description file
In mod folder
It should be ur mods name
The directory to ur mod folder isnât right
Whatâs the remote file id
Never heard of that
There should be a notepad file in ur mod folder
Named after ur mod
this is what I have in my mod folder
is it this?
Any kind soul that could help me swap country leader traits?
current code:
completion_reward = {
swap_ideas = { remove_idea = CZE_democratic_bastion add_idea = CZE_beacon_of_liberty }
if{ limit = { country_leader = CZE_edvard_benesh}
swap_country_leader_traits = {
remove = indecisive
add = SWI_conservative_democrat
ideology = conservatism
}
}
}
remote file id is the steam workshop ID for your mod. inside the folder with the directory documents/paradox interactive/hearts of iron IV/mod there will be a file named yourmodname.mod or whatever you named your mod (likely the mod's folder name)
if that file doesn't exist you should copy-paste an existing one from the same area and modify it for the information of your mod
ok
are there any guides or tutorials you guys would reccomend for learning how to mod
@timber zenith
Sorry for pinging you like this, but would you happen to know where i can assign leaders to political parties?
I can't use wiki atm for some reason
Is there a mod that lets you change your flag without making a formable
The shine name has a double underscore
Same problem...
it should be dds form, right?
Yep
Ok, wait a minute
Have you checked the error log?
Hm yes
What I can do?
@lofty plaza ?
I have this two problems in my mod, the first one is the name of Nestor Makhno, which is "MAK_nestor_makhno_army", and I want to be just "Nestor Maknho". The other problem is the name of nation doesn't appears in diplomatic actions. Could anyone help me? Sorry for my bad english.
I followed the Iron workshop guide on how to make new states, so I started with a state for the american side of the mexican border. Currently it just doesnt show up
for some reason, it spews both "Partido Liberal" and PCCh as the ruling party, even though I have never put the Partido Liberal group into the code.
fixed
guy can anybody help me
my mod is on but when i start the game
vanila version starts
if you installed it from the paradox mods and or other platforms, go into "Show in Folder" and unzip the .zip file if there is one.
leave it as a folder plainly.
not a zip file.
now its showing this
Hey, I'm looking for 5 people who want to create a mod with me. If you feel like it, contact me đ
how can i check it?
i can already see you have the wrong version installed for your launcher
should look like this
if you hover over the
warning sign
yeah it has the same sign
the version should be in the "Home" tab
on the right side of your screen
okay so hold on
is this YOUR mod.
or is this a mod you installed
yup i can see it
try to find a version that is basically up to date with the version of your HOI4 instance, if you can't find one try scrolling through
Steam - Hearts of Iron IV - Properties - Betas and you should be able to enroll into the older versions, if you can't then get yourself a private beta key.
which should give you a list of more versions you can update your launcher too.
In this brief tutorial, we'll show you the fastest and simplest method to change your Hearts of Iron IV (HOI4) game version in less than a minute! Whether you're looking to switch between different game versions for mods, compatibility, or other reasons, we've got you covered. Say goodbye to the hassle of manually modifying game files, as we gui...
I litteraly joined the serv for a simple issue... THIS
Im creatung my first mod as a test, and I have a national focus that remplace the italian leader by an assembly. Everything is working, except the image. I've searched but didn't find anything, does anyone know what's happening?
Pixels?
I don't know much, but you should check the brackets, sometimes they're not closing the right line and it messes up everything
No, I checked many times, even tried with an untouched portrait and it's still the same bug
Have you modified the corners of the potrait?
Nope
Rip, u tried atleast so still thanks .-.
Is the imagine png?
No, .dds
It's shown correctly everywhere BUT ingame
Yea
Maybe take another portrait and see if there the same size
Because I had something fimiliar
That's what I said, I checked with an original portrait and the same thing happens
And that did it for me
Oh
Idk them sorry
Np, but still thanks
I'll see
hey, anyone know how can i gei character as leader by focus?
scope character, promote_leader = yes
i have but still is previous leader
how can i define them?
Hey, I'm looking for 5 people who want to create a mod with me. If you feel like it, contact me đ all are welcome
what is your mod about?
Idk i want to create a mod wehn you have an idea then we do it 
i could help but i have a problem with coutry leader
no problem
I can do some things if u want, like GFX and synthaxes ofc
What Is the mod based on?
Bro if you send the image you wanna use I can make it for u
does anyone know a mod similar to GDW's army insignias but for Field Armies
And maybe more army insignias
i love having larpy options
Hello i'd like to ask if anyone could help me with a problem. I've recently tried giving focuses in my mod a name. for some it works for some not really
in those pictures the slovakian one works but the ''nert'' one doesn't would anyone know the cause?
does someone know how to add image to description?
Remove the -
Stumped on trying to change the cosmetic tag from British Malaya to British East Indies, but aside from that Iâm cooking something
does somebody know a good mod for time period between ww1 and ww2?
I have a modding question? Is it ok to ask it here?
Yes
Ok then, I am using this mod for vanilla with Kaiserredux which adds advisors via a decision but it doesnât always show the advisors when I do the decision.
Maybe you should add the advisors folders
And recruit them
And make them avaiable via decision
I might be able to fix it because if I click the decision before starting the clock it works.
Hey! Would anyone here happen to be good at making models/reskins?
You might just be able to do set_cosmetic_tag = INS
the regular indonesia has a specific line of localisation that makes subjects change their name to fit the overlord
INS_subject: "$OVERLORDADJ$ East Indies"
basically whenever INS is a subject it will use that loc
So you could just slap that into one of your loc files and change the INS to MAL instead
maybe i can help with that
great war redux has a 1919 start date
What is the most common reason for the nudge tool to crash?
I am trying to update my map mod to the newest version of the game
but my game crashes whenever I click on the state option of the nudge tool
actually
that's just the great war mod
great war redux only has 1910 and 1914
Nope still nothin
Hell yeah
I downloaded a mod and extarct it now it is like this but the tutorial im watching showes something elese what should i do?
Hm?
what about the image?
Changed âBataviaâ to âPretaniaâ
when occupied by british malaya?
Still undecided, itâs either early during Colonisation era or when the Dutch gets invaded by Napoleon
Would anyone know what could cause some focus names not to work at all even tho they are written in the localisation file for it to work and the other focuses have names with the same naming format as the ones that don't work?
i keep getting that some focuses have names and some dont at all and it doesn't work when i try to assign them names.
idk why but pictures in events kinda broke after some editing do somone know why?
i made this event to work with my new country
here too
maybe the res is wrong but idk
ive been having problems too, my leader portrait doesnt show up and it just says "no commander", could anyone just list potential reasons for this happening? i'll see where it goes wrong
hmm
This Hearts of Iron IV modding lesson you will learn how to create the two main types of events in Hearts of Iron 4... Country events and News events, along with their graphics and localization.
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...
this guy helped me much
whats verbose? im polish
using needlessly large amounts of words
mh i guess i'll try again from the start
maybe check for these {}
Guys
How do i link the dynamic modifiers and the custom effects so i can activate the bariable?
Variable
is there console command to reload state files
No, reload the game
what is the code to make an event trigger another event in another country?
pls help me
Sad
Scope it to that country
like that?
CER = {
country_event = {
id = res_res.1
days = 10
}
}
but it dont work
@lofty plaza
Yep
Have you already checked by changing country to see if it worked?
but with another country? Is it about changing it and seeing if the event occurred?
@proper acorn
the trigger is not working or the event is not arriving in Russia?