#modding

1 messages · Page 103 of 1

chilly loom
#

how do I fix it

#

(ideally without deleting the original local copy)

echo sphinx
#

I wonder if there is a mod to re-add the continuous focus naval production glitch

pale sparrow
#

Thats something on the hardcoded side Im pretty sure

#

I fixed it for Road to 56 back then but vanilla fixed the same thing another way in the source code we cant access

half tapir
#

How can I find the historical templates for the equipment designer (I have all the DLC), for example if I wanted to edit the Catalina small naval bomber for the USA, where would I look? I know that Catalina in the localization files has the ID USA_nav_bomber_equipment_1, but I can't seem to find that anywhere.

high silo
#

It happens when starting a new game

fiery spire
#

Is there any mod for the Czechoslovakian Exile focus tree?

mint oar
mint oar
glass acorn
#

Does HOI4 use Year/Month/Day or Year/Day/Month ?

pale sparrow
junior gazelle
next sky
#

hello friends
I'm trying to make my own unique ottoman empire focus tree as an addon for Apres Moi Le Deluge - Revival (all credit to them, not posting it on workshop or anything) and the mod shows up in my paradox launcher well and dandy.
I boot up the game and it works as fine, but my dummy file (which should remove old focus tree and put in a dummy one with 1 focus) just doesn't work. instead, the old one is still there.

ancient vapor
#

You have the correct ID?

next sky
#

their modifier is 10 so this should overwrite it but it doesn't

ancient vapor
#

Maybe is the deluge_turkey focus

#

But no idea

#

I would say

#

replace_path = common/[focuses]

#

But that erases all focuses

#

Not just a single country

next sky
ancient vapor
#

Your modifier says 20

#

Not 10

next sky
#

yep

#

so it overwrites it

ancient vapor
#

Yes?

#

No idea

#

Haven't gotten to the focuses part of my mod

next sky
#

fair enough
This is literally my first time modding and it isn't very motivating when i've spent 2 hours trying to make it just do something
at the same time, it's quickly increasing my respect for other modders

ancient vapor
#

Are you doing this alone or with some kind of tutorial?

next sky
ancient vapor
#

The official hoi4 tutorials?

#

Aren't those for like

#

Completely new countries?

next sky
#

yea
but they don't help much because thats for making a non dependant mod

next sky
ancient vapor
#

Ye I know

#

I've seen them

#

But it was a focus tree for a new nation

#

You are modifying an already existing one

next sky
#

that is essentially what i'm doing
I'm clearing the entire old one and redoing it as an end goal

ancient vapor
#

Hmm

#

Check the wiki

#

Maybe there's something in there

#

Other than that no idea

#

Keep asking the Ai

next sky
next sky
pale sparrow
#

Although if you wish to replace their tree, just have the same filename and itll automatically replace

stuck island
#

rq

pale sparrow
stuck island
pale sparrow
#

Is it moderation related?

stuck island
#

no need to author

pale sparrow
#

Ah I see

#

Uh sure

stuck island
next sky
next sky
nova heron
#

Hey, can I get someones help with RandomParadox? It keeps taking the landmap I insert into it and splitting it, and then moving the split section over to the other side of the map. Anyway I can fix this?

olive mural
#

Anyone know what the current best and most funs mods are? I haven't played in a year and want to get back into it.

next sky
olive mural
inner marsh
#

this is the top tier mod of the moment btw

#

also kaiserredux is peak

slender mason
#

can someone help me? i wanna figure out how to change a leader for a specific party (such as communist) without changing the leader of the current party

crystal sand
#

Im confused why is this in modding and so loud

humble basin
#

might make a mod based on stickmen lol

high silo
#

just assign your country leader to a sub-ideology of communism.

#

If it's at game start.

swift field
#

hey yalls

#

im gonna add new CCs

#

to my hoi4 multi mod

#

like Instant production

#

and instant build

#

ill make the 2 main MP CCs
like: 100k and 100 mil

pale sparrow
#

Multiplayer console command? confused

#

Oh manpower

swift field
#

yes manpower

swift field
#

i do wanna modify the ale command
like a number and then a letter like k or m
it will be nice to use

past marsh
#

Does anybodyu know a mod that takes away all factions?

past marsh
#

ty

lime ginkgo
#

Does anyone have any good mods that start the game earlier? I found one for 1933 but all research was just impossible and it crashed around 1934

nimble solar
#

I personally dislike it because Soviets died before Japan declared war on me as the US, but you might like it

viscid osprey
#

can anyone help with my irish mod, Im trying to do an election focus, here's the code that I did for it

harsh dagger
#

Can anyone help me with a localization error?

#

I have a country named but it isn't showing up in game

#

here's the localization code

#

TSA_fascism:0 "Russian Imperiya"
TSA_fascism_DEF:0 "the Russian Imperiya"
TSA_democratic:0 "Russian Republic"
TSA_democratic_DEF:0 "the Russian Republic"
TSA_neutrality:1 "Russian Empire"
TSA_neutrality_DEF:1 "the Russian Empire"
TSA_communism:0 "Russian Soviet Federative Socialist Republic"
TSA_communism_DEF:0 "the Russian Soviet Federative Socialist Republic"
TSA_fascism_ADJ:0 "Russian"
TSA_democratic_ADJ:0 "Russian"
TSA_neutrality_ADJ:0 "Russian"
TSA_communism_ADJ:0 "Russian"
TSA:0 "Russia"
TSA_DEF:0 "Russia"
TSA_ADJ:0 "Russian"

#

I'm using notepad++ btw

slender mason
#

are you just showing the string of text or is that all

patent linden
#

what file did you put this in

narrow oyster
#

Alliance

patent linden
harsh dagger
harsh dagger
#

here's the image of the error

patent linden
#

whats the name of the file

#

does the file start with "l_english:"

#

I personally experienced localisation to be a lot more volatile than what the wiki describes

next sky
#

By the way the issue was not resolved by renaming file.
If anyone else has a solution, I would love to hear your input

harsh dagger
harsh dagger
#

I made another country and have the same problem, so it's probably a file problem

fleet fossil
#

Is this okay? 🥺

thin rune
harsh dagger
thin rune
harsh dagger
thin rune
#

UTF-8 bom

harsh dagger
thin rune
#

Localisation

harsh dagger
#

if you want I can dm you the file

thin rune
thin rune
#

Damn

harsh dagger
thin rune
harsh dagger
thin rune
harsh dagger
#

the reason it's talking about the algerian advisors is because I used the algerian file as a base for both countries that I currently have

#

I'll fix that soon though

thin rune
harsh dagger
thin rune
#

Yeah I assumed that but there are a lot of RUS errors

harsh dagger
#

ohhhh

#

i replaced all the GER with RUS for some reason

#

im pretty sure RUS was an early tag idea for Nicholas' country

thin rune
#

Yeah but other than that there is nothing about the localisation

harsh dagger
#

I'll reload the game and see if anything changes

harsh dagger
#

here's another error log, after fixing the RUS stuff

thin rune
#

Idk whats the issue at this point

harsh dagger
thin rune
harsh dagger
thin rune
#

0s and 1s after ":"

harsh dagger
#

im still pretty new to modding so I dont quite know where everything is yet

thin rune
#

This

TSA_fascism:0 "Russian Imperiya"
TSA_fascism_DEF:0 "the Russian Imperiya"
TSA_democratic:0 "Russian Republic"
TSA_democratic_DEF:0 "the Russian Republic"
TSA_neutrality:1 "Russian Empire"
TSA_neutrality_DEF:1 "the Russian Empire"
TSA_communism:0 "Russian Soviet Federative Socialist Republic"
TSA_communism_DEF:0 "the Russian Soviet Federative Socialist Republic"
TSA_fascism_ADJ:0 "Russian"
TSA_democratic_ADJ:0 "Russian"
TSA_neutrality_ADJ:0 "Russian"
TSA_communism_ADJ:0 "Russian"
TSA:0 "Russia"
TSA_DEF:0 "Russia"
TSA_ADJ:0 "Russian"

harsh dagger
#

ok thanks

harsh dagger
#

idk what the problem is at this point

slender mason
#

you can also just copy and paste the file from like HOI4 vanilla or a dif mod, and format it to your nation

ivory glade
#

what toolpack mod do you recommend me for MP games??

swift field
#

im gonna add new MP buildings and buildables to Get MORE MP in hoi4 SP

swift field
#

ill also add Resource factories

#

to produce anything and Everything

lime ginkgo
#

My game now crashes whenever I try to start a game, no matter what combination of mods. Says that there is a map definition error

proven sage
patent linden
lime ginkgo
soft dirge
#

d

#

cx

#

cx

#

cx

#

c

modest prairie
#

Hello everyone, I have a question. How can I reference a country that's in a civil war with another country? (I need to conclude peace between them and transfer some of the original country's territory to the rebels.)

patent linden
#

look at the "war" section

#

3.9

#

and then the state cope number 4

#

i dont fully understand what you're trying to do, but the things you need should be in there

#

if you have specific question for the effects, feel free to ask

modest prairie
harsh dagger
harsh dagger
patent linden
#

and you could then handle the rest with an event

#

you could trigger it with this

#

the white peace effect would then go into the effect block

patent linden
# harsh dagger it is

try copying the entire countries yml localisation file into your mod folder and then just adding your localisation at the beginning

harsh dagger
#

so it's weird that it's doing that

patent linden
#

i believe you

#

try doing it again

#

that sometimes works

harsh dagger
patent linden
#

even if it feels completely stupid

harsh dagger
patent linden
#

is the file in the correct folder?

harsh dagger
#

which is in my mod's folder

patent linden
#

all other things related to the Tag work?

harsh dagger
modest prairie
# patent linden

Okay, so which country tag should I use? When a civil war starts, one country keeps its original tag, and the second one gets something like D01, D02, D03...

patent linden
#

as long as you can guarantee that you know the Tag of the dynamic country, i dont think it matters which way you do it

#

use the scope of the Tag that has the original tag maybe

modest prairie
#

okay thank you

patent linden
harsh dagger
autumn coyote
#

Does anyone know how tfb's island hoppin mecanic (allies get debufs if japan takes islands) works? because i really couldnt find anything in the mod files

modest prairie
west vapor
#

yo lads

#

im making a ancient times mod

#

if anyone wants to hop in on development or is simply interested hit me up for discord link

weak gazelle
#

guys how do you make map mods like the tno map mod etc

open ferry
proven sage
ancient vapor
harsh dagger
#

How do I rename cities?

harsh dagger
pale sparrow
harsh dagger
pale sparrow
#

Then make a small file with only your edit, and place that in the /replace folder like this so the game knows to load it after everything else

harsh dagger
pale sparrow
#

Only take the files you want to edit into a new file in /replace

#

no need to include thousands of lines you arent changing in your mod

harsh dagger
#

l_english:
VICTORY_POINTS_3151:0 "Saint Petersburg"

#

this is the contents of my file so far @pale sparrow

#

am I doing it correctly or no

#

the file name is zarodinu_replace_l_english.yml

pale sparrow
#

Yes sounds good

#

Just make sure the pathing is good and the file is saved is saved as UTF8+BOM

harsh dagger
#

ohh

#

it isnt utf8 bom

#

that why it didnt work

pale sparrow
harsh dagger
#

it's like everything is failing with this haha

#

my country names arent showing and now this

pale sparrow
#

🫂

#

Show file pathing

harsh dagger
#

"C:\Users(myname)\OneDrive\Documents\Paradox Interactive\Hearts of Iron IV\mod\zarodinu\localization\english\replace\zarodinu_replace_l_english.yml"

pale sparrow
#

You did a z in localization

#

🙃

#

its an s

harsh dagger
#

thank you so much

gloomy crescent
#

does anyone know what the file for the buttons on the main menu are called

#

i cant find them and its making me crash out

weak gazelle
glass acorn
#

Anyone know why the game says there's no file despite there being one?

pale sparrow
glass acorn
gloomy crescent
#

i was looking for main_lobby_button.dds

knotty schooner
#

