#modding
1 messages · Page 70 of 1
wtf i uninstalled and installed hoi4 and nothing changed
alr i did
also how do i know it's my mod
buss can you help me
no
the problem is that the states' names are missing
hmm
YAY IT WORKED
this?
that is nuge
nudge
i use it verry often in fact
how do you get it
he is in debug
bro that is exactly what i did to get to that version of hoi4
you have to have it on
also this is the error i got
[19:49:28][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "SOV_super_heavy_armor_entity", associated with SOV super_heavy_tank_chassis
[19:49:28][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "FRA_light_armor_2_entity", associated with FRA light_tank_chassis_3
[19:49:34][no_game_date][triggerimplementation.cpp:9350]: common/scripted_effects/BLT_scripted_effects.txt:77: has_game_rule: game rule LIT_ai_behavior does not exist
[19:49:34][no_game_date][trigger.cpp:114]: Trigger failed to validate: common/scripted_effects/BLT_scripted_effects.txt:77: has_game_rule
[19:49:34][no_game_date][triggerimplementation.cpp:9350]: common/scripted_effects/BLT_scripted_effects.txt:83: has_game_rule: game rule LIT_ai_behavior does not exist
[19:49:34][no_game_date][trigger.cpp:114]: Trigger failed to validate: common/scripted_effects/BLT_scripted_effects.txt:83: has_game_rule
[19:49:34][no_game_date][triggerimplementation.cpp:9350]: common/scripted_effects/BLT_scripted_effects.txt:213: has_game_rule: game rule EST_ai_behavior does not exist
[19:49:34][no_game_date][trigger.cpp:114]: Trigger failed to validate: common/scripted_effects/BLT_scripted_effects.txt:213: has_game_rule
[19:49:34][no_game_date][triggerimplementation.cpp:9350]: common/scripted_effects/BLT_scripted_effects.txt:219: has_game_rule: game rule EST_ai_behavior does not exist
[19:49:34][no_game_date][trigger.cpp:114]: Trigger failed to validate: common/scripted_effects/BLT_scripted_effects.txt:219: has_game_rule
hmm
what did you change
gave vilnius to lithuania
i meant
[19:49:28][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "SOV_modern_armor_entity", associated with SOV modern_tank_chassis
can you not give em and give it the owner back and see waht happens
so it is just that
with lithuu
and the gfx
shit
how do i enable the new mod in debug mode
wdym
i have bad news
are we allowed to share mods here?
i have no clue
got a nice mod i wanna share
what
can you fix this
+[20:00:52][no_game_date][dlc.cpp:227]: Invalid supported_version in file: mod/ugc_3152802756.mod line: 6
+[20:00:55][no_game_date][pdx_entity.cpp:324]: Failed to find entity "ITA_mechanized_vehicle_1_entity" for attachment in vehicle
+[20:00:55][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "SOV_modern_armor_entity", associated with SOV modern_tank_chassis
+[20:00:55][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "SOV_super_heavy_armor_entity", associated with SOV super_heavy_tank_chassis
+[20:00:55][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "FRA_light_armor_2_entity", associated with FRA light_tank_chassis_3
so how did you make your mod
i didn't , i just found a mod that i think is really nice. and wanted to share it somewhere
you are in debug mode
can you fix my issue
maybe, im pretty inexperienced
how do i edit my actual mod?
i tried to mod but i ended up editing vanilla
oh this? yeah i dont think anything is actually broken here man. It just does that in debug. If the mod is functioning ok, you dont need to worry too much about the error log
error log is just to locate issues when they show up
did you make a folder for it?
yeah
it has nothing in it though
except a notepad++ file
yeah, you have to make folders and put stuff in there. let me send you a solid tutorial series to watch
can't i just copy and paste?
This Hearts of Iron IV modding lesson will explain the basics of modding the game.
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.
Useful links:
Iron Workshop Discord server: https://discord.gg...
pretty much yeah, but this will get you started well
see
it dosn't work
!!!!
its a lot of learning to begin with, but dont let it deswade you, learn as u go
in what way
chrash on startup
imma copy paste everything in the common folder
+[20:00:52][no_game_date][dlc.cpp:227]: Invalid supported_version in file: mod/ugc_3152802756.mod line: 6 is probably your issue
bad idea
whuh
will make your mod MASSIVE, and add nothing new, you really want to only add what you have to
well it worked for me
my mod is going to be massive anyway
still would not recommend because of organizational issues with that, and possible error, like your experiencing.
but ultimatly up to u
well uh i'm tryna make a mod where instead of the reich it's bulgaria which starts ww2
interesting
ever heard the word documentation
imma make 2 side mods where bulgaria wins and loses ww2
guys how do I modify an existing GUI?
alternative history
good question, idk
trying to add my custom building to the game
there was an deticadet gui folder in common and you neew to chnage interface
[20:14:44][no_game_date][pdx_entity.cpp:324]: Failed to find entity "ITA_mechanized_vehicle_1_entity" for attachment in vehicle
[20:14:45][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "SOV_modern_armor_entity", associated with SOV modern_tank_chassis
[20:14:45][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "SOV_super_heavy_armor_entity", associated with SOV super_heavy_tank_chassis
[20:14:45][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "FRA_light_armor_2_entity", associated with FRA light_tank_chassis_3
not fixed x(
wait
i fixed it
anyway
now i am stuck at flags
pls
somone help
i am stuck at creating flags
what flags have you modified
none
i just made my own nation
can somone help me
I've got an idea for a mod inspired by @fallow abyss 's style of gameplay. Here's the premise:
Cannot train more than 5 divisions
You can only build civilian factories
You will only be ready for war after the game ends
can you help me
Ask @fallow abyss
Ahhhh
ah global flags and country flags are not the same thing
Great now i can connect specific wars with focuses and events
Need to add this for the partions of poland
So satsifying conencting the dots
you use country flags and global flags for custom requirements
like "WW2 won" "The communist threat was eradicated"
would need that if i had multiple alt-hist wars going on at the same time
if france austria and russia are at war with prussia at the same time
if has country flag fra rus aus pre war
set rus aus fra pre war country flag
so scripted peace would work
Yes
Hmm wondering if Yedisan kiev and mykolaiv oblast should be ukrainian cores in 1789
i made polish-lithuanian lands in ukraine ukrainian cores
remove_country_flag = treaty_jassy_flag
Does this remove a country flag?
or can you remove them
this removes the country flag, not the actual flag of the country
its a little complicated: in simple terms, it is what if everything went right for the soviet union and they were able assist the spartacus revolt and bavarian soviet republic, but after the death of lenin, trotsky takes over and the whole thing collapses.
random_owned_controlled_state = { limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } }
put this
was the great depression worse for the u.s.?
it hits sooner and FAR harder
also
fixed
i plan on doing some really unique things with the u.s in terms of factions
thats good! I wanted to do somthing new
good luck with the project
thanks! I hope to get some more people (with a little more experiance than myself) to assist with the project, its pretty much just me atm
ok
this tends to discourage many people, but over time it is hoped that more people will help with the mod
yeah, I'm having great fun! Just a lot of work
I'm feeling it too
common/characters/TAG.txt
GER_ludwig_beck={ name=GER_ludwig_beck portraits={ army={ small="GFX_idea_ludwig_beck" } } advisor={ slot = army_chief idea_token = ludwig_beck allowed = { original_tag = GER } traits = { army_chief_organizational_2 } cost = 100 ai_will_do = { factor = 1.000 } } }
an example in vanilla
in GER
you're doing something wrong, the game itself does it
Remove the extraneous closing bracket
Sure
I'd also consider that since you're just directly copying it, you might have some sort of overwriting error
Sounds like I'll need to give it a try
when its finished I'll let ya know lul 😅 may be a while tho
(or when it's at least playable)
I am making a mod that adds new support companies into the game with different types of recon companies for example how do i make it so the companies in the recon category are mutually exclusive so i cant have more than 1 of the recon companies at a time in the division?
i wanna add new units and templates to my HOI4 MULTI MOD
like RL units and templates
where do i change a generals name
how do i make a mod where i can put a map of a city as the whole maps
like a city and all the gangs are countries
like that mod would be so good
hearts of aluminum 4
can anyone help me with making straits?
like this?
I know how to make them appear on the map but they don't work without adjacency stuff
are making a mod now
I also had to split 2 sea zones in half and when I added it to the adjacencies table I got these errors
#Bohai Strait
adjacency_rule =
{
name = "BOHAI_STRAIT"
contested =
{
army = yes
navy = yes
submarine = yes
trade = yes
}
enemy =
{
army = no
navy = no
submarine = yes
trade = no
}
friend =
{
army = yes
navy = yes
submarine = yes
trade = yes
}
neutral =
{
army = yes
navy = yes
submarine = yes
trade = yes
}
required_provinces = { 1104 1150 }
icon = 8445
offset = { 9 0 6 }
}
my code
8445;2734;;-1;-1;-1;-1;-1;BOHAI_STRAIT;Bohai Strait
maybe it can help you
right this makes it appear but it won't actually function
can i see your code?
#Bab-el-Mandeb
adjacency_rule =
{
name = "Bab-el-Mandeb"
contested =
{
army = no
navy = no
submarine = yes
trade = no
}
enemy =
{
army = no
navy = no
submarine = yes
trade = no
}
friend =
{
army = yes
navy = yes
submarine = yes
trade = yes
}
neutral =
{
army = yes
navy = yes
submarine = yes
trade = yes
}
required_provinces = { 4985 5074 }
icon = 2776
offset = { -17.0 00.0 15.0 }
}
i feel like making a hoi4 focus tree mod
yer whenever I add it to the adjacencies folder it seems to break the whole thing?
maybe use excel open the adjacencies.csv
I don't own excel so I used libre office :/
oh my god
it changed everything to commas
yep working now
how make contested regions
ik
i had that issue
i think i know how to fix it
you have to change party leader
bus
you can change the leader in focus tree or the desicion tap or in events
but how do i make contested arears
but i hope my advice helps
there is some funcion that creats the leader in the focus / etc
where would i put it then if i dont want the ottomans to call in wallachia and moldavia?
i need some help
ai_strategy folder, see the examples in there
see effects page on wiki
i didn't find it
Cant i make it an ai idea?
can you send in the page
nvm i found it
Would be a bit weird usually
you could also just link the AI strategy to having the idea
narjin
how cann i make a border conflict at the start of a game
put the effect in the history file/on_startup on actions
where is that file
this on_startup ={
}?
on_startup ={
start_border_war = {
change_state_after_war = no
num_provinces = 4
attacker = {
state = 10
}
defender = {
state = 14
num_provinces = 4
}
}
?
Please read the wiki well
but it is not there
i cannot find it
Does anyone know how "justifying on us" notification works? I want it to pop up for a focus which isn't actually a justification
will_lead_to_war_with argument
see national focus modding wiki page
I forgot I'll try to make it today
something something localisation errors is all i know that could be wrong
you suck
i only look here like once a week don't bully me
once a week could be spent being smart
i had a similiar problem but im not sure what i did to fix it if no one else does before me ill let you know when im on my computer again
impossible i play hoi4
are you sure its the right localisation file
yes should be
When I try to run a mod other than the road to 56 either i get an immediate crash, i get a later crash or the mod just doesnt work i dont what causes this, but ive talked to many people and none of them could figure it out. I'm on the right version i the followed instructions that there were online and all of these things still happen.
Literally any other mod?
yes
that i have installed
The mods that I have are: millenium dawn, kaiserreich and the great war. (This is not including: Road to 56).
To be fair I just saw that I have installed all of these mods before and im installing them again in a newer version. Could that be the issue?
When I try to play the millenium dawn mod I load the game and crash immediately
When I play the kaiserreich (I have only played russia so far) I crash when i click attack ukraine or smthn like that
or even earlier
So... I'm going to start this game as a minor nation (Philippines) and I plan to go for a communist route. How do I go about it to succeed? I am running the Road to 56 mod.
What mod should I make?
how do i expand a country's focus tree?
so like yk how italy and ethiopia are at war with each other at the start of the game how do i replicate that for germany and SOV
k
thanks
how do I make a country unreleasable for a specific country ? (like Silesia for Poland)
oto_hidden_ai_idea = {
allowed_civil_war = {
always = yes
}
removal_cost = -1
modifier = {
ai_call_ally_desire_factor = -1000
}
}
1444.11.11 = {
add_ideas = {
oto_hidden_ai_idea
}
}
1836.11.11 = {
remove_ideas = {
oto_hidden_ai_idea
}
}
Uh why did ottomans call in their allies
i want them to not call in their puppets
how do i do tha
He’s my friend I was being sarcastic
Can I somehow change the speed buff/debuff the unit gets by having a low/high infrastructure in a state?
thx
I'm trying to make a focus which turns vichy france into a puppet but I have no idea how to get the correct tag?
maeby try
every_country = {
limit = {
owns_state = 26
}
ROOT = {puppet = PREV}
}
but im not sure
VIC did actually end up working, I was just stupidly using a save to test it where vichy france was broken somehow
But now when they become a puppet they just automatically join the faction and go to war with everyone and I have no clue why
how do i get the same mod on two playsets
does somebody know where the files are for dynamic versioning to completely disable it or enable it for other windows like the infantry equipment designer window?
do it yourself man :/, do you know how much work is that ?
i dont have to be a painter to say if a painting is good
How to make so a country doesnt call in its puppets in wars?
annyone wanna help me with my mod?
you can change it in defines
NDefines.NMilitary.INFRASTRUCTURE_MOVEMENT_SPEED_IMPACT = -0.125
did you use recruit character in history/countries/*.txt?
oh shi wait yeah
yeah it was that
im a bozo

uh the ottomans called me into a war
oto_hidden_ai_idea = {
allowed_civil_war = {
always = yes
}
removal_cost = -1
modifier = {
ai_call_ally_desire_factor = 0
}
}
Do i make it -1000?
instead of zero
How do i make so they dont call in puppets???
or so that moldavia and wallachia can refuse calls to war from the ottoman
where is the file for puppets so i can change so dominions can refuse calls to war?
HOI4 ai is so frustrating
Might change so that they arent puppets as a place holder
yes
you can create autonomy so that the Ottoman Empire cannot call the puppets at war and when you want it to call, just change it using hidden_effect
i need help
path="C:/Program Files (x86)/Steam/steamapps/workshop/content/394360/3090753549"
remote_file_id="3090753549"
is this correct in the descriptor????
you have to put your path
Is that path that i put correct?
It doesn't work
it's not correct
Yes
I'm making a focus to puppet vichy but it causes them to join the axis and go to war with everyone. Does anyone know how to stop this?
set a custom rule for vichy france where you can't join factions
Tried that, didn't work, don't really know why
Basically just copied the code from the Denmark one.
Ok
It even happens if I kill ai
Does anyone know why my ironman mods arent working anymore?
Where I can download the mod from guys
I need help with mods
france_1793_1799_focus_7:0 "The Reign of Terror"
france_1793_1799_focus_7_desc:0 "Death to Kings Counter-Revolutionaries Regionalists the Clergy"
are there any other groups i could add to this focus?
the focuses themselves will only kill louis and marie
is it fine to have these sayings?
i need some help with my mod (technical issue)
Is there a way to make so the french ai specifically attacks these states?
adding state modifers to ukraine that make non-core divisions slower?
what is it ?
you can add modifier "enemy speed" debuff
there is one i rememebr
my game is bugged instead of state names i see STATE_X
did you give the name in the localisation ?
i removed a state in nudge i think once
in the localisation, you need to copy and paste a file called "state names"
:0
if you completely removed it than you may have deleted in the gamefile
like me
for 2 times
the game continues to crash and it wont open
if that happens
you need to reinstall the whole hoi4
it is not crashing
it is working fin ebut it is anoying
than do the localisation thing
because its that the file to give states names
if you wont add it, the game will just call them by state number
and not actual name
enemy_army_speed_factor ah great
that should be the one i talked about :/
thx i fixed the issue
it was i nthe launcher folder
nice :3
another question
is it normal for hoi4 in nudge to make railways look buggy as hell?
never did them :/
i never used nudge
i mean
i used it
realy? why not
but not for that
i only created new provinces
because thos are easy
but i never created states or added buildings
have too much PTSD for that
another question
how tf do i make boarder disputes
every_country = {
limit = {
has_war_with = OTO
OR = {
original_tag = AUS
original_tag = RUS
}
}
white_peace = OTO
}
Will this make so austria and russia peace out with ottomans?
ello?
I dont know
But you can check in Japan
aw
please, can someone help me?
i was making a new state (for the city of alexandria only) when suddenly all the states became random numbers and now i cant play at all, it keeps crashing.
Go to decisions of japan, check the effects
And look for them
:/
tx
I thinks its because of the creation of the state in hoi4 gamefile and not the mod
Check It in history states files
If its in the gamefile
Than you Need to delete It
And if It still keeps crashing
Reinstall the whole hoi4
how do i make it on the start of a round
What?
on start
of the game
after you start the game an event happens
with start i mean when you get control off the said country
I think you Need an event
Wait
Just look up like
Events in rt56
Or blackice
Where they explain the game
Copy that
And change it
it's not here though
it should be province number 970
Few question did you random and validate in state ?
yes, but after i found out there was a problem 😬
Maybe it have the victory point on wrong file
I guess there's nothing I can do
I hate having to delete the game and downloading it again
No no that thing is easy to fix
You can delete map,locazation and history in where ever the mod folder is
oh ok then
thanks a lot
Btw send me those history file i maybe can do something
it didn't work
it looks like the state was added to the base game not the mod
im just gonna have to redownload the game
Did you do anything else to other state if not i can send the file
oh not much no
I just added bunkers and military factories
Btw did you change the victory from the original state to the new one?
New Fantasy Mod i am about to start working on, heres the map
hmm
idk how to do that hold on
i'm going to see a tutorial
Most big mod i know just use github :v
HELP
for some reason my map mod works perfectly on my pc but it crashes after uploading to steam workshop
Use github
It githib like used to store all the code for the game?
ok
do yk which ones are best to use
nvm i got it
Yea that looks pretty good so far
you can still Rework it tho
yeah i will sure to
the focus currently just goes to january 1794
and that is without ahistorical focuses
cool mod idea btw
Thanks
Does anyone know of any mods that expand Great Britain
how do i set up a GitHub for a Hoi4 mod
Magna Europa: Reloaded literally expands great britain if that counts
Install github desktop, press add then create new repository
and set the path to be your mod location
like the mod file i created? or like the literaly hoi4 mod Folder
Literal*
ok
yeah that's always a confusing distinction lmao
how do i set a path?
Hello, i have a little problem and i want to know if can help me

alr ive done this
so like now whenever i make a change to the code does it just save their?
Whenever you make a change, it'll be listed under the "changed files" sidebar
You can then select your changes and commit them to github
this?
Yeah
Ok I think I'm starting to get the hang of it
Thanks for the help
No worries 🙂
yo what is the command for adding party popularity?
i did "add_party_popularity" but forgor how to add to a specific party
add_party_popularity <ideology group> <value>
can i just use the letters?
like D for democratic?
caus thats what i tried
is this right
got to get rid of the cap but other than that
The effect for adding party popularity is
ideology = fascism
popularity = -0.5
}```
0.5 is 50%
alr
@slim raptor
Thank you for the random ping
I'm getting "Unexpected token: NOT",
Specifically for this availability check in this focus.
"
available = {
has_army_manpower = {
size > 400000
NOT = {
has_idea = ROM_anti_war_sentiment
}
}
}
"
any1 know why?
Dude
}
On the NoT
You Need to close that
Put the idea name foward
And adjust has army and not
Unexpected token error is almost always a misplaced bracket
ty
Very good to know, thanks.
well it looks amazing
i hope you're ready to go through assigning provinces to states and strategic zones
you know like places to put your ships, planes
making sure rivers allign with provinces
im so confused as to why this doesnt work
every_country = {
limit = {
is_in_faction_with = ROM
OR = {
original_tag = HUN
original_tag = BUL
original_tag = ALB
original_tag = GRE
original_tag = YUG
}
}
add_ideas = {
ROM_balkan_joint_military_cooperation_plan
}
}
pretty much: you have to be in faction with and have one of the tags to get the idea
i've tried tag and original_tag, both don't work, so im definitely screwing up syntax somehow
maybe I need an and? i dunno
^^ Solved, no need to respond. I was missing an "AND = { }"
So, there's an issue with the background of "research_slot_entry". The "quadTextureSprite" is rendered useless because the game always defaults to "GFX_research_line_bg", even though it has already been commented out with "#". Does anyone know the reason for this🤔 ?
whats the best, most broken country in mod named europa in flames agora?
Can I use the console to see which national focus path a country is set to take? ie whether France is set to take either the historical, little entente or communist path?
Hi
yooo
i didn't even know this was possible
i thought about something like this
anyone knows how to fix this?
whats better? big puppets or many small puppets?
in terms of modding:
big puppets with indepth focus tree over many small low effort puppets nobody cares about that have miniscule focus trees
in terms of in general:
many small puppets are usually border gore.
is ur hoi4.exe set on admin permission
if ye then remove it
did you fix it?
if you used nudger: C:\Users[Name]\Documents\Paradox Interactive\Hearts of Iron IV: delete the history, states and map.
if you didn't use nudger, its a problem with localisation files, so verify integrity of data ig, never seen that.
what is the effect for civ and infrastructure construction speed?
ohhh man sorry i meant to post this in ask for help here i just misclicked
do all your localisation files have l english?
wow thank you so much
need modders in 1870
we are in need of unit models focus treees
bouta be 1#
dm me fr
hoi4 should honestly combine the orleanist and bourbon branches
- maybe even the fascists
ah, np.
how do i mod..? (also im not that good at coding so thats a big problem too)
Hey I'm trying to make this decision, and the variables (Italian Power and Russian Power) visible globally too. But it resets to 0 every time I observe another country. Any help?
is it possible to make so the venetian ai doesnt want to have an army bigger than 25k?
has_army_manpower = { size > 25000?
Put army low recruitabke population
Or add max division mechanics
cant you mak so a country cant create/edit new divisions?
No?
Vanilla Just pit low recruitable
OR
@wintry geode
Put their leader -100% desidered division
That works
what about the spanish divisions you cant delete?
Stops ai from creating
and the soviet ones
Those Will auto delete at the end of civil wsr
country_lock_all_division_template = yes
you can unlock them by putting no
where do i put in this?
It's an effect so anywhere that triggers an effect
i just put it in the history/countries file?
You can yeah
thx
No worries
attack_bonus_against = 0.5 = SPR
Does attack_bouns_against work like this?
will the country with this idea have an attack bonus against spain?
targeted_modifier = {
tag = SPR
attack_bonus_against = 0.1
}```
it's a seperate scope in the idea, not inside the normal modifier scope
THX Now the focus will do what its supposed to do
90199223481132052
thank god we have Whuka's address now we can save him now without nefarious reasonings ameen
Strange for you to assume Marie Antoinette would actually serve in the military
Why would you even do a focus like that
its not allowed to have historical one off instances like?
Brit just means the focus does nothing useful
i will make so it does something more
-25 relations with austria maybe some added stability
and a news event
would be funnier if it removed 1 person from somewhere not manpower
How can i reduce puppet annex cost. Please tag me while answer
how to make so countries dont change/add new unit templates?
All the countries add artillery to their divisions even tho they dont have 1 bit of artillery...
Go to list of modifiers on hoi4wiki
And search for it
Did france declare war on the states west of the rhine on a specific date?
or what was the situation back then
France declared war on austria in april 1792
yeah but what about the german minors?
I think that you should add something like "+20% resistance" in states such as Vendee (royalists states)
Im adding the Kingdom of France as a seperate country
even with this idea france still invades them really easily
That's pretty cool
where do i change stuff like how fast division moves, the speed the focus gets completed (not days), and some other timer things
how do i make my country have working templates and units i can't figure it out
this is the code i have
but neither templates or units appear in game
my game starts in 2009 so maybe that does something
hey I got a question, why is there 2 colors in Germany.txt and none of them is the actual germany color?
(i'm new in modding)
QUESTION
does a country Need a 3 name tag or It can be 4 too?
since there isn't a 4 name tag i imagine it may cause some errors
you can try and see how it goes but i don't see the point
Oki ;/
for some reason, despite having all its provinces gone, theres a state thats still collides with the ones that have taken all its provinces
how do I fix this?
also could yall send me the state data for state 96
hello
does anyone know what the expression is for changing the name of a country? And all_finnish_states
?
Localization
Japan ai is not producing torpedo cruiser, how to fix it ?
anybody?
Can divisional insignia be modded atm? Would like to do some historical ones for flavour.
You could add them in gfx
Do custom divisions
And give them custom insignas
[01:10:43][1789.01.01.12][country.h:1783]: Asking if SER is a neighbor of AUS before the latter country is initialized (or otherwise has no neighbors).
What does this error mean?
I made a small personal mod that just changes the % chance of various countries being flagged for historical/alternate national focus paths. To make the mod I just copied the on_action_00 file and path and changed the weighted values. I was wondering, is there a way to just overwrite just the part of the file which I want to change, to allow for greater mod compatibily?
rather than the whole on_action_00 file
I also want to know
copy an on_actions file and change it without changing the name
I’m surprised there no mad max themed mod
declare_war_on = {
target = BEL
type = puppet_wargoal_focus
}
do i put in this twice? if i want a country to declare war on both sides of a civilwar
Yes, those two sides of the Civilwar are now considerd as seperate Countries
yeah but does it make france declare war on both belgiums?
doesnt seem like it
No. To do that you need to somehow remember, which the two belgiums are (tip: there are two ways here. You can keep an event:target on the uprising Belgium or you can use original_tag) In any case, France will need to declare war on both belgiums seperately
how do i add more factories in a state using the files?
State
File
Add starting civilian factories?
I think
Like
How you add infrastrufrure
You do the same with that
whwhich file
States in history
ah alr
idk how to do this-
You using old versione?
yeah
so what does 50 mean-
I mean like why not
I mesn
Xd
I think that would crash xd
Because i dont think you can have more than max amount per state xd
20?
how do i edit the max amount then-
Good?
I dont kniw
oh
here
thats in which file?
UwU
history/states
theres 50 files-
which state do you want to edit?
any of these
you want to change the maximum number of factories in a state, right?
yes
open the file you want in history/states and change state_category
Yes...
units always get stuck after peace deals and such
didn't work
i dont get why you cant move back units in neutral countries
and the ai doesnt delete those units
they just stay there forever
paradox needs to fix this
anyone making a hoi4 mod
why wont this work
it's "set_capital", not "move_capital"
oh
A lot of people are in this channel
is it possible to give a hidden idea to all countries that gives -100% air base construction?
ai_strategy = {
type = alliance
id = "SER"
value = -1000
}
i gave austria this in their ai strategy plan
Yet serbia joined their faction...
do i make it -10000?
What you are doing, is telling the Austrian AI, that it really, really, really should not seek an Alliance with Serbia. But that's it. You are not telling it to NOT ALLY WITH SERBIA, just that under no circumstances is that something, they should pursue. A different Strategy type will likely serve you far better.
"ignore" might fit you well
ai_strategy = {
type = ignore
id = "SER"
value = -1000
}
just this?
well, the value must now be positive, but yes
Austria gets wayyyy to overpowered and push the ottomans to sofia and plovdiv when serbia is in their faction
Then maybe Serbia is overpowered? Or they are well balanced and Serbia is the Kingmaker
serbia has 4-10 divisions
austria has 10 or so
albeit hungary bohemia galicia bukovina have 30 combined
and they flood their divisions to serbia
even tho i added this idea to the monarchists
they still surrender (within a month)
what should i add to strengthen them?
Maybe have them not be a one time thing but give them occasional Events, where they pop up again and Republican France needs to do some stuff to slow to downright prevent such events. Sure the Monarchists wouldn't really be playable, but hey, better than nuthin
i want them to be playable imo
good, then they need some sort of Capitulation Prevention. Check out the Code for Vanilla Ethiopia, they should have something along those lines.
I could change the states a little
so the vendee has the defense of the river
and making the provinces that border the vendee thinner
Can anyone help me with mod?
my English is poor and I'm not good at modding
Can you ask the question
I need help changing research icons
Anybody?
The answer of "Localization" was correct, albeit unhelpful.
At first glance, I would suggest you add a cosmetic_tag to the Files, copying the base Nation and only changing the Name. Then set the cosmetic tag for the Nation you want to rename to be the one just created. https://hoi4.paradoxwikis.com/Cosmetic_tag_modding relevant wiki
yo guys i wanted to make a mod but i got one prroblem i can't pick the country
coyld anyone help me with it?
as in in the bookmark?
Yeah, something went wrong here. Possibly a broken Tag. Is it three Letters?
Otherwise I would like see the error.log
the tag is GKOT
the Problem is, that the Tag must be three letter, so like GKO
So replace every instance of the Tag currently "GKOT" with "GKO"
oh, it probably did, but you just haven't checked the relevant Info yet. That being, what is in the error.log?
give me a sec let me just find error log
its my first time modding the game
erm
what did i do wrong with the leader
okay i see i have one folder named gkot
mabye that's the problem
still
Well, then let's error-stomp. remove all those recruit_characters
By removing them from the history file. There should be recruit_character [...] in there. remove all those
OHH THIS GUYS
jep
so like this
yep
i got still some errors and country not work still
ai_strategy = {
type = ignore
id = "AUS"
value = 10000 ai_strategy = {
type = ignore
id = "SER"
value = 10000
}
}
try antagonize instead
Right, but none of those should be relevant.
Did you modify the relevant State (Greater London Area)?
i don't thnik
Right, then the Checklist. I know you have the history file, do you have the relevant common/countries file? Have you added the Tag to the country_tags file?
Right and I suspect "Great Kingdom of Tea.txt" also exists in the common/countries folder?
And apparently no relevant Errormessages, hmmm.
Try launching a game and clicking on the empty area + afterwards get the error.log
okay
(clicking on empty Area to check if state is broken)
Yea, select a different Nation, say belgium and start the Game. Once you are in Game, check if clicking on it yields a highlighted Province/State Border.
Also did you ever use nudge?
idk what is nudge
Hang on a sec, how does the File for that State look?
Well than that will likely be the solution. But I am also quite surprised, that the error.log doesn't catch that-
Is the Tag correct/ did you get Flags for all sizes (large, medium, small)?
wait large is default
been a while since i did flags
chill no problem
Are those .tga Files?
you should generate flags by tool
tool?!?
you just throw in a PNG and it makes the 3 files for you
Actual Provinces or states like Greater London Area?
States are the same as with Greater London Area, Provinces are a bit more involved and not quite my area of expertise
country_event = {
id = fra_1789_event.9
title = ""
desc = fra_1789_event.9.d
picture = GFX_idi_amin_india
#is_triggered_only = yes
trigger = {
original_tag = VND
country_exists = VND
date > 1789.1.1 date < 1800.1.1
}
fire_only_once = yes
option = { #
name = "Declare Independence"
ai_chance = { factor = 100 }
FRA = {
country_event = { days = 30 id = fra_1789_event.10 }
}
}
}
Will the 10th french event be trigged?
with this
i just wanted to give this terrain to the modded country
That singular Province? I guess you could turn that Province into a seperate State, but it is too late at night for me to give a rundown on that. relevant wiki:https://hoi4.paradoxwikis.com/State_modding
france didnt get the event when i play tested this whats wrong with the "code"?
If you fire the Event via the Console, it will tell you, which of the conditions are met. This could be a good Test to see if they work
its okay have a nice night
[20:30:25][1948.01.01.12][country.h:1783]: Asking if SWI is a neighbor of SOV before the latter country is initialized (or otherwise has no neighbors).
[20:30:25][1948.01.01.12][country.h:1783]: Asking if SWI is a neighbor of ENG before the latter country is initialized (or otherwise has no neighbors).
how do i fix it?
Move the effect out of the history files and into on_startup
Can i just add here more files to get more terrain for country
I did a funny
Geeza
I dont understand the usage of this tool
just export the image into a tga file and put it into the gfx folder
My PC is potato as shit. Are there small-scale mods like Europe Only (maybe Old World Blues) that could lower my CPU load?
It creates all three versions and you don't need to worry about resizing issues
oh that's all it was about
kinda useful if you're having around 130 countries in your mod files
Is there a way to restore nudger to default settings? I think I messed up
it causes error.log map error and tells me to nudge when I start in debug
Anyone knows how to load a focus tree while still keeping some parts of the old one?
For example keeping the industry and army path the same but loading a new political one?
Your changes are stored in documents/paradox interactive/hoi4/
You can't, you'll have to copy those sections into their own file
delete the map, history and localisation folders that were created in the directory that fbkong listed
So, shared focuses?
Not necessarily
okay, so lets say I made a new file with those sections
how would I load the new focus while still keeping those sections
from my knowledge load_focus_tree completely removes everything and then adds the new focus
im tryna keep this little industry path from deloading when the new section is loaded
You might have to delete history, localisation and map folder where FBKong said if you want to get your vanilla working, but if you want to save the modifications you made on the nudger for a mod, you have to put it in a folder in the mod folder
nvm, I just realized how to do it, never worked with shared focuses before
You can copy the states files from the game's folders but to add more states to a country you have open the state file and change the country tag in owner = [country tag]
and to add a core to the state you have to add add_core_of = [country tag]
FPS map and console command debug_smooth
Non Reflective Water mod too, i don't really know if it change a thing tho
A few percent IIRC
how do i add that if country change from idk democratic to comunism that then my leader from comunism is showing up
How has nobody responded to this lad? anyway
Lets say you are making a character. (Im taking this romanian character for example), the country_leader "Ideology" is what makes them show up. "conservatism" is a sub ideology for democracy.
characters = {
ROM_gheorghe_tatarescu= {
name=ROM_gheorghe_tatarescu
portraits={
civilian={
large="GFX_Portrait_romania_gheorghe_tatarescu"
}
}
country_leader={
ideology=conservatism
expire="1965.1.1.1"
id=-1
}
}
}
This is how ideologies are defined:
"
democratic = {
types = {
conservatism = {
}
liberalism = {
}
socialism = {
}
populism = {
}
}
"
It will automatically change to the character when the ruling party is changed. you can use set_ruling_party command to quickly change the ruling party
Characters = {} isn't something that exists. You recruit Characters with, well "recruit_character ="
You can check Vanilla history files for Refrence
oh yea, you define characters with that, and then you recruit em, forgor about that.
So, yeah characters = {} is used in a different File, I believe
nah i use characters = {}
in my characters file for my mod
it works fine
this is how I did my file
no errors, works fine
Yes, but the posted File was history country file
yea, for history you need to recruit characters defined in characters file
so yea, as pokewars stated, you have to do "recruit_character = [NAME]"
and in common>characters>(...).txt you define it with characters = { } and put the names in there.
this is how it would look in practice
I don't know anything about that, but here is wiki: https://hoi4.paradoxwikis.com/Font_modding (just in case you didn't have that before)
hi,
i wanna make a submod that prevents the AI from making divisions with names like "infantry template 5" or similar
the wiki doesn't tell me whether this is governed by localization or unit files (or both)
where do i have to start looking?
yoo pokewars are you able soon to help me out with the leader thing
I... did? The Thing me an oofioznis talked about, that is your Issue.
i mean its to complicated for my small brain
Okay, sooooo.
Characters are Entities, like Units, Nations, States, whatever. So they have their own File, where they are created, with the Characters = {} block you added to the history File of your Nation here. That doesn't belong there, it belongs in its own dedicated file in common/characters
In the history File, add the recruit_character effect for every Character you wish to add, just like shown in many Vanilla files or the example given by oofioznis (last picture)
If you want the AI to dynamically create Divisions, that is not possible. However I'll look into whether it is possible to block AI from generating templates, but not from changing them.
If adaption is not necessary, that seems easy enough
I think it would be enough if i could remove the "template" from the template names... if it ends up spitting out "1. Infantry Division 2" "3. Motorized Division 4" "2. Tank Division 3" instead, i'd be fine with that... just can't figure out where to unify template names
So did i make this first thing good?
I don't believe changing the procedural Names is possible? Would guess it to be in Localization if anywhere, though I would have to dig there
I mean, if that leader was created in their own file, then it is all good, yes
guess i have to dig deeper myself then, thanks anyway
in own file in what way
A Character is like a National Spirit, it needs its own entry in a .txt file in the folder common/characters
Typically all characters of one Nation are collected in one .txt File. Check Vanilla Files for Refrence
ohh okay ty
i think i found it, just need to make new files in common\units\names_divisions for each tag
Nah, that is for individual units, not the templates, as far as i can see
error.log?
Right, you need to actually tell the Game that that Portrait ... exists, basically. https://hoi4.paradoxwikis.com/Character_modding#Arguments relevant Wikipoint (under Portraits)
