#modding
1 messages · Page 64 of 1
If its occupied countries like colonies in africa sure. They dont need a focus tree but would depending on what your mod is. Do some story telling
Thanks~
Umm...
It says "Undefined GUI_TYPE: text_window - This will most likely crash the game
"
What should I do?
This should be the cause of "Window text_window not found"
Why are all the provinces in Central America in South America in HOI4?
whats a good way to convert a great war redux save to a kaiserreich one?
Can't they are different mods
Anyone know any mods that add some better sprites to the game?
can someone please pick this up and update it 🙂 https://steamcommunity.com/sharedfiles/filedetails/?id=2813893028
i made Russia lose cores on central asia through a focus. But no resistance meter has appeared, how can this be fixed?
No compliance meter either btw.
is it a colony state
colony states have no resistance
hey, i need help loading mods without the paradox launcher.
so i'm playing on linux and the paradox launcher doesn't work on linux. so how do i play with mods without the paradox launcher? (btw i want to play with the kaiserreich mod)
What do you mean?
Oh WHAT, a colony state and an occupied state are different things... i NEVER knew
how do i make it a colony state?
yes
I, dont know, i think some just are colony states
like greenland
and the algerian desert
greenland is core
i mean when usa occupies it
yeah
i think its so like if you play the uk or france you dont have to garrison a bajillion states
the wiki states If a state does not have resistance at the start of the game, then it will remain disabled unless the state changes hands or another mechanic enables it
how would one do that?
i have no clue how modding works,
do you mean like you wanna make it a colony state?
yeah
ive never modded before sorry
ah alright, thanks still, you knew more than me about that 😅
might aswell ask here
today randomly my own mod says its not present on disk. i have not done anything at all, and it worked earlier today when i was playing. so i went to see the files and its missing the .mod file from the folder its like gone, no where to be seen. anyone know whats up with that?
why isn't it showing up?
I've fixed it
How do I add a custom parameter to leaders and advisors? Like "race=vampire"
Any additional mods that enhance md experience?
Guys
Who want to help me with a project I have for a mod? (I already have a group of people but I need more)
sad :/
Maybe if you use force_enable_resistance and start_resistance at the same time in the state scope, resistance can start
the solution was something like that, but thanks still!
It looks so weird seeing Canada in its normal shape
yoo looks cool
idk if that's a hoi4 mod or what but i don't think hoi4 mods should have the og map sizes since Greenland (the massive thing near canada) is actually smaller than India
and i don't think the speed of units considers the stretched out maps
The Mercator map distorts size for coast line accuracy
Win some, lose some
If you want a truly accurate projection, you need a globe
rise of nations does that and i actually kind of hate that
No specific but rise of nations
The mod is laggy af
It takes you like 5 minutes to load a scenario
But I think that's the only one
And MAYBE end of a new beginning
Ain’t no one playing 70 years for that
whats the point though
Player just outgrows AI completely
Idk if it fits here, but someone at Paradox put Marcism in the English countries_cosmetic language file
This feels offputting

Why does it happen?
I was creating a sub ideology but there is a big gap between that and the code is correct
Making a map~
why cold war mod is so hard
i want to learn it but i think i should learn something useful insted of wasting time in a game
what in the world
why dosent this focus icon work?
Did you define it in the interface folder?
If so, did you not make "gfx_" part of the definition?
Did you define the "_shine" correctly?
Then try reloading ur game after all that
what
i put it in the goals folder
the goals folder is in interface
There is another called "interface", in there should be something called "goals.something", in there you have to define the GFX_ for the focus logo
Then there is another file called "goals_shine.something" i believe where you have to define almost rbe exact same thing but with "_shine" at the end
damn, i dont have that
maybe i should just use ones from the basegame
Nono you can make it work
Look in the folders outside common, look for one called "interface" and in there should be goals.something
i have gaols and goals shine in there
Make sure you define them properly thej
Usually you want to make the icon name GFX_ in accordance with every other focus logo
Give the wikipage a read, the top section, then scroll down a little to "icon" and it is explained
but the base game focus icons are starting with focus_
I guess some do, its not important but i like to do it for consistency and clarity, maybe you got another line of code with the exact same name and it is causing conflicts
Thats why its safer to put GFX in the name
Id help more but im at thw gym rn
k
in that folder, they are .GFX files
then there have to be 2 files named something_goals and something_goals_shine respectively
I have That
alright can you show me the code? both of the areas where you defined the icon
btw do realize that by calling it goals.gfx instead of YOUR_MOD_NAME_goals.gfx, you are overwriting the existing goals.gfx and if any update to the actual game should change stuff in there, you will have to manually update it in the file too
oh i see another thing, you have icon = blablabla.dds in the focus code. remove the .dds and then check @ashen mural
Someone can help me ?
Someone can help? I did 2 focuses and i was expanding It to 3 but the focus wont appear
Sorry i didnt see your messages, i will Try later
Is there a mod that adds more port city provinces like danzig and qingdao?
why is there a big korea next to normal korea?
yo guys, whats the best mod for expanding generic focus trees? dont have all the dlcs yet cause college budget
road to 56 is good
ty
np man
I don't know how I feel about the Great Siberian Lake.
I NEED to know the lore.
Why my darkest hour map black
the mod is outdated
Maybe read their page for current version
Hey everyone. I was wondering if there was a way to grab values like (for example) the modified population growth factor of a country. I know I can display it in localisation through $VALUE$ but that's kinda limiting.
Fun fact, this is the Steven universe map
is the napoleonic war mod good?
I have a problem with some vanilla idea icons not showing up, I even tried to move them on the mod files and renamed them
was directed here from #ask-for-help-here
but does anyone what console command can be used to load different focus trees?
is there a good mod for the polish german war?
Remove the GFX from the idea file, you only need that in the interface file. It should just be picture = idea_phase_three in the idea file, in the interface folder it has to be written as name = "GFX_idea_idea_phase_three" to track idea_phase_three
thank you bro
you need to backtrack to the version that the mod was updated for
were you trying to modify the state sizes or what?
i think you can just copy and paste the state files from the base game, and start again?
or maybe you didn't add the manpower thing to the states you created?
you also need to set the category
do your state files include these?
It truly is, the darkest hour
Also thats caused by old FX files
Im 99% sure
Can someone help me with mods for focus tree?
Good afternoon. I have two mods made by me. One is uploaded perfectly and I can play with a couple of friends. But I recently made another one and this one is giving us problems with the version of the game. My friends do have their version changed, but not me, and it's strange because the changes are shown. Any ideas?
not really, i wanted to add more provinces, so i can make a ukraine mod
not all
i do not have experience with modding provinces, only states
i will show a screenshot, i think its states
i've set ukraine as the owner in some regions, but the land is not in anyone's posession
oh
some are ukrainian
ok so, if i understand correctly, i need to copy the script, and paste and modify it in NP++?
Does anybody know a good tut on custom focus images?
not really a tutorial but here's a goof resource with a bunch of graphics you might find useful:
https://github.com/Globvs/Ultimate-HOI4-GFX/tree/master/Focus Backgrounds
it's old so it doesn't have the new graphics but it does help a lot
Is The Sun Shining on the World a good mod?
Guys, who want to help me making a mod that I'm planning to do?
what nations do you like?
have you done kaiserreich?
is it possible to coup the US in millennium dawn?
i've tried and reloaded like 15 times now with a 38% chance to fail and it's failed every time
Are there mods that add more city port provinces like danzig and qingdao?
who ping me??
What do you need?
anything, a focus tree dev, gfx, anything
use an AI
no
I Should add news events for the births of the USA presidents born 1789-1836
12 different presidents
quick question, how do you save out the reflection.dds file so it appears as a single image?
Figured it out! You gotta save it as a Cube map! Doh!
im sorry about that, saw your pfp lol
but unfortauntely i wouldnt be able to answer your question - im not familiar with the mod myself
hi
i am trying to get millenium dawn
but it keeps doing this and crashing
what can i do?
these are my DLCs
no idea
Where do I start with creating a mod?
shouldnt swizterland start with forts?
Poor Mackensen doesnt even last in the game :/
How do i make custom maps
how do you change the country you are playing with a focus again?
how do i make so a focus removes 1 manpower ?
add_manpower = -1
icon = GFX_goal_kinglouisxvii
spriteType = {
name = "GFX_goal_kinglouisxvii"
texturefile = "gfx/interface/goals/goal_kinglouisxvii.dds"
}
why wont it show up?
you need edit also this
You need to change this folder to your values (goals_shine.gfx)
You need to change the contents in two folders
which
changed the interface
this
???
in interface
give me the name of your image file
goal_kinglouisxvii
spriteType = {
name = "goal_kinglouisxvii_shine"
texturefile = "gfx/interface/YOUR/YOUR_PATH/goal_kinglouisxvii.dds"
effectfile = "gfx/FX/buttonstate.lua"
animation = {
animationmaskfile = "gfx/interface/YOUR_PATH/YOUR_PATH/goal_kinglouisxvii.dds"
animationtexturefile = "gfx/interface/goals/shine_overlay.dds"
animationrotation = -90.0
animationlooping = no
animationtime = 0.75
animationdelay = 0
animationblendmode = "add"
animationtype = "scrolling"
animationrotationoffset = { x = 0.0 y = 0.0 }
animationtexturescale = { x = 1.0 y = 1.0 }
}
animation = {
animationmaskfile = "gfx/interface/YOAR_PATH/YOUR_PATH/goal_kinglouisxvii.dds"
animationtexturefile = "gfx/interface/goals/shine_overlay.tga"
animationrotation = 90.0
animationlooping = no
animationtime = 0.75
animationdelay = 0
animationblendmode = "add"
animationtype = "scrolling"
animationrotationoffset = { x = 0.0 y = 0.0 }
animationtexturescale = { x = 1.0 y = 1.0 }
}
legacy_lazy_load = no
}
do you have to do this for transparent images?
You need to do this for the icon to be displayed in the game.
you need to find a folder called "goals_shine.gfx"
SteamLibrary\steamapps\common\Hearts of Iron IV\interface
found it
Try this video also https://youtu.be/t7WGbkUnZFE?si=aqEp0cw7AQn5hJdc
This is a step by step guide on how to make a focus tree icon. Its more complex then most other hoi4 modding tutorials but i simplified it for you guys to have a easier time with it!
things used in the video:
Download these files and put them into interface: https://www.mediafire.com/file/e3l96dlrlatdx3s/goals.gfx/file
https://www.mediafire.co...
Thanks
it appears now
ah that was easy
going to need to research when things happen so i put them in the right place in the focus tree
french republic 32nd focus
Bom dia amigos
Tell me what's the problem? For some reason this event doesn't work
it'd be better to use notepad++ for more clarity
Does anybody have a link to the hoi4 modding den discord?
I think someone’s msg got automodded when they gave the link to me
how to make an event happen on an exact day?
there are probably events like that already in the game you can use as an example
for example the world olympics
or hindenburg
or amelia earhart
trigger = {
date > 1790.3.29
}
mean_time_to_happen = {
days = 1
}
this?
i put it into the new events
or i need to make a seperate event
i don't really have that much experience with events but from what i know it's best if you make your own file with events for the mod
can anyone tell me how to set up endsieg?
slowly going down the focus tree, EOANB changed alot since i last played
set_capital = {
state = 16
remember_old_capital = no
}
Ah so this is the correct way
hello chat
I'm getting a bazillion error logs trying to test my mod
Somethings wrong with the state apparently
Instantconstruction on + annex all
is there a way to change the amount of hours in a day
so for example a day wouldn't have 24 hours, but 8 instead
awesome
i approve
What file do i copy and edit for news events?
the image is all messed up
spriteType = {
name = "GFX_news_event_usa_president_1"
texturefile = "gfx/event_pictures/news_event_usa_president_1.dds"
}
is the interface correct?????
the image wont show up
even tho its basegame
the gfx file is called news_event_usa_president_1
no , by focus
focus dosnt give that idea
idk why
Hello everyone we are looking for an icon maker preferably one who will spend a lot of time because at the moment we need about three hundred icons
huh?
in the focus effect
completion reward?
yes
the idea ID is SAU_Finding_Investors_for_Infrastructure
in the reward you typed for as fot
add_namespace = unitedstates_event
Act 1935
country_event = {
id = unitedstates_event.1
title = ""
desc = unitedstates_event.1.d
picture = GFX_idi_amin_india
is_triggered_only = yes
trigger = {
date > 1790.3.29
}
mean_time_to_happen = {
days = 1
}
fire_only_once = yes
option = { #
name = "Accept American demands"
ai_chance = { factor = 100 }
news_event = unitedstates_news.1
}
}
why didnt my event fire? 29th march 1790
add_namespace = unitedstates_news
news_event = {
id = unitedstates_news.1
title = "Birth of John Tyler"
desc = unitedstates_news.1.d
picture = GFX_news_event_usa_president_1
major = yes
fire_for_sender = no
is_triggered_only = yes
option = {
name = "We need to Find Whuka."
}
option = {
name = "Hes the 10th President of the United States imo."
}
}
this is the news event
if its meant to trigger only due to a set date its better to place the trigger in the history file. So the event would use "is_triggered_only = yes" while the history file would have "country_event = { id = unitedstates_event.1 days = (however many days after the start of the game this is) }"
mean_time_to_happen is really shit at triggering stuff
How do i do this?
USA = {
country_event = { id = usa.50 days = 1 }
}
how do i specify exact date?
number of days after game start, as I said
have multiple scenarios
Sup, i have question, i'm new to modding and i try test the mod and it gives an error "The system cannot find the path specified" and i reinstalled the whole game, changed language of windows.
multiple scenarios require separate sections of the history file anyway
or even entirely separate files
see the germany vanilla file for an example
it has a separate section for the 1939 start
yeah i know how to do that
this is normally a descriptor error. So the path in the .mod file might be wrong
so theres no easy way to just make so an event gets triggered on a specific date?
okay, thanks for response.
there is, I've just told you there is
just not using mean_time_to_happen
or changing the trigger location
what do i put there instead
no, I told you already "is_triggered_only = yes"
its either trigger = { }
or is_triggered_only = yes
if its the latter the trigger is somewhere else
so in one scenario you script it to fire at that date. In the other you don't
country_event = {
id = unitedstates_event.1
title = ""
desc = unitedstates_event.1.d
picture = GFX_idi_amin_india
is_triggered_only = yes
trigger = {
date > 1790.3.29
if = {
limit = { has_start_date < 1800.1.1 }
}
}
fire_only_once = yes
option = { #
name = "Accept American demands"
ai_chance = { factor = 100 }
news_event = unitedstates_news.1
}
}
this valid?
should be
I guess i missunderstood. So i need in launcher change the path to the .mod file ?
or in descriptor change somethening ?
no, in the .mod file, change the path as it might not be written correctly and the launcher then looks in the wrong place
Does it have a problem with diacritics like Š,Č and other.
I'm afraid I don't know. I would be surprised if it did
kinda but I fixed It
ok
[21:25:21][1789.01.01.12][persistent.cpp:45]: Error: "Error reading division template (Neapolitan Division) for country ---.
The division_names_group refers to the unknown tag: NAP, near line: 4" in file: "history/units/NAP_1789_1815.txt" near line: 4
this error really confuses me
do i change the name of the "neapolitan division" to "infantry"?
is it possible to disable the liberate option in peace conference?
avoid using non ASCII characters in code
what should I do if a mod is made for 1.13.4 but i don't have that version in betas?
someone suggest me a fun mod please
im trying to make a event fire day 1
`add_namespace = yap
news_event = {
id = yap.1
title = yap.1.t
desc = yap.1.desc
picture = GFX_yap_welcome
trigger = {
date = 1936.1.1
}
fire_only_once = yes
option = {
name = yap.1.a
}
}`
event works fine, but i can't figure out how to make it fire
Bom dia cara
Hello, I have a focus that is supposed do this:
but after completening the focus, only I get the national spirit, which I shouldn't and it does not even include Czechoslovakia in the and 29 others
here is code:
completion_reward = {
add_ideas = CZE_example_for_democracies
every_country = {
limit = {
OR = {
is_in_faction_with = CZE
is_in_faction_with = ENG
has_government = democratic
}
NOT = { tag = CZE}
}
PREV = {
add_ideas = { CZE_follow_the_Czechs }
}
}
}
Why are you using PREV?
because I am new to this and I used Portugese focus tree as an example where it was in, is there something wrong with it?
Hmm. Interesting that it's in base-game, despite seeming like it's unnecessary
That throws a wrench in what I thought the issue is
I mean try it without PREV anyways
so like this?
completion_reward = {
add_ideas = CZE_example_for_democracies
every_country = {
limit = {
OR = {
is_in_faction_with = CZE
is_in_faction_with = ENG
has_government = democratic
}
NOT = { tag = CZE}
}
add_ideas = { CZE_follow_the_Czechs }
}
}
Yeah
oh yeah, thank you it works
Date takes only < and >
Remove trigger and it will spawn first day
Use 1.13.any
[12:09:23][1789.01.01.12][persistent.cpp:45]: Error: "Error reading division template (Neapolitan Division) for country ---.
The division_names_group refers to the unknown tag: NAP_Inf_01, near line: 4" in file: "history/units/NAP_1789_1815.txt" near line: 4
how do i remove this error?
i have added a new westphalia tag and naples tag and i gave them divisions
how to fix this error?
Whats the problem?
what do i exactly change
i added divisions to countries like bavaria saxony france and then there were zero problems
do i have to do something for new tags?
Alr thx
these are the dimensions
@limber torrent hello how to fix when I have created a new country, the flag and name of the country doesn't show up so Its just a black flag and no name on the countru
why the f would u ping me?????
Does anybody know why It requires Danzig for Protection and not "One of the following: Danzig for Protection, Seize Danzig"
is there any difference between two codes:
my_own_general = {
name = my_own_general
portraits = {
civilian = {
large = "GFX_portrait_my_own_general"
}
}
...
}
and
my_own_general = {
name = my_own_general
portraits = {
army = {
large = "GFX_portrait_my_own_general"
}
}
...
}
A crazy natural disaster, and a crazy MOD, and finally our crazy team, yes, that's right, we need the help of programmers and writers, we hope you will join our team
can please somebody tell me why does this keep showing when I try to upload my mod, I can literaly see the file when I click on the Directory
does anyone know how i can make my focus icon look better?
prerequisite = {
focus = first
focus = second
}
for one focus OR another
for one focus AND another you do what you did
Yall
Help
How to reset what I did with the nudge tool
I accidentally made it so
I can't start a game
Idk
why does my icon only appear in the menu?
a
missing shine
You have to put focus = before the danzig for protection as well
and never in my life have i seen quotations used instead of having a loc file for focus names lmao
only if multiple portrait types are defined it is relevant
because thats not how prerequisites work..
focus IDs with spaces also seems like asking for something to go wrong, but maybe it works
How do I fix some mods aren’t available on this disk drive I have no hard drive or external thing plugged in or did I ever download mods onto it
It needs a shine
littorio for italy
My lord what is that design
What size do I need for a country leaders portrait?
Can someone please download a mod for me from the Steam Workshop and make it available to me? I don't have access to the workshop as I bought HOI4 from GOG.
https://steamcommunity.com/sharedfiles/filedetails/?id=3239101311
you're making models?
temporary
more or less
adding historical focuses first
seems easier to do it earlier than later
1789-1793
Uh, I wouldn't think so
how would you design a focus with historical accuracy in mind at first?
anyways this is temporary its just going to be 5 straight lines untill i find a historical focus idea for each of the blank spaces
dumb question does anyone know of a mod that prevents countries from joining factions as soon as I declare war on them. Its kinda annoying that the ai can instant join factions. Ill declare war on mexico and then boom they join the allies and now its ww2 right of the bat
How do I set the country that the focus tree needs to be assigned to?
modifier = {
add = 10
tag = FRA
}
Do I add it under the focus tree id?
add it under county={factor=1}
tbh
continuous_focus_position = { x = 1200 y = 3000 }
put this
in
and change the numbers to your liking
Thank you very much!
you wanted to move it right?
and not remove it
idk how to remove it
I wanted to move it yeah
I want to combine gacha game into HoI4
💀 gacha for technology
gacha for unit
equipment
How do you add minor countries?
"DEN"={
minor = yes
history = "OTHER_BLITZKRIEG_DESC"
ideology = neutrality
ideas = {
}
focuses = {
}
}
"POL"={
minor = yes
history = "OTHER_BLITZKRIEG_DESC"
ideology = neutrality
ideas = {
}
focuses = {
}
}
put this in the bookmark
but only poland shows up
Indentation looks messed up
Denmark exist at game start?
How can I apply puppet color system like 'colored puppet' mod?
they do tbh
left is from the tank modules.txt stuff and the right image is from the artillery.txt stuff
when i look at the tech in game the kwk doesn't show up
does anyone maybe know if i'm missing something, or if something is wrong?
nevermind i seem to have fixed it but there's no image
guys how can i change in anschulss focus to make my new country annex them cuz when i do that nothing hapens and after demand suteden land the germans are created
Can i somehow delete the germans or something?
If it's 1939 or later change the history files for those states to remove the German ownership set after 1939
how do i get an image?
Hi and welcome to the Iron Workshop.
I am PlayerHOI and I am here to teach you all you need to know about modding Hearts of Iron 4 and other Paradox games. Besides that I also do mod and game reviews so stick around if you want to to get your occasional dose of Paradox content.
See my email below for cooperation/other Iron Workshop related enq...
is germany in rt56 harder?
i just got clapped by the allies when i beat them easily in vanilla
It is easier
You can get war eco very early and the AI sometimes struggles
Probably due to experience in the game
got naval invaded by France and Britain within a month lmao
Setting your fleet on strike force tends to prevent naval invasions
Also air is important
had all my air on cas and air superiority
No air usually results in getting stuck in Belgium
I just didn’t bother with the navy cuz they don’t do that in vanilla
so fair enough lmao
CAS is irrelevant if you don't have air superiority
I had it
but navy I didn’t touch at all tbf
Because they naval invaded my exclave
as I was encircling the poles
Because you ignored navy
Yep
Thank you
Invading Denmark protects east Prussia
But you need to cap Poland to get the war goal
yeah the focus tree is a bit different ngl
Also, how quickly does it take you to cap poland?
In vanilla like a month
Not bad
after I saw 30 divisions in east Prussia from France and Britain I gave up
but a month is with infantry pushing too
Just surprised the Allies naval invaded early
I’m trying to minimize infantry these days and only use tanks
And did you just abandon east prussia?
East Prussia is really important
because I am dumb
I had 14 divs on a frontline
in east Prussia
yeah before I would just battle plan
I usually have some motorized there to help make a pincers to cut off Danzig
And it would crush Poland but I would lose a lot more
And then help cut off Poznan
That’s what I did and I had 30 for 300 casualties
but I was a bit too slow tbh
I should still push with infantry I think..
Somewhat, I mostly use them to close encirclements
yeah that’s what I should’ve done
Pinned the enemy while pushing with tanks
and then tighten the encirclement
Its the 1936
Guys, I need help, anyone that knows how to do focus trees want to join to a project I have?
guys, please help
Endsieg or GWR?
GWR
OWB
Yeah
To do battle plans U assign a unit to a general and click front line then click on the border of a country
this mod is kinda broken
what mod should i install guys
Magna Europa: Reloaded
Is millennial dawn modern day mod dead nowadays?
I tried playing it but its not working for me, just black screen when i try to enter campaign map
What is best mod for Yugoslavia if there is ?
I would like to play yugoslavia with normal focus tree
try switching render in the launcher
Road to 56
blender
Blender? I thought the game had a built in modeller lol.
i wish they do
As a greek I don't know how to feel
Nah, we wish
trigger = {
date > 1795.11.2
if = {
limit = { has_start_date < 1800.1.1 }
}
}
do i move the date>1795.11.2 to after if={
i got the events after 1800
What are you trying to do? I don't understand the request
making an event happen 1795
dont want it to happen in later scenarios
1812 etc
You want the event to happen in 1795?
You can do
date > 1795.1.1
date < 1796.1.1
For future reference you'd want to put the date trigger inside the if scope
no problem
Were Saxony and Bavaria kingdoms 1st january 1919?
i cant find anything on an independent saxony in 1919
Nope
After ww1
There was a Little internal civil war
Between the freikops and weimar vs commies
Bavaria Is real
But It was a communist state in a full scale war with germany
My debug screen says that it can’t open my country.txt file in common.
excuse me what the
How to make a radio pack?
🤫🧏♂️
is this a good place to ask for help with crashing with a modded game?
[01:31:33][1919.01.01.12][country.h:1783]: Asking if LIT is a neighbor of RUS before the latter country is initialized (or otherwise has no neighbors).
[01:31:33][1919.01.01.12][country.h:1783]: Asking if BLR is a neighbor of RUS before the latter country is initialized (or otherwise has no neighbors).
[01:31:33][1919.01.01.12][country.h:1783]: Asking if UKR is a neighbor of RUS before the latter country is initialized (or otherwise has no neighbors).
What Does this error mean?
hello, I am creating a submod for the cold war mod in which Valery Sablin succeeds Salazar Kaganovitch in the ussr, I made a big focus tree not yet finished but when I load it into the game there is only 'a small part of the tree which is loaded
you can look at the code, i made it with edgehoi4 modding
Did you put like the barracks?
Or maybe you putted One too much
?
mods
There Has to be a problem with the brackets somewhere
no
do u know how to open the game in debug mode?
what i should do?
When you open the game in debug mode a notepad file should pop up on your screen called error.log
This lesson will explain what is Debug mode and how to enable it in Hearts of Iron 4.
Timestamps for this tutorial/lesson:
What is Debug Mode - 00:35
Enabling Debug Mode - 02:54
Useful links:
Iron Workshop Discord server: https://discord.gg/sSCU3WS
My twitch channel: https://www.twitch.tv/playerhoi
Hearts of Iron IV wiki modding page: https...
Oh idk then to be honest
What is the last focus in the code that loads?
i've do this many time on windows but since a do it on linux, it doesn't work
Like loads in the game
sorry i'm french so i take time to translate when i don't understand
Dont worry, I have some time
is this supposed to be marked in the logs?
because the game is still loading and no notepad opens (besides no notepad has ever opened like that when I'm on linux, that's the case only on windows I think. I think that I have to manually go to the game log files but I don't know where they are)
Noo, just like look at the focus tree and where do the focuses stop loading
ok
From what focus does it just stop loading in
it will take a while because cold war's loading is verry long
Okay
I take advantage of the wait to say thank you for your help
Yea no problem
I just know how frustrating it is when you want to work on a mod and one issue makes you not be able to continue working on it and you have to wait for hours just for someone to respond to you
at the left i have the focus loaded in the game and at the right the focus that i have made on edge hoi4 modding
While im checking the code
You can head to this directory
local/share/Paradox Interactive/Hearts of Iron IV/logs
hummm
And u should be able to find error.log in there
i dont know the path for linux
local/share/Paradox Interactive/Hearts of Iron IV/logs
this is for windows
i'm on linux
That's the Path for Linux, at least IT says that on the Wiki
local/share/Paradox Interactive/Hearts of Iron IV/logs
ok i found it
Errors for your mod are usually somewhere down in the log
Hoooly that's a lot of debugging
He says there is a problem but he doesn't say what
what unexpected token mean?
i dont know what i can do
when i go to the line there is no errors
Gimme a second
You know what is wrong with the other ones for example invalid effect political_power_daily?
You see this "+" ?
It shouldnt be there
Delete it
Only the plus
It will get rid of one error
That's something
Oh nvm it will get rid of a lot of errors
In this for example
nothing change
Your code looks like this:
But there is no such effect as political_power_daily
And in completion reward = {} there Has to be an effect
The list of effects can be found here
yes but i don't know that this is the cause of my main problem
for now i want that my focus all load
we should found a problem who is the same in all the eror like ""common/national_focus/sov-sablin.txt" near line: xxx"
all the ""Unexpected token: focus,"
Check the log once again after you deleted the +
Because the thing is
Unexpected token
Means that there is something that shouldnt be thete
There*
it continue to say that the + still here
You saved the file?
Hi I'm newbie modder, how should I get started?
Get to know the hoi4 modding wiki
First get an idea for the mod, not something big
Already have
Does it involve creating focuses, decisions? Like what kind of thing you will be working on
USA Soviet Union German Reich Republic of Italy and Italian Social Republic
Only those nations
To be honest you should start off with learning the mod structure, folders, files etc.
There is a really nice tutorial on YouTube regarding all of it
Gimme a moment I will send it here
Ok thanks, by the way I will be frequently here with certain questions
Just be ready for some pain at the beginning, modding is simple after u get to know the basics but it is VERY, VERY time consuming
I'm prepared for that
changes are saved in documents/paradox interactive/hearts of iron iv
How is the +HP programmed for Hospital support? Would someone kindly copy that section of code to show me please? Thanks.
(My game is an older version without it)
I'm trying to make a mod, but the leader that has a custom ideology will not show up. Here is the "history" and the "characters" for the nation. I can give more files if needed. I could use some help here!
Also here is my ideologies file. The nation seems to be democratic even though it is my ideology in the code
Would replacing ingame flags with my own flags make me unable to get achievements
Currently Working on a US Civil War (1861) mod, how does the map look?
also heres a lincoln portrait i made
I'm currently thinking about "negotiations of the Rhine" type event where the Reich can get either civilian support (rebuild from 44's bombings) or ally armor technology in exchange of Jet technology sharing, how it supposed to look? I think about USA representative tipe negotiations or Netherlands "cave in" method, what do you think?
he looks so sigma for no reason
was playing as afganistan when it crashed
DLC Anniversary Pack
DLC Historical German Portraits
DLC Man the Guns
DLC Poland: United and Ready
DLC Rocket Launcher Unit Pack
Additional Effects ver.English
Automatic City and State name changer
Brazilian Equipment
Historical Naval Production (w/ Lower Fuel Consumption)
Increased Resources 1.14
Increased Volunteer Limit
No Advertisement
No Faction Join Spam
Player-Led Peace Conferences
Realistic Arms Production
Recall Volunteers
Redone Major Leader Portraits
TS's Brazil
The Road to 56
When I launch the local version of my mod it works no issues but whenever I try to launch the steam workshop version of the same mod it's vanilla HoI
Any ideas why?
he's gay and he's sigma
The leader in the character file doesnt seem to be recruited, and would conflict with the obsolete create_leader effect
Workin’ on the railroad on my mod for funzies
Honestly if someone here is good at this stuff and could help discern crashes and issues on error.log that would be great.
Pretty good. I would take that and take the texture map to a paint program and smooth it up a bit. It’ll help the repeating patterns from being overly noticeable.
it´s very good
just use blender/maya tutorial or use this https://youtu.be/so6xUpYNoWA?si=u82EkbSSV0LnHTX8
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...
Thx
this looks cool it's like TNO gui but doesn't hurt the eyes
although why is Valery Sablin ruling the soviet union in 1949
bro is like 10 years old
born january 1st 1939
this is the equivalent of putting Dmitry Yazov in vanilla
Bro would be 12 years old in 1936
is there a mod similar to this mod but doesnt make my frontlines invisable
https://steamcommunity.com/sharedfiles/filedetails/?id=708204441&searchtext=strat
is it possible to check what state someone has a wargoal on?
I mean in modding
Yes
I want to give a discount to countries with a wargoal beyond the vanilla reduction
In vanilla you get a 20% discount on states you have a goal on
I want to increase the discount
Does anyone know from which file the tank roles are edited?
I get an error every time I try to add anymore focuses. I have no idea why this is happening
Check your brackets it looks like you're not closing the second last focus fully
Here is your fixed file
Just as the person above said, you didnt close brackets in one of the focuses
testing states
whats hearts of iorn coded in?
i have no idea
functions are easy so its debatable
could be some weird python mix
could be some other bullshit
hard to say
does anyone have a photo of Henry Freydenberg the french general
Any help please?
looks like the USA
it also looks like mexico and kinda like canada
Me and a buddy are trying to play with mods. Both of us have exactly the same modpack, exactly the same mods disabled, and the exact same build ID on the latest update but the bolivar version is different
Anybody know what could be causing that?
How do i get into/learn modding with no prior experience?
what are you doing here
anyone got a mod that saves console commands?
How am I supposed to beat the zonbies in the zombie doomsday mod??
Like, at all????
They are invincible istg
oh lol
How to create units in cells? or an event?
Is there a way to allow a neutral country to view other nation's troops without being in an alliance (like fow command)
I am...Optimus prime
C++
guys plss help me idea is dont remove
how you make custom models?
Anyone knows what map/colors.txt does or is?
3D models app
For PC i use blender
Mobile Just search 3D models
On play store
how to add my country in place of germany?
Bookmark
Create a bookmark
Its easy
Search on yt
There Is a 15 min for it
i aint learning c++ any time soon
when my country do anschluss nothing happens and after demand sudeten the germans are alive
You Need an event for
It
Because its an event for austria
To choose if be annexed or fight
Or you simply put the vanilla aunchluss focus
hmm okay then i would need to make the event go to my country right?
i did
but it shows the germans where can i change that?
my country tag
Than you cant
Because
The event Is for default germany
You Need to create a new event
For it
hm
Or you simply Copy the event
Put It in the mod foldrr
Of the events
And change the tags
So It Will go to your country
And maybe change the description
For estetics
you mean this?
@hard mirage germany Tag id GER but your country Is SAN
yeah
You Need to change the owner tag of the country
Obviosly
Copy
And paste in the mod foldrr events
And change tags
but could you say where exactly cuz here when i changed nothing happened
im still new in this modding hah
Go to yt
And search how to create hoi4 mod
There os a playlist of 24 videos
And there Is one that explains how to create and evenet
Event
i hate hoi4 modding so much
you delete 1 error 3 new errors emerge
i delete the generic focus tree and it creates errors in decisions related to SS
how does that even make any sense
Events still happen after 1836
ountry_event = {
id = unitedstates_event.1
title = ""
desc = unitedstates_event.1.d
picture = GFX_idi_amin_india
#is_triggered_only = yes
trigger = {
if = {
limit = {date > 1790.3.29 has_start_date < 1800.1.1 }
}
}
fire_only_once = yes
option = { #
name = "Accept American demands"
ai_chance = { factor = 100 }
news_event = unitedstates_news.1
}
}
want it to happen 1790.3.29
don't put the trigger in an if scope
or limit
what do i put in there then?
trigger = {date > 1790.3.29 has_start_date < 1800.1.1}
This?
Yup
Thanks
all good
Hey! Have you seen the atomic heart mod for the game? Unfortunately it's in Chinese.
guys plss help me idea is dont remove
plz guys
your idea code is incorrect
no spaces
Liberum_Veto
is there a mod that adds the ho229 model to the game?
Hello, everyone! I would like to know if there is any way to change what countries appear on the "major nations" screen. For example, if I would like to replace Italy and Japan with China and India, how would I go about doing such a thing? If anyone here has a clue, please let me know!
So, really there isn't such a thing like that but maybe someone created a mod with this setting, I don't really know, I think you cannot and if you mean without a mod, no you can't. Thanks and have a great day!
Anyone got good mods like America Divided or Second sengoku? Mods with custom maps and focuses
where do i modify the range stat?
Thx
common/bookmarks
the code will explain itself
türk var mı?
Np
Is that idea add?
I Just got One in my focus
@plucky crystal bro
You added 3 times "remove ideas"
and
i have to liberum veto or liberum_veto
_
And if there Is like a tag
Add it
Like "PL_liberum_veto
Dont put big letters
Just the tag Is big
Keep the others small letters
@plucky crystal and add space where there Is = and the idea
Or the game Will not read it
Remove_ideas = Liberum_Veto
If this doesn't work, the problem is with Idea
Chad
bro, i love you and you ❤️ ❤️
Looks like you broke a bracket
cause france has no troops
and the netherlands ai is likely not encouraged to push
I guess the AI doesn't see France as a threat so doesn't try to kill them
If you are modding them then you would need to make them be more aggressive
how?
but France has 70 divisions and only 3 at the front
its look nice?
@proper acorn
Can anyone advise a very good division template for Germany in The Great War Redux mod?
How to change the tag of a country that is already in the game?
there's no way
only if you “delete” it and create another one
you must have deleted a character without removing recruit_character from history/countries
how to delete
just remove the tag
prepare yourself, there will be a lot of mistakes
ok thx
You can make "Attack troops" units Just msde for assault
Made most of artillery
Because gwr has an infantry mechanic for infantry that makes youe soft Attack low
So its best to mske an armored car division/motorized
Or inf with lots of arty
Yo i love rt56
Is there any underrated mods that work real f*ing well with rt56
(preferably optimization mods)
Did you complete the focus and the event doesn't appear?
Exactly
country_event = {
id = ref_ref.1
days = 10
random = 50
random_days = 10
}
I HAVE IT
where is the add_namespace?
add_namespace defines that all other country_events must start with this
add_namespace = my_event
every event must start with my_event
@plucky crystal
What
CER = {
country_event = {
id = ref_ref.2
days = 10
random = 50
random_days = 10
}
}
i dont understatnd
it
id = ref_ref.2 here is space
id = here ref_ref.2
Put ref_ref
Delete the CER
add_namespace = my_event
add_namespace = my_hidden_event
country_event = {
id = my_event.1
title = my_event.1.t
desc = my_event.1.desc
is_triggered_only = yes
option = {
name = my_event.1.a
add_political_power = 100
}
}
In wiki
why delete CER
i want to event in CER
ok i understand but i dont understand add_namespace = my_event
add_namespace = my_hidden_event
only
Hi, I I come from CK modding and I'm new of HoI4 modding. I have an easy question about scopes
What is the difference between any_country, every_country and all_country?
You have to have this for the events to work
You don't define this in the events but in the focuses
I'm saying what's on the wiki
but when in focus I wanted to do it in Poland, for example, and the event is triggered in Russia