#modding
1 messages · Page 27 of 1
puppet states are called subject in code, yes
also, how do i create a city and move the capital there
That I do not know
okay
Regardless of who receives the event, the events are usually defined for one side
Really good to know, tysm
i need to replace xxx with controller area id?
XXX -> state id
The states you want in available = { ... } are the states that you want to core
Not your own
controls_state = 82 # Do this for every state that you need to control
controls_state = 78
controls_state = 80
controls_state = 83
controls_state = 77
controls_state = 79
controls_state = 46
controls_state = 76
controls_state = 81
controls_state = 766
controls_state = 84
controls_state = 155 #hungarian
controls_state = 43
controls_state = 154
}```
so
if i do this
(all ids are ids for romanian territories and hungarian ones)
the decision is available only if i control all the states listed above
right?
yea
okay thanks
Now for Romania's name and color to change. Go to yourmod\localisation (create folders if neccessarry) and create yourmod_localisation_l_english.yml (also change encoding to UTF-8 with BOM)
In there write:
l_english:
ROM_dacia_democratic: "new Romanian democratic name"
ROM_dacia_neutrality: "new Romanian non-aligned name"
ROM_dacia_fascism: "new Romanian fascist name"
ROM_dacia_communism: "new Romanian communist name"
Now go into the Hoi4 files and copy the cosmetic.txt from Hearts of Iron IV\common\countries into yourmod\common\countries.
Open it and at the end of the file write the following:
ROM_dacia = {
color = rgb { XXX XXX XXX }
color_ui = rgb { XXX XXX XXX }
}
Replace the XXX with the RGB values you want
yes
You'd have to create a new cosmetic tag for that
i ll skip it then
[14:38:25][pdx_entity.cpp:323]: Failed to find entity "ITA_mechanized_vehicle_1_entity" for attachment in vehicle
[14:38:27][persistent.cpp:48]: Error: "Unexpected token: fire_only_once, near line: 3" in file: "common/decisions/categories/Dacia_formables_category.txt" near line: 3
[14:38:27][persistent.cpp:48]: Error: "Unexpected token: cost, near line: 4" in file: "common/decisions/categories/Dacia_formables_category.txt" near line: 4
[14:38:27][persistent.cpp:48]: Error: "Unexpected token: complete_effect, near line: 25" in file: "common/decisions/categories/Dacia_formables_category.txt" near line: 70
[14:38:27][persistent.cpp:48]: Error: "Unexpected token: ai_will_do, near line: 72" in file: "common/decisions/categories/Dacia_formables_category.txt" near line: 74
[14:38:27][parser.cpp:932]: Error: unexpected token in file: "common/decisions/categories/Dacia_formables_category.txt" near line: 76 ( } )
i should have places comas
? you placed a , ?
i didnt
show me your code
icon = generic_form_nation
fire_only_once = yes # fire_only_once makes the decision work only once
cost = 0 # cost is the political power required, normal you'd use 0 for formables
visible = {
original_tag = ROM
}
available = {
controls_state = 82 # Do this for every state that you need to control
controls_state = 78
controls_state = 80
controls_state = 83
controls_state = 77
controls_state = 79
controls_state = 46
controls_state = 76
controls_state = 81
controls_state = 766
controls_state = 84
}
complete_effect = {
set_cosmetic_tag = ROM_dacia
add_state_core = 82 # same state IDs as in "available = { ... }"
add_state_core = 78
add_state_core = 80
add_state_core = 83
add_state_core = 77
}
ai_will_do = {
factor = 0
}
}
}```
i deleted some of the cores bcs the text was too long
new error log
[14:45:58][persistent.cpp:48]: Error: "Unexpected token: fire_only_once, near line: 3" in file: "common/decisions/categories/Dacia_formables_category.txt" near line: 3
[14:45:58][persistent.cpp:48]: Error: "Unexpected token: cost, near line: 4" in file: "common/decisions/categories/Dacia_formables_category.txt" near line: 4
[14:45:58][persistent.cpp:48]: Error: "Unexpected token: complete_effect, near line: 25" in file: "common/decisions/categories/Dacia_formables_category.txt" near line: 70
[14:45:58][persistent.cpp:48]: Error: "Unexpected token: ai_will_do, near line: 72" in file: "common/decisions/categories/Dacia_formables_category.txt" near line: 74
[14:45:58][parser.cpp:932]: Error: unexpected token in file: "common/decisions/categories/Dacia_formables_category.txt" near line: 76 ( } )
after modifying some of the mistakes
Why would you ever wan to do that? Use a custom_effect_tooltip if the text is too long for you.
Put your add_state_core lines in a hidden_effect = { ... } codeblock and before the hidden_effect = { ... } write custom_effect_tooltip = ROM_dacia_core_tt
Go into your localisation file and add ROM_dacia_core_tt: "Cores some Hungarian states"
Is that all of the code in the file?
in discord
i mean
yes
Then you did something wrong
You need to place ROM_form_dacia inside of ROM_dacia_formable
Like this:
ROM_dacia_formable = {
ROM_form_dacia = { ... }
}
oh
[14:53:40][persistent.cpp:48]: Error: "Unexpected token: ROM_form_dacia, near line: 2" in file: "common/decisions/categories/Dacia_formables_category.txt" near line: 77
the brackeys are closed correctly
Open the category file and show me your code
sorry for wasting your time
i ll try this another time
maybe i should start with something easier
Does anybody now how i can like "replace" all of the Vanilla HOI4 nations? So its empty for my mod
i want to like have an "own" world,with new Nations
you add replace_path entries to your mod definitions, so it doesnt load the relavent vanilla folder
for the map, idk if its supported yet to have no owner
ah okay. But wont i then like have 10.000 error stuff cause of events?
edit: it will
yup
is there a mod that lets me make sure that countries dont go a certain path
so i can make it so that britain goes any path other than communist
and doesnt destroy my potato cpu
is there a mod that allows people to send lend lease while at peace
Alright, maybe someone here can help me out. Has anyone worked with modding new aircraft and tanks using NSB and BBA? for some reason I can't get the chassis modification screen to show up.
looks like your next step is gonna be heading to the localization files lol
but that's awesome
chassis shows up in the production menu, but when clicking on it to create a variant I get this(same issue for both tank and plane, but for ships it works fine.)
error.log has no errors related to my mod at this point, so its gotta be something I'm just completely missing
not as far as I know
so i have to copy the existing focus tree
and modify it a little bit
and replace it
The amount of Oil that the game is giving Turkey is completely unrealistic. Can someone make a small mod to fix this? https://forum.paradoxplaza.com/forum/threads/pls-fix-turkey-its-beyond-stupid.1575792/page-2#post-28915893
In every Its keep joining allies, and then declaring war on romania or iran by 1943...
That time Soviet Union still exists, after thousands of USA lend-lease to keep it alive, just to be in a war with it LOL.
This just become extremely...
i have a problem
i would be grateful if anyone could help
i tried creating a new country
that has the cores and territories of romania
but only has a different tag
and this happened
whats wrong here
how do you rename ideologies for one country?
how would i go about creating a mod that simply takes an already existing leader in the game a putting the leader as the head of another already existing country
i basically want to put the pope pius 12 as the non-aligned leader of the releasable papal states
how can i make my country change its color when i switch political ideologies
is there a mod that lets you scorch cities but like your enemies cities as in how the bri🤮ish burned down the white house?
i think i might help you somehow
is there a mod that lets you make frontlines over multiple countries
i cant be asked to search for some kind of weird names
ideology = fascism
long_name = ROM_fascism_party_long
name = ROM_fascism_party
}```
i found this in focuses text file
might help you somehow
you can already do that without mods
How
set up a fallback line and when the war starts delete the fallback line and create a frontline
or create the frontline after creating the fallback line (without assigning anyone to the frontline) and plan your attack. the general will still be planning the attack
and when you start the war, delete the fallback line and assign them to the frontline
yeah but at peace
it only lets me do one country
unless its puppets
How can you help me
this syntax
replace ROM with your country tag
can someone help me with the syntax
You want to rename a party, right?
yes
Copy parties_l_english.yml (SteamLibrary\steamapps\common\Hearts of Iron IV\localisation\english) into your own localisation folder (remember: yourmod\localisation\english\parties_l_english.yml) and there you see all countries' political parties, you can easily rename one
hello
name=ROM_CHARACTER_CODREANU
portraits={
civilian={
large="GFX_portrait_romania_cz_codreanu_large"
small="GFX_portrait_romania_cz_codreanu_small"
}
}
country_leader={
ideology=gen_nazism
traits = { dictator }
desc = ROM_CZCODREANU_DESC
expire="1965.1.1.1"
}
advisor={
slot = high_command
allowed = {
tag = ROM
}
available = {
has_country_leader = {
ruling_only = yes
}
}
traits = {
army_infantry_3
}
cost = 100
}
corps_commander={
traits={ infantry_officer }
skill=1
attack_skill=1
defense_skill=1
planning_skill=1
logistics_skill=1
legacy_id=0
}
}```
this is the character
that im planning to use as a country leader (later in the game)
how can i give him the corps commander (make him general) through a focus?
what's the syntax i should use
name = "Barbu Paraianu"
gfx = GFX_Portrait_romania_barbu_paraianu
traits = { infantry_officer }
skill = 2
attack_skill = 1
defense_skill = 1
planning_skill = 3
logistics_skill = 2
}``` i have a similar syntax of how this could work from another focus but this one is for creating a character and also assigning it
is there a mod that makes it so that like after the end of a long war your army is weaker for 3 months or sum
Not that I'm aware of
can agree.
hello, can someone tell me how to edit the loading screen font
im making a mod and i dont like the default loading screen font, i wanna replace with my own
How would i mod in supply? Like modding in how much supply you either consume or not
how would i go about creating a mod that simply takes an already existing leader in the game a putting the leader as the head of another already existing country i basically want to put the pope pius 12 as the non-aligned leader of the releasable Papal States
you want to release the papal states
and have the pope as the leader?
name = ITA_papa_pio_xi
portraits = {
civilian = {
large = GFX_portrait_ITA_papa_pio_xi
}
}
#COUNTRY LEADER ROLE IS GIVEN LATER
}
ITA_papa_pio_xii = {
name = ITA_papa_pio_xii
portraits = {
civilian = {
large = GFX_portrait_ITA_papa_pio_xii
}
}```
one of these is the pope
what you can do is copy the country file of the papal states
documents/paradox interactive/hoi4/mod/yourmodname/history/countries/<papal states tag> - Papal States.txt
or however is it named
search for the recruit_character list
and put recruit_character = ITA_papa_pio_xii on top of the rest
фигня
yeah
fr
i will make hitler fighting off the zombies
and weird shit
there is not a zombie nation but
they is de militarized zones
they will be no cure
and is gonna be a fungus
but
everyone is infected
advise mods for mp games to optimize communication with players to make the ping more stable
ok guys so imagine if there was a mod that gave countries new focus trees in 1939 start date
like germany could have historical but also a civil war tree like the soviet union or france could cut off ties with britain
maybe you could help austria/czechia revolt against hitler
this is a file of a mod i made, but it doesn't get loaded where do i need to put it so it does get loaded?
thatd work literally nowhere on its own
why not
you need some kind of thing triggering the script
either you put it in an on_action, a focus, a decision, a character, etc.
almost
what am i missing then
like this?
yes
in common/on_actions?
mhm
Any way to share a mod without posting it to Steam?
how do you get rid of the generic fascist demagogue / communist revolutionary / democratic reformers?
anyone know?
history/general/generic_advisors
Add the tag to the list of nations who doesn't get it
thanks
I don't know how to explain thoroughly but when working on my mod, and adding a new country, I went through the process of choosing the color, the tags and then adding it to localization, now all of a sudden the name of my country I just made doesn't work, and the previous names of countries that once worked have stopped working and not appearing when selecting them, tho the flags and names of leaders still appear.
and thanks in advance to anyone willing to help!
question, is there a mod out there where something happened to destroy much of earth/population and it's up to the few remaining remnants of society to pick up the pieces and put everything back together?
sorta like a fallout deal i guess
but not the fallout mod lol
Localisation file is encoded as UTF-8 with BOM ?
Don't know if it really fits your description but try State of Anarchy
https://steamcommunity.com/sharedfiles/filedetails/?id=2958196479
I've got a question. What happens if i swap a timed idea? For example i have an Idea that goes for 180 days and in 30 days i swap the idea. Is the Idea then still going for 130 days? Now just changed?
Never did anything like that, try it yourself
okay!
looking through things real quick that is probably the best option i can see
thanks btw!
is it possible to create if statements in rewards? like if check variable then this happens etc.
yep, same issue still persists
weird
of course
if = {
limit = {
# thing to check for
}
# effect here
}
okii thxxx
here are the files
example state with WAM:
states show up with color
no name tho
then the name of a previously working country has stopped
So the Country itself works but the Name doesnt appear?
Yes for the blue one, it used to appear as Jamestown Island, I recenlty added the second one, the green one, and now both of them dont show names but the blue one is still playable
hmmm. Maybe try deleting the second country again and see if the first one works then. I can't seem to find an error in the code itself. It could be because the "-" in WAM- Williams needs to be like this:" WAM - Williams" with a space in between but i dont know if this is the issue if the first one worked. Maybe try this and if this doesnt fix the issue you could maybe just try fixing the first one again and if it works then just trying the second one again.
ok ill try both of those out!
So i got a problem:
I made a variable "ps" that if 0 with a focus is getting randomized and after this focus depending on the random number it set a specific focus is activated but i got the problem that a randomize between 1 and 4 in my case always sets it to 2.
Heres the code:
IF = {
limit{check_variable = { ps = 0}}
TYR = {
set_variable_to_random = {
var = ps
min = 1
max = 5
integer = yes
}
}
}
make sure limit is:
limit = {
check_variable = { ps = 0 }
}
ohh yyes this could be the problem
@quick latch any idea on how to fix my problem? I liked over the wiki and its still persisting, I tried other options, but to no avail...
Do you have debug mode enabled?
yes
Do you get any errors that have to do with localization?
it doesnt seem like it fixed the issue it still only results in 2...
thats the completion reward....
change country localisation file to this temporarily:
l_english:
WAM: "William and Mary"
WAM_DEF: "William and Mary"
WAM_ADJ: "William and Mary"
TST: "Jamestown Island"
TST_DEF: "the Jamestone"
TST_ADJ: "Jamestone"
If this doesn't work then I don't know what could be wrong
perhaps you're just getting unlucky?
still doesnt work, i guess ill head off to do something else
hmm weird
i tried it like 6 times now i dont think i am so unlucky to only get 2
thanks for trying to help tho @quick latch
Hey! Do you think it would be better if i just try with the random_list?
Maybe this will make things work
you sure all the brackets are correct?
also why did you place the code so random? I mean I copied your code and mine looks like this:
(ignore integSer, keyboard did a little bit of trolling)
hm might be bc im in Notepad xD
yeah i do but i just thought "yeah its like just a small error nothing to open up a program"
Don't know what you're talking about, I use VS Code for that and I always use it, even for just looking at something small because it's just better
yeah thats not the point now i mean its 00:20 where i live and im tired but i want to fix that error before i forget anything xD
but the brackets should still all fit and shouldnt be an issue
It's 0:20 for me too and still got things to do for school, so I shall do that now
Hope you fix your issue
well thx anyways
Yes, it probably is.
does anybody know how can i grant an existing character the corps_commander trait?
Ofc
thanks a lot
However, just like other add role effects, they cant hide the role later
if you want that, you define it in the character file but hide the role until you unlock it by setting a flag or completing a focus etc.
yea
i wanted to have a focus
that grants that role effect to an existing character
My custom Europe map mod, Magna Europa: Reloaded is finally out, after nearly a year of development since the utility version 🦀
https://steamcommunity.com/sharedfiles/filedetails/?id=2973126210
Banned for self-advertisement
add a formable nation called "Dacia"
and make it available for romania
=================================================================================================
how do i trigger an event via a focus
completion_reward = {
# Trigger the event here
country_event = { id = my_mod_event.1 }
}
ty
Hi, I have a problem with modding. I can't delete generic advisors. Could somebody help me?
i tried to add tag of country in generic_advisors file but it is not working
For countries that don't have their own unique advisors?
you can simply
delete them
or go to the file where you have recruit_character = ...
and simply not recruiting them should make them unavailable
they are not recruited
What exactly do you want? Do you want the generic advisors or not?
I don't want them
You do only want the "ideology advisors" removed or also the military advisors?
ideology advisors
I have a minor country that have generic political advisors and I dont want them
In the generic_advisors.txt file, go the the first three every_possible_country = { ... } code blocks and change the first NOT = { ... } (inside limit = { ... }) to include your country tag
aka this:
every_possible_country = {
limit = {
NOT = {
OR = {
tag = XXX # your own country tag
tag = GER
tag = ENG
# and so on
I did that
Have you tried restarting the game / starting the game in debug mode?
and the debug file, does it show anything?
nothing about that
xd
lol
also
If anyone has any suggestions or concepts for the idea of a small mod, I would appreciate it if you could share them with me.
Cuba content mod xd
how can i make it so that when a country does a focus they can no longer puppet countries
should be something about
disabling the can create puppets rule
should be something like
can_puppet = no
}```
yup
thanks
how do i this
?
how do i change countries ideology name
you mean party name or what?
no like country name, i wanna rename fascist ireland
Create this folder structure: yourmod\localisation\english and copy the file countries_l_english.yml from base game files into your own folder.
Search for IRE_fascism and there you can change the name.
alr ty
does that work with puppet names or is that something else
could someone who owns HOI3 send/show me where the model files are at?
i have seen that hoi3 has some interesting ship models
so i would like to put them into my "additional ship models" mod
not related to modding, go into another channel
Yeah I think
anyone got suggestions for bigger overhaul mods? I've played rt56 and KR/KX, along with TNO, I want some more variety to play (:
Old World Blues, Equastria at War
how do you rename a city?
set_province_name
thanks
can someone tell me how flags work
the name needs to have the country tag in it to be assigned right?
it's not working for me
Is it in tga format
What programme are you using
Might have to do with RLE compression. I personally use GIMP which has a distinct Turn Off RLE compression option
lmn if you get it done
i need tutorial on how to mod
and gonna make the gus focus tree
and salamanca
or walt
oh
if you are new to modding
its gonna take a long time
i think you should get a modder to help you
there is going to be jack welker gang
and many more
there will be drug lab building only for gangs
any modders?
ah cmon
buy what?
a moder
cause i tried to make a small mod that changes country names
didnt work
i tried everything
https://hoi4.paradoxwikis.com/National_focus_modding this should help
🗿
You only need to change the localization file containing the country
You sure you tried to change the country in the countries_l_english.yml file the folder structure was yourmod\localisation\english\countries_l_english.yml ?
Smth else
I have a question, in what file can i add new tank designers and etc. ?
ive got a couple questions, how would i add a leader description and how would i add a country to the major powers screen?
common/bookmarks for the 2nd question
ok ty
sorry i just got one more question, how do you add a formable nation to the game
I get this question so often
usually its a decision that adds cores and a cosmetic tag
how would i add the decision?
i dont mind about the cos tag just the decision and cores
look at existent ones, its pretty simple
if you wanna make it fancy, check Road to 56 ones, you can highlight the required states there
I need some help modding the Italian OOB
anyone know what the "couldn't find dependancy" error is when trying to code in a national focus? i've done it before and i didnt have an error like this but now i have it
also, my game crashes as soon as i try to do a new game but i dont think this is because of the focus
how do you create a new city like this on an existing province?
I've discovered this program. I hope that can help you https://github.com/ScottyThePilot/hoi4_province_editor
I'll check it out. Thanks
https://www.youtube.com/watch?v=-VmHlBiRhSU&list=PLt_7vUaEvaGTJ0ISBqY2v4EyfmPALiVS7&index=2 is this guy worth to watch?
This Hearts of Iron 4 tutorial will explain how to create a new mod file, this is the first step you will need to do in order to start modding Hearts of Iron 4.
Actually i just download a mod from MODDB and i just modify the mod file
I got a question. I made an Event with like 5 Buttons. The problem I got now is that the Fifth Button is bugging our of the event GUI and half of it is cut off. Does someone know how to fix that?
hey, how do i fix my game? i used debug mode to create two states and now hoi4 keeps crashing
nvm i fixed it somehow
how do i change if a nation is released in the save file?
is there a way to make the target country of an operation not influence the operation duration with their counterinteligence, or is that hardcoded?
change what?
if a nation is released
I don't understand what you mean
Somebody can help me?
for example, yugoslavia contains croatia. You can release croatia as a nation. where in the save file is it visible if a nation like croatia is released, or not.
You want to modify a save file?
yes: i want to play on a map with all nations released
You're better off searching for a mod that has all nations released on game start
why tf are you playing Hoi4 on Xbox
i'm playing on pc but i use xbox gamepass
??? Just buy the game on Steam
What does it even have to do with you wanting to release all nations
how tf is that any of your business you don't know any of my financial situations.
It has to do with not being able to install Steam Workshop mods on it.
skill issue
get a job or something
bro i'm 15
Then mow people's lawn or something
also may i add that any of the questions you asked had anything to do with my question and werent needed for that question
Bro money is not the problem i need to get nations released
i'm not telling you to go to the frontline am i
You are certainly pointing to it
i'm not i need to get nations released to play a game with my friends a month before my exams
Do you even have the answer or are you just stretching it now
anyone know how to fix this after a focus has been completed?
it kinda annoys me
and i can't find anything on it on the wiki
seriously can't find anythign on it
but for germany,when rhineland is compeltefor example
it doesnt say that
and another problem, i want to swap ideas and all i get is this
which is confusing because i've made two ideas with different names, but same localization so i would get the modifying text
👍 thats correct yeh
different names, same loc
Check error log narrow down the issue
nothing on error log, it's just a matter of swapping ideas that doesnt work
is there just a rough checklist i should be making sure to do while i do the swap..?
-Try to not reload the idea file when testing this
-Make sure you didnt make any typos in the command
-Ensure all files are loaded correctly - Should be in the error log
using dots in idea and picture names might be an issue
Howdy folks... I am making a radio station mod, when it comes to updating it... what will I have to do? Is it a case of simply updating the version number? Want to keep on top of updating it so I don't get masses of "update pls" messages
also, what is the exact number I must put in for the current version?
must i include "avalanche" etc or just the numbers
oh my god.. i was so dumb for that
just the numbers, but you could do 1.12.x
im running into another problem myself though, my starting units get deleted as soon as they spawn..
anytime i slightly change it, it dissapears
so 1.12.12?
well, it's gonna be updated so if you just do 1.12.x , no matter what the number is after 1.12 is, it's still going to be a valid version
atleast i think, works for me
but yeah, you could put 1.12.12
hello i am working a country event and it keeps on firing although the requirements are not met
`
country_event = {
id = test.1
title = test.1.t
desc = test.1.d
picture = GFX_test
immediate = { add_political_power = -100 }
trigger = {
original_tag = ENG
has_country_flag = test
}
mean_time_to_happen = {
days = 2
modifier = {
}
}
`
could anyone explain me why it is so?
i tried switching orginal_tag to tag and putting both requirements in AND = {} but it didnt help, it fires also when i play nations which are not the uk
You sure you don't have the flag?
name = Submod.2.o1
completion_reward = {
custom_effect_tooltip = Yugo_tt
}
}```
why wont this work?
custom_effect_tooltip is just cosmetic text
i know the text isnt displaying
looks correct, file encoding though?
the flag does not exist, but i also tried with trivial values like stability > 0.9
the event would also fire when i dont play the uk
wdym? the file types are correct if thats what you mean
Do you know what UTF-8 with BOM is
All yml files must be encoded in that
Also hold on, options have completion_rewards?
oh wait thats prb it
i was just thinking of it in terms of focuses and didnt bother checking if events are diff
Yeah for options just use the name
You would use custom_effect_tooltip for if the effect of the tooltip should be different from what it says
thanks!
Somebody knows how to mod the Italian OOB? Seems that is hardcoded or something
Not at all. History/units and you can edit it.
I've modded that file and seems that doesn't works
Show me the file tree
No, can you tell me what the file tree is. I guess folder tree would make more sense
Basically, show me all the folders needed to get to the file
You mean the focus tree file?
No, like this
I mean that is the same folder structure it should use, so just tell me if it's the same (besides the KFP2, which should be your mod's name)
It's the same folder structure
I see. What are the changes you are trying to make to the OOB?
Trying to make the OOBs more historically accurate
Alright I'll start doing some more in-depth testing then
I don't what happened actually. I've modded the Italian OOB before and i didn't have problems so i think its something from the DLC maybe
Oh, it's probably because you're editing ITA_1936 and not ITA_1936_NSB
Where is that file?
Same place
I've found the file. I'll see what happens now
Has anyone here played great war redux and gone the anarchist path
And if so
How
How does that wotk
Game is crashing now. What i do now?
Well, probably a code issue. Check for the brackets
Nothing happens. Stills crashing
Alright, send the file to me
Here's the file
Yeah I don't crash at all
What i should do then?
Well, if there are other files in that mod I would check those.
What I sometimes do to find the bad file, is to move folders elsewhere one by one until it eventually stops crashing
I see. Seems that i will try to make the mod from zero then
my starting army / oob disappears as soon as i unpause, anyone know why this is?
Is there a genocide mod?
They're not properly equipped
how so?
i’ve never modified them before and it’s a first for me but when i did. modify the template, put amount of equipment
it just dissapears
The issue may be is that you have no manpower to equip them, so they have no strength.
ah so, do i just add manpower to the country before i run the game again?
and if so, is it to do with the oob or country files
You can do it in the history file
alright thanks
hey folks how do i update the game tags for a mod (i.e. sound, history, etc) after it's been uploaded?
i want mods to enhance my gameplay
Upload it to the workshop again
just came back from my school, would you know what history file it is?
The history file of the country located in history/countries
and what string is it? im really sorry if this is annoying you it's jsut ive been through my country file and i can't find anything on manpower
Seems the game stills crashing again
add_manpower = whatever you need to supply them
Which font file do I replace to change the font you see on buttons, loading screens, focus / decision descriptions, ... and so on?
no sectarian woes👍
I want to update this mod... is that possible or have things changed so much since 2018 that it is a moot project?
I don't know what's weirder, that fact that you're using ModernizeFabrikalar as id or that the focus is op
rather new to modding but want to sink my teeth into this specifically
You want to update another's mod?
Don't think that's possible
and I simply adore this mod
You can always just reupload your own version of the mod
why is it not possible? Is it because things have changed so much with HOI4 since then?
oh yes thart's what i mean
Don't worry. I've solved the problem now and is working as should be. Thanks for your help
bro this is giga focus
it will give more factory and this will remove sectarian woes debuff don't look id
fix id, it's weird af seeing that
👍 thx
maybe if u want then choose
Use TUR_modernize_fabrikalar
👍
@quick latch I fix it and ı gave -200 pp
Why did you sent the file?
it's fixed
You already told me, but what does that have to do with the file?
What am I supposed to do with it?
Eu4 map mode
Does anyone know how to increase build slots in a state without needing to use the tech tree, like how to increase it in the files?
Improve the state category so it has more building slots
If that want it on game start that is
Anyone got any good overall rework mods like RT56, Looking for something new
Darkest Hour, but it is outdated I believe and you have to go back a game version or 2
I’ve tried it, quite nice just takes an age for everything to set up
is there a way to release something and puppet it as a decision? (basically formable puppets)
how do i get a focus icon?
A custom one or you do want to use an already existing icon?
Can you explain that a bit?
It just looks a bit like eu4, is all.
guys whenever i select a nation in magna europa my game crashes
does someone know what happened?
I got a question. I made an Event with like 5 Buttons. The problem I got now is that the Fifth Button is bugging our of the event GUI and half of it is cut off. Does someone know how to fix that?
is there a mod that stops britain from guaranteeing everybody
Don't know of one but I could make you that kind of mod after I get home from school
thank you
its in the custom game rules
cant you like make guarantees not allowed in game rules
Yes, through game rules as shown above
Are you playing on Mac? It's not Mac compatible
existing
Go to SteamLibrary\steamapps\common\Hearts of Iron IV\gfx\interface\goals, there you can see every available focus icon.
Then go to Hearts of Iron IV\interface and open goals.gfx. Now search for the file name you saw in Hearts of Iron IV\gfx\interface\goals.
Paste the focus icon name into your icon field in your focus tree file
how do i fix this issue with troop flags?
What's the issue?
yes
That's a PDX / base game issue, don't think it's fixable
https://steamcommunity.com/sharedfiles/filedetails/?id=2974839592
Didn't find a way to only block England from guaranteeing, so I made the game remove any british guarantee every 24 hours.
Bit unnecessary
Also it checking every day is just going to take up processing power
You should just make it so they cannot do it
tell me how, set_rule can only limit it to democratic nations
thank you
Does anyone know why this focus doesnt work?
The 'support communism' focus is a prerequisite of itself
Wait no that isn't it
What about it doesn't work? Doesn't show up / reward is broken / ... ?
Doesn't show up
Im trying to fix it for 2 days
Issue is wrongly placed brackets, lemme fix rq
Okay
Little question, have you misspelled "Crimea" or are you calling it "Crimae" on purpose?
Crimae on purpose
kk
The indentation is terrible
yeah
wdym?
It's really poorly spaced
Honestly I would just say start from scratch and maintain proper indentation so you can spot potential issues very easily
I fixed it
give moment for upload
here
Thanks mate! Im gonna see if this works
tl;dr of the issue: missing } at the end
in the wiki it says one of the advantages to debugging mode is the automatic loading, but i cant seem to get that working. (https://hoi4.paradoxwikis.com/Modding#Debug_advantages)
do i need to do anything special?
Only place you really can use that is when editing focus trees and localisation (although the latter doesn't want to work sometimes)
Easily spottable with proper indentation
ah damn, alright thank you
yeah
support_communism and elimate_communism both being able to be done?
hold on
I think only one has it
yeah, both need to have a mutually_exclusive with eath other in it
try using tabs instead of spaces
Okay
i dont find any info on how to set the starting compliance of a non core state. anyone got an idea?
Ah, I dont think this is real
hmm?
Combact Witdh
Hey guys, Im looking for a dev team so that i can create my big mod! Alternative History btw. Contact pv for more information
hey does anyone know if there is a mod which allows you too rename nations?
I dont believe so
I wanna create a mod but I don't know what to do and I can't follow video guides because it's late at night
I already made an empty mod but that's it
Watch The Iron Workshop's tutorials but if you can't rn then do it tomorrow
goofy ahh nighttime
it's night for me too: 2:54 am
existing and making me irreversibly tired
I'll be going to bed shortly
CET person
yeah
I am in BST
and I don't know why
my alarm clock is 1 hour back
I mean I can watch/listen to it at low volumes it's just that I live next to an expressway
car go brr brr every 3 milliseconds
how do you build a land unit skin can you sepparate a gun from the model?
Paradox Graphics A Comprehensive Guide Introduction: Part 1: Modeling Highpoly / Detailed Mesh Lowpoly / Game Ready UV Unwrap: The first step to textures Normal Mapping: Making Low Like High Texturing A guide to a Clausewitz texture set: Part 2: Rigging FK / Deform Rig: IK: Inverse Kinematics P...
Hello, I want to download the Millenium Dawn mod but I also want to play stock HOI4 every now and then
can I do that without having to subscribe and unsubscribe?
you can enable and disable mods through the launcher
thank you
hey guys does someone know how to add custom loading screen text for my mod?
l_loading_screens.yml
i did that already but how do i make only my custom text show up instead of game's text?
It always should if you’re overwriting the original file
Is there a mod that is world war 1?
One of the biggest ones is WW1 but its discontinued and kind of bad
Few focus trees and forced scripted peacedeals
Ok thank you
Damn, someone should make a mod about a timeline where the Soviet Union never fell and the Cold War continued into the 21st century. Point of divergence where Gorbachev does Perestroika somewhere in the early 1980’s but not Glasnost meaning the Soviet economy transfers to a mixture between a market economy and state controlled economy. This allows the soviet economy to remain competitive and for the Cold War to continue. Glasnost never happens though, so the USSR carries on as an authoritarian state and keeps it sphere of influence in the eastern Block. (maybe Gorbachev dies before he can liberalise the USSR)
Anyone interested?
Is there a statement which says like "do that to everyone in your faction?"
Like if i want to give all allies in my faction 10% stability for example.
does anyone know a mod like state transfer tool, but it also allows u to make a cuntry pupet of other country?
Hello does anyone have a good napoleonic wars mods for hoi4
im so sleepy
sorry for the bad grammar
is there any on_action like on_operation_completed, but allows u to tell wich operation was completed, so it doesnt do it for all?
how do i download millenium dawn ?
can someone help me with some localisation stuff because I just wanna add some funny OP national spirit for fun and the description only said baller_the_baller, I did put "baller_the_baller:0 "Baller the Baller"" but somehow it doesn't work, note I did renamed the localisation file to blablabla_l_english.yml
baller_the_baller_desc: "your description here"
Yeah I did that but it also doesn't work either for some reason
Is your file encoded as "UTF-8 with BOM" ?
idk, I'm on mac so yeah, but still at least the modifiers are working as intended
"idk, I'm on mac so yeah" ?
What does the one thing have to do with the other?
also what does UTF-8 with BOM have to do with the localisation tho
loc file encoded as anything other than UTF-8 with BOM doesn't work
Open file -> save as -> encoding: UTF-8 with BOM
was hoping this will work
I'll find out soon
oh yeah, btw if I'm doing localisation, do i delete all the files in my mod's english localisation except the file that I'm intending on altering
Could someone please help me? events wont work reason: Invalid Event with id: crimea.28 or crimea.29
does anyone know how to create a formable nation?
Hi. How I can said a state is neighbor of a country?
I try this with Moselland and France, but return no (false):
42 = { is_neighbor_of = ROOT } # 42 is Moselland, ROOT here is FRA (France)
There should be a Russian civil war mod
- Change the description to a localisation string
- Put the whole in text one line, use
\ninstead of paragraphs
well finally cracked map cosmetics, uses parts of bits here and there:
Try this:
also for the love of god please use tabs instead of spaces and use proper indention
formable nations are just cosmetic tags and extra cores
What?
You want to check if a state is a neighbor of a certain country?
Yes. I found this to fix:
any_neighbor_state = {
is_controlled_by = ROOT
}
}```
Why did you write the code like that? Why not like this?:
42 = {
any_neighor_state = {
is_controlled_by = ROOT
}
}
You might even want to check if FRA owns and controls the state
In my case, not ^^'.
About the code, just forget to do tabulation when I write here ^^'.
ah
https://steamcommunity.com/sharedfiles/filedetails/?id=2781715543 Check out my most recent mod you can have up to 2 engines, 2 guns on the tank and 9 special slots. Makes for some very interesting creations on tanks
Any tutorials to making the Orignial Map smaller / limiting it to a certain place like the balkans
Is there a way to add the "can_be_parachuted" tag to a battalion through an effect?
To a specific unit? No.
How about to the battalion itself, thus affecting all units that have it?
or is that also impossible
Finally did it
Hey everyone I'm finally looking to start playing hoi4 after all these years and I'm looking for realistic historical overhauls
I've heard bad things about BICE and RT56 so I'm looking at darkest hour atm
Does anyone have recommendations?
What bad things have you heard about RT56?
I heard that it's unfocused and is mainly for alt history paths
I haven't heard those specific complaints before
There's a reason it's the most popular mod, is what I'll say
Somebody knows why Hitler's face is darkened when I use my mod?
it's censored in certain countries
Where can I get a Cold War mod?
guys can someone show me or tell me how to put my sub ideologies icons fom my custom ideology in my mod?
is it //comment// to add comment to code on HOI4 mods?
Any text after a # is considered a comment
Is it possible to optimize fashion better? Magna Europa Reloaded
i doubt it, look at the date - 2021
Definitely not
Hello
im new to the game and I have all the dlc's
can you guys suggest me some mods to download pls?
Are there any fashions for the year around 1500-1700
All of mine
I like Road to 56 for being vanilla-like but less buggy (mostly) and with more content
Old World Blues has an interesting world but has balance issues
Id get a cheat mod to fix peace deals too, and any graphic mods you might like
can U share urs?
Am just kidding, I dont wanna advertise
if it's good then it's good
u can send it in dms
How to make a music mod?
as in
add custom radio stations
thought of making Kaiserreich Music Mod but in Vanilla
so same songs but it actually works
if someone could give a tutorial, it would be greatly appreciated
as in also
certain songs play only when you play a specific country
Where I live Hitler face isn't censored. I mean when i play a clean game i can see Hitler portrait but when I use my mod his face gets darkened. Do you know how I can solve the problem?
https://youtu.be/XWUhe70ue6A
Next time search for an already existing tutorial 👍
This Hearts of Iron IV modding lesson will explain how to introduce new music stations into the game, along with 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 and continue to make more videos like this one.
Music...
Outdated
isn't
has to be made at the very least in September 2022
works fine
nah
It does
2021 too early
Used it last week
at least at 2022
Worked fine
any tutorial that isn't made in 2022 or 2023 is outdated for me
for you, not for anyone else
when i created the mod file, it didn't even have the descriptor file
@quick latch how i get that
Should automatically generate
last time it did not for some reason
not discord
the server
im on server where i can freely say the f word
not related to the conversation
create another mod, it should be there
lets not bypass the filter :)
can the great war mod work on version 1.12.1?
Hello
which mod allows me to play during WW1?
"The Great War". There's also a Redux version but I don't know what changes.
Depends on opinion, tho mine (overhaul mods) are:
- The New Order: Last Days of Europe
- Red Flood
- Kaiserreich (non-redux version)
It's a expansion
The original has been barely updated since like 2019 or so, it's only really kept up-to-date for modern versions but not much new added.
does anyone know how to change what states a country starts with?
say i wanted germany to control danzig
how would i do that
the great war redux
don’t play the original version, it’s very old
redux is still getting content updates too
is it just for me or is the millennium dawn mod taken down?
no it’s there
which one?
ty
oh baby
Don't think the Weimarer Republik was ever this big
It was only that size for a very small time between the collapse of the German Empire and the Treaty of Versailles
What are some mods that add small features but are great
As a German that would be nice and epic
What mod you using to transfer borders?
i would usually use the state transfer tool, but i just used the command console that time
Oh ok
Just in case, Saarbrucken/Sartre was independent but protectorate.
@lofty plaza how feasible is it to make a graphical mod that displays land forts as icons on the map, similar to previous versions of Hearts of Iron?
yes
🙏
oh thats not good
nah ez fix
Isnt that too small?
oh
much better
now i need to completely change the rhine states 😀
you know what, thats a job for tomorrow
a good start to my mod? (it isn't about Serbia, its about Croatia but I am planning to add a Serbian and Slovenian focus tree)
mod is basicly "What if Croatia never declared independance in the form of State SHS but a fully independant Croatia during WW1"
Icon on the map? Wdym?
you know how the airports are icons on the map?
something similar with forts, so you don't need to have 3D buildings on to see if there are forts in a territory
but can be seen by all nations, not just the player who put them down
what would i need to look into to consider making such a mod?
what mod is that
how do i make new states?
mod it
that's not helpful
how do i make a province smaller
state={
id=909
name="STATE_909" # Eupen Malmedy
manpower = 64000
state_category = rural
resources={
}
history={
owner = BEL
victory_points = {
3488 1
}
buildings = {
infrastructure = 3
industrial_complex = 1
air_base = 0
}
add_core_of = BEL
}
provinces={
3488
}
local_supplies=0.0
}``` also i added this state but it doesnt work, game crash
how do i fix
or am i doing this wrong
tbh idk what im doing at all
If you want to make a province smaller / divide it into smaller pieces, you'd have to modify the one texture file with every province I think
(Never did anything like that tho)
afaik there's a program that can edit the map for you but I neither know where you can find it nor how it's called
Does anyone know a mod that adds a Mongol Empire formable?
@quick latch sorry again but I can't even find the music template mod
skill issue, should be linked in the video's description
i would have to relog in because it doesn't take me to the app
Then login on Steam in your browser, isn't that hard
can someone help me figure out why my game keeps crashing when i try my mod? i used nudger but my game works fine without mods https://drive.google.com/drive/folders/1F01lDEMT01SWoZThnUyExIur1mz7a4eZ?usp=share_link
the drive folder has my files
... Check the error.log file
ohh smart
"[21:49:56][state_effect_implementation.cpp:1951]: common/scripted_effects/POL_scripted_effects.txt:62: start_resistance Danzig already has a resistance"
what does that mean
Danzig already has resistance
but i didnt edit danzig
Trying reading the error message the next time
So you can’t start resistance if they already got it
the only state in poland i edited is bialystok
Happens if you change something about Poland/Danzig, something like that
If it doesn’t impede the game play dw about it
my game crashes 💀
Then worry about it
made a state in bialystok
💀
state={
id=97
name="STATE_97"
history={
owner = POL
victory_points = {
11301 3
}
victory_points = {
3393 3
}
buildings = {
infrastructure = 3
industrial_complex = 1
air_base = 3
}
add_core_of = POL
}
provinces={
290 347 11247 11274 11301 11329 11357
}
manpower=957200
buildings_max_level_factor=1.000
state_category=rural
local_supplies=5.000
}
``` normal state
id=915
name="STATE_915"
history={
owner = POL
victory_points = {
3254 1
}
buildings = {
infrastructure = 3
industrial_complex = 2
}
add_core_of = POL
}
provinces={
400 3254
}
manpower=200000
buildings_max_level_factor=1.000
state_category=town
local_supplies=5.000
}
``` new state
did i mess up something
i did
only state in poland
i didnt say others
i made a few other states
but as i said
i have no clue what im doing
thus im here for help
first error
state={
id=735
name="STATE_735"
history={
owner = FRA
add_core_of = OCC
add_core_of = FRA
add_claim_by = SPM
victory_points = {
778 1
}
}
}
}
provinces={
764 778 3764 6609 6975 9603 9736 9745 11573
}
manpower=907500
buildings_max_level_factor=1.000
state_category=town
local_supplies=0.000
}
what tf is wrong in line 20
or
"near line 20"
What does line 20 say
provinces={
Wrongly set brackets, fixing it rq
state = {
id = 735
name = "STATE_735"
history = {
owner = FRA
add_core_of = OCC
add_core_of = FRA
add_claim_by = SPM
victory_points = {
778 1
}
}
provinces = {
764 778 3764 6609 6975 9603 9736 9745 11573
}
manpower = 907500
buildings_max_level_factor = 1.000
state_category = town
local_supplies = 0.000
}
Here's your fixed code
Use proper indention next time
IF a map mod has only graphical changes, and no code etc... it will be achievement friendly yes?
should
tysm
do i have to just add spaces between brackets and equal signs?
@quick latch
no, you literally added like two } to much
can u point out where
compare your old code to the one I sent you, there's your answer
hmm alr lemme see
im basically adding the music files manually, is there any way to speed up the provess?
define "adding files manually"
Like
into the music asset
i add each song name manally
which will play (at first
how can I speed this shite up
[22:17:44][persistent.cpp:48]: Error: "Unexpected token: add_core_of, near line: 16" in file: "history/states/852-Istria.txt" near line: 16
[22:17:44][persistent.cpp:48]: Error: "Unexpected token: add_core_of, near line: 17" in file: "history/states/852-Istria.txt" near line: 17
[22:17:44][persistent.cpp:48]: Error: "Unexpected token: add_core_of, near line: 18" in file: "history/states/852-Istria.txt" near line: 18**```what does this mean
what's wrong
seems like one too many brackets again, lemme check
of adding the songs into the asset file
that will paly
play*
state={
id=852
name="STATE_852"
history={
owner = ITA
buildings = {
infrastructure = 3
dockyard = 1
}
}
{
add_core_of = ITA
add_core_of = YUG
add_core_of = CRO
add_core_of = LBV
}
provinces={
11735
}
manpower=25850
buildings_max_level_factor=1.000
state_category=rural
local_supplies=0.000
}
``` fixed it partially
[22:19:06][persistent.cpp:48]: Error: "Unexpected token: =, near line: 16" in file: "history/states/852-Istria.txt" near line: 16
[22:19:06][persistent.cpp:48]: Error: "Unexpected token: add_core_of, near line: 17" in file: "history/states/852-Istria.txt" near line: 17
[22:19:06][persistent.cpp:48]: Error: "Unexpected token: add_core_of, near line: 18" in file: "history/states/852-Istria.txt" near line: 18
[22:19:06][persistent.cpp:48]: Error: "Unexpected token: add_core_of, near line: 19" in file: "history/states/852-Istria.txt" near line: 19
[22:19:06][gameitemdatabasehelper.h:150]: Error: "Unexpected token: provinces, near line: 22" in file: "history/states/852-Istria.txt" near line: 24
[22:19:06][gameitemdatabasehelper.h:150]: Error: "Unexpected token: manpower, near line: 25" in file: "history/states/852-Istria.txt" near line: 25
[22:19:06][gameitemdatabasehelper.h:150]: Error: "Unexpected token: buildings_max_level_factor, near line: 26" in file: "history/states/852-Istria.txt" near line: 26
[22:19:06][gameitemdatabasehelper.h:150]: Error: "Unexpected token: state_category, near line: 27" in file: "history/states/852-Istria.txt" near line: 27
[22:19:06][gameitemdatabasehelper.h:150]: Error: "Unexpected token: local_supplies, near line: 28" in file: "history/states/852-Istria.txt" near line: 28
[22:19:06][parser.cpp:932]: Error: unexpected token in file: "history/states/852-Istria.txt" near line: 30 ( } )
[22:19:06][gameitemdatabasehelper.h:150]: Error: "Unexpected token: }, near line: 30" in file: "history/states/852-Istria.txt" near line: 30```
still lots of errors
this too
id=852
name="STATE_852"
history = {
owner = ITA
buildings = {
infrastructure = 3
dockyard = 1
}
add_core_of = ITA
add_core_of = YUG
add_core_of = CRO
add_core_of = LBV
}
provinces={
11735
}
manpower=25850
buildings_max_level_factor=1.000
state_category=rural
local_supplies=0.000
}```
Try this
i have no clue what u changed but alr
mf was 2 secs faster than me
EYYYYY
gg
istria errors gone
how can I do this faster
id=910
name="STATE_910"
history={
owner = DEN
buildings = {
infrastructure = 4
industrial_complex = 2
air_base = 1
}
add_core_of = DEN
provinces = {
332 11251
}
manpower=57000
buildings_max_level_factor=1.000
state_category=town
local_supplies=0.000
}
}
bracket issues here
i think
am i putting the wrong brackets