#modding
1 messages · Page 107 of 1
I doing mod about failed resigimento (not united italy) I have fascist way but i cant make neutral, monarchic, democratic and communised ways and focuses
I don’t get what you mean. Why can’t you make them? You don’t have ideas?
Yes i dont have ideas how to do it
I’d suggest looking into the organizations of the time. There must’ve been some labor, monarchist, and other movements in the country during the period leading up to Mussolini. Read up on them on Wikipedia to start and dig into the reference sources if you want more details
What about countries that didnt exist in real history but they do in the mod?
I have Two Sicilies, Venetia Reoublic and Libya
You’d probably want to look up the history of those regions you’re covering and see what you can find
Then think “ok how would this govt act in this time”
Thx
No problem
woow
Polska moment
Does anyone know, how to Highlight a state, like a dmz, for a Holy Roman Empire Effect?
Try to write 193_revolution. Don‘t leave a space there
ty
Yes. And I can't get rid of it fast enough because I fall below 80% due to the balance of power change
Ive fixed it internally, no more drift and extended mission
So.. how do I update?
Wait for DLC release or manually edit the idea to not have drift
DLC release? the mod is becoming DLC?
Nah I mean we'll do an update when NCNS releases
https://steamcommunity.com/sharedfiles/filedetails/?id=3290596666&searchtext=modern
if yalls want more ship icons use this mod
not mine btw
i wanna add a LOT of NEW SHIP TYPES
like LHAs lhds etc
Guys I have no dlcs what mods are nice to play with even though I have no dlc?
Old World Blues doesn't require any DLCS and you won't be locked out of any content by not having them.
guys help the equipment part of my script is not working
It's a total conversion mod that puts the game into the world of Fallout, centered on North America.
Fallout based mod
Your brackets
How do I send a event to another country through a focus tree my friend
so if germany complete a focus
they send it to France
is this right?
completion_reward = {
CFA ={ country_event = { id = french_reperations.1 days = 1 }
}
okay nice
also
option = {
name = french_reperations.a
add_political_power = 50
option = {
name = french_reperations.d
add_political_power = 50
}
is this right if I want to add two options
and
how would I do if I want germany to get pp
Brackers are wrong otherwise yes
just put a GER scope and put the political power inside there
OR
Yes, If Germany sent the event you can also do
FROM = {
add_political_power = 50
}
ok
focus = {
id = French_Reperations
icon = GFX_surrender_tiny_flag
cost = 5
x = 33
y = 0
completion_reward = {
CFA ={ country_event = { id = french_reperations.1 days = 1 }
}
}
ai_will_do = {
factor = 10
}
}
add_namespace = Commune
country_event = {
id = french_reperations.1
title = french_reperations.1.t
desc = french_reperations.1.d
picture = GFX_report_event_generic_read_write
option = {
name = french_reperations.1.a
FROM = {
add_political_power = 50
}
}
option = {
name = french_reperations.1.d
add_political_power = 50
}
is_triggered_only = yes
}
do you know why this wont work?
Namespace should be french_reperations
Also your 2nd event option should be b and not d
Otherwise itll overlap with your description
Just a definition thing to help the engine identify the events. The wiki goes a bit more in-depth https://hoi4.paradoxwikis.com/Event_modding
do I need it for every event?
Now
how can I make one of the events trigger a event for germany?
do I use
from { }
You don’t need a namespace for every event. You should just have namespaces that a bunch of events use and then just have a number.
For example:
add_namespace = ZZZ_events
ZZZ_events.1
ZZZ_events.2
ZZZ_events.3
You could just use
GER = {
country_event = {
Id = EVENT ID
}
I’d really suggest checking out that wiki I linked. It has whole pages dedicated to effects, triggers, modifiers, and even extensive documentation on how different things work and what you need to do. I reference it all the time and I’ve been modding for years
Really depends. FROM is contextual
ok
Thanks 🙂
I am making like a event chain
its kinda annoying
If you want it to be a specific nation every time, better to use the country’s tag
Yeah, once you get the hang of things it gets easier.
My advice is to treat the code like a Genie. You need to be very careful about how you want it to do what you want it to do, or it’ll possibly mess everything up
what would namespace for this be?
id = GER_french_reperations.1
title = GER_french_reperations.1.t
desc = GER_french_reperations.1.d
picture = GFX_report_event_world_news
fire_only_once = yes
trigger = {
tag = GER
}
option = {
name = GER_french_reperations.1.a
add_political_power = 5
}
mean_time_to_happen = {
days = 1
}
GER_french_reperations
?
Yeah. But just to clarify, the namespace for the events can be whatever you want. The only thing is you generally want it to be something easy to identify and not overlap with anything else
ok
So when I’m making events for a focus tree I usually do TAG_nf_events as the namespace. But I work with new nations. If you’re working with existing ones, it might be better to have something else like GUS_TAG_something_events
Just so that you don’t conflict with another mod or anything in the base game
Okay nice
also
-20% stability, -100pp and -10%
is it
add_stability = -20
and add_political_power = -100
No, it’s a little different. Here’s a list of every command https://hoi4.paradoxwikis.com/Effect
if you ctrl+f on the page you can usually find what you’re looking for real quick
You wouldn’t do 20 because stability is in percent
yes
You’d do -0.2
Yeah, you’d do add_stability = -0.2
ok
how can I make the ai pick one
ai_chance. I’d suggest reading the wiki’s page on event modding. It should be very helpful.
ok thanks
No problem
If I dont have anything is it 50/50
Pretty much
does fire rises have content for turkey
No
how do i make a nation declare war with a focus tree without a war goal?
declare_war_on = {
target = TAG
type = annex_everything
}
i fixed it didnt work help
Hi, I'm interested in making a mod for multiplayer sessions with some friends that remove some tank modules, some technology and remove countries. Does anyone have any guides or tutorials they know off that I can use? I am quite new
Does anyone have recommendations for fun immersion nods similar to black ice,total war?
russia has 9600+ guns but it says they dont?
how to fix
has_equipment = { infantry_equipment > 9599}
this code doesnt work for some reason
for russia
it works for every other country but not russia
i mean i am suprised that you can even get that kind of stock, maybe delete most?
omg that is the problem
i deleted 1.5m guns and now it works
thx
ill make russia have terrible arms factory debuffs
Does anyone know if there is a way I can get the total graphic redux mod combined with another custom portrait mod?
The official hoi4 youtube channel has tutorials
question if i want to have 2 focuse trees for 1 contry can i somehow make a decision to swich them around or smt
Check the Belgian shared focuses
how do i make a country totally annex the other one after winning a war
Ngl, it's weird, its an AI thing but personally idk what the fix is
Is there a way to find out what folder the image being used is contained in?
I am trying to track down where an equipment image is but I have no idea how to other than looking through everything manually
Would also be great if to find something that would tell what folder a technology or other things like that are stored in...
Like the icon for techs and variants?
Is it possible to give an country provinces without needing to spawn troops in said provinces during a war/civil war?
How?
Techs themselves are in root/common/technologies
With the event/trigger, you grant X tag the states
provinces not states
No, provinces cant be shifted
You grant X the state, but you'd need to spawn units on the specific provinces to give them specific ones
Hmmm
Idk if you can modify thr occupation of specific provinces, I haven't gotten there just yet
I swear that I saw some starts at game start with some provinces without the full states without troops on them
Ahhh, you are pretty new to the modder
Nope, just never had to deal with that
Most civil war stuff i deal with is on such a large scale that I can do full states without issues
On release.. i'd have to count for mine
I might keep it simple like no LaR spain
But I might also go right ahead with adding all 20 smth civil war member
@hot vine you can find technology GFX that you'd see in the tech tree under root\gfx\interface\technologies, and technologies themselves in root\common\technologies
Which mod?
Thats so much
I love it
Idk what ima call it
Yea last I counted it was 26 civil war members, 27 used tags
PRetty
The largest civil war is between 8 members
9*
This is a outdated picture but the borders did not last
Ngl im gonna enjoy playing that
At release, it will not have much content, really only national spirits and other shit
SAme with the other two civil wars
The only coutry that will have content is Posada's Posadic Utopist Revolutionary North Zebrica
Am I doing a 1984? Yes, I am doing a 1984
It seems like the dark blue faction is overpowered cuz most of the time, they win
even fighting the communists, the fascists (Kingdom of Wingbardy) and the Militarists alone
Before the Civil war, would you say they held the majority of power?
Bc that'd be like, the perfect way to make that seem it
"Hey, these guys are the strongest of the people in the country, so have fun fighting the majority of power in the Civil war"
The dark blue faction was the army group that was supervising Revolutionary South Griffonia
SO yea
They held all the power of the superstate before it collapses after Revolutionary North Zebrica also collapses into a civil war
That makes sense then
but the differences are the opposition in the Zebrican Civil war are united in The Harmonic Front while the Griffonian Civil War is just a mess
Its like the nationalists held majority of power, but not majority of the people
True
DId not have popular support
The lore and stuff around Revolutionary South Griffonia is non-existent cuz in base EAW, it has no content
and I have not thought up the inners of the civil and shit
I was like "I want big civil war in GRiffonia and I want it now!"
I do have a idea for another civil war and actually talked to myself about it in the submod's server about if it should be a threesome but I decided that it was too unrealistic for rebels to pose a big enough threat in the urban north of a surveillance state
Reading 3sum gave me shell shock
A super secret state that not even the countries in the west of Zebrica or in Griffonia or Equus know the existence of it
Shadow state with a shadow cruel government
:3c
Yea life is fun
You know what is also fun?
Hoi4?
civil wars
Yes but Im trying to make a compatibility mod so it would be nice to know which mod directory is connected to the tech in question
yes, the icon for the tech someone else helped me find what I needed though. The icon was in fact a default game icon and not added in by the mods
Question
In which situation should I create a new tag over using a pre-existing tag?
imo when multiple nations spawn from the same nation
Like a civil war?
True but what if it is both going to have maybe their own focus tree and a successor?
I always struggled with this stupid question
Thats why there is a blue army group with the tag of The Hindian Confederation
WHen someone complain about Blue Terror not having alot of content for being in 2 whole years of development
my answer would be
civil war
Instead of overwriting vanilla files and straight up deleting technologies, is there a way to "disable" them instead of just deleting the code?
You could put a date on it, that you cant research It lets say until 1950. UK Vanguard focus has date limit.
Yeah that works, thanks!
question if i want to have 2 focuse trees for 1 contry can i somehow make a decision to swich them around or smt
France has one example, free french and normal french. You can load by the last free french focus the main focus tree again. Or you could work with hiding and unhiding part of the trees
Doesnt France switching back have all their focuses incomplete?
Thats the advantage of hide/unhide, you can store the progress
k ty
What does this error mean?
LastRead: career_profile_6E36DF3501001001_v3.pr (1)
Im guessing thats not what caused your crash
Then I don't know what the reason is
The problem turned out to be that the game crashes because of one country
Okay, I found the reason
how hard would it be to make a cyberpunk mod?
like, it takes place in cyberpunk 2077
P hard
That is the last thing to load completely, so wtvr loads after it is the issue
I mean I mentioned that also. But can't deny that I didn't forget About this
okay im so lost, shouldnt this make an empty focus tree??
`focus_tree = {
id = israel_focus
country = {
base = 0
modifier = {
add = 10
tag = PAL#92
}
}
}`
the palestine tag is PAL#92
im js gonna look in the ROOT folder cuz im too stupid for this 😭
wait doesnt the #92 just comment out the 92
why are there even numbers in it in the first place
Guys is there any way I could remove all content from the game?>
and just doing PAL doesnt work either 🥹
You need to have completion_reward = {}
i just want an empty focus tree for now
this worked before
even on the official tutorial it works but for me it just doesnt for whatever reason
Focuses crash if there is no completion_reward={}. This will just create the completion_reward part without giving out anything.
i dont even have any focus to add this on to tho
Just copy this
copy what
lemme write
oh oh alr alr
How did you create the blue part?
focus_tree = { id = german_focus continuous_focus_position = { x = 100 y = 100 } country = { factor = 1 modifier = { add = 10 tag = GER } } dafault = no }
I think your tag was what was wrong
just write PAL in, don't write PAL#92
If you right click on PAL are there any focuses?
just replace the default with ab empty one
just copy this and replace germany with palestine
And if you don't want any continuous focuses don't write that in
ya
We modders have a community on discord where we help together so if you have any questions just ask that in the server, not here. Barely anyone mods here
I can't send the link I will just dm you
ooo
please!!
ive modded a bit before but havent done so in months and it feels like they changed a lot of syntax i cant remember shit 😭
hey
can anyone help
i made my own mod but i have no idea how to add it
like there no drag and drop
or anything
and the file path says it contains characters not compatible with windows WTF
remove that slash at the end
it says a directory already exists
because ive obviously added to the folder already through files
but nothing comes up
in the launcher
so its uploaded but you cant see it?
ok go to playsets
i only just started playing hoi4
then press add more mods at top right
strange
and the mod files are in hoi4?
ye
i would just make a new mod and copy paste everything on the new mod
make a new mod as you did before and copy paste everything your previous mod folder had inside
except the descriptor
you mean what it does?
where do i put it
just delete the descriptor from the old mod after copy pasting everything else to your new mod folder
wdym
should i have the descripter in the mod folder and the folder
or the folder with the descriptor inside
ill just tell you step by step what to do
you have some mods in the launcher but they are not in the files
basically deleted mods
Or the launching is glitching
1.make the new mod
2.go to the files of the previous mod which wouldnt show up
3.copy everything inside of that folder except the descriptor file
4.paste everything inside the folder of your new mod
then just delete the old mod if it works
so then what do i do with the descriptor
from the old mod?
yes
just leave it on the old mod's folder
also the descriptor file contains these so its not compatible with other mods
dont ever put a descriptor from another mod to another mod
wtf is going on
i meant copy paste everything inside "hoi4_100_construction_speed" not the folder itself
is hoi4 high or what
wdym
copy and paste is where bro
ah
click on the descriptor file
open it in a text editor
also what did you do
don't cover those into the mod folder
it doesn't matter where your mod folder is
you need to have a .mod file that links to the mod folder
put your mod files back into the folder
so this is wrong right
version="1.0"
tags={
"Balance"
"Gameplay"
"Quality of Life"
}
name="Construction Speed 100 - 10 Queue"
supported_version="1.14.*"
path="mod/HOI4_100_Construction_Speed"
thats what ive done
so far
make sure the path points to the folder containing your mod
yes
no
ive done this
version="1.0"
tags={
"Balance"
"Gameplay"
"Quality of Life"
}
name="Construction Speed 100 - 10 Queue"
supported_version="1.14.*"
path="C:\Users\dreid\Documents\Paradox Interactive\Hearts of Iron IV\mod\myfirstmod"
do "/"
wdym
done
still isnt showing
version="1.0"
tags={
"Balance"
"Gameplay"
"Quality of Life"
}
name="Construction Speed 100 - 10 Queue"
supported_version="1.14.*"
path="C:/Users/dreid/Documents/Paradox Interactive/Hearts of Iron IV/mod/myfirstmod"
what one
not "hoi4/mod/myfirstmod" folder
this
yes
because how the game catches your mod is that it goes through the /mod folder and read all the text files in there
so like this lemme show you
then go through the path to grab your mod files
yes
the descriptor yes
then it should show up
or the folder
ok idk what this is
delete this
go to launcher
create a playlist
add mods
then you see your mod in there
?
no
if you followed the steps exactly, you enable the mod
?
what's on your screen
i cant enable it
ok did you do everything as I said
send a screenshot
ok check the path then
if you copy and paste this path
do you get to the correct folder?
it's irrelevant
it works
i think
it just says its for an older game version
will it still work#
on latest
the mod just doesnt actually do anything
thats the problem
its still broken
but i have it loaded
well yeah then it's the issue with your mod file
at least it loads
is it supposed to be 800 bytes
that's normal
the mod is this for descisions
decisions = {
construction_speed_100 = {
name = construction_speed_100
desc = construction_speed_100_desc
picture = generic_production_bonus
available = {
always = yes
}
visible = {
always = yes
}
fire_only_once = yes
cost = 0
days_remove = -1
complete_effect = {
add_ideas = construction_speed_boost
}
}
}
ideas = {
country = {
construction_speed_boost = {
picture = generic_production_bonus
allowed = {
always = yes
}
removal_cost = -1
traits = { }
modifier = {
production_speed_buildings_factor = 1.0
max_building_queue = 9
}
}
}
}
idk wtf is wrong
thats the whole mod
no
can you add the idea with console?
like this would imply that you have created a category called "decisions"
yeah i have
guys i knwo this a dum question but how do i make a code to add nuclear research facility in lux
in the game? or in a mod?
did you?
I copied your code and the decision does show up
did you add a decision category to common/decisions/categories folder?
In code
go to history/states/state 8
add a nuclear_facility in the buildings
im making so a focus does it
oh ok
hidden_effect = {
IF = {
limit = {
8 = {
is_fully_controlled_by = ROOT
air_facility < 1
land_facility < 1
naval_facility < 1
nuclear_facility < 1
}
}
8 = {
add_building_construction = {
type = air_facility
level = 1
instant_build = yes
province = 6583
}
}
}
}
ok i just copied from the italian focus
k ty
you just need the IF block in the completion_reward of your focus
ty man
How can I make focus tree backgrounds for my mod
Does anyone know if there is a way I can get the total graphic redux mod combined with another custom portrait mod?
Try searching the Road to 56 Github pull requests, someone did it once but we ended up deleting it
Where are ship name lists stored?
common/units
Can I use it?
Not a direct copy but its good to know which files to modify
Running into the classic problem of me not understanding event modding (it's been 2 years since I've last modded)
The first two flag changes fire, the rest of them just don't work
Wait marjin to reduce a dynamic modifier do i have to fully remove it?
Wdym reduce
like if we say
its -0.4 recruitable population
and I want a focus to make it -0.3
is there a way to simply reduce it
You set the value to a variable in the dynamic modifier and add 0.1 to that variable in the focus
Check Soviet/German army tree
I want to use it for a state modifier
I think those work the same though not sure
so
this is my dynamic modifier
austrian_resistance = {
enable = { always = yes }
icon = GFX_modifiers_conscription_exemptions_granted
resistance_growth = 0.2
recruitable_population_factor = -0.4
local_factories = -0.4
state_resources_factor = -0.3
}
so if you complete an event I want it to reduce it
how would I do that?
Replace number with variable
See vanillas dynamic modifiers
if you use a variable for the modifier
niceee
Imo going to be an update for the 20th
what does redux mean
Reworked/new I think imo
just saying prolly work on ottomans or smth
making like a re expansionist alt path would be really interesting
France Russia Prussia Naples Portugal Poland being worked on rn
like it would happen after napoleon invades egypt or smth
mabye after?
Perhaps
i would love to see like a mod which is basically eu5 but in hoi4
in that time perioud
that would be so cool
Many of those are pretty self explanatory instances of references to non-existent content
- has_game_rule errors aren't actually problematic if there's a DLC check on that gamerule and you dont have that DLC
- Invalid radar trigger/effect is probably because of outdated references to the techs that vanilla renamed a few updates ago
- Template error is because of missing division naming schemes
- I presume the last errors are because of a missing names list
where are they stored?
Ive only used dynamic modifiers in country scope, keep in mind you will have to store the starting value on every state scope you wanna use it on
wait
so I have to do stuff in states to?
If youre making a state modifier, thats where the variable should be saved
That way you can use the same variable name for every state, and change the values you want by scoping into the state
Not saved in dynamic modifiers?

I think we're having a bit of miscommunication, I suggest trying out a country one first
but which file is it I store variables in?
None
oh
Variables you simply set somewhere and the game stores them in memory afterr
For country dynamic modifiers, vanilla typically sets the starting values in history/countries files
hmmm I dont get it to work
I created new ones in history
and now
I put them in dynamic modifiers
I put it like this
resistance_growth = Austrian_resistance_resistance_growth
recruitable_population_factor = Austrian_resistance_recruitable_population_factor
local_factories = Austrian_resistance_local_factories
state_resources_factor = Austrian_resistance_state_resources_factor
set_variable = { Austrian_resistance_resistance_growth = 0.2 }
set_variable = { Austrian_resistance_recruitable_population_factor = -0.4 }
set_variable = { Austrian_resistance_local_factories = -0.4 }
set_variable = { Austrian_resistance_state_resources_factor = -0.3}```
This is my variables
Hello there, I want to make mod for joint focus tree for allies and axis, maybe anyone have any ideas for focuses? for now I think make short (14 or 35 day long) focuses with rewards in army\air or industrial research bonuses + army\air XP or bonuses for doctrines.
Yo, my mod crashes when I add railways
Do you guys have an idea of what might be causing this?
guys help code is not working im scratching my head hard
my leader both name arent appearing and the game says the election arent allowed
Atp im so bored I'm down to do modding commissions for anyone
I js don't wanna work on mine rn bc its a buggier mess than TNO
Cool, so have you ever encountered an error that causes the game to crash when building railways
No, shockingly
I'm trying to upgrade magna europa, but that bug is preventing it from being playable @burnt vigil
In where?
alll good, thanks
Do you have a link?
Idk if I can send here
You know why my variables aren't working 😭
resistance_growth = Austrian_resistance_resistance_growth
recruitable_population_factor = Austrian_resistance_recruitable_population_factor
local_factories = Austrian_resistance_local_factories
state_resources_factor = Austrian_resistance_state_resources_factor
set_variable = { Austrian_resistance_resistance_growth = 0.2 }
set_variable = { Austrian_resistance_recruitable_population_factor = -0.4 }
set_variable = { Austrian_resistance_local_factories = -0.4 }
set_variable = { Austrian_resistance_state_resources_factor = -0.3}
If i knew about variables, i'd be employed with a highschool diploma sorry man
looks correct, assuming you put them in the right scope
I mean
By right scope
is that in the dynamic modifier?
inside of it only
and dynamic modifier is just added into the austrian states
you gotta set those variables in every state it will be applied to
how do I do that
state = {
id = 4
name = "STATE_4"
manpower = 2297983 # was 2595983
resources = {
oil = 2
}
state_category = large_city
history = {
add_dynamic_modifier = { modifier = austrian_resistance }
owner = GER
add_core_of = AUS
victory_points = {
11666 30
}
victory_points = {
732 10
}
buildings = {
infrastructure = 4
arms_factory = 3
industrial_complex = 4
air_base = 6
11666 = {
landmark_hofburg_palace = {
level = 1
allowed = {
has_dlc = "Gotterdammerung"
}
}
}
}
1938.3.12 = {
owner = GER
controller = GER
add_core_of = GER
}
1939.1.1 = {
buildings = {
anti_air_building = 5
}
}
}
provinces = {
704 732 3718 6552 6690 6723 6739 9527 11651 11666
}
local_supplies = 0.0
}
here is one state for example
could you demonstrate?
every_owned_state = {
set_variable = { Austrian_resistance_resistance_growth = 0.2 }
set_variable = { Austrian_resistance_recruitable_population_factor = -0.4 }
set_variable = { Austrian_resistance_local_factories = -0.4 }
set_variable = { Austrian_resistance_state_resources_factor = -0.3}
}
}```
(And unset variables are presumed to be 0)
Okay nice
on_startup on_action I guess
map gen question
i am trying to use map gen to make a hoi4 map, but when i make a mod i also get a lot of these .mod files that are not in the folder and they seem to couse issues
where should they go?
i feel like they souldnt be here, and also the tutorial im wathing doesnt have tham, but when i jsut shove em in the mod folder they dont work
on_actions = {
on_startup = {
effect = {
every_state = {
limit = {
is_core_of = AUS
}
add_dynamic_modifier = { modifier = austrian_resistance }
set_variable = { Austrian_resistance_resistance_growth = 0.2 }
set_variable = { Austrian_resistance_recruitable_population_factor = -0.4 }
set_variable = { Austrian_resistance_local_factories = -0.4 }
set_variable = { Austrian_resistance_state_resources_factor = -0.3}
}
}
}
}
I think more performance intensive, but I dont image thats gonna matter, 0.00001 seconds might be 0.00002
and now
how can I lower the debuff through a event
Just modify the variable for the states you wanna modify it for
how 😭
I want to do it for all states

Do the same as the on startup effect but instead of set_variable, you reduce/increase the values
every_state = {
I did it
does anyone know what map mod this is
https://steamcommunity.com/sharedfiles/filedetails/?id=2873363246
heres the mod where i found the pics too
My mod 🙂
FPS Map Probably
Came with an idea for an insane schizo path where there is a guy who believes he’s a robot and he starts what is essentially a cult where its members also believe they are robots and it gains enough traction that they’re able to win an election or they start a civil war in their country. The goal of the people who believe they are robots is create a robot empire/republic.
@burnt vigil how's spain going?
Uhh, idk i haven't checked it in a hot minute
Been having a shyte week, and I won't have my pc with me from monday the 17th until 1 calender week on the 24th
how do i make a sound play after an event/focus like in TFR or TGW
play_song I assume
I'm new to the modding. I created a test focus for an event in rt56. I put the txt in events but still the focus says invalid event.
Is there something that i forgot
how do i make a super event like in TFR or TGW??
this is in italy_civil_war.txt
Theres no namespace and no options in that top event
so what should i add?
read the event modding page I linked
this?
finally gonna finish working on my map hopefully
that way my week away from my pc can be just coding in focus tree's and countries
but im gonna do it while under the influence, so who knows if ima do okay at making things look neat
Alsace-Lorraine mentioned?!
@tall hare
making strat regions, how the hell do i get them to not explode the game? like i wanna have mine and not "LAND" and "SOUTHERN ENGLAND"
I am new to modding and the country I formed isn't showing up anywhere not even the cores it has states it's recieved or anything! if anyone could help me out here I'd appreciate it
I altered 2 states and every country on earth tried to own a new capital...
Dear god..
Is there any way I can check if one mod is causing an issue? Like how can I check a savegame in which something is wrong which was caused by a mod in order to fix it?
Very nice
No
Savegame is far too convoluted to find a mod-caused issue
okayokya thank you very much
and how can you check if one country is lagging the whole game behind? Im facing this problem in a road to 56 game rn
annex countries by console until it speeds up
but that seems like an unlikely scenario
okay thank you
how do i mod in more Special projects
does anyone have a guide on how to make custom Army/Army Group icons?
I wanna try and make a mod lowkey
That's a good idea. Modding is fun. I suggest checking out the wiki. There's a lot of good documentaiton there and reading things to understand how they work should save you a lot of headaches. https://hoi4.paradoxwikis.com/National_Focus_modding
maybe something with more Africa base?
Alright
Am I able to do it on Mac?
I think so
how do i make a superevent in hoi4?
The main thing you need for modding is just a program for editing the text documents. That should be possible on Mac. I suggest Notepad++ since you're just getting started, but Visual Studio Code is another good one. It can just be a little overwhelming at first to people who haven't used it before.
i only know how to do the sound
I got no idea
probabl
y
scripted gui
Anyone wanna try and make a mod with me
I am making a mod
If Germany and Russia won ww1
Nice
Maybe Africa based?
Idk
Or smthin in Europe
Like what if the communist took over instead of the facist
How long have you been working on yours?
Like a month
Aight
I may try something easy to start
Anyone down to collab for a mod
What's the best mod for Portugal?
Yo can sm1 help me make a mod or just tell me how
Check out this wiki. It’s got a lot of good documentation that should allow you to figure out how to do anything you want to do with a mod https://hoi4.paradoxwikis.com/National_Focus_modding
HELP I CAN'T FIND LOCALIZATION FILE FOR AGUSTIN PEDRO JUSTO
Wdym
Root/localisation ????
I would, I am still learning how to mod though
Aight
what kind of mod were you thinking about making?
Maybe a more Africa based/Europe collapse mod
Alr, africa definitely could be fun
are we gonna make it historically accurate on different tribes or keep the colonization borders
Probs both maybe
yea the arabic tribe specifically could be fun to mess with because they are cut off from africa by the sahara
Yeah
You could have Egypt and Sudan thingy
Where this dude who claims to be a prophet of Ra takes over the Nile delta and fights his way thru Egypt and wins
Then proclaim the Sun kingdom of ra
That could be fun
is there a modern hoi4 mod that basically only changes the date the countries, focuses and the research? millenium dawn runs bad on my pc
I would say century of war or whatever its called, but that doesnt work afaik plus its laggy
Is there a mod where the american civil war ended with stalemate
fire rises
The 1acw? No, you would need to make one, but that could be a cool alt-hist mod
The CSA "wins" what they wanted, but the Union isnt like, annexed ir whatever
Could probably do the GCSA (new Mexico, Nebraska, Missouri, and Kentucky added to the confederate states) to represent the mix states siding with the confederates after the humiliation of Lincoln, presidents would be very difficult to do though
I need to change his name in game
I searched in many codes but didn't find him
i wanna add NEW special projects
novem vexillum
Check characters for the language
I searched in characters_l_english
I didn't find him
Even with cltr+shift+f
Odd, idk personally then ive yet to get in that far for my own modding experience
Idek if ima get work on my mod whatsoever this week, hopefully I do bc ion wanna leave it to sit for a week and slow myself down due to needing a break from iso
When you use the nudge tool and edit states how do you save it? When I hit save it just goes back to how it was before, i saw somewhere else that it saves a file that you can put in your mods folder and use as the new map but I cant find it.
Welcome, in
documents/paradox interactive/hearts of iron iv/
It makes /map, /localization and /history folders depending on what you did
and idea where ide find that on linux 😅 I got no idea what steam does with those folders.
and I have like 40 documents folders when i search my whole pc
omg i think i found it!
IIRC dont use the loc folder, the nudger tends to mess it up
oh, so what do i do?
Cut and paste the map and/or history folders into your mod
oh ok so i am doing it right :) ty
They have a way to create_equipment_variant a infantry_equipement, and to add directly bonus inside this? I think not, but in case someone found ^^'.
@burnt vigil
NEVER
and I mean
never try gfx
I tried it
and its so
so
so
annoying
I have done GFX
Well
It isnt that hard
OH, yea i 100% am not using my own work for portraits
They look great?
Isn't hard to fix
You've basically got all the hard work done
Getting the skin colour right is the hard part
This looks decent 🙂
Its ´my first
and its fine
Doesnt exist, bonuses are always given to all designs
Straight of google 😎
Yuh
is there any good tool to snap focus tree?
currently i'm using this one: https://github.com/malashin/hoi4treesnap
BUT this has not updated since 2022, so im looking better one
snap?
🤷♂️
That’s the best one I know of
Ok is there any reason i cant play vanilla since i made my mod?
Syntax of focus tree hasnt changed at all since
The only annoying thing is that symbols that confuse the tool are becoming more common, but if you backup your tree you can just temporarily delete all problematic ones
is there a good guide that shows how to mod custom army group icons?
@burnt vigil I need some stuff inbetween colonial upkeep
and french reperations
or remove colonial upkeep from branch fully
I need focus ideas
Pls
I need this
anyone
If it's for the germany you may take a look of what France did in the real life and not exactly do the same thing that they did but take inspiration of that, like France is humiliate by the germans (it's just an exemple it's certainly a bad idea because i give no effect of continuation)
Yeah ty
Based
Canada is not a Republic
w dean guys
Yea were still yrvhnicslly the dominion iirc
But Canada is also legally a federation in the sense of the fact we are a confederation of the 13 provinces and territories
Techincally no
We dropped the Domination due to it no longer being accurate
in 1950
We're both last i checked, we're the Canadian Federation, but since we are part of the british commonwealth (formerly known as the British Empire), we could call ourselves a dominion still, however that implies that we serve the british crown, not that we work alongside them
Yea, we're still a dominion under a different name lol, but we're also cooler than thay
No
We aint a dominion
Anyways, calling Canada "The Canadian Federation" would be better then "Republic of Canada"
Republic of Canada feels weird
Why does Canada have to suck so muxh
I am actively a 10 hour drive from my house, and that is bc Ontario is so bloody massive you could fit the state of Texas in here almost twice over
You can fit the state of Texas inside northern Ontario, the scrappy part of our state
I feel like North America should be updated in one dlc, maybe the Caribbean too
how good is better ai mod, and do the ai have any quirks
expert ai isnt compatible with other mods and sheeps ai is cracked
why does my game just crash out when im doing the defense of berlin mod (berlin: initial release)
it just freezes
and crashes
when i start
Of what i can read it seems that it crashs because it can't load the map so maybe the map files is corrupted try (if you hasn't did) to delete and reinstall the mod
And also try to verify your game files 'cause it can corrupt your vanilla files too, i already have this issue
What mod is a good starter mod?
It is normal in a target mission (ie with target_trigger, days_mission_timeout and timeout_effect), activation doesn't work well?
hmmm
focus to affect french politics?
i assume they're going to flip facist or communist, so add something to lower/reduce that
either that, or add a mutually exclusive focus to french reperations to prevent them from flipping communist or facist
either that, or something to increase compliance in captured colonies and french lands in europe
Do French economic influence
Since France is poor you can abuse that to make them economically dependant on you
Oh
Do industrial building focuses
That will hurt stability and such short run but help industry in the long run
Why did UK loss so much and France so little
It should be kinda the opposite
Also Italy should recieve losses since they joined the allies in 1915
Road to 56 is quite vanilla-like, Equestria at War too, but its less easy to see what countries are harder/easier
Not gains
Replace mittelafrika stuff with westafrika stuff
Like Germany takes French African colonies n shit
But Germany loses Papua because the British
In the mod Italy didn't join allies
And Germany wasnt interested in Algeria
is there a mod for the roman empire?
anyone know what mod adds the icons here
Does anyone know how the files are called that store these rules?
I think it's at Hearts of Iron IV common, units and tank_destroyer_brigade.txt i hope it's that file you need
anyone knows the reason why national focus appears only six?
NOT idea problem, NOT modifier problem, but i dont know why this happened
What's your guys's favorite mods? I'm looking for something fun to play
https://steamcommunity.com/sharedfiles/filedetails/?id=3596847511 one of my favourites at the moment
@rare grove
napoleonic wars redux
https://steamcommunity.com/sharedfiles/filedetails/?id=3460941165 this mod is getting an update on the 20th
bah its you
Does anyone know how I can access the documentation for modding guide of the update tomorrow?
Itll probably be shared once the update goes public Im guessing
No Pre-modding?
Ty how do you know its getting a update soon?
working on it ngl
make sense you legit got there discord in ya bio
ima join it
ayo people, how can I loop through every ship owned by a country? is this even possible?
Nope afaik
Excited for new dlc?
I am afriad my mod will
get destroyed
cuz I never fixed one really
but I like the new features
will be fun to add to the mod
Good evening.
It is possible to see the ai_strategy with "reverse"? Because 2 options:
- My strategy don't work (even if I was inspirate from the one with ZAI where I has a answer here)
- Isn't possible to display
In case, I even try with put "always = yes", same result. And Ethiopia has him flag.
If you ask, I want Ethiopia justify on nation that owns specific state. The array was create on the begin of the game and work because claims successful add in game.
Second question, isn't possible to made a reverse with FROM. I mean, I has a random country get a certain flag, and this one should conquer all Africa. Without surprise, doesn't work, I get a error in the error.log. And in wiki, it seems isn't possible. Maybe for that, I need a hidding even simultate that, but I need to find how to "remove" this strategy when all the countries doesn't own Africa anymore (on a weekly?).
im considering making a mod called "PT Boats" and just adding a cheaper destroyer with 1 slot haha, tbh it would work a lot better then just a doctorine buff what yall think?
Depends how much you overwrite, simple mods will probably be fine
I have just done some states
🙂
and some new countries
and a small focus tree
If youre adding onto the statelist you either have to override the entire vanilla map so you dont need to port their new ones right away (its what Road to 56 does), or you gotta shift all your states when vanilla brings out new ones
is it possible to add new "ships"
so you just make a replace file
and then add the states later
cuz I do have some custom states
Yes
Though your idea of making PT boat a version of destroyer sounds solid
It greatly simplifies things over adding a whole new ship class
Honestly I spoke to gareth about it last week and he said the team talked about it but said because of performance it would be bad
so I was just like meh fine ill do it myself haha
u mind telling me which files store them so I can copy them to the mods Folder? :3
common/units/equipment/ship_hull_light.txt
Basically copy and rename ship_hull_light_2, then make it cheaper and remove some slots
@pale sparrow Is this how?
Sorry what
Idk what you mean by this
if you wanna work on DLC release you gotta set /map and /history/states in your replace_path for descriptor/mod and include all those current vanilla equivalents in your mod
How?
thanks will do 🙂
Will my custpm states break
If you dont override the entire vanilla map, yes
so this is what I did
I imagine youd also want to override the module slots and limit how many guns the hull can fit
isn't that what I did?
No you only changed the default equipment in the slots
ohhh how do I set the slots?
If I see correctly
Check planes/submarines, they got a lot more slot unlocking based on hull tier going on
i believe thats fine?
so how exactly do you make ship designer modules free? this mod already sets EQUIPMENT_MODULE_ADD_XP_COST alongside replace, convert and remove costs to zero. same for naval equipment base and ramp cost, but they still need xp to change
I think thats the intention
yeah i loaded the game researched all couldn't find it
Link it to destroyer 1 tech
Or set it as...
default = yes
how
gotcha
IIRC default = yes makes it available without tech but not sure
Ay so Marjin to make things work
I need to replace
the map
and states
and then add my custom states agian
That doesnt sound right
Just add in all the files you havent changed, shouldnt have to redo anything
Yes
still can't get it to show
can yall give me some good mods