#modding
1 messages · Page 21 of 1
Does anyone know of any mods that make the AI justify/declare war on the player without using focuses?
"Why game crashes when I try to transfer my units across sea? It happens at every sea region. I built them like this screen shot. Am I missing something?"
Still not fixed.
Tried ways:
changing naval terrain type
{ } control
Please help because sea regions are super important for my total conversion mode.
Rate the menu
7,5/10
I like the colors, but the font in the center isnt optimally readable in the middle and bottom left banners, version number should be in the corner
Also the images are stretched, try fixing that
Why does your launcher look like that
it's the website
the paradox plaza website
5/10
anyone know some really fun mods?
Can you add a mod mid playtrough
Also is there a mod that adds more postwar tech? I want more stuff to do after 1946
Can anyone send me a basics to make a map bcz MapGen v2.2 is not working
have you still not found a way to fix it?
when i made my naval region it worked just fine, perhaps you might have put a normal province in the sea region?
Also, where is the national focuses folder located at?
can anyone make mod replace all models with shober pls
So i edited some german states, And im trying to make a more-realistic rhineland, but even though it should be working, it's still the normal focus tree when i get in the game.
how can i solve this.?
What did you change?
I think I fixed it. While building the custom map, I wasn't able to take a look at buildings.txt so the crashes was becuse of that file. Right now, it looks like mode is running smooth but in future, we'll see
Did anyone accounter this problem before where Custom Game Rules arent clickable?
I have absolutly no clue how to fix it
I have a whole file and no errors are given so that is not the case
i added a couple of states near the Rhineland to make them more realistic.
So what exactly did you change?
i tried to make it so when "GER_Rhineland" is finished, those 3 additional states would get remillitirized.
but for some reason they aren't.
I created 3 additional new states, and wanted them to get demillitirized with the Rhineland focus
And those states start as demilitarised, correct?
yep.
Try changing it to every_owned_state
Alrighty will try that in a bit.
it didn't work.
the national_focus folder should be located inside of the common folder right?
Yes
common/national_focus
do i need any other folders other than national_focus to make them work?
as of now i have only these 4 folders
No. Does your error log say anything?
German focus tree referring to changed Italy tree
yeah that.
Anyway.
where is the reform byzantium decision located at?
im trying to find it so i can revert a couple of things
Any one know a way to give multiple resource rights of a tile?, for example one nation has rubber rights to the tile another has iron rights
idk if thats possible
hi im really new to modding and i wanna create a formable nation called "united holylands" that requires a bunch of states and one of the popes to be the country leader, it can only be formed by fascist Malta and any party in Italy. however the event isnt showning up in the decision tab? can someone review my code to fix the issue? thanks
Can you post your code? I wanna use the formable nation code
i just copied it from the folders.
of vanilla hoi4
and im doing my own little changes.
If you ever manage to fix it, lmk, cause I'm having that problem too and have given up on it atm
i made a custom country mod and everytime i try to use it it crashes a few in game hours in and the only error log is "[pdx_entity.cpp:323]: Failed to find entity "ITA_mechanized_vehicle_1_entity" for attachment in vehicle"
How does one have a custom puppet color when modding, for example, the color changes when Switzerland is puppeted by Italy.
I will, however, I have pretty much given up aswell. No clue at all what good be the cause. And sadly, no one else I have asked about knows it either

Might be worth joining a mod discord that has done so for help
Not everyone seems to have encounter this problem
But if you find out how to fix it let me know haha
hey hey hey
anyone knows any loyal family
that used to rule austria
with a adult member
still alive
on 1936?
Well, the Habsburgs of course
I don't think there are many royal families that ruled over Austria besides them
They basically ruled over Austria for almost all of Austria's history
oh
The Habsburg came about in the 1200s iirc, so quite awhile back
Hmm.
Can i make it so when "Triumph For The balkans" is pressed, Vojvodina and West Banat. will be split between Romania and Hungary?
so where to start modding
I'm already familiar with programming and game modding (minecraft mostly)
Wiki and other mod should do the trick
But you should have idea first
warcraft in HOI
someone did it but really poorly
Not so quick you should start small
well it can actually be done. I have a team of 5, and we are all familiar with modding games
Still i really think you like modify country to fully understand what code do
well we will start actually modifying the game before re-creating the game for sure
That would be great
#battle of grahovac
country_event = {
id = montenegro.47
title = montenegro.47.t
desc = montenegro.47.d
picture = GFX_report_event_generic_read_write
is_triggered_only = yes
fire_only_once = yes
trigger = {
has_border_war = yes
}
option = {
name = montenegro.47.a
ai_chance = { factor = 101 }
add_war_support = 0.03
OTO = {
country_event = montenegro.48
}
add_equipment_to_stockpile = {
type = cannon_equipment
amount = 20
producer = OTO
}
add_equipment_to_stockpile = {
type = infantry_equipment
amount = 250
producer = OTO
}
damage_units = {
province = 13779
province = 11858
state = 1204
region = 24
damage = 0.3
org_damage = 0.4
str_damage = 0.2
ratio = no
army = yes
navy = no
}
}
}
effect demage units doesn't work , interesting that the game doesn't read it as broken at the same time
Hi, everyone here.
Recently, I wanted to add something new while enjoying heart of iron 4, and I visited here to get information about it. Please take good care of me!
I have a question, is it possible to add an Air Force mission?
I'd like to add a mission similar to the Air Force's CAS mission (a mission to attack non-combatant enemy forces), and I wonder if it's possible.
each province needs its own command
could someone tell me how to fix the road to 56 kill hitler crash?
I made a mod with a custom country and state and I can load into a game but once it gets to hour 15 or 16 it crashes and the only error that comes up is
Send over the mod files to me, I’ll check it out in a few hours and try to diagnose it
thank you, i sent the mod
@thick pumice his fault
What
its literally @thick pumice modding
Got it working. I had to revalidate the building, airport, and rocket files. Also, changed 00_countries to a new file to avoid incompatibility
Really, thank you
im new to modding and am currently trying to make some ui changes but i cant seem to find the image for this (the background piece) anyone know what the file name of it is? or can i not change it
who should i play on endsieg
I want to get into modding but I dont know how to start
Come up with a good idea and stick to it
Use wiki and other mod for example
How to change main menu page background?
Germany
hidden idea that reduces AI desire to join wars ig
Itll make them say no if their autonomy is high though, so only do it for low autonomy puppets
Does anyone know of a mod that has north american states but also includes the rest of the world?
how do I multiply the number of resources in a state by a specific value?
i want to multiply the amount of resources in all states by 10
will this work for the name? or do i gotta remove the space
god damn, hoi4
naming them
in localisation
make a file named "focus_l_languagehere" and put the focus id in, then put :0 infrong
space, then the name without _ or TAG in it
example: army_effort:0 "Army Effort"
then you can also put the _desc for it, so it says something in the description like this
army_effort_desc:0 "Despite the increasing possibilities of aerial and naval warfare, ground combat is still key in tomorrow's wars. With preparation, we can avoid reliving the hell of the trenches."
np
now to figure out why leader not working
or flags
this is what i've got for the leader
this is the modded code for Brandenburg
the tag works for the land
but making a leader, or allocating flags doesn't work
give them the Austrian provinces
you need debug mode for it to work
then find the austrian state ID
in your mod, put those files in, and make the owner GER, then add a core of GER but keep austrian core
np
<@&916727924093239336>
Use characters
wdym by that
create_country_leader is mostly retired in history files for recruiting characters
it makes it easier to know whether you made a mistake or if the game is being glitchy with old systems
me who just copied it from algeria
without coutnries, hoi4 is killing me
the name works, ideology works, leader doesn't
nor does flag
normally flags with .tga format work in paint.net
but i can't open my flags
odd..
is that base game or modded files, just to be safe
good
uhm, no idea tbh
ruh roh raggy
if I want to add a building to every state can I just use a text file in the root folder?
yep, sounds like hoi4
average day remaking flags to work
ggs
all of them
i gotta turn them into .tga
.dds doesn't work
not history?
flags done for now
i need bigger monitors so badly
means i can see things better at a higher refresh rate
@pale sparrow how would i go about making a leader in your way then?
bc im struggling
should be it's own sub folder for the mod itself
copy a character file with few entries from the basegame, adapt that, then recruit the character in the history file
if I want to add a building to every state can I just use a text file in the root folder?
np
A
ig i gotta do that for leaders
flag works :D
i flat out copied the algeria leader over, nothing
so ima have to do mari way
if I want to add a building to every state can I just use a text file in the root folder?
you should just add it to the actual state?
every single state file
this way needs NSB, or no?
pretty sure, ion tamper with states much so im not fully aware
._.
it would be the easiest way, cause it edits the state itself
my plan is to add a civ to every state and increase the amount of building slots by a large amount for huge industries
worldwide
the whole world?
yes
holy shit-
buildings = {
infrastructure = 4
arms_factory = 5
industrial_complex = 4
anti_air_building = 2
air_base = 6
just add the stuff you want to this for example, this is brandenburg
then max infrastructure is a different file for the whole thing
another idea to pair with that is industrial mobilization so like 1500 factories = 3% recruitable for huge armies as well
but of course i would need to add lots of resources as well
so close to its true size
molotov-ribbentrop
and take lithuania
then take the maginot line
then germany is how it should be
one more austrian state, part of italy
no
forgot the name
this area
it's an austrian core
ye
alto
whats your plans for the mod?
Wrong ping
mb
so far, i've fixed flags
thats about it
mari told me a way, but idk how to preform it
can i post my mod here for debugging?
i can rq take a look at it
it's gonna take a bit, bc i've got a few things going on irl
okay, i can explain the things i did when your ready
ready
okay
in the common folder and then buildings i have increased the max levels to 100
of civs mils and dockyards
and in the addcivs.txt i added 2 civs to every state and 100 buildings slots
but it doesnt add them
did you look at it
Not yet, I'm rn looking at base files to find a fix
how can i get the mod files from mods off the steam workshop
cause rn, i have the .mod files
but i can't access actual mods folders
What should I do to add cores of a none existent country to a state? I want to add a scripted "rebellion" via event and create this new country
make the country
then an event will cause it to get cores
like the african countries
Oh thats a great example. I'll take a look and copy some from them
It should just be an event, that adds the core of that country to the provinces
did you find anything?
Yep
I'm testing it rn
It takes my pc a second to load things
If this works, then you have 100 building slots maximum
I also edited the base values for each type of province to have more for the start
what was wrong with my mod?
The African countries? They're definitely instantiated in the history files
The actual example would be Slovakia.
Here. Changes depending on what drive your HOI4 is on though
Ye, I found it
Just a few things missing
like what
a defines.lua to tell the game the new rules
and i added this GFX to give the better view of all the stuff
that's fine
the mod i took this from, is 76 max
ima work on fixing the current error log
but every country had the 100 slots now
which gives an option to add expand building slots and civs or not?
or what did you want to do with it
k
thats if this doesn't work
this?
probably has 1 simple unkwown fix
can you send me a zip of the current mod i want to see the additions you made
for learning purposes
from 5 kb to 600 kb
what did you do in common/state_category?
oh increased local building slots
was that necessary?
lol
actually, perfect
see how that doesn't have the same amount as this state does?
brandenburg v hessen
this is a plains biome
does the biome break it or do something with building slots?
how
idk
any time i mod, ion got it
when i run the game hitler is normal
goofy
what is the size of the loading backgrounds
thank you
um
how do I replace a loading screen
i have the file of the actual loading screen
but I want to replace the Battle for the Bosporus loading screen
yes
One last question for today: When I create a dynamic country, can I copy a none existent country's localization, portraits etc every information
💀 what the hell are you doing
is this a good tank template? I will upgrade howitser to medium canon 2 when i get that
so pretty much, everything would theoretically be german
Lmao fair
shall we continue working tomorrow?
Yuh
Countries don't use their assigned colors instead they just use a randomly selected one. Which file should I send for help?
Sir this is the modding channel
Is there a mod that lets you do a 3 way civil war?
Like start a communist civil war and then a fascist one while the first one is still going on
Is there a written tutorial somewhere on how to mod the research trees? and focuses
im trying to change some icons but i cant seem to find anything about how to do it
Too many closing brackets
The one right after competion_reward = {
Technically any at the end of it work, but that one would make it cleaner to read
Which yeah this is pretty awful to read
I created a dynamic country but I don't understand the tag system of it. Example:
create_dynamic_country = {
original_tag = IMP
copy_tag = IKB
set_cosmetic_tag = IKB
Broke away country's tag should be IKB and its origin country is IMP but it just sets cosmetic tag and I cannot refer to the new country because of cosmetic tag. I'm so confused
copy_tag merely transfers stuff, it cant actually set a tag
bwuh i got so many mods it takes my hoi4\mod file so long to load
and i still need the leaders
for my mod
mari can you help me get started?
because iirc, i can also use it for starter generals n such?
would it just be using this?
I made unit file EOB_1936.txt
same as country tag
but no units show up
division_template = {
name = "Badajoz Brigade"
division_names_group = EOB_ARM_01
regiments = {
infantry = { x = 0 y = 0 }
infantry = { x = 0 y = 1 }
infantry = { x = 0 y = 2 }
infantry = { x = 0 y = 3 }
cavalry = { x = 1 y = 0 }
cavalry = { x = 1 y = 1 }
light_armor = { x = 3 y = 0}
light_armor = { x = 3 y = 1}
light_armor = { x = 3 y = 2}
}
priority = 1
}
### Starting Equipment ###
instant_effect = {
add_equipment_production = {
equipment = {
type = infantry_equipment_0
creator = "EOB"
}
requested_factories = 1
progress = 0.28
efficiency = 100
}
}
remove_ideas = GER_hjalmar_schacht
If you want it to permanent removal you retire the character
If you just wanna fire the advisor, remove_ideas, then the idea token
If they need to be unavailable/hidden just change their availability/visibility checks, also auto-fires them (idk for visibility, availability would fire)
Just add NOT = { has_completed_focus = ... }
To the visibility
i figured it out :D
is there a command i can run in console to change who's the leader of a country as a person?
whats it supposed to do?
hello
I need help, I am trying to download eoanb from github but when i do it doesnt show up in the HOI4 launcher
so it should remove the advisor?
or what?
you have the game open in debug?
or just the ` + debug?
then no clue 🤷♂️
i haven't even done that in either mod im making
ggs
can anyone help me with a github download?
idk
some people have that for theirs
this seem alright for a Young Kaisar Wilhelm II?
Countries don't use their assigned colors instead they just use a randomly selected one. Which file should I send for help?
common\countries\colors.txt
make sure it's all working correctly
and that your custom countries are inside it
Holy crap that’s really good bro
i didn't make it, this is from a mod just for this portrait
agreed, props to the maker
You should have colors.txt in your countries file in common with your custom nations if you don’t that happens
Easy fix
It’s either the German version or the free dlc that doesn’t have it censored is disabled
so effectively, die?
alright, thanks
because Wilhelm II can't live forever
he died in 1941, so he will die 1941 naturally
but there will be random events for assassination attempts against him if stability is low
Ah nice
ye
if that happens, Wilhelm III takes the throne as crowned Hier, and a civil war will take place due to the outrage of II's death
Rip
W ai
if hitler didn't start ww2, he'd have still died rather early
where Wilhelm II lived until 1941 when he died in his early 80's, Hitler was a meth addict, vegitarian, and had several issues mentally and physically, all that would add up to him dying in the 40's, 50's or maybe the 1960's
so ima take a wild guess, and say he would have died in 1958 naturally
have you fixed the errors from yesterday or not?
nah
haven't touched anything but the mod i've been workign on for a while
wanna work on it now?
can't
okay is fine
guys is there a mod to continue advancing my loadout,outfits design,planes...Because iam playing as the great war mod and iam in 1942 and using ww1 planes and loadouts
you use paradox for mods?
wdym
no idea
but i just had a stupid mod idea
Undertale
like, the full undertale map
human world, and the underground
I do have that folder, and the countries tags and colors are in it. I’m not sure what I should do
can someone help me with a github download that isnt working?
im trying to download eoanb from github but it doesnt show up in the launcher
Does it have every country or just your customs
any modding tool?
I had odd colours appearing on my custom countries once - removing "color_ui" from the individual countries' .txt files fixed it somehow
You shouldn't need it for the countries.txt files
Only the colors.txt
The color_ui is for the color your units will have in that unit view mod
Removing it didn't work...
You need to keep them in this
But only use your country colours
The game will source to the main game files for anything missing
I tried that and it didn't work.. I feel as though hoi4 just wants to troll me.
seems as such
hoi4 is a shitshow to recode for mods, especially bigger ones
the newer updates help though
Do you have any other ideas? I'm guessing I've tried most of them now but, hey I could be wrong
no clue tbh
anyone ever used text boxes for players?
wdym
yo im playing millenium dawn
how do i make my economy go boom
No comment
anyone knows command to remove mission?
please comment
Alt+F4
then unsub from MD
thats the easiest way known to man
america elected al gore then immediately declared war on cuba
@bitter wedge is it formatte right?
formatte? I'm not sure what that is?
how can i make it so my leaders and FMs can be separated
ik theres a way in NPP to do it
FM?
Its spelled the same way as the base game ones
Colours are supposed to be defined in the country.txt file
I'm not sure why you would do it with the colors.txt file, that's usually reserved for cosmetic tags.
I believe your issue may stem from you doing more work than you possibly need to
I'm not sure, because the color is also in the countries .txt file.
That's the map colour
In the colors.txt file, it defines the colour for the UI and I forgot the other one
I'm having trouble with the map color, not the Ui color
The new nation are in Italy and they have bizarre colors. Not the best screenshot. I'm not done with the borders either.
I tried doing it with only my modded colors but that didn't work
Thats the modded colours then, germany is still black, Poland still pink
Hm, odd
Do you have rgb before the quotations?
yes
Here is one for example
ITC = {
color = rgb { 255 85 0 }
color_ui = rgb { 255 84 0 }
}
I did, thats the color I want?
Ah ok
So what's the issue
Look at the colour of #modding message vs the rgb code on a rgb code picker or smth
what is this suppose to mean? (Great war redux) the white thing just appeared in russia and no im not clicking on the province
It could either be a decision or a legacy border war
should be fixable with a save, relaunch and test
yep, border war, ended 3 months after it appeared
Ggs
Has the 'Mod tools' button been removed?
My launcher is missing the button and seem unable to create a new mod, and I believe the new mod structure of Paradox games make it not possible to do so by simple file creation
Never mind, I remembered from Stellaris. Obviously it is behind the ‘upload mod’ button because that makes such sense.
I hope the person who moved that button have some lukewarm tea today 😆
Everytime i play a mod i always have issues
Millennium Dawn for example
Always crashes when i load a saved game
Other mods always crash when starting a game
Takes the fun away tbh
If anyone has a fix lmk
Other mods aswell
Ah
I mean you know a fix?
The color that I assigned them Isn't showing up, it just choosing a random color.
same
any mods making peace conferences give you the ability to take the small provinces for more accurate borders instead of whole states
also is there a way to make md less laggy at the end of the day? it lags like shit when the day ends
you can only take full states
you cant just take some of the provinces
is there a mod to change that or make states just a tad bit smaller
cuz i was making long chile and california is just way to big and blocky
any states outside europe are big as shit
is there a way through national focuses to change a leader but not the party?
because i wanna change my leader to give different bonuses to the country, like stability or training speed
ik it's possible with the Hungary DLC
i know theres a way to retire leaders in md but not sure if its possible in other mods
im making a focus tree for the first time and when i click on the nation only the first focus shows up and none of the other focus, i can send screenshots if it would help
not so much retire, moreso give new a new leader
let me check the Hungarian tree
found the line i need
promote_character =
now does it promote them to the next role up, or is it straight to leader
it gives a new leader lol
Ah
Ion play MD, I don't like to think of myself as utter rubbish to spend time playing such
Make them work off the position of the first one
got a custom focus with custom gfx
it won't show here, anything im missing
(the gfx)
said gfx
yes
odd....
ai-led peace conferences 🤤
So guys, about the colors not working. I found out why and fixed it. I'm so mad at myself for it. In each countries .txt file, there was an extra space and the rgb code...
All good just shine interface
Finally,I can stop modding with a reason
newsest icons :3
Nice
i like the helmet one it looks really nice. but the rest are just a gradient on a cut out of a map that could be done with a template. its not bad it looks good but ive seen them before a fair amount of times.
Is this rt56?
@green lark the italy one looks mutilated
It's an older itsly
It’s scuffed 56
💀
Lol
I did custom lighting for the kmt symbol and the Chinese map one, and messed around a lol with effects for the rest of the icons
guys is there a axis victory other than thousand week reich and last of days of europe
Well there is the Sun Shinning on the world but mostly focus on Asia
oh
should i play as germany or japan on that mod
Both work well
anyone knows some good mods?
missing the _desc on it?
this should work right?
just fixed it, i saw an issue
Hey im looking for a mod team of like a few people to help me make a alt history mod
Dm me if your interested and ill give you the run down
anyone know how to setup hoi4 mod utilities for VSCode? idk if i need to put it into hte hoi4 file from steam, or in the mod file
nvm, figured it out
is the expire date YYYY.MM.DD?
for an ideology to work, every country tag needs an entry in parties_l_english.yml right?
No, that has basically no purpose
Nope, only if you want specific names for countries
gotcha
time to hate myself
gotta make this, but for communist germany
when making flags, for a puppet what would i put for it?
like SOV_GER_commusm.tga for a communist puppet of germany that soviet owns?
Nah you have to set cosmic tag
how would i do that?
for the cosmetics, what do i put for the mod so it doesn't need TFV
"TAG_GER_fascism_autonomy_puppet" is it this
is there anyway to upgrade a state category in the focus tree
i want to upgrade some states only if the player goes down a certain path
https://hoi4.paradoxwikis.com/Cosmetic_tag_modding this should explain them all
You can use this code
set_state_category = rural
thanks
someone please tell me why the colors do not change in-game
cosmetic.txt
OTT_UNIFIED = { #WTT
color = rgb { 114 61 70 }
color_ui = rgb { 114 61 70}
}
OTT_UNIFIED_communism = { #BftB
color = rgb { 114 61 70 }
color_ui = rgb { 114 61 70 }
}
OTT_UNIFIED_democratic = { #BftB
color = rgb { 114 61 70 }
color_ui = rgb { 114 61 70 }
}
OTT_UNIFIED_fascism = { #BftB
color = rgb { 114 61 70 }
color_ui = rgb { 114 61 70 }
}
OTT_UNIFIED_neutrality = { #BftB
color = rgb { 114 61 70 }
color_ui = rgb { 114 61 70 }
}
This is a dark red, similar to kaiserreich
but it never changes
same with the Qing
cosmetic.txt
MAN_restored = {
color = rgb { 64 104 149 }
color_ui = rgb { 64 104 149 }
}
This is a blue color
Thinks that why he’s asking
Could I pay someone 6$ to make mod for NATO Counters to simply make me able to set any NATO Symbol I want in the division designer, most mods don't work at all and half of them are broken, I just want to set the symbols in the division designer. hopefully I am not in the wrong place
I don't care if he take it from a workshop mod and edit it or somethin I just want the symbols lol
Are these attached to the base color or a cosmetic tag
I might do that at some point
I'm willing to pay lmao just pls get it done if you want
Its a good idea so Ill probably make it regardless, its just low priority
because now no workshop mod Works and the thing is simple u just need some days/motivation to edit and add
Odd
Yeh I used to use a NATO icon mod but it wasnt great
Including MPU Counter, abandoned and new updates aren't suitable, would rather make one from scratch
Yes
I don't know why paradox don't' have it already
like NATO Counters in divs are automatically set based on the template brigades, but there should be option to manually set it yourself
The colors of the map or what I said I put in the file
Cosmetic tag?
Idk what you mean by attached to the base color
Can someone help me? My Focus isnt appearing
It has a relative position of a focus that isn't in that tree
Perquisite also
It was x 2 y 5 before
Or just a default from the australian focus tree
i just changed it to something else now to see if it appears
can anyone tell me why my map mod keeps crashing my game? i have an agglomeration of mods rn and the map part of the mod just keeps crashing my game and without it it works fine. Here's the adjacencies.csv that was added (also the impassable terrain was removed but i dont think that could be causing any issues)
like if i remove the map folder in my mod it doesnt crash
but if i have my map mod on and start the game it keeps crashing at 1936.1.1 14:00
The best I can say is to redo the focus code
@young holly
I know, it happened to me too
All I can say is to fiddle around with it
I can send you some code
k
I think I figured it out
Are you missing the } in the end?
Check your code and try again
I'll check
where exactly?
One needs to be bellow the ai I think
I don't have it on, at the moment
Like, at the end
Yes, erase everything except the ai_will_do
And make sure there is a } above and bellow the ai
like everything?
Hold on
Have you finished the tutorial?
On the iron forge?
Sorry I'm not used to this arrangement
Iron forge?
But you CAN erase from factor = 1
To factor = 0
im not used to any of this
ok
Im following a tut on yt
If you found this video helpful and want to help the channel grow you can use the super thanks button above, any amount helps the Iron Workshop improve and continue to make more videos like this one.
This lesson will explain how to create/edit a new focus tree in Hearts of Iron 4.
Timestamps for this tutorial/lesson:
00:00 - Lesson beginning
...
This one
Please arrange the syntax
pretty much
is it set to a Tag in the colours, or is it cosmetic, where they tag isn't limited to 3 characters
cosmetic
you need a closing bracket for each opening bracket
then put your cosmetic tag for it
for what? i do not understand
YES i WAS WATCHING THIS
how cosmetic tags work?
Sorry capslock
if so, then i know how they work
no idea
Alright, hold on lemme send you my code
See if you can cross-examine it with yours
just for the sake of sanity, ill reset the question.
I have the Ottoman Empire and Qing Empire set to different colors. I set the Ottomans as red and the Qing as blue. I changed the rgb values in cosmetic.txt
MAN_restored = {
color = rgb { 64 104 149 }
color_ui = rgb { 64 104 149 }
}
OTT_UNIFIED = { #WTT
color = rgb { 114 61 70 }
color_ui = rgb { 114 61 70}
}
OTT_UNIFIED_communism = { #BftB
color = rgb { 114 61 70 }
color_ui = rgb { 114 61 70 }
}
OTT_UNIFIED_democratic = { #BftB
color = rgb { 114 61 70 }
color_ui = rgb { 114 61 70 }
}
OTT_UNIFIED_fascism = { #BftB
color = rgb { 114 61 70 }
color_ui = rgb { 114 61 70 }
}
OTT_UNIFIED_neutrality = { #BftB
color = rgb { 114 61 70 }
color_ui = rgb { 114 61 70 }
}
Yet despite this change, when I play the game, the Ottomans are still green and the Qing is still yellow.
I changed the colors of other tags and they seemed to work fine [for some]
HRE also has this problem
I created new tags too, such as VIN_unified which doesn't change color upon its application to a country
Also with Napoleonic France; I set Napoleonic France to be red when it's communist yet it remains blue
The official lyric video for Smoking Snakes by Sabaton, taken from the Heroes album.
➞ SUBSCRIBE for more Sabaton: https://www.youtube.com/c/Sabaton?sub_confirmation=1
➞ MERCHANDISE Official Store: https://sabat.one/ytdshop
► Spotify: This is Sabaton: https://open.spotify.com/playlist/37i9dQZF1DX99A2f2lNH9g?si=OX3cXWFET0yMYxt0Pnb5VQ
► Apple M...
ok
@young holly is this correct?
Does it work
let me test
if it works it means that it's correct
nope
whats the error.log saying
thats it?
odd
ik
my nazi germany not working (censored for swastika on flag)
it should have this image of hitler for the portrait
The artist
np
also
If you wanna copy past
e
Paste them bellow the line
Make sure that the } is bellow the focus
So going down is like -10?
yes
But
Keep in mind
if you have a focus that is connected via another one
If you move the one on top it will move ALL of them
ye
Like the first focus
Play with the y and x
which one of these should i use
create_country_leader = {
name = "Adolf Hitler"
desc = "POLITICS_ADOLF_HITLER_DESC"
portrait = "<directory>"
expire = "<date>"
trait = {}
}
or just
create_character =
Here is how mine looks, you can take this as a ref picture
(ignore the non centered one)
because as it sits, hitler isn't working
looks rather nice
nah, google varies, like fanom is 1.4.2 and hoi4 wiki is 1.12, but neither work
How can I see the X and Y in the focus tree? Like is there something like Nodge for the States but with focus Tree Coordinates?
if you want, there are websites you can use to organize it with a click and drag action
Yo guys
I was making like a normal focus tree
It was going alright
Idk how but
I messed it up
whats the issue
send an ss of the code?
I did it
But like -50y makes it go up and y50 go down
how do I make it so when completing the focus germany gets a higher opinion of me?
uhhh alright
I wouldn't worry about that now
I want to have my first focus done tho
my work ethic is to first of all make the tree, THEN i work on names/effects
Its easier
ok
I don't know where either
Visit the formus
Or somewhere
specify what part
Also =
ok thanks
also if your doing a specific party
Can you link the page to find all the effects?
I could use them later
you mean the wiki?
mhm
wait u dont have to restart the game when doing changes?
omg
ctrl s
most changes besides localization will take effect
and or it crashes your game
lol
cool
just make a new comestic tag, then your good
do u know how to make that another country gets a higher opinion of you?
prob make an opinion modifer
then set targeted modifer
you can specify if its a trade modifer
for example make a modifer(there is plenty of generic ones to choose from)
how?
you doing it via focus?
yes
i made new ones for different countries
the colors do not work
did you set the cosmetic tag of that country via those decisions or focuses
the new ones i made are neither
but they shouldnt require that
GER = {
add_opinion_modifier = {
target = ROOT
modifier = hostile_status
}
}
kinda like that
how do I make it to like me?
reverse to set vice versa
replace root with ger and root with get
then find a modifier of your liking under opinion modifier
ok
when you do the focus, under completion reward of the focus add set_cosmetic_tag = (name of cosmetic tag)
it may already have one so just delete it
i didn't know that console did that
set_country_flag = TUR_ott_sultanate_flag
TUR_set_appropriate_cosmetic_tag = yes
current event does this
turned me red
its working!!!
thanks alot
That's the Ottoman Sultanate
not the Ottoman Empire
Reclaim the Empire brings back the Ottomans
yeah that has its own tag assocaited
Uh its making me like them, how do I make them like me?
switch it
wym?
so set the scope as their country
so ger = {
oh
yeah set it to ger = { then target you
like "ger = { add_opinion_modifier = { target = BAY modifier = huge_increase } }"?
so germany does exists?
Except independent bavaria everything is vanilla
yes
making a USSR size tree for this
After I added a nation the game just crashes upon launching, here is a picture of the error.log file, let me know if you need any other files for help.
missing quotations
?
The game says it crashes to a map error though
mistake at the bottom in the Tyrol file probably
How do people make mods/maps like this? https://www.youtube.com/watch?v=NsFUS5jcbAY
#hoi4 #battleroyale #timelapse #germany
Just override certain folders and only add back some, then edited state files
this is a more compressed prussia
Yes
it's W I D E
the 2 major branches are the Monarchist, and Non-Monarchist
that lonely one on the left is the start for airforce
idk what to do with it yet
monarchial path
alternate
working on one full branch at a time
left: historical path of working with AH
centre: Uniting the 3 cousins of monarchial europe - pacifist
right: independance of all alliances - either neutral in warfare or WC
Left: Democratic path, choice of making a socialist democracy, Weimar or a Liberal democracy, Republic of Germany (modern)
Left-Centre: Communist Germany - WIP
Right-Centre: Development of Fascism before Mussolini invents it - Hitlerish route
Right: Neutrality - decide later on an ideology or make a choice to go an anarchist state
thoughts @pale sparrow
Ive never heard the term cousins in Germanic country relations
Because theyre family
yep
George V and Nicholas II are 1st cousins, while William II and Nicholas II are 3rd cousins
all related to William III of prussia
i hate how much work i gotta do for the hoi4 GFX
i need to make a peace icon for Denmark, because there's only a war one
this
but in this format

and is there a documentation for things?
That's not possible, you can't just change core game mechanics
Can someone help with map modding?
What about a little less core one?
I need to know what I can change and what I cannot
There’s no hard line for that. You’d have to ask anout very specific features.
Although a general rule of thumb is that if you’ve never seen a mod do it before, it probably isn’t a thing
I don't know much mods
I'm not a real HOI player, I'm just here for modding it
focus tree for germany for my axis victory mod (still WIP)
feel free to get inspiration from
add Albert Speer as an industrial path
nah i'll make 50 thousand economical reforms paths albert speer reforms go brrrrrrrr
second four year reforms of göring
add mengele (if I remember his name correctly)
why!!!!
he's just a captain
I'm just surprised there's no kaiser path considering that Germany won ww1 unless something funky happened with their leadership
or is it WW2 they win in the mod
central powers weren't named axis?
tno style I see
am i able to ask for a modded play through help in here?
you are able to ask, what happens after matters
playing a late game save and on a certain date im randomly crashing and this is the last thing the log says before it goes down.
[04:28:33][triggerbase.cpp:536]: common/decisions/POL.txt:2918: owner: invalid event target: owner
[04:28:49][triggerimplementation.cpp:2731]: common/national_focus/r56_soviet_civil_war.txt:384: has_idea: boris_smyslovsky is not A valid Idea
[04:28:49][triggerimplementation.cpp:2731]: common/national_focus/r56_soviet_civil_war.txt:609: has_idea: konstantin_rodzaevsky is not A valid Idea
[04:28:49][triggerimplementation.cpp:2731]: common/national_focus/r56_soviet_civil_war.txt:917: has_idea: alexander_kerensky is not A valid Idea```