Hello i am trying to do my own first mod and i discovered the tutorials on the hoi4 discord and when i tried the first one with the events it instantly didnt work even though i copied exactly the text does anybody know if they should still work?

pale sparrow
knotty schooner
#

you mean this right?

pale sparrow
knotty schooner
#

omg...... thx

pale sparrow
#

that add_ideas block could be simplified by removing both limit's and doing a every_enemy_country block instead

knotty schooner
#

okay thats good to know thanks

pale sparrow
#

actually nvm I didnt see the else statement

#

so only the inner limit

knotty schooner
knotty schooner
#

Hello again i have a two new problems. This time my flags are randomly turned upside down and i have an error with my custom character. Hope someone sees what i dont.

ancient vapor
#

In my case

#

I used mapgen and astro tools

#

Pretty helpful but you still have to do some stuff

#

Make sure you don't have points less than 8 pixels tho

#

For that reason it took me a month or so making the mod

ancient vapor
#

About the flag

#

I'm not sure

#

But I remember there was a flag inserter for Hoi4

knotty schooner
ancient vapor
#

Don't remember

#

Try out this

#

It worked for me

#

About the character

#

No idea tbh

#

It says unknown character

#

You know if they have some kind of id or something?

#

Hold on I checked the wiki

#

You have the character on common/characters?

ancient vapor
#

Cuz in the error log it's just in history/countries

ancient vapor
knotty schooner
#

jup under history/countries/GOG - Land.txt

ancient vapor
#

I mean the problem could be with your country

knotty schooner
knotty schooner
ancient vapor
#

Wait For the big ones to help ya

#

See ya

knotty schooner
#

Thank you for you help

sour grail
#

is there a mod where the map looks like this?

dusty plaza
#

otl

obtuse condor
high silo
#

does tfr have a custom loading screen

thin rune
knotty schooner
molten lily
inner marsh
fresh osprey
dusty plaza
thin rune
arctic pilot
#

hi

gloomy crescent
#

its not like kx where anything can happen

sudden nexus
#

does anyone have any suggestions?
the only mod I have is player led peace conferences

lofty plaza
#

Road to 56

woven fossil
#

I am in an argument with someone about whether the text circled in red is a tooltip or not

#

Is it a tooltip?

pale sparrow
#

The box is a tooltip, the info inside it is largely available elsewhere too so I'd not call it all tooltip text

high silo
pale sparrow
slow kestrel
#

can anyone help with advice on localization? Im making a mod and the localization refuses to work for some reason despite everything being correct, however when I transfer the files into a random workshop mod everything is working as intended so its something to do with my local files im guessing but I cant figure out what.

subtle pendant
#

GUYS ! how can i fix it

subtle pendant
subtle pendant
molten lily
forest sierra
subtle pendant
molten lily
subtle pendant
molten lily
#

به همه ورژن های ماد و بازی می خوره؟

#

من هر دو نوسخه که دارم 16.4 هستن

#

که باید بخوره

#

it is?

subtle pendant
# molten lily که باید بخوره

مود اصلی رو بریز بعد بریزش تو فایل اگه کار کرد که کرد نکرد باید نسخه جدید بریزی من خودم نسخه بالا ترینم

molten lily
#

پس احتمالا می خوره

#

چون اخرین ورژنه اگ خدا بخواد

#

so okay

#

thank you for share that

subtle pendant
molten lily
subtle pendant
molten lily
#

👍

pale sparrow
#

@molten lily@subtle pendantThis server is English only, please go to PMs next time

lime ginkgo
#

Does any one know a mod that lets you have more time before the war? I tried the more scenarios mod but it doesnt actually change the date

#

it just changes the displayed number

#

so you have less effective time

#

you get research penalties but the war still happens 3 years after start date

swift field
#

can i make a mod that integrates ALL DLCs/Expansions to main base game?

lime ginkgo
swift field
#

why?

swift field
lime ginkgo
#

Would it require ownership of the DLCs?

swift field
#

what

lime ginkgo
# swift field what

Mods on workshop have the option to require certain dlc ownership in order to download

#

would your mod require ownership of the DLCs that are integrated

swift field
#

yes they will need ownership of The DLCs

lime ginkgo
swift field
#

becus we need em in base game for hoi4

lime ginkgo
#

there is no functional difference

swift field
#

alr

#

im tired of buying DLCs

lone hearth
#

As you essentially set sail on the seas if you get what I mean 😉😉

swift field
#

alr

rough karma
swift field
#

alr

rough karma
swift field
#

oh alr

#

then why dont PDX just integrate em ALL themselves?

rough karma
lime ginkgo
#

There is 0 benefit to them doing that, they probably wouldnt even increase normal sales marginally

covert mirage
#

how do i write in my effect so ALL divisions owned by a country dissapear?

pale sparrow
woven fossil
atomic holly
#

Hello, I am trying to make a mod that allows players (and only players) to freely pick any idea (without meeting the requirments)

hasty ledge
#

The fire rises is peak

harsh dagger
#

How can I change provinces between states?

harsh dagger
#

Just want to check so I dont screw up my files

vale torrent
#

how do i create custom focus trees

#

im planning on modifying the finnish tree

swift field
#

i wanna add Sturmzug stormtrooper and assault units and templates

pale sparrow
# harsh dagger How can I change provinces between states?

Put both the state youre taking them from and the state its going to in your mod, then cut and paste the province IDs to move them

Then open the game in debug mode, go into nudge tool and verify all in the buildings tool

Then cut and paste the buildings.txt from your hoi iv documents folder into your mod after saving your nudge changes

Note: Copy paste would give issues, do make sure to actually move the stuff

tardy prairie
#

Looking for GFX artists and Coders, for Original fantasy mod with AI anime portraits
If you are intersted in, send DM for me

unreal sorrel
atomic holly
#

@pale sparrow Do you know how to find the name of a country in a file?

#

its a cosmetic tag, but the tag has a bugged name when democratic and I want to fix it

atomic holly
#

<@&916727924093239336> How do i change the traits / name of a leader?#

#

what folder is it located in

lofty plaza
#

Character

atomic holly
#

he is a communist but the ideology is just a sub thing

#

does it have to be referrenced elsewhere?

lofty plaza
#

Like socialism is democratic for example

atomic holly
#

Damn. Where do I go and reference that then?

#

and changing the name just gives me a localisation issue

#

FRA_la_cagoule

lofty plaza
#

You need to localize it

#

Or you can just do name="whatever"

atomic holly
#

yeah thats the problem

#

I changed the name to FRA_MILITARY_OFFICE but it also includes the FRA and underscores

lofty plaza
#

What do you mean?

atomic holly
#

Oh I see. so i need to go to the localisation and change the " FRA_la_cagoule:0 "La Cagoule"
" to FRA_la_cagoule:0 "Military Office"

lofty plaza
#

Yes

#

But it sounds like a whole other character. Why not just make a new one?

atomic holly
#

no idea how

#

i just want to replace the fascist character with a custom one

#

ive hacked it by just changing the filenames

#

I also changed the flag but, the large flag doesnt render

#

the small and medium flags do though

#

Any idea how to fix?

lone hearth
#

Which you don't want

kindred axle
#

Cursed

kindred axle
#

Was banging my head on the desk...Just becasue i forgot to change the country_tags from spr to spa...

serene valve
lofty plaza
#

Bro got the flash on

leaden fog
#

Is there a way of modding a nation with specific tech icons, models, and names, to share those icons, models, and names with another tag?

#

Say for example if I was to give the Korea tech tree access to Japanese tech

harsh dagger
#

Can anyone help with something?

#

When i go to load up my game in the mod that I've created, this pops up

#

Nevermind, I've fixed the errors

tulip prairie
#

Uber flexing my mod

kindred axle
tulip prairie
kindred axle
pearl karma
#

Is there an Interactive Map that shows State IDs? I hate having the game open while modding just to get the state IDs

kindred axle
#

Check this

#

If you move your cursor on the state It gives the name

#

If you have some problems

pearl karma
#

Is the State name the same as in the Game Files? Because i need the Name or ID, because if i mod new countries with idk 5-10 states its so annoying to note all necressary states before doing any changes

kindred axle
#

With the ID near them

#

The same goes for the mapchart

pearl karma
#

oh thank god

#

you are my hero and saving much time

kindred axle
serene valve
#

How exactly does modding work

#

Is it just notepad and pngs

kindred axle
midnight kayak
#

Is there any doc about special project modding?

#

I wanna mess with SP but right now i only have the source files to work it, it would be nice if there's some sort of doc out there

rose heath
# tulip prairie

why do modded maps always look like this
I quickly drew what I mean

#

When people make their imaginary worlds, they never make a bunch of small countries be clumped up together

rose heath
#

And hearts of minecrtaft also has no structure of actual countries
just a whole lot of random villages which are roughly the same size

#

so in the late game, you just have an Agar.io thing where all these smaller villages just join their bigger neighbors

#

resulting in the second image

#

i'd gladly design my own map, but honestly hoi4 modding is far too time consuming for me

#

making a whole new map with actual content would take months

#

and then i'd have to update it so it doesn't crash with new versions, which would be a whole another thing

wise phoenix
#

first ever tree kinda nervous

distant saddle
daring root
#

........

serene owl
#

What do i do if the steam version of a mod dosent load anything? The local files load the mod fine, but they dont load on the steam version of it.

tulip prairie
feral mulch
#

Are there any good Cold War mods?

exotic thicket
#

Whats the best way to get a better economy in millennium dawn

#

So i dont make - all the time

nimble solar
exotic thicket
tawny sigil
bitter cargo
#

does anyone know if 1.5x NF has been updated for the 1.16.10 update

harsh dagger
#

Can I have some help with my music station?

#

Only one song is showing, even though I have 2 in the station

nimble solar
#

I don't play millenium dawn, but I do know that if running out of oil, import it

safe moon
nova heron
tulip prairie
#

It’s not released

#

If you want the server inv dm me

raw hamlet
#

is wild

#

isnt there already a centaura mod

vocal patio
#

Hey! I'm searching for master mapping
I have custom map and he need terrain nicebro

earnest stirrup
#

can someone please help me, i wanna play with mods, mods worked for me but now they dont anymore, i have a ssd idk if the data is mixed up or idk

#

it says missing decryption data

gritty rivet
tulip prairie
#

I started developing my mod like a year now

#

It’s much better and plus it includes an extended tech and content till the Forman wars

sand hearth
#

If you did then you Need tò put It back

#

If i am not wrong tough others May Say the right thing

earnest stirrup
#

so how do i do that?

#

how do i know what to put back?

bright scroll
#

They're just using the map

swift field
#

im gonna add Ranger units and templates

patent linden
earnest stirrup
patent linden
#

also die Mod, im Workshop Abo beenden und dann neu abonnieren

#

müsste die Dateien neu herunterladen, inklusive der Deskriptordatei

earnest stirrup
#

danke

patent linden
#

Kein Thema

open ferry
#

I saw a gfx file on the MP lobby screen. Where can I find it?

lyric mist
kindred axle
#

Is there a way to ignore all game files and make the game Just read only mines?

#

( besides the normal game files to run )

vestal sorrel
#

any good mods for normal historical/nonhistorical MP games with host tool?

lament ether
#

Does anyone know how to fix the province is set up as coastal but has no port in the nudger error
Ive been told to use the find error button in the nudger but I cant because it gets stuck on a stupid Bad ammount of none error and its unfixable

#

For context I have been trying to edit the provinces of a map mod for my own mod

unreal sorrel
unreal sorrel
kindred axle
#

Is It a problem if the potrait for the leader Is 151 x 210 and not 156 x 210?

unreal sorrel
#

I think there’s going to be a bit of empty space but it should work

unreal sorrel
acoustic sky
#

boef

kindred axle
#

Why on the debug mod map, 89 Is stanislawow while on the states hoi4 files its krakow

safe moon
pale sparrow
#

not unthinkable

#

easiest way is to have the game/state loc file/states wiki page/map analyzer excel sheet open when you mod history/states

kindred axle
#

So thats the why in some "states" the provinces didnt match the ones with their name

#

I Just tried to match state names - provinces id and not the state id with the provinces one

harsh dagger
#

i copy pasted over the buildings file

pale sparrow
#

...

#

Please check the message again

olive sedge
# tulip prairie

Another Centarua mod? 3 now is insane but still none for blood debt 😔

azure elk
#

i got some gfx related problems

#

can someone explain me why it is shwoing something like the first image?

#

as you can see others are working

#

its only that 2

cloud bobcat
#

ok

lament ether
# unreal sorrel you have to use the building nudger

That’s what I said but I can’t just click find error because whatever it does to find the error gets stuck on a state, usually for floating harbors, and it doesn’t say “bad amount of x building” it says “bad amount of none”, and no matter what I do to fix the error it keeps saying that. I have tried removing the building and fixing the number, I have tried randomizing the buildings. Nothing works and it will not tell me any more errors in the buildings.txt file if it isn’t fixed

sleek plume
#

is there a good mod for like 1v1s

lament ether
runic maple
#

is there literally any mod that adds the western states that Qing lost in like 1790 or something

unreal sorrel
#

Click save before moving the file

harsh dagger
#

Or if I play the base game with no mods

pale sparrow
#

You cut and paste the nudgers output from the documents folder, not anything from the game folder

patent linden
kindred axle
#

So, i made a state in game, which appears on the map owned by poland, but, the other state ehich i Just modified to take off some provinces tò make that states wont appear owned and Just keeps crashing

#

When i try to start a game

#

I added the loc name for It still dont know what problem causes it

#

I wrote the replace_path="history/states"

#

In case It created some conflict with the hoi4 game files

#

Yet still crashes

#

[12:34:45][no_game_date][gamestate.cpp:2908]: MAP_ERROR: The land province 388 - has no state.
[12:34:45][no_game_date][gamestate.cpp:2908]: MAP_ERROR: The land province 3532 - has no state.
[12:34:45][no_game_date][gamestate.cpp:2908]: MAP_ERROR: The land province 6558 - has no state.
[12:34:45][no_game_date][gamestate.cpp:2908]: MAP_ERROR: The land province 11232 - has no state.

#

This are the provinces of the file which i modified, but they show stateless

#

Any suggestions?

pale sparrow
#

Actually nvm its probably a good idea to replace the entire map since adding even 1 state gets annoying with map updates

kindred axle
#

like

#

i took it from game files, took away some provinces and wont read it

#

but the created state yes

#

[12:34:03][no_game_date][persistent.cpp:68]: Error: "set victory points takes 2 parameters: victory_points, near line: 15" in file: "history/states/1017 - Kalisz.txt" near line: 15
[12:34:18][no_game_date][statetemplate.cpp:675]: State ID conflict: Both "Poznan" ( history/states/86-Poznan.txt) and "Poznan" ( C:\Users\Lenovo\OneDrive\Documenti\Paradox Interactive\Hearts of Iron IV\mod\jungewelt\history\states\1017 - Kalisz.txthistory/states/1017 - Kalisz.txt).

#

i got this ones too

kindred axle
#

Welp

#

Ok

#

Maybe i found the prob...

#

I didnt change the file ID.

#

So It was Reading two poznan.

#

Welp

#

( dont bully me for the ss 💔 )

pale sparrow
#

👌

kindred axle
tribal spear
#

does dropping a cosmetic drop the color

smoky bluff
#

Hello. When you are creating parties, how do you create the actual name and then the acronym?

#

my English is bad and I don't know if you understand me

#

it's like I create a democratic party name for example kebab workshipers association how do I script so it shows in the UI KWA, and when you put the mouse on the party name it shows the actual name?

#

@pale sparrow you know about this can you please help me?

smoky bluff
pale sparrow
#

yes

#

If you name it like this, it'll apply automatically

#

if you name it differently, you have to fire an effect to load it

smoky bluff
#

I am portuguese and my language have those characters like ã, I need a program to put those characters?

smoky bluff
smoky bluff
pale sparrow
#

To mod these files you just use standard text editors, they'll support that

#

Visual Studio Code + some plugins is best according to most people

smoky bluff
#

I have VSCode ya

#

thank you marjin

harsh dagger
#

Do I need to cut and paste it every time I want to change provinces between states?

pale sparrow
#

Yes

obtuse condor
#

Quick question, can I / should I use "conscription_factor" when adding a modifier to a state or should it be "local_manpower"?

harsh dagger
# pale sparrow Yes

And would I delete the old buildings file every time I cut and paste a new one over?

harsh dagger
obtuse condor
agile raven
#

can sm help me w modding my countries gfx and characters wont work

harsh dagger
agile raven
#

im modding using vscode and literally everything is erorred im so confused

#

and i was making a custom nation, land claims and army etc worked but the gfx and character didnt

#

i could sharescreen if u want

harsh dagger
agile raven
#

n

#

o

#

looks like that

harsh dagger
agile raven
#

yeah it was a poor attempt at hiding it

#

anyway

#

is the way ive laid it out wrong?

#

the portrait and leader name isnt working

#

aswell as the countries flag

harsh dagger
#

does your country file (in the history folder) have this

#

create_country_leader = {
name = "Vladimir Lenin"
desc = ""
picture = "gfx/leaders/RSR/Portrait_RSR_Vladimir_Lenin.dds"
ideology = leninism
traits = {
#
}
}

#

not word for word, just replace the names with whatever you have

agile raven
#

no it doesnt

harsh dagger
#

it will be at the very bottom

agile raven
#

does the recruit character thing not work?

agile raven
harsh dagger
#

I would recommend you watch this

agile raven
#

ic ty

#

ill report back

harsh dagger
#

I'm pretty new to modding so I don't know much yet

#

But this guy's videos have helped me out

agile raven
ember ridge
#

Hey, this may be stupid request but is there a way to make a client side only modification that after lets say 30 days of game start, makes like a sound play or some gui element pop up, just something i may use as an notification? ty in advance

#

i can go from there its just if its possible

primal seal
#

Is there an updated version of the No Divisions Limit mod?

sand mantle
#

is there a mod where we can send ships with lend lease

#

like i want to send battleships to allies

vale torrent
#

what language are the focuses written in, im trying to modify a focus tree

vale torrent
#

is there a way to automatically change the x and y axis of the focuses

tribal spear
#

how do I trigger an event with commands? Typing 'event ___' doesn't seem to work

haughty crypt
#

hello, how to change the date to 2008 without bookmarks? Just display the year as year + 72

sour temple
#

is there a way of giving a unit buffs only when they're used as volunteers? Like having +10% attack "When deployed as a volunteer"

tribal spear
#

GXC = {
drop_cosmetic_tag = yes
set_cosmetic_tag = GXC_base}

is there anything wrong with this code? I am coding in the common > events file

patent linden
#

the game itself is written in C++ I believe, though as i said, the modding syntax doesnt really reflect that

kindred axle
# harsh dagger https://youtu.be/XulAELfxPDc?si=xveBGHSznU_TMbio

This is where your mod is finally getting somewhere. In part three we teach you how to create a new country, add a flag, and creating characters and giving them portraits. What is debug mode? What are tags? What is a custom name list? All of this will also be covered. But you want to learn more, so stay tuned for part 4!

0:00 - In this tutorial...

▶ Play video
quiet sleet
#

Hello everyone, i'm in need of help with a mod, would anyone like to join in? It would a great surprise for the upcoming update!

tulip prairie
proven sage
autumn coyote
#

how do I remove these countries from the country selection menu

serene owl
kindred axle
tulip prairie
sour temple
umbral fern
#

I just had an idea for a new ideology.

hasty trout
#

im playing the rise of the lion czechoslovakia rework, why cant i edit my divs?

reef sundial
#

Is there an up-to-date peace mod, by chance? That would let you make a peace deal without fully capitulating an enemy?

inner marsh
kindred axle
#

how do i fix this?
[23:49:39][no_game_date][localize.cpp:647]: l_english: Duplicate localization found, key

#

i get this in both vicotry points and state names loc

obtuse condor
#

How do I make generals
Admirals, field marshals and advisors?

kindred axle
# obtuse condor How do I make generals Admirals, field marshals and advisors?

This Hearts of Iron IV modding lesson will explain how to create new characters, including country leaders, advisors, corps commanders, field marshal and admirals.

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 vide...

▶ Play video
obtuse condor
#

Yeah I just found it myself

#

Thanks either way

hasty trout
kindred axle
#

i still have a prob with the loc, eveytime i load into a game the game jsut crashes, i check in the logs/text.log and it just gives me the loc of my created states + modified states name and say its a duplicate

#

[00:24:53][no_game_date][localize.cpp:647]: l_english: Duplicate localization found, key: STATE_51, file: localisation/state_names_l_english.yml, value: Western Rhineland
[00:24:53][no_game_date][localize.cpp:647]: l_english: Duplicate localization found, key: STATE_51, file: localisation/english/state_names_l_english.yml, value: Rhineland
[00:24:53][no_game_date][localize.cpp:647]: l_english: Duplicate localization found, key: STATE_65, file: localisation/state_names_l_english.yml, value: Western Sachsen
[00:24:53][no_game_date][localize.cpp:647]: l_english: Duplicate localization found, key: STATE_65, file: localisation/english/state_names_l_english.yml, value: Sachsen

brazen robin
#

Twice

kindred axle
brazen robin
#

You need to get rid of the stare you don’t want to use or change it’s state id

kindred axle
#

Its Just one

brazen robin
#

You have Western_Rhineland and Rhineland both under stateid 51

#

Same with western sachsen and sachsen

kindred axle
#

Do i have to change the name of the state id name in the states file too?

#

Because there are no doubles

brazen robin
#
STATE_51 → "Western Rhineland"   (from localisation/state_names_l_english.yml)
STATE_51 → "Rhineland"           (from localisation/english/state_names_l_english.yml)

STATE_65 → "Western Sachsen"
STATE_65 → "Sachsen"

I assume you have split both sachsen and rhineland into east and west, to do so you need to get rid of the original states for both of them

kindred axle
brazen robin
#

wdym

kindred axle
# brazen robin wdym

Like, now the western rhineland Is state_1020, which Is a new state made by me, do i Need to do the same thing with the other part?

brazen robin
#

If you’re creating a new state that’s in the place of base rheinland, you need to get rid of the base rhineland in your code, and possibly create a new state for the area your new state doesn’t take up?

#

Idk if I’m understanding you correctly, I apologize

kindred axle
brazen robin
#

The problem right now is that your mod has State_51 & State_56 registered twice with different data

kindred axle
#

Before doing that, i made western and eastern sachsen, i loaded in game and It runned well, no crash

#

Dunno what happened with that one

kindred axle
brazen robin
#

STATE_51:0 "Eastern Rhineland"
STATE_1020:0 "Western Rhineland"

#

write your stateids like this

#

And it should work

kindred axle
#

Imma try hollon

brazen robin
#

Sorry wait no

#

In localisation/state_names_l_english.yml
make sure you have

l_english:
 STATE_51:0 "Eastern Rhineland"
 STATE_1020:0 "Western Rhineland"
kindred axle
#

nope

brazen robin
#

hmm

kindred axle
#

i dont get why this shows up just now tho, it went all good till this

brazen robin
#

Are you able to share your .yml file in some form?

kindred axle
#

hollon

#

ye the eastern and west are switched because i confused them

#

i tried anyways

#

still same error

#

it just gives me duplicate file in the text.log

brazen robin
#

hmm

#

It’s really weird that it all of a sudden started happe

kindred axle
#

i tested before doing the rhine, all the states, posen, kalisz, frankurt, appeared

#

and with their gfiven loc names

brazen robin
#

Make sure you don’t have the entire vanilla state_names_l_english.yml copied into your mod

#

only thing I can think of really

#

If that isn’t the issue someone with more knowledge will have to help you

#

Sorry ❤️‍🩹

kindred axle
#

lemme give it a last try

#

in antoehr case

#

i will jsut restart the mod

kindred axle
#

Sry for the waste of time 🙏 Imma look into some videos to get whats wrong with it

brazen robin
#

Mws

#

Nws

harsh dagger
#

Can anyone help me with my music station, only one song is showing up, even though I have 2 in the radio

primal seal
rain hare
rose kraken
#

Why does top bar resources not work with iron man?

serene owl
vague grail
#

Do you know a mod to remove the reflection on the sea? The ones on Steam don’t work for me.

crimson raven
#

I'm a new, playing Brazil, how to land, the readiness is 100%, but the landing doesn't start, the divisions are standing in the port

crimson raven
glass acorn
#

Anyone know how to hide the tooltip from on_add/on_remove?

#

Or better yet, make modifiers in an idea hidden? I tried hidden_modifier but it didn't work

lone hearth
#

on_add and on_remove are effects, not modifiers

glass acorn
lone hearth
glass acorn
sour grail
#

is there a mod for hoi4 that works like the timelapse mechanic in eu4 where i can see my own gameplay timelapsed?

plucky idol
#

modding

harsh dagger
#

can someone help me with switching provinces between states?

#

I get a pop-up that says "Failed to load the map" when I open the game

pale sparrow
glass acorn
#

Worked thx

harsh dagger
#

What do i do next?

plucky idol
harsh dagger
plucky idol
harsh dagger
harsh dagger
#

I gave Edirne and Istanbul to Greece, and changed province 11829 from Istanbul state to Izmir state

kindred axle
#

How cna i crash but have no prob with checksum and nothing Is written in the text.log 💔

glass acorn
# harsh dagger How would I fix this?
  1. Check the buildings, ensure that they're randomized and validated to avoid state buildings in provinces they don't own
  2. Check strategic regions, they don't update based on state changes most of the time
harsh dagger
#

Can someone help me, no state names are appearing

pale sparrow
slender mason
#

when making new states for my mod, how do i make the error go away in the main screen? (it lets me start a game after about 10 second but it’d be embarrassing to have that in my mod.

pale sparrow
#

The rest you gotta do manually based on error log

glass acorn
#

Example:

#

STATE_17:-1 "TEST" (Won't work)
STATE_17:0 "TEST" (Will work)

#

Also the numbers are optional, you can delete em if you want

glass acorn
rain hare
radiant kraken
#

Hey fellow Map starers,

So I’ve been thinking – there are a ton of alt-history mods for HoI4 out there, but they’re kinda scattered around different discords, subreddits, random Steam pages, etc. What if we just… made one big list?

I put together a simple form where you can drop in whatever alt-history mods you know (big projects, WIPs, even those that play in the future). Once there are enough submissions, I’ll compile everything into a nice, easy-to-browse sheet and share it back here. That way if you’re ever hunting for a “what if X happened instead” mod, you don’t have to spend hours searching.

👉 https://forms.gle/a7Rw5BRXe99D9JJN8

If you’ve got any personal favorites, toss them in! The more niche the better. Also, if you’re a dev working on something and want to plug your own project, go for it – I’ll include it in the list too.

Thanks ahead!

cyan axle
#
[graphics.cpp:1365]: Failed to create gui object. Could not find sprite type [GFX_mapicon_mega_gun_emplacement]
[graphics.cpp:1365]: Failed to create gui object. Could not find sprite type [GFX_mapicon_mega_gun_emplacement_large]

i'm going crazy trying to track down where these errors are coming from. i understand what i think to be happening, and have identified a handful of mods that were missing the relevant sprite type definition in mapicons.gfx, but I made my own mod (actually just modifying a merged mod i made with irony mod manager) and literally added back the vanilla mapicons.gfx back with it last in the load order and it's STILL happening. so, what could I be missing here?

swift field
#

im gonna add a LOT/LOADS of new combat battalion units to my hoi4 multi mod

#

for like infantry marines tanks etc

#

aswell as LOTS/LOADS of new concsription draft and mobilization laws

civic atlas
#

I can make you this but will you be willing to pay?

covert mirage
#

guys question, how do i make it so a certain text in localization is shown when a variable is a specific value?

wintry nymph
#

Moderators, my HoI4 won't run, it doesn't have a browser, how can I install it?

severe rapids
#

okay I just started EAW back up, anyone care to explain what the hell this is?

main umbra
#

is there any like medieval style mods

severe rapids
#

yeah, it's called Crusader Kings

cerulean trellis
#

Can someone help me make a flag mod pack.

warped jewel
#

ummmmm

severe rapids
#

it's Equestria at War, you can get it in the steam workshop

warped jewel
#

i thought you made it yourself

kindred axle
kindred axle
warped jewel
#

how do i mod it so that in 1936 mode, british raj government is democratic and the leader is narendra modi

kindred axle
#

You change starting ideolgoy

warped jewel
#

huh

kindred axle
#

And set a new character for the ideology

warped jewel
#

ok thanks

kindred axle
#

Check game files

warped jewel
#

for the info

#

yeah im gonna do that

#

copy paste

kindred axle
#

👍

warped jewel
kindred axle
#

I think

warped jewel
#

theres no set_ideology

#

ill search on google

kindred axle
# warped jewel theres no set_ideology

This is where your mod is finally getting somewhere. In part three we teach you how to create a new country, add a flag, and creating characters and giving them portraits. What is debug mode? What are tags? What is a custom name list? All of this will also be covered. But you want to learn more, so stay tuned for part 4!

0:00 - In this tutorial...

▶ Play video
#

Skip to the characters part

#

Or so

#

It Will explain it

#

Check desc fir Better starting clips of the video

warped jewel
#

i was actually looking at that

warped jewel
#

oh my god it worked

sand notch
harsh dagger
#

How can I change the leader of a country

#

Specifically their portrait

sand notch
# harsh dagger How can I change the leader of a country

go to hoi4 game properties on steam, then files and browse, gfx (or dlc folder first if you want to change a dlc portrait) portraits, look for the country tag of your leader (FRA for france for example) open portrait with gimp program (it's free) then edit the image to your liking, then SAVE AS COPY

#

if you just want to make a small adjustment in your base game then make a copy of the original and replace it with your picture

#

if you want it to be a toggeable mod, create your own from the pdx launcher and simply copy the route for the portrait and paste your new portrait

warped jewel
#

im on my old laptop

#

that.... runs

#

is it because i made my own RAJ file that doesnt have these things in it?

warped jewel
warped jewel
warped jewel
#

now i really need help with this

merry ocean
warped jewel
#

states owner

merry ocean
pale sparrow
#

pretty much everything is explained on this page though

covert mirage
pale sparrow
#

See the wiki, its well explained

#

Can see a lot of examples in vanilla if needed

warped jewel
#

just india

#

pakistan's area will be called British Punjab, bangladesh as British Bengal

#

they wont be free as only india time travelled

merry ocean
#

wait so does india get modern equipment and technology?

#

bruh india will be super op in this scenario

#

ull need to balance it somehow

warped jewel
#

only the people travelled

#

not the items

merry ocean
#

i still feel like india would be too powerful

#

with engineers that understand modern tech

#

like once u build up a modern army ud be able to conquer the whole world in less than a year

molten pike
#

Is there a space mod for modern day or Cold War

vague grail
#

Is there any mod to make the border color gradient just a single line in the color of the country?

torn crystal
#

any idea why my game crashes ?

#

i literally see no reason for it to crash, i had those errors before and it worked just fine

torn crystal
#

this only happens if i make belgium not have a single starting state

hushed apex
#

Is there a mod that can make princess hibana a general in hoi4

bleak anchor
#

yo who wants to help me and a few others in making a Minecraft styled mod outside of Hearts of Minecraft?

#

we need Coders mostly but any help is appreciated

#

if you want to join DM me privately and i can send the link

reef cypress
#

hi guys, what are some good performance mods for multiplayer? client side im fine with just fps map but my friends lag a bit, most of the multiplayer performance mods i find haven't been updated in years so what works now?

bleak anchor
#

Hello all so im making this mod with a few others that is based on the popular game Minecraft, this is a mod that is not related towards hearts of Minecraft. we aim to be a Minecraft mod also but right now we are at a crossroads as its became apparent that the main struggle of the mod is that we lack a true developer team so it would be greatly appreciated if any CODERS or WRITERS can join to become a dev for this mod. and hopefully this mod can become good!

#

MESSAGE ME IN DMS FOR THE INVITE

bleak anchor
#

or reply under this post

north wave
vague grail
#

Is it possible to remove or reduce the gradient and have only the border line?

torn crystal
#

like, i removed them from the map

torn crystal
#

any ideas on actually making a good focus tree? like, i have this country thats supposed to go to civil war on basically game start (only about a year to prepare) and i wanna have two paths where you either support the totalitarian government or oppose them (with branching paths and different malices) and im not really sure how to make it actually fun

#

its set in the deus ex universe

kindred axle
north wave
#

and what have you replaced it with

torn crystal
#

France and Netherlands

north wave
#

between them

torn crystal
#

yeah

#

i might give luxembourg to germany

#

it's a mod set in the distant future

#

2050 that is

north wave
#

dang

latent mountain
#

How can I auto trigger a event I can't seem to do that so easily I want to trigger it when game starts

pale sparrow
latent mountain
#

I set it to the country tag and used mean_time_to_happen and put the value to days = 1 but doesn't work

pale sparrow
latent mountain
#

I have to trigger manually

latent mountain
pale sparrow
#

It defines the starting politics/units etc. for countries

#

but you can fire any effects there for game startup

latent mountain
#

Ok how and where is the file?

pale sparrow
#

/history/countries folder

latent mountain
#

And will it still trigger if I make a new file?

pale sparrow
#

you need to override the vanilla file for the country

pale sparrow
latent mountain
pale sparrow
#

Copy

#

HOI IV doesnt support overriding only parts of files except for localization

latent mountain
pale sparrow
#

If you defined the event correctly, yes

latent mountain
pale sparrow
#

Random hours/days is optional

#

Or if you want to limit it to a startdate

latent mountain
#

Alright Im gonna give it a shot now

#

@pale sparrow Didn't work

#

And localisation also doesn't work when I trigger manually through console

#

Oh wait it worked!!

#

But localisation didn't @pale sparrow

#

And It also the national spirit doesn't have full name and if I want to add underlines _ it will just get a little ugly and also national spirit doesn't have buffs now last time it had buffs

latent mountain
north wave
#

it's not at the history file

#

it's at the on_action files

#

so you will create your event originally at events files

#

after that

#

in the on_actions file

pale sparrow
#

Both work but I think history file is the nicer place

north wave
#

on_actions = {
on_startup = {
effect = {
TAG = {
# 1937 Election
country_event = {
id = random_events.22
days = 512
}

}

pale sparrow
#

that works the exact same as in history file, except now its not organized with the rest of TAG's setup

north wave
#

u can just create a different file

#

named as

#

the nation he wants to code

latent mountain
north wave
#

therefore it would be still organized

north wave
pale sparrow
latent mountain
north wave
#

ok

#

and are the ids same

latent mountain
#

Yes

north wave
#

can u redo it

#

and then check the error log

pale sparrow
latent mountain
#

Localisation is not working

#

Perhaps later I want to fix this now

pale sparrow
#

That looks to be working except the loc

latent mountain
pale sparrow
#

The wiki has a dedicated page on this you should read first

latent mountain
pale sparrow
#

the YT guides probably have one too

latent mountain
#

Yeah I saw one I did exactly same as the video but didn't work now Im here

#

Even the picture in event pop up is wrong

pale sparrow
#

You might wanna check error log for faults with the loc file

latent mountain
#

l_english:
 Rush_to_Glory:0 "testing dsadasdad"
 mod_event.1.t:0 "testttt"
 mod_event.1.d:0 "testing"
 mod_event.1.a:0 "test"

#

IIsn't this correct?

pale sparrow
#

That looks correct

#

make sure the file is named correctly, in the right folder, and saved in UTF8+BOM

latent mountain
#

Does visual studio code support something like this?

pale sparrow
#

Yes