#modding
1 messages · Page 77 of 1
Would anyone know how to fix this issue?
We are bad at espionage because it's expensive and not tanks XD
anyone knows a good medival mod ?
Is this a german stereotype mod?
This is in the base game, in the german ai strategy file
oh-
is that the only reason?
gonna fix the modifier soon
likely you've got the state names loc file in your documents folder
I don’t think so,ima look
Hoi4 modding den says Newly-added localisation values in 1.13 commonly omit the version number, such as STATE_111_SWE: "Nyland". The nudger interprets that as a version of negative one, and writes it as STATE_111_SWE:-1 "Nyland" instead. The game only expects numeric characters as the version number, so it breaks the rest of the file with an error of Expected quotation mark ("). If you're using the base game's localisation file that contains such values, this will break it. Make sure to remove any negative ones in the nudger's localisation outputs, preferably swapping them with any non-negative integer number. Or if you want, just delete the files in the documents> paradox interactive, and make your own files for states without nudge
Hello, I was wondering if theres anyway to change the Main menu"s location to probably like the bottom right corner or such?
How can I modify which menu does a button open (for example I want to make the research button open the construction menu)?
Marie-Joseph Paul Yves Roch Gilbert du Motier de La Fayette, Marquis de La Fayette (French: [ʒilbɛʁ dy mɔtje maʁki d(ə) la fajɛt]; 6 September 1757 – 20 May 1834), known in the United States as Lafayette ( LA(H)F-ee-ET), was a French nobleman and military officer who volunteered to join the Continental Army, led by General George Washington, in ...
Alt history for lafayette coming into power in 1799?
would it make sense?
nope
what??
fixed it!
Hello hello
how do I make a github server thing for my mod team
capital = 684
set_research_slots = 1
Starting tech
set_technology = {
hippogriff_race = 1
melee_weapons = 1
tech_spirit_warriors = 1
tech_field_hospital = 1
tech_field_hospital2 = 1
interwar_antitank = 1
antitank1 = 1
}
add_ideas = {
NQM_anarchy_quarentine
poor_science_base
lack_of_scientists
poverty
closed_economy
disarmed_nation
}
set_popularities = {
democratic = 0
fascism = 0
communism = 0
neutrality = 100
}
set_politics = {
ruling_party = neutrality
last_election = "1001.1.1"
election_frequency = 48
elections_allowed = no
}
recruit_character = NQM_Anarchy
what is wrong here?
its from folder history/countries. It crashes when spawning the country
If you didn't send the full code, it is this
where is the issue?
wait no- nvm, sorry
Do you have a loc file for the country?
can i send by dm?
Sure
They hired mod developers before
Mod developers: What is the best way to maintain a modding team?
Is there a mod that makes border movement smoother just like in steel divisions 2
I don't know, but I wanna know what you mean
is there any way to have dynamic variable names?
i have this on_action here
and right now i check the nation tag to determine which variable to change
is there any way to instead do something like "{TAG}_integration_level" and have the tag change based on the nation?
Im trying to build a mod and i cant get characters that are made from the characters file to appear, i am enabling them via the country file but i cannot get them to show up in any capacity in game, pls ping or dm regarding help
Does anyone know where I can download the submod of “8 years of resistance” that had the Chinese communists taking the lead
I couldn’t find the English translation
Check dms
Hi, how to speed up delivery time after buy some weapon from international market 10 times faster
Command
Modders with teams: what is the best way to keep your team alive, any tips for new team modders?
Money
What if they never said they wanted money
Than give them love
(Im not insulting the idea fyi)Me casually: "I LOVE YOU MOTHERFUCKERS"
That makes sense though
Idk search online
how can i mod it so a country starts in a civil war?
or easier
how can i do it so a country starts in a war (like italy with ethiopia)
You exist out the current saved game than back to ur load
Click Italy or Ethiopia than justify war goal
uhhh? in which folder and whihc file?
Do u wish to make a country starts a civil war at the beginning of the game?
well yes but normal war is enough and honestly easier for me
when you start a hoi4 game italy starts at war with ethiopia
how can i do that but with other countries?
A easier way to do it is by entering the game immediately than give commands for having two nation on war goal
But if ur asking abt coding on files
yeah but i need it to be a mod
not a command
yes
Oh
I’m not sure how to exactly but check on the initial files of heart of iron 4 might give u some clues.
Sorry that’s all Ik, I thought of smt else
ima try
Not sure if this is wat ur looking for but I found it on a inspiration file
namespace = my_custom_events
country_event = {
id = my_custom_events.1
title = "Civil War in Germany and Spain"
desc = "Both Germany and Spain have descended into civil war!"
picture = "GFX_report_event_german_civil_war"
trigger = {
GER = {
has_government = fascism
}
SPR = {
has_government = communism
}
}
immediate = {
GER = {
civil_war = {
ideology = "communism"
size = 0.5
}
}
SPR = {
civil_war = {
ideology = "fascism"
size = 0.5
}
}
}
option = {
name = "The world is changing..."
ai_chance = {
factor = 1
}
}
}
I’m not sure if this is the file ur looking for. But good luck
I'd like to see a 1 vs. 1 mod that is a recreation of the foxhole map
Could you make a picture of the German focus tree please
theres no hre focus yet
theres austrian and prussian focus trees albeit they are really incomplete
I mean like the normal focus tree of 1936
(focus tree is a little changed)
since i got my mod on
Thank you bro
Hi guys, I'm trying to make a puppet focus tree show up for the puppets of specific nations as soon as they are puppeted, but I'm forced to use reload focus to make it appears. Yet I filled in the file with the necessary effects (load_focus_tree = cartelpo_nf)
I hope in the future someone can make an audio mod which include the voice of a historical person talking when there was an event
Like H!lter’s speech when the invasion of Poland started or the speech of Stalin . Even more play the Anthems of a nation after smt
there's the "Decisions: Speeches Audio" mod but it hasn't been updated in a while
and also the allied speeches pack DLC which activates on certain triggers/decisions iirc
Does it still work with current versions or would you need to update it yourself
judging by the comments it doesn't work but I haven't played it myself
always worth trying it out for yourself
there is also https://steamcommunity.com/sharedfiles/filedetails/?id=2644935365 which appears to be an "updated" version
i wanna add new laws for conscription training and mobilization
aswell as new advisors
like a drill advisor
so yalls can train units faster
ill also add new military advisors
and a army chief of staff
@summer lotus
whadya think?
is there like a hoi4 mod that if im at unhistorical the ai will only take unhistorical focuses and no coutry takes historical ones or can someone help me code such mod?
or like a mod
where in the menu where you can choose the ideology/strategy of ever coutnry there is like a button (where it says randomize) and then a random ideology gets assigned toe very country
what mod makes a country have more provinces?
Is there any mods like Spartakus that are alive because I want to start reviving that mod under my own spin
Guys is there a way I can make a hoi4 focus tree diagram
Or sorry not diagram
Template
Generator
Without code
lol
Hey im trying to mod the focus tree of germany (the alternative Waking the tiger path) where can i find the dlc focus tree path
it's in the same file as the regular focus tree
the logo for my upcoming mod ‘chidus’
I'm not sure what you mean by option
all good
nvm
@timber zenith
i have a visual strudio plugin so it shows the focus tree
but i cant see the dlc one only the default can you maybe help me out with that
I've never used the plugin unfortunately
are you opening just the file tho? if you open the whole folder it should show icons etc
that might help
i opened the file in visual studio
nvm i found out why
ive been looking for a solution for almost 2 hours
i had the checkmark waking the tiiger off
💀
Do yall recommend any fonts for the countries
it is even possible to add a custom color for text? The wiki says to add on core.gfx but the color is never right
[23:12]
uses rgb or any other type?
did anyone see the Chinese government tried to get the Cold War mod taken down
because they didn't show some stupid little island as a Chinese core but Japanese instead (it's Japanese territory)
Guess all developers are losing -10000 social credits
making an event that makes countries independent, but it takes up too much space
example
immediate = {
# Ukraine Indepence
202 = { transfer_state_to = UKR }
put it as a hidden effect
using the hidden_effect scope
and you can also use the every_state scope with a limit of regions/states to make it look neater
ie
every_state = {
limit = {
OR = {
region = 11
region = 13
state = 111
state = 121
}
}
transfer_state_to = TAG
}```
but perhaps in that specific case release_on_controlled = UKR might be easier
what do i use region = for
Or release_on_controlled = UKR is going to do the same thing but without many lines?
they're strategic regions, so using that applies to all states within that strategic region
pretty much, since you're doing it for a tag thats probably the easiest way
that doesnt work
is it because of the civil war being executed first?
potentially
if you do just release = UKR it should work
(that would include states not controlled by russia for obvious reasons, but that doesn't appear to be an issue in this case)
it still doesnt work, only the civil war works
However it does talk about releasing countries
could I see your event code?
news_event = {
id = news.412
title = news.412.t
desc = news.412.d
picture = GFX_moscow_tanks
immediate = {
# Civil War
start_civil_war = {
ideology = democratic
size = 0.5
states = all
states_filter = {
is_on_continent = europe
is_capital = no
}
set_country_flag = SOV_democracy
# Sets a country flag that gets used in a country tag alias.
}
# Republic Indepence
release = UKR
release = BLR
release = MOL
release = LIT
release = LAT
release = EST
# Civil War
start_civil_war = {
ideology = democratic
size = 0.5
states = all
states_filter = {
is_on_continent = europe
is_capital = no
}
set_country_flag = SOV_democracy
# Sets a country flag that gets used in a country tag alias.
}
major = yes
is_triggered_only = yes
option = {
name = news.412.a
}
}
might bit be a little messy
wait
i accidentally put 2 civil wars
works this time
cool
i gotta fix the crimea
it gets only worse as it goes
for some reason something strange is happening to my hoi4
@timber zenith sry for ping but i think it broke it ^
i fixed it
1860 American Civil War? I don't believe so anymore. You'll have to play Victoria 2 or 3 for that
Technically 1861 I suppose
EoaNB has the american civil war
I thought the mod was no longer updated
That is why I didn't mention it
Ok
just recently started attempting to get a mod up and running (like a few hours ago) and got a custom map set up via Mapgen 2.2 and CMS per a tutorial i watched
||https://www.youtube.com/watch?v=aAr4RyxpLNA||
^ the tutorial in question.
the only problem is i am unable to get into the main menu when the mod is enabled,
(The attached File is the Error Log)
Im very new and havent had coding experience or proper modding experience in other games or in hoi4 or any other paradox game, just wondering if theres a way i can get past this point? Any help from anyone would be a huge thanks- i also dont know if this is the right chat to send this in so sorry if it isnt-
Hi, I'm still alive!
Here's an updated version of the hoi4 custom map mod series.
This video covers parts: 1, 2, and 6 of the original series.
Parts: 3, 4, and 5 should still be done to your mod after this video!
Resources:
MapGenV2.2: http://bit.ly/MapGen_V2_2
MapGenV2.2 Examples: https://drive.google.com/file/d/1gS0vABXYpDcKtwwgwGh4R_-qA0U7...
Just to show where it crashes at i dont know how itll help though-
Nations get released without even the event triggering, why? I used release = TAG
wait nvm
but still
why does it trigger by itself
08:58:09][1983.01.25.01][eventwindow.cpp:270]: events/NewsEvents.txt:13385: news.412: Spawned event without any allowed options
im trying to mod for a north america divided submod but the focus tree isnt appearing. Help
Does anyone know where the event lives for the US Civil War and the events surrounding it? They do not seem to be in USA.txt
Check man the guns events
Ah, I see MTG_USA now. Thank you, I'll give that a shot.
Anything to change to increase Stability? (At 0%)
MTG_USA ok
How do I start a mod with a team? And how do I keep them active
The hell kinda colors are those
why did you make separate tags for each country in europe when you couldve easily changed info, loc and country color 😭
it happened when i added a single event
i didnt add any tags
Hi everyone. I have a little question:
I want if the operation (spy, "La Resistance") fail to kill the operative (of the ROOT country), but the game say it is incorrect the syntax. Any idea?
outcome_extra_execute = {
# Failure
kill_operative = PREV
}
i tried adding the west indies federation but wont let me add the leader portrait and the name
Maybe you forget to recruit the character, or your character have a error?
whats the correct way
In a common\characters\WIF_characters.txt (or any name), you should have something like this:
characters = {
WIF_jonas_lote = {
name = "Jonas Lote"
gender = male
portraits = {
civilian = {
large = "gfx/leaders/WIF/Portrait_Africa_Generic_2.dds"
}
army = {
large = "gfx/leaders/WIF/Portrait_Africa_Generic_2.dds"
}
}
country_leader = {
ideology = centrism
expire = "1965.1.1"
traits = {
#reluctant_interventionist
}
}
}
}
okay thanks
still doesnt work
plus this is the file
history/countries
what have you tried so far?
putting the country's name and leader
yes
probably make it like naval invasions lots while at war with Egypt
and make it send navy to the right places
I might be wrong about the specifics, but it should be possible
finished
Looks bang on fam
[18:38:33][1983.01.05.01][eventwindow.cpp:270]: events/NewsEvents.txt:13385: news.412: Spawned event without any allowed options
how do i fix it?
the dog gone crazy
39k is nothin i had like 300k in one of the mods i was making every time i tried to fix a error 100 more were created
Guys, for Millennium Dawn, is more easy a war against Canada or Mexico?
how does this look to everyone? i still need to add the mod name but overall i think it looks pretty good the AI art is a placeholder because my team currently doesnt have the budget to comission any custom art
Pretty decent, just need some real art that fits with whatever theme your going for
Also, if you don't want to commission any custom art, you could try recolouring a photo
maybe
theres also this
we couldnt really find any good existing art that fit the theme of "eternal winter"
so just ai generated some real quick for a placeholder
hi guys
is there just no acheivements button or way to view your acheivements from the main menu?
unless im incredibly stupid i cannot find a button anywhere
they are from changing the focus trees while im playing
and stuff
uhhhh i turned off joining factions
but the french counter-revolutionaries joined the ottoman faction
how to fix so countries actually cant join factions
and when i make france declare war on new countries all the countries join the austrian faction
I guess it is by focus, so we can't do anything... Except to not allow the focus...
focus?
theres not any focuses for them to join an ottoman faction
maybe making it an idea?
also do anyone know what mods that set the timeline to the napoleonic wars?
im trying to do that
ok
albeit the mod is far from "finished"
🅰️
how do i do modern map?
Hi guys, the array in the game have only index and value or can I have/introduce a third parameter to use?
Hello everyone, I am trying to make a mod about the 1800's. I don't have any modding experience so if someone would like to help me get started with coding I will credit you when the mod comes out
How to add another color for text?
The wiki said to add on core.gfx but never gives the right color
Id suggest getting the modding extension if you dont already have it
Should show all the function autocompletes
Tho idk if you can set a oob in a focus effect
Mods keep crashing, depending on the mod at different times (not every mod but most my mods)
How do I fix?
You can change the loading order, idk if itll fix it or not tho
been watching the iron workshop lately to practice modding
however, he made a template with every single nation with a missing ideology as a template for the country naming system
its not in his video anymore
and I don't know what to do
im on his "creating ideologies" video in his hoi4 series
No it was one mod per playset
Is there a tool to make OOBs easier? They’re incredibly annoying
Mods in general just arent working?
Like, i have everything on the playset, set it all up usually works
all of a sudden it just doesnt?
That's vague
How to change so there are 6 scenarios per line?
last time edited the interface was like 1 year ago
ah i found
just space before and after 5
nevermind
ah found it
Basically, I want to know if it is possible to search and replace in files that have a specific word in it. Such as trying to replace
add_core_of = CHI
with
add_core_of = JAP
But only in files that have
owner = MAN
Flag of the Republic of Fordland loyal to the former United States in my mod “Chidus”
is this mod out?
it is out on steam yes
whats the name
"the extended timeline mod 1444-2024"
and is it fully done?
is the 1444 year done?
Should i make the chidus timeline in 2000? I’m going to add a Zapatista led Mexico.
make poland strong pls 👍
im working on 1789-1836
cant work on 1444 poland
wdym
like when ur doing the 1444 focuses and nations
how could i work on 2 eras at the same time
im not telling you to do that?
1444 is not getting any content
im not adding content to it
ok
my concept of a post-america in 2005 for my mod chidus
how did they join the austrian faction!
i turned off joining factions!
I automatically join their faction????
how do i stop this from happening
and i automatically joined the austrian faction when france declared war on me
i have turned off joining factions also
i wanted to make joining factions scripted
is this some bs paradox code? thats put in HOI4 for some reason?
Christ thats alot of bookmarks
can someone that played south america rework tell me what to do if vargas gets kicked out of the office? how do i get him back if i want to turn facist
Ok so I declared war on the uk which had pakistan as an ally, the uk did the BCA focus so they have another faction ,and so pakistan joined the central powers since they are at war with italy which is also at war with the uk
lithuania declared war on poland anyways and they are in the central powers too
joined up the frontlines
germany is done for
another batch of troops ready
and germany capped
wtf forfeiting is bugged
Italy just lost it and now there's gonna be an independent austria
nvm it didn't happen
damn
how do i make so the ai doesnt want to take these decisions?
or how do i make so only players can take them?
ai_will_do = {
factor = -6000000
modifier = {
add = -6000000
}
}
Put this and they still did it
how to fix
only took like 7 tries
Is this design good?
ok
How likely would it be used if I made a navy mod that actually fixes all the navy issues
like what? extremely small
Like, for example, CA ships not getting their appropriate bonuses as capital ships
if its part of a large tree it takes up more space for no gain
I dont think you can even fix that
Modifiers are applied by hull, and light and heavy cruisers share the same hull
I won't expand my tree
I plan to start a civil war, so the tree will change
Personally I think it looks silly :xd:
so again PDX makes dlc that doesn't even function correctly with their own improvements 👌

spaghetti coooooode, spaghetti coooooode~
just make a hoi5
stop putting more junk into this broken game
imagine hoi4 but there isn't an unpatchable exploit for everything
i'm pretty sure you can still get unlimited manpower can't you
I'd say probably 2028 will be hoi5
probably something like that
though given how much more popular the game keeps getting, i'd say 2030+
hoi4 would have to fall off now for us to get a hoi5 in 2028
I feel like they'd want to develop a new engine
i hope they do
if they don't then there is no point in hoi5
I'd put money on dev cycle being 2026 to start work on the engine
do all other paradox game still use the same engine
new engine is a very expensive thing to develop
they're probably going to ride vic3 and milk stellaris more
i heard stellaris has the same multiplayer problems as hoi4
i feel like paradox games squeeze the engine to its absolute limits
hopefully they realize that the subscription model only works if people don't realize that they can own everything in <2 years
if i cared about stellaris at all anymore i'd probably sub for the dlc, cause forget buying that mess at top price
Thats too fast
Tbf CK3 has multithreading if I remember correctly, progress
You think they'll do 17 years like hoi3->hoi4?
It overheated my video card also because the game is poorly designed
I still find it insane that your CK3 savegame will become literally bricked if you have a big lategame crusade
I feel like 12 years is good because of how popular hoi4 continues to be, they could announce dev for hoi5.
And do a presale bonus that includes a perpetual coupon for 50% off sub fee for hoi4
that will give them a revenue stream that isn't a complete rip off for the community
i just want paradox games to not slow down as they progress, and work well in multiplayer
It does feel like 3 steps forward and two steps back, yeah
also hoi5 is gonna be difficult to monetize
you'd want hoi5 to have all the stuff hoi4 has
but then once you do that, what else do you add
you aren't going to have the big NO STEP BACK epic soviet update, if they have their content from the start
they could add ahistorical paths with DLCs, but mods exist, and people literally could just design them themselves
Yo someone pls help me, I'm trying to make my first mod but it is not doing what it's meant to, I asked @wintry geode but he didn't know
what are you trying to do
this is the problem with the country packs that are literally $15 mods
yeah but sometimes they're decent mods
hoi4 DLCs are not worth the price, but some at least make your game better
TOA is 12$ for the ability to unite south america essentially
hoi5 would likely need to have MOST of hoi4 mechanics/funcitonality
maybe not all the same dlc content from the get go but like
bba, mtg, nsb, all base game functional
and aat
Made a Ring World map for fun
Feels like I'm looking at Factorio
imagine the lag
Hoi4 devs after introducing ChatGPT hitler in hoi5
imagine for 50pp you could send a letter to an Ai and it would react accordingly
would be insanely hard to implement, and probably very exploitable, but imagine telling hitler he's stinky
i'd pay 15$ for a DLC like that
Mr hitler if you give me all of your guns i will exchange that for multiple states of mine
guns get sent
SIKE
and then you invaid him, and he has no guns
peak gameplay
LLMs are very resource heavy if you run them locally
And using an API would cost Paradox way more money than the feature would be worth
yes it is insanely unrealistic
but imagine sending a message to Hitler telling him his plan step by step, and telling him about his own defeat and death
bro did anschluss, too bad i told him that the secret operation he's planning will fail, and he'll shot himself on this exact day, and this exact hour
Hitler in 1943 when he realizes i was right
peak gameplay would be having the surrender button actually work as something you can offer the AI to cap to you
or have yesman being baseline in most games
90% of modding questions be like
Why doesn't this work?
nobody answers
Okay, i figured it out
because its just the game being stupid
idk what i did to make it work
it just randomly did
Sure but ww2 was mostly a fight to the death with neither side wanting to cap
The inability to surrender hurts ahistorical, but it doesn't change historical much, apart from the inability for ger to white peace britain, or at least US after dominating mainland europe
If you cap the British the americans should surrender, since either side fighting is realistically impossible
the americans have a way to land on mainland europe, but i do agree that you not being able to offer peace terms is kind of ridiculous
Me, capping all of europe, not being able to tell the USA to cut their losses and white peace out, is stupid
help why do most countries have no names
dead loc
I can see that only countries with a starting cosmetic tag has a name
but the name.DEF is still lost on British Raj
just go through l_english.yml for countries
ok
does this cause the problem?
i did these for a country i was adding for a mod but the country name doesnt show up
ok
or set_cosmetic_tag TAG WLA
first tag being your own
if they have name, the later section is a problem
idk, I don't have the full file
the problem could be anywhere
if you want to self-diagnose, just break it down
test section by section to identify the one that works or doesn't work
Is there a good or any mod of ww1?
welsh argentina doesnt have a name
yeah the entire loc file has a problem
just check from the start
send the file here tbh

countries_l_english.yml?
yeah just send it
Your a good man
ok, create a new yml file in your mod folder, separate the added section from the og file and move it to the mod file
they actually have different encoding huh, the one I downloaded from you and the one in the og folder
alright
do i keep the og file and make a new yml file JUST for the country i added?
yea
I can't pinpoint the exact problem yet because I haven't run a debug (since I can't)
but just try to separate them
Just test each part of your mod individually
Or like
Removing each of them
Great War Redux is the best one tbh
Is it just on the Steam community?
Great war redux is also a good ww1 mod
It will work if you just put it in the regular countries text file
Then they shouldnt have added the button in the game
it did not
but I think the problem is elsewhere anyway
I don't have his folder so it is hard to diagnose

it can still be used between players i guess
idk if i ever encountered Ai willing to accept it though
maybe...? though this practically never happens
do you mind sending over the whole mod folder so i can inspect it?
"for fun"
If what youre doing is adding a tag to the game then it will work, but idk what hea trying to do
how long will steam take to approve a mod i just uploaded .its my first time
how can i change the owner of the state
States & strategic regions done
Massive respect to those who know how to make custom maps
I cant even edit the map to add in a new city without breaking things
Which way do you mean? When the game starts? Or when you complete a focus/decision or something
To change who owns it when the game starts you can find the states history file and change the owner there
For a effect youd use “transfer_state = TAG” in the state scope to change who owns the state
Hello Guys,
For some reason all my mods are showing that they're missing a descriptor file and I don't know how to fix it.
can someone maybe help me with that? its pretty frustrating
thanks in advance
Hey
Does anyone know how can i change the nationality of every character of certain country to another?
i tried using the every_character
and set_nationality
but it didnt work
thats the launcher being shit probably, try removing these files
What do i do here?
im trying to research for a spanish 30 day focus tree
i researched with the 1789-1799 in spain and spanish colonies
but theres still 35 empty focuses
do i make the later focuses 70 day focuses?
there were no spanish language pages for anything
idk what else i could look into to add stuff to 5-35 more of the 1789-1800 spanish branch
first dual leaders for the first nation in my mod
warning stuff?
what does that mean
why do they look like fortnite characters
im prob just stupid
Im more stupid, for some reason i read that as “fortnite crackers”
i balkanized ireland
is there any reason compliance and resistance would be showing on a cored state at the beginning of the game?
nvm i fixed it, i was missing a scripted trigger
how did you manage to do that>
reverse engineering the other mods with 2 leaders probably
it's kinda trendy rn
Nah theres a doc with a gothub woth the fual leaders mechanic there to just copy paste into your mod
AI portraits go crazy
where do you think they got it from
this is it btw for anyone Wondering
Well ya, just saying it wasn’t reverse engineering anything
Theyre finee
its.... 4 years old?
also @timber zenith what is the secret stuff in the magna europa mod
huh time flies
don't worry about it hehehehe
no i want to know
i NEED to know
i activated it and it seems nothing happened
it's a secret 🙂
pls
How do i fix this (hope you can understand it)
I was messing with the code a bit around the German focus tree extension (translating it for myself) and this happened
is there a clear cut answer to how much an extra 100 states in a mod will affect performance?
why wont my focuses connect?
Do you have “reform_the_empire” as a prerequisite to “placeholder”?
not much
states themselves don't really cause lag, but there is somewhat of a correlation
such as having more tags, releasables, factories etc
that's what happens when you enable it 🙂
secret
so what you are saying is i should give every country a -50-90% construction debuff iyo?
you could do that if you want your games to go on much longer
but it might be easier to just increase the building cost instead
almost done, so many states
I mean a smooth animation when occupying tiles just like in steel division the game have smooth border animation search for it on youtube and you will understand me
Like eastory style
exactly
Maybe make every province a pixel?
yeah but it will lag the game ig
also it will take a lot of time
to draw
Why is "The 18th century" an idea
so the countries cant spam factories
Hm
whats the problem ?
?
Could someone help me here?
This is the first time I've tried to create a mod for Hoi4 and it seems like I've already started doing something wrong.
I followed the tutorial on the official Hoi4 channel, this video here: https://www.youtube.com/watch?v=BuIycVRxrO4
The game recognizes that I have my mod installed in the game, but the event never happens. I left the game running for a while because it might take a few days in the game to happen, but nothing happened.
And when I tried to use the console command to force the event, it says it can't find an event with a specific ID.
Now that you've gotten started modding it's time to learn about how to create national spirits and events in Hearts of Iron IV. What is a modifier? How do triggers work? What kind of events can I create? Your modding journey is still just getting started so try out your new skills and stay tuned for part 3!
0:00 - In this tutorial
0:17 - Effect...
have you tried to debug?
send me the event txt file btw
I mean
drop it here
I'll take a look
my game start with debug, but i dont know exactly how to use, on the botton right show i have some errors, but when i click on that icon, he just disappears and nothing else happens
here both files
as i said, i did 1:1 with the video tutorial
balkanized UK
this error is because of other mods
the version is on line 6 and the error is saying it is on line 9
yea hoi4 shows incompatible version errors for mods you dont even have enabled for some reason
👍
Democratic: No Elections
im still working on it lol
I know, still funny to see
election lmao
I love democracy
adding more cringe to the UK replacement
i have no idea if ill actually keep this, as idk if itll make any sort of sense, i just thought it was kinda cool
Idk what Im doing wrong, but i cant load the mod alongside the KR Mod
is there a way to make minor nations show in a bookmark even if they dont have a custom focus tree
see error log, itll probably say something
Hi everyone, i do mod and i don't know why picture in my country of leader don't work
why am I losing fuel when I dont even have a navy
I tried destroying my entire navy (saved game)
and it still goes down
yet there is nothing supposed to make it drop?
this is in MD btw
is it another scenario mod?
goodluck anyway
how can i add increasing party popularity growth in national spirit modifier
i did even before i made the seperate yml file because it doesnt work, same for the seperate one
hello
ill be making a GIANT MOD
called HOI4 MULTI MOD
ill add a lot of new RL units templates tech and equipment
how can i trigger an event with focus but the event is triggered by another country
?
I'm doing the same thing in rt56. I'm just making it a US style system with the supportive and opposition MPs. Mostly due to the fact that Britain had no elections during the games period, and that the individual parties don't really matter in order to represent it
Even if there was an election event I will just make it so supportive and opposition are swapped
where i can find the error logs?
is it possible to make secret paths if so how?
i could publish the mod to the steam workshop
otherwise i can give you a zip file of the folder
Sweet, im not sure what id do with this, i had figured i could require a certain number of seats for different focuses or lock expansion/integration decisions behind it but im not sure if ill actually end up using it
Idrk what kinda mod it counts as, but the base of it is the world is frozen, a majority of the world has collapsed with citizens flocking to large population centers (well the ones who survived)
And youre tryna manage your country to not collapse and die and in some cases try to expand back out to reclaim your old lands
how would i modify a design company
specifically i want to change the amount of political power it uses
is that in the defines or is there a specific common/design company folder
does research significantly slow down mods?
i would feel like thats why EOANB and Millennium dawn are so slow
maybe
millenium dawns research and like everythings trees r massive
@summer lotus localisation file
I uninstalled the game completely using Revo uninstaller and installed it again, maybe it was a problem with the game itself, maybe this will work now
You better not be paying for that software
im not
Hello guys, i have this completion reward in my focus, but it does nothing in game, why?
same thing, but now, from 5 errors to 26???
and if i click on this, like a did, he just disappears
i follow the same tutorial from the official hoi4 channel on yt
im creating lore for my mod, i created a flag for a ‘Trenton Pact’ established in 2007, 2 years after the Second American Civil War
i decided to go with the ugly flag design because why not
it should open a notepad
also errors dont really matter
my mod currently has over 1500 errors at any given time
it opens like this, the error on the screen says "the system cannot find the specified path"
So I don't know why my mod doesn't work, because I try to force it through the command console and it says that the event ID does not exist
Are hoi4 mod tutorials from 2020 outdated?
I'm using the tutorial from the official hoi4 channel on YT, the video in question was posted 8 days ago
this one
https://www.youtube.com/watch?v=BuIycVRxrO4
Now that you've gotten started modding it's time to learn about how to create national spirits and events in Hearts of Iron IV. What is a modifier? How do triggers work? What kind of events can I create? Your modding journey is still just getting started so try out your new skills and stay tuned for part 3!
0:00 - In this tutorial
0:17 - Effect...
Right now I’m trying to figure out how to make a civil war for a mod, I want it to occur in 2001.
Too-Much States Iraq in HOI4 isn't real, it can't hurt you
Too-Much States Iraq in HOI4:
make it into the world.
no rush obviously
i test something, my own mod dont work, but, i put the files from my mod on another mod i have here, that i downloaded from steam and now works, why works now?
i can only assume something in your mod is incorrect, with no further information to work off of than it doesnt work in yours but does in another
tho it could also be as simple as a typo in a folder name or incorrect file structure
Would anyone know why my Focus tree icons keep bugging out?
Should add treaty of sevres borders
tbh ngl imo
You need an if scope
for the limit
Does anyone know how to use a mod after installing it from nexus mods?
Im not gonna use the steam workshop because I need to access an older version of a mod
Hey, I am new to modding, I am thinking of making a mod where the CSA exists, is this against the rules since it already exists as a country ingame or not?
there aren't any "rules"
np
I tried making my own country, it worked but the name isn't displaying, anyone why?
Nevermind, I found the error
Nevermind, that didn't solve it.
You'll have to add localisation for it
Did it but the name didn't change.
Can you send a screenshot of the loc file?
Remaking the country to see if I missed something
did you get it working?
Needed to do something else, but hopefully it will fix it.
does anyone knows an 1800+ mod or late 1800
whats wrong with the interface?
i would assume it is the gfx_1700_bookmark not having the great northern wars thing?
should i remove the _boomark?
the interface doesnt show up
You doing a mod from 1444?
yeah
I think I saw your post on reddit.
i think so too
its not really a 1444 mod tho
more of a 1789-1836 mod
Oh
I mean, I am new to coding in HOI4 but try.
that made the problem worse
Then add two bookmarks, seems like the only logical solution.
No but seriously, I am guessing your trying to add different photos for all the years?
yes i am
One of them gets added right?
And I am guessing that the only one that gets added is the 1939 one?
Hi there gang is there a thing like Set_puppet_of ... TAG so that the country gets puppetet without the tag used bc Prev and ROOT and so on dosnt work
not working
add colour code
just google colour localisation HoI4
there is a page called "formatting" or sth
Is there any rule that stops a country from giving military access to others?
first draft of economy focus on a country based on UK,
BUT does this looks like too small?
can somebody send me the vanilla soviet focus tree file i accidentally broke it
Hey, since I am new, is there a way to give a country only a province of a country, not the full state, or do I need to make a new state for that?
you have to make new states for that
Alrigt, probably for the best since otherwise the peace deals may look wonky
but i think you can make that state not own certain provinces
like it shows what [provinces that state owns
Alright, was just asking for the future, gotta make other stuff before making new states
and just gotta learn the basics
You follow that up with the first letter of the color you want the text to be, and can follow that symbol again with a ! To reset the color
§Rthis text will be red§! Should make the text red
And then reset the color so no text after it is red
i check everything, like, 20 times, there nothing worng, no typo, is literal 1:1 with the tutorial video, but, just dont work and dont make any sence work when i put my files on other mod that i downloaded from steam
and I don't want to have to do this to create a mod, because I couldn't put it in the steam workshop
does anyone here knows how to do map modding?
Nope
It still doesn't say the name I want it to
and the colour for some reason is white even though I changed it to what it is supposed to be, hope I did it right.
could you send a screenshot of that loc you made then?
sure
Wait, it actually fixed
forgot to say it
you'll also have to add an entry in colors.txt, which is in the same folder as the other colour file
I made a file wrong in the localisation
ok cool
where is that?
it's in common/countries
Like this?
well, that is the file I used for the new county, it is california.txt
with capital C
you'd have to add those lines to the file named colors.txt
copy it from the vanilla folder and add that bit to the end
it'll override vanilla colours if you don't
Can't seem to find it in the vanilla folder, where exactly is it?
it's in that folder, just called colors.txt
Yeah
So I just add the code for it in the txt file?
Yeah
Alright, wil test
that worked, thank you, the tutorial I am following is a little old
is there a way i can get the original soviet national focus file back
i accidentally broke it
u can copy it from the main hoi4 files
no like
i was trying to make a mod
by changing the focus tree
but without thinking i changed the main file
and now even if i dont use a mod the focus tree is broken
i know for other games you can delete the file then verify file integrity through steam and it replaces it, unsure if it will work the same for hoi4
Hello, any1 can help with my ideology problem? I successfully made a new one, but after meddling with the names and stuff i somehow broke the default ones and also one of the custom made ones. In the screenshot u can see the error message im getting. Ideas?
everything works without any problem in the 00_ideologies file
or well seems to work
good idea, if i didn't have to upload the mod every time i make an update i would actually do that first 😅
thanks man, i was trying everything and it was this trivial 😭
Which extension that shows code errors are you using?
I believe its paradox modding tools
Im pretty sure thats the name of it
Theres also hoi4 modding utilities which can let you view certain files so you dont have to constantly relaunch your game to view changes
How do i fix this problem
testing the national spirit ingame it still has the underscores i put in the code
Got it in a localisation file right?
the_rise_of_luxemburg:0 “The rise of Luxemburg”
Np, just wanted to make sure you had it, sometimes localization files can be a pain to have work mainly i mix up I and l in the file name
i need to start making hoi4 mods
I was wondering is there a way to have a country annex other countries from the start of the game instead of doing it by copy and pasting states and changing their controller?
what mod make the map round ?
this is map from the mod called primo victoria i think
Hey guys, is there any working napoleon war mod?
well there is eu4
is there a mod that gives more useful operation to the spy agency like assisnations of generals or other in thier government
what the hell happened? i had just came back to working on my mod after 2 weeks and see this
Yeh like the guy said, I'm using the extension from wiki. It should be official thingy from paradox for hoi4
Yes for rp
The dev is a nice guy too
Check ur error log
In hearts of iron, that’s why I’m on hoi4 discord…
Ty
Ok
Would it make the interwar period interesting to play?
Uh i fired this event like 20 times
and nothing happen
why dont any of these happen?
i fired the events 20 times and none of the states got reduced factories or building slots
No
The interwar period isnt really in game
Obviously… but let’s say if it were added… would “devestation” help make it more playable?
If…. It is added then devastation would have no effect because u would have to simulate world war 1
Yes. Goal is to have both
Well yeah then it would
guys suggest me some tutorials for making new states and provinces and what not
i want to make a mod where there is a new large island continent in middle of pacific ocean and divided between existing countries (japan, usa, uk, australlia, france etc.)
how do i do it
iron workshop
he makes em good
anyway guys I have a question if someone can help me
so , I'm making a mod that adds more realistic states
something like this
there is just one problem
I can't seem to figure out how the plc works
like , in its code there isn't written how the states get cored
so idk where I should add the 2 new ones I added
PLC ?
polish lithuanian commonwealth
ohhh ok
because they work on the molotov ribbentrop pact
they work on polish focuses
but can't figure out how the plc works
well that code could be in lot of places...Decisions, Events, Focuses,
In focuses there isn't
those 3 are the big ones
cause in the decisions there is only the checks if the states are there
mmmh could be ig
I'll check rn
I also tried to check in scripted effects
but nothing
i found nothing
ye because it's a formable nation
but if u see the code for it
there isn't any core
complete_effect = {
if = {
limit = { has_cosmetic_tag = POL_KINGDOM_RUS }
set_cosmetic_tag = PLC_UNIFIED_RUS
}
else = {
set_cosmetic_tag = PLC_UNIFIED
}
POL_basic_form_commonwealth = yes
}
this is the effect
so where do the cores come from?
dont u have to get certain compliance in lithuanian states to form PLC ?
so it must be somewhere where the compliance is too maybe idk
could be
it is not in lithuanian decisions tho
so mmmh
maybe in a dlc file?
yeah
maybe
tho i fear u have checked it already
what lol
isn't id supposed to be a number
or is this a decision im stupid
that's the id of the decision
I just did and nothing helpful 😭
ye but it's not on the codee
wait lemme check more
ngl ima mention u on my mod for helping me
alright then even tho i feel i did nothing
💀
@frank wyvern jackpot
this in this thing
POL_basic_form_commonwealth
now u may ask what is POL_basic_form_commonwealth and where it is ?
For that i have no idea
Ye I saw it too
idk where the global flag is
it's prob that
wait
damn I didn't notice the last thing
it may be the thing I'm finding
thank u
I think to find this ima use my whole 16 gb of ram
alr alr , thank you for your help
988 = {
remove_building = {
type = industrial_complex
level = 1
}
}
use this code if you want to remove factories
The great war redux devs are brilliant
uhhh how to make so all the countries have this idea
and not just the countries in the startdate
i checked and northern ireland doesnt have it
is there a way to make so the french ai wants to send volunteers to ireland?
I think on action
ok maybe I found it
hey i started modding just recently and need a little help with my mod, i want to add a new category in reaserch but idk how, i tried to find answer on internet but failed
on_startup = {
effect = {
every_possible_country = {
add_idea ----------
I didn't close the brackets cause I'm on phone
I never tried, but looking at the files, u may have to add another file, calling it how u want and in the file u write Technologies = {} , and inside of the brackets u will write every technology + effects
you should check the wiki
oh wait
i tried but it doesnt show up (i probably did something wrong)
alr i will check
im just going to put that in the french history file imo
I think u have to put it in the bookmark file
i added it there and still doesnt show up
honestly idk , maybe I could help you tomorrow, since now I have limited time to spend
sure
i looked at it already but didnt find out how to do it, i can check again maybe it will help
@frank wyvern did u find the core effect thingy
nope , but I just added the hidden effect. Thanks for asking. You'll still be mentioned
only idk how to name it
This was in response to mentioning be
Whats that's
ye : hidden_effect = { add_core of----
under complete effect, if you use hidden effect, it won't show in the decision
and I also used limit, so that it would apply to only Lithuania, so that Poland wouldn't core its own territories twice
ye ik ik
Cool
Hello, i am experiencing trouble with mod making. So basically i cannot "live" edit my mod instead i have to make a change in the files and then upload the mod to the workshop, remove the files from game's mod folder and play the workshop downloaded version. There i can see the changes, but this process takes way too long and it slows down my progress. The issue starts when i place the mod files in the game's mod folder. When i look at the playsets i can see the mod there, but the icon is set to default one and when i start the game with the mod it just loads up as a vanilla game with no changes except censoring hitler. Any ideas to fix it?
that's prob cause of the descriptor file
Go on the luncher
"Upload a mod"
"Create a Mod"
and copy the files in there
do not modify description
Hi, I'm working on a mod for hoi4. Does anyone know how to make a given focus already have progress after starting the game? I saw this in kx in the Polish focus tree
uhh
u mean like
a focus already completed?
nah
like progression is started
for example 1/70 days are compeleted
I mean you could take a look at their files
When you have that icon/button to select the focus
I think you have to put there how much time you have saved
can you send example?
how do i make a nation declare war on a nation with temporary tag (D01, D02, D03, etc.)?
look for rhineland focus
or anschluss
in the base game files
they give army xp