#modding

1 messages · Page 14 of 1

unborn jetty
#

how do I make a simple flag mod 🤔

obtuse condor
#

anyone know why i cant transfer a mod to my laptop and not appear in my playlist

proven hatch
#

Hey, looking to start modding, and i can't find any comprehensive guide anywhere, written or otherwise, anybody have a link to a "Hoi4 Modding for Dummies" type video or steam forum post?

stuck flax
#

idk i'd say The iron workshop is a good guide even tho its really outdated.

sinful eagle
#

Is there a mod that automates troop formation?

pale sparrow
#

Honestly that sounds like a pretty cool idea for a mod

#

Production you cant automate, but template and unit creation you could base off available equipment

sinful eagle
#

I always use the human_ai cheat, but with this, everything is automated, so it would be nice if only the national spirit and front line placement could be automated.

pale sparrow
#

Thats impossible

obtuse condor
#

House of Rockefeller

pine sonnet
#

no

#

non

#

nein

#

how could you

valid apex
slate latch
#

how do i install the great war mod after i've downloaded it?

sinful eagle
obtuse condor
#

Good idea for the communist path

valid apex
pallid warren
#

ok my mod is done

#

The best mod ever

#

finally got the thumbnail to work

iron olive
obtuse condor
#

does anyone know where is the "mod tools" button in the launcher

uneven dawn
#

Who do i set as state owner if i want it to be watter

slender brook
#

Uh, you can’t

#

To make a state water you’d havr to edit the map files

uneven dawn
#

So i cant make a custom map

slender brook
#

You can make a custom map, that’s one of the biggest modding features

uneven dawn
#

how

slender brook
#

Search up a guide dude

#

It’s not a one step process

uneven dawn
#

is that map gen thing safe?

slender brook
#

I dunno I never touched the map besides changing state ownership sometimes

obtuse condor
#

someone dm me the official milennium dawn link

#

please i cant find it

copper loom
#

I got some custom divisions right and they spawn on game start, BUT they start at absolutely 0% strength, which causes them to delete themselves after the game unpauses, is there any way to make them spawn at 100 % strength?

obtuse condor
#

u guys r gonna have so much fun when ww3 kicks off

#

but most likely 2nd cold war first

#

like 20 years and we are gonna have so many ww3 and 2nd cold war mods

obtuse condor
#

Waltuh

lean agate
#

Cringe

valid apex
valid apex
# copper loom thx, got it

create_unit = {
division = "name = "22" division_template = "22" start_experience_factor = 0.5 start_equipment_factor = 1.0"

#

it should look like this

cosmic hill
#

true

red mango
#

hello, i need some help fixing o problem, when ever i try to use a mod says i have an invalided descriptor. i use manual download because i have the Microsoft store version

valid apex
#

I dont know if this work but you could create a mod floder and transfer all kr file to the new mod folder

valid apex
#

Try search on redit or froum it might help

hollow summit
#

Can someone tell me what this error is? It has been giving me a ton of trouble and I would really like to get a solution as it is making play testing impossible. All I know is that it is related to States and I believe provinces assigned to the states but IDK

hollow summit
#

You mean like a "Crash report" file?

valid apex
hollow summit
valid apex
#

Document/PDX/Hoi4/crash

obtuse condor
hollow summit
valid apex
twilit arch
#

how do i remove the 1939 start date

#

found it

forest hatch
#

what focus removes france disjointed govermat grat war redux

twilit arch
#

where do i change the country description [the one that apears when you go to select a country

waxen salmon
dense aurora
#

Question: in kaiserrerdux, during the American Civil War how do you perform the militia division trick which allows you to deploy better divisions?

gentle lake
#

anyone know how the barbarossa activates when declarin on russia as germany

obtuse condor
#

is there a mod that makes it so u can declare independence as puppets or fight for it

weary timber
#

does anyone know why The Great War Redux isn't installing?

twilit arch
#

2 questions
1st how do i make it so the country is centred
2nd it by default selects germany which i removed how do i make it select egypt instead

pale sparrow
#

at the top of bookmarks theres a default country entry

#

default_country = "GER"

twilit arch
#

as for centering it?

pale sparrow
#

its automatically sorted left to right, so idk if you can

#

maybe by changing the UI element

twilit arch
#

hell nah i aint getting into ui yet

#

maybe ill just add the others back in

#

anyways thank you

uncut moss
#

Guys, can't find "create a mod"/ "mod tools" option in my launcher. Did it change place?

edgy solar
split cedar
#

Is there a mod that makes the ui more less difficult to learn

pale sparrow
#

Honestly the only way I could imagine you could do that is if the key shortcuts were always visible

half agate
#

im intrested in modding, were do i start?

valid apex
obtuse condor
#

I need a few people to help me with my red flood submod

#

Anyone interested add me, mod should be nearly done just having issues making things appear in game

twilit arch
#

why does it take 0 days to complete

pale sparrow
#

cost looks correct, maybe its glitched because prerequisite

slender brook
#

Definitley

twilit arch
#

so i remove the prerequisite

slender brook
#

Yeah

twilit arch
#

add a #?

pale sparrow
#

yeh

slender brook
#

If no earlier focus is required, do not have a prerequisite

twilit arch
#

nah its still 0 days

slender brook
#

Show the whole file

#

Relative position id

#

That's not valid

twilit arch
#

ok

pale sparrow
#

ah yeh the relative position id uses wrong syntax

twilit arch
#

yea that worked

twilit arch
pale sparrow
#

No brackets, just the ID of the focus its relative to

twilit arch
#

ah

#

so should i first add the foci and make them work then add the names and description and all the other stuff?

#

like get the tree to function then worry about naming and other stuff

forest hatch
#

anyone got a god div attacking templat for great war redux

pale sparrow
twilit arch
obtuse condor
#

Progressing with the focus tree

half agate
obtuse condor
#

HoW tO mAkE mOdS? 👁️ 👄 👁️

obtuse condor
obtuse condor
thorny niche
#

How do I change the name (not portrait) of a character in game easily? Tried some methods but none worked

obtuse condor
#

Just search It's name there

edgy solar
obtuse condor
edgy solar
#

My bad, I don't change characters much so I assumed it be in localisation

thorny niche
thorny niche
valid apex
honest eagle
#

Lol

lapis flame
#

If one was to hypothetically make a dragon ball mod for hoi4, would it be too small scale or could you make it work with creative liberties?

slender brook
#

Yeah, just pull an OWB

lapis flame
#

Imagine the cool mechanics like op z fighter units with a special forces limit. Or the RR army having unique post-collapse mechanics where you can play as gero or another RR warlord.

cosmic stag
#

How do I remove autonomous state from a state like Galicia?

#

I pretend to do that for a mod

twilit arch
#

does someone know where the impassable sprite is i accidentaly edited it in the gamefiles and i cant find it now

pale sparrow
#

Just use console commands in-game to get the GUI element names to pop up when you select things

twilit arch
#

and whats that command?

pale sparrow
#

gui

twilit arch
#

ok thanks imma check it

#

i dont think it gives me that sprite

#

it gives me other elements tho

#

imma just sift through the files

pale sparrow
#

I thought you meant the state icon in the bottom corner when you click the state

#

Or did they mess with that now desert states behave weirdly?

twilit arch
#

i mean the sprite it self the spikey thing

pale sparrow
#

Oooh that

#

I didnt realize you meant that

twilit arch
#

thanks anyways

#

i found it

#

its in the terrain folder in map

#

i was looking in gfx

robust linden
#

Hey, so im modding Old World Blues and when i add a country, the game crashes on the main menu. like It loads fine but when the main menu pops up, the game crashes. I have asked 3 times on the Old World Blues discord server but i have had no help from anyone on that server. I have added 14 other countries and they work fine, but when i add a 15th then the game crashes. Im running 2 other mods that are required for my mod to work: old world blues battlegrounds and old world blues. can someone please help me?

tardy warren
#

maybe something in the code?

#

sometimes crashes can be blamed for faulty code so maybe check for mistakes

#

or maybe owb doesnt support adding a bunch of new nations as it is already massive

robust linden
tardy warren
#

weird

tardy warren
#

so 14 nations work but not the 15th?

robust linden
#

yeah

tardy warren
#

maybe thats all the mod can support before it kills utself

#

if so thats shit

#

i recommend waiting a bit, i myself am not very gifted coding wise and maybe someone ought to be able to help you

robust linden
#

yeah i guess i have no other choice really

tardy warren
#

im sorry i cant help but wait for someone else who might be able to help

robust linden
tardy warren
#

maybe OWB doesnt like people messing with their mod

#

in that case its kinda bullshit

robust linden
#

nah because they helped me with other stuff

tardy warren
#

the mod is built upon messing with another game

#

weird

robust linden
#

maybe they doubt me? because im making my own East Coast mod so they probably don't have hope for me or smth

tardy warren
#

dunno

robust linden
#

in that case, i understand why but still it's rude to just ignore lol

tardy warren
#

but yeah

#

if you ever finish the mod send me the link and ill maybe check it out if ive got time

robust linden
#

it's barely playable at the moment, i hadnt uploaded it to steam and none of the nations have content on them

#

but when i have more stuff for the existing nations, yeah i'll send the link to you

empty basalt
#

Would there be any way to have two powers have the same puppet on the same territory? I'm making a mod which tries to make hoiIV more historically accurate and I'm looking for a way to make both Italy and Germany control the croatian and hellenic puppets.

slender brook
#

No

long fern
#

is there a mod that puts planes back to 1000

slender brook
#

What does that mean dude

#

1000 what?

long fern
#

planes are in groups of 100 now

#

they were in groups of 1000 before

slender brook
#

No they weren't

#

They were never in groups of 1000

#

Prior they were in groups of however many you wanted

long fern
#

wat

slender brook
#

In my time of playing I have never seen planes have to be in groups of 1000

south folio
#

When you made air-wings before you could only make them 1k I think you could probably still put two 1ks together for 2k.

slender brook
#

Why would there be any time air wings were 1000 planes if air ports go up in 200

twilit arch
pastel badge
#

anyone know some country focus tree mods that are overpowered, dumb or just funny

upbeat wave
#

Any explanation why this happens

#

I tried to install MD but I keep getting this when I reach the menu

#

Ive tried reinstalling both the mod and the game, wiping my saves, etc

#

I install via Paradox Mods

obtuse condor
#

are you using the right game version lol

#

and are you using any mods

upbeat wave
#

Trying to get one installed and the game dies trying

obtuse condor
#

How do I create a mod that adds more supply hubs and naval bases to specific provinces?

pale sparrow
#

you override history folder files

twilit arch
#

[19:43:30][database_scoped_variables.cpp:323]: invalid database object for effect/trigger: set_technology. use var:var_name to explicitly use variables in effects/triggers
what does this error mean?

median merlin
#

could this be the result of mod being outdated?

#

i have tried to launch the mod with other ones being disabled

twilit arch
median merlin
#

what should i do next?

twilit arch
#

send it here

#

or search it on google

median merlin
#

send in the copied file?

twilit arch
#

send the error it gives you

#

it should open a notepad document

#

send the errors in it

median merlin
#

i guess that some mods just collide with eachother

twilit arch
# median merlin

so firstly it looks like there is a proplem with a dlc secondly the descriptor is wrong

#

did you install the mod manually

median merlin
#

ye

twilit arch
#

when you copied the files

#

did you replace the discroptor.mod or did you keep the orginal

queen skiff
#

The issue:
17357;64;16;12;sea;false;ocean;0
17358;2;31;3;lake;false;lakes;1 <-- this is alittle lake province (my only lake on the entire map) for what ever reason this little guy cause the mod to fail to launch and produce no error of any kind. also i have tried changing the integer to 0 as well. no luck there

The "working" (it will boot into nudge) version
17357;64;16;12;sea;false;ocean;0 <--- ends on this line.

paradox "fixed" CSV solution <---- obviously this one was not actually correct as it gave me two 17357 IDs and the province isent land its a lake or its suppose to be.
17357;64;16;12;sea;false;ocean;0
17357;2;31;3;land;false;unknown;0
i have a "healthy" and "unhealthy" Rar of both version of the mod and the ONLY diferance between them is these lines above.
The healthy version boots into nudge and the unhealthy crashes on launch
^
its still this issue but my new solution has been to try and just remove the lake it self i tried opening all the differant layers and removing the lake from each layer but that just caused the mod to not launch am i missing something obvious?
also found out if i launch nudge and go to database/terrain it causes a crash i think its tied to this issue

#

pls send elp :\

drowsy orchid
#

how do i change leaders potraits?

broken kite
#

So call me dumb but how do I install mods in the new yo

#

Launcher

#

Before there was a filter button but now I don’t see it

slender brook
slender brook
obtuse condor
#

Does anyone know how I can get in contact with the developer of scuffed mod?

median merlin
slender brook
#

Both have to be enabled for this crash?

#

Sounds like a simple mod incompatibility then

median merlin
#

As I assumed

queen skiff
# queen skiff The issue: 17357;64;16;12;sea;false;ocean;0 17358;2;31;3;lake;false;lakes;1 <-- ...

i am 100% certain the error is this province 17357;2;31;3;land;false;unknown;0 but any attempts to remove it seem to just crumple the mod, i have tried removing the definiton and replacing it on the map with 17356 and merging 17356s prior position with an province that was next too it. But that just causes the mod to crash when loading database. i tried removing it from each map layer (but i might have missed one) i removed it from the province layer/rivers/Hight/terrain/world_normal did i miss one?
Idk what else to do or try at this point any one got any ideas?

valid egret
#

im trying to run hoi on 1.12.5 version but there is not an option for it on the steam properties page. Does anyone one how i can change it to 1.12.5?

obtuse condor
#

hi i have never modded and just started today, im making a simple mod of a small country with a basic focus tree, im really bad at this right now so if any of you have some time to spare and want to help me text me 😇

cosmic stag
#

How do I remove autonomous state from a state like Galicia?

brisk patrol
cosmic stag
brisk patrol
#

Idk what you want honestly

#

To free a state?

cosmic stag
#

I want to remove the status of autonomous state, that's it, not being independent

brisk patrol
#

I honestly dont know whats a autonomous lol

#

I forgotten

cosmic stag
#

If you see in the screenshot, it cuts the country's manpower in half

rare heron
#

how do i mod air planes into the game?

#

i tried watching some tutorials but i cant find any that help me with my issue

#

baisically ive been trying to make a completly new airplane in the game

#

but all i have achieved is this

#

i do not own BBA btw

#

all of my air tree is gone, jet fighter 2 is gone

#

idk whats going on

toxic turret
#

the road to '56 is so good

#

how have i not been playing it

#

this whole time

rare heron
#

nvm i just had to restart game

#

it actually works

verbal jewel
#

hello everyone

proud tangle
half agate
#

HOW TO MAKE MODS

obtuse condor
cosmic stag
thin chasm
#
  OR = { 
    original_tag = AAA
  }
  NOT = { has_global_flag = FLAG1 }
}```
```visible = {
  OR = { 
    original_tag = BBB
  }
  NOT = { has_global_flag = FLAG2 }
}```
#

Given two countries that want to share the same decision, but only visible to each under different circumstances, how would I go about merging these two blocks together?

#

I find the wiki confusing sometimes, hence my asking here

thin chasm
#
  AND = {
    OR = {
      original_tag = AAA
    }
    NOT = { has_global_flag = FLAG1 }
  }
  AND = {
    OR = {
      original_tag = BBB
    }
    NOT = { has_global_flag = FLAG2 }
  }
}```
#

Oh good, mentioning it here helped me rubber duck the solution

#

Cheers, all

tired urchin
#

idea: storage building , adds 100,000 equipment storage. Basically just to prevent late game lag and make it more realistic. don't know if it would be possible but I'd like to see it in game.

obtuse condor
#

What is a good mod for nuke Buff

thorn harness
#

Is there any good 1939 starting mods like rt56 but 1939 start

wheat zodiac
#

primo victoria I think

#

guys I am trying to update this mod called arabia which is "what if sykes-picot never happened", it hasn't been updated since 1.10.8 (around 2021 or late 2020) and I added in all the new states, removed the collisions between the old and new states, added in supply rails to update it to the modern map but it still gives me an error whenever I boot it up

slender brook
wheat zodiac
#

i started it in debug mode

#

and i used nudge to update it

#

but whenever I do NOT use debug mode it crashes imediately

slender brook
#

Uh, yeah. Means there’s an issue

wheat zodiac
#

what is it?

#

railways (1.11 update) arent an issue, I guess I took care of it. New states are fixed, what else is something I should change/add in the files?

slender brook
#

Well what does the error say

south folio
wheat zodiac
south folio
#

I think he means the logs.

cosmic stag
south folio
rare heron
#

why does my modern fighter not work but every other fighter that i added work?

#

everything can and does its role very well but my top fighters just cant be sent on missions

cosmic stag
#

The Iberian Peninsula for example, is being ruled by Portugal in my mod

south folio
#

You can either track down the source or just use on_actions

rare heron
#

ok yeah i made a pretty powerful plane 💀

south folio
#

I'ts in history/countries SPR-Spain.txt on line 234 to 242

#

it adds the dynamic modifier autonomus state to Cataluña, Galicia and País Vasco

cosmic stag
#

Btw, how do I add more building slots for a state? Instead of making a decision or focus tree for that

#

Everything basically from the beginning

south folio
#

Either you add a on_action or you change the state_category which determines such things. If you mean you want more starting building slots that is.

cosmic stag
#

Just a few states

south folio
#

What I mean is do you want the building slots to be added on the start of the game or through an action during the game

south folio
#

Then you can use on_actions or switch the state_category.

#

on_actions is probably more precise

#

I can go into more detail if you DM me since I don't want to make this chat overflow with my explanations.

cosmic stag
obtuse condor
#

Hello I'm iranian and I want to play as iran but not with the basic national focuses

#

Any mod suggestions

pale sparrow
#

coolcat Road to 56

final slate
#

mods are something...

obtuse condor
#

Your iranian?

heady storm
#

Yes

obtuse condor
#

Sorry I'm just learning farsi again

#

I moved to Germany when I was eight

#

But I'm 100% iranina

#

Iranian

heady storm
#

Nice

obtuse condor
heady storm
#

Good for you

#

Cant wait to move out

obtuse condor
#

You got hoi 4

heady storm
heady storm
obtuse condor
#

But any mod suggestions

heady storm
#

Hmmm

#

Havent played much modded tbh

obtuse condor
#

Road to 56 was boring

#

I tried the 2001 mod

#

Got overwhelmed

#

Kaiserreich was fun but I lost to Afghanistan

vestal blaze
#

hi

#

need modding help

#

how would i alter the variable "AI aggression"? or "focus on attack"

#

is there a way i can do this in console?

winged heron
#

I believe it's enough to just apply changes there, but besides the Command that runs of the AI there is nothing you can do via console

pale sparrow
#

Depends

#

AI priorities can be modified in focuses/decisions, or even traits like with Hitler, but the console doesnt include access to all usual effects

slender brook
#

This is why Stellaris has objectively better effect command because it just executes whatever you type instead of scripted effects

#

Which actually doesn't help here since those are modifiers

karmic cove
copper loom
#

Do you have any idea how that yan be possible? It is also not possible to send them to another air base

vestal blaze
#

am i missing something?

#

it just looks like you're missing the aircraft in your stockpiles so it doesn't reinforce the air wing

copper loom
#

The buttons where "no retreat" is are not pressable, it might be a interface error, but i dont know which one controls this UI part

hollow cobalt
#

(literally the name of the plane)

wheat zodiac
#

beware though it is outdated

#

I added the new states, removed collisions between new and old states and added railways for 1.11 update

#

i do not own it but want to update it

#

it still gives "error map definition failed to load"

#

what is the problem?

obtuse condor
wheat zodiac
obtuse condor
#

Ye

wheat zodiac
#

nice

obtuse condor
#

Thus one?

slender brook
#

Not updated to current version

obtuse condor
#

Oh

#

Nah it worked

slender brook
#

Weird. I wouldn't expect a 2021 mod to still work, though I guess it didn't change any states.

#

Expect maybe some unexpected behaviour though and not everything to work properly

obtuse condor
#

Ok

keen pumice
obtuse condor
#

Eastern kingdoms

keen pumice
#

👍

wheat zodiac
#

or 1.10

obtuse condor
wheat zodiac
#

did you revert?

obtuse condor
#

Ye

#

Guess who's going faschist

wheat zodiac
static epoch
#

is there a mod which disables the tank and the air designer and reverts them back to how it was

keen pumice
#

Turn off bba and nsb

heady shell
#

he prob wants the focus tree and stuff tho

keen pumice
#

Maybe

#

If thats the case then idk

static epoch
karmic summit
#

Hey quick question: Editing the "units_name" file to include more historical division names for a specific country will break ironman mode?

karmic summit
valid apex
karmic summit
#

No idea why should it.. I just want to expand some division names, nothing to do with unbalancing the game

cosmic stag
#

I'm having problems with my mod about 2 flags, they're upside down for some reason, I already saw the TGA file and they're the problem, I tried to convert PNG to TGA to make sure everything would work, but looks like it's still the same

obtuse condor
#

Does novum vexillum have flavour? Or is it a walmart/wish version of millenium dawn

sand bay
drifting needle
ivory jasper
#

hey is there any modding guide?

#

you recommend

#

because i want to learn

pale sparrow
#

Read existing mods

slender brook
trail tendon
#

anyone want to make a multiplayer mod? I want to make one with a capital ship build speed bonus for naval duels

tropic mirage
#

can some one tell me the mod with this gate as the profile pic thing

vestal blaze
#

millenium dawn?

tropic mirage
#

no

#

its the building but its blacked out and has a gray back round or something like that

#

but thanks

indigo lance
#

mmmmmm revolution

hollow cobalt
#

Amazing

indigo lance
#

Thanks!

patent sierra
#

Hello
I have a little problem and want to find out what is wrong
Some time ago i was trying to make available one country from the start, so i just take as example already existed country and change to my own wish and all was running perfectly.
But when new dlc "By Blood Alone" was released it bring some issues.
Mostly all was working well as before, except three technoligies branches: armour techs and new separeted naval, they just were absolutely "stock".
But new air brach have all techs, just like it was edited by me.
So what can be wrong? I checked .txt file many times, but couldn't understand what i'm missing.

ivory jasper
valid apex
ivory jasper
#

Oh ok

#

i dont have a mod file

slender brook
#

What they meant is look at how other mods do things

ivory jasper
#

ok

#

if i watch a tutorial from before 2 years is that ok? or i need to find a more recent tutorial

slender brook
ivory jasper
#

basically everything

slender brook
#

In a topic as large as modding, everything is nothing

slender brook
#

Most of it will probably work, yeah

ivory jasper
#

thanks

slender brook
#

Emphasis on how I said most and they said likely

obtuse condor
#

youre welcome

proud estuary
#

my mod doesn't update when i change the code

pale sparrow
#

Do you have the Steam version installed? could be conflicting

#

If you mean live while the game is open, debug mode needs to be on and some files will never refresh regardless

proud estuary
magic harness
#

how do i switch to older version of a mod

edgy solar
pale sparrow
#

You cant

#

Steam backs up the versions for the author but for some reason doesnt allow users to do that

valid apex
eager lagoon
#

Hi!

#

I have a problem spawning divisions and units through an event

#

Can anyone help me?

valid apex
eager lagoon
valid apex
eager lagoon
valid apex
# eager lagoon No hurry m8!

VIN = {
division_template = {
name = "Dan Quan"
division_names_group = VIN_INF_01
is_locked = yes
regiments = {
militia = { x = 0 y = 0 }
militia = { x = 0 y = 1 }
militia = { x = 0 y = 2 }
militia = { x = 1 y = 0 }
militia = { x = 1 y = 1 }
militia = { x = 1 y = 2 }
}
support = {
artillery = { x = 0 y = 0 }
}
}
}
every_state = {
limit = {
is_core_of = VIN
is_controlled_by = VIN
}
create_unit = {
division = "name = "Dan Quan" division_template = "Dan Quan" start_experience_factor = 0.5 start_equipment_factor = 1.0"
owner = VIN
}
}

#

something like this

eager lagoon
#

Oh oh thank you

#

I already had my divisions designed I just didn't know how to spawn them

valid apex
#

take from every_state

#

it can be change to state number

#

then create_unit

eager lagoon
#

Btw can I do this in the same event that releases this nation?

#

The event releases ZET tag from MEX tag

valid apex
eager lagoon
#

I tried with OOB but I couldn't nail it properly

#

thanks for your help!

valid apex
#

no problem

obtuse condor
#

how do I get rid of the grey stuff around it

atomic peak
obtuse condor
#

but it doesnt work

tidal flume
#

How do i fix this bug? The country i just made has no name and it should be called Omsk, the focuses are also broken

#

Except the communist thingy, i need to change it

obtuse condor
#

How do I change conscription laws

#

through script

waxen kestrel
#

5 states for Tuva

waxen kestrel
# obtuse condor through script

go to the history/countries/COU-CountryThatYouMod then find or add something call add_ideas

example:

add_ideas = {
limited_conscription
}

waxen kestrel
#

check if you gave the correct country tag

pale sparrow
#

Check error log, will state most loc errors

obtuse condor
#

how to I core territories through script

#

youtube tutorials are hard

#

and can I core entire nations or only states

twilit arch
#

[18:48:22][database_scoped_variables.cpp:323]: invalid database object for effect/trigger: set_technology. use var:var_name to explicitly use variables in effects/triggers

#

whats this error

twilit arch
#

you core by doing add_core [state_id]

twilit arch
obtuse condor
#

I gotta write like 60 lines of code

twilit arch
#

i dont know how to exactly do it

#

but i know that there is a way to check every state

#

then apply something to each of them

#

so how the anschluss focus does it

obtuse condor
#

Ima check the anchluss focus

jolly mural
#

Tag =
{
Every_core/owned/controlled_state = {
add_core_of = ROOT
}

}

twilit arch
obtuse condor
jolly mural
#

The countrys tag yes.

Any owned/controlled/cored state depending on how you wanna transfer

twilit arch
#

the country you want to give it to

jolly mural
#

Root is an operator that targets the country executing the effect

#

In this case, whoever is gaining the states

bitter tusk
#

hi

#

anyone know a vanila reskin for minor countries like brasil? i used mi2 but my game is crashing now as it hasn't been updated in a long time

twilit arch
#

[18:48:22][database_scoped_variables.cpp:323]: invalid database object for effect/trigger: set_technology. use var:var_name to explicitly use variables in effects/triggers

cmon please what is this error

obtuse condor
atomic peak
tidal flume
hard hinge
#

Best ww1 mod for hoi4?

slender brook
wind plume
#

i need one of you to make a mod about avatar since the second movie released 🙏

wind plume
hard hinge
#

My Game keeps on crashing with the mod : (

waxen kestrel
#

Can you send error log or something?

waxen kestrel
twilit arch
small mango
#

can someone explain me why with the mods there is some missing labels?

obtuse condor
small mango
#

I found it it's languages yeah

#

changed my game to english

obtuse condor
obtuse condor
#

wait why is Rhineland and Moselland state number files swap places?

gaunt forum
#

what

#

oh sorry that was in response to the gif

obtuse condor
#

when i tried again it still sets the germans to democratic

obtuse condor
#

@obtuse condor

waxen kestrel
#

how can i fix it

#

?

#

i mean weird focus conection

pale sparrow
#

wdym

twilit arch
#

are you sure you got the prereuisites right?

pale sparrow
#

Yeh

#

Also, itd not be surprised if theyre bugging out from the weird symbols in the focus tokens

twilit arch
#

also make sure you got the relative position id correct

pale sparrow
#

Just to be safe in anything but localization Id not use ö/ó/á/à/ä etc

waxen kestrel
#

Ok thanks guys

slender brook
twilit arch
#

there wasnt that much in the mod to bein with

grim tendon
#

What’s a unique scenario I can use to make an alt history mod that hasn’t been or is rarely done

twilit arch
#

hitler took over austria instead of germany

midnight finch
#

das interesting

midnight finch
grim tendon
#

Ooh

twilit arch
#

he never went to germany so he never got into the nazi party

#

he was treated well and got an arts degree and austria is a major econimic power due to bis fantastic policy then you fight the hungarians of something

#

@grim tendon

grim tendon
#

lol

twilit arch
#

this guy makes almost everything you need in modding

vague meadow
#

does anyone know if the exp ai works with rt56

pale sparrow
vague meadow
#

why doesnt it

#

why dont they try and make it compatible isnt rt56 liek the biggest hoi4mod

pale sparrow
#

We have our own AI improvements, but they got broken by BBA

#

Our AI people are working on it

vague meadow
#

alright

#

i played rt56 yesterday and

pale sparrow
#

Germany sucks yeh

vague meadow
#

nah i was germany and

#

i steamrolled the soviets

#

by august 41

#

like it was too easy the game

#

i've not played other nations besides germany in a long time but last time when i did

#

they couldnt break france

#

like damn bro

#

not only thta

#

they barbed while france wasnt even dead

#

so yea

pale sparrow
#

👍

#

Idk about this because Ive never had trouble against the Soviets in vanilla either

vague meadow
#

yeah true

#

hoi4 as a whole

#

the ai system is broken

#

like the only way to make the game harder on vanilla is to up the difficulty

#

but that only buffs the ai by giving them better efficiency and production and construction it doesnt make them be smarter and make better templates etc

pale sparrow
#

mhm

analog iron
pale sparrow
#

confused TNO moment

analog iron
#

how will this end for this person???

pale sparrow
#

🤡

#

Surely it can't be that bad

analog iron
#

What a wee bit of community trolling does to a mf

pale sparrow
#

confused I wanna play endsieg oofies, makes me wanna convert it to 1.12

obtuse condor
obtuse condor
obtuse condor
#

think its due to the country history file

#

but idk

obtuse condor
obtuse condor
obtuse condor
# obtuse condor using -opengl

That’s not… debug mode… https://m.youtube.com/watch?v=aMhmkrYOvMk

This lesson will explain what is Debug mode and how to enable it in Hearts of Iron 4.

Timestamps for this tutorial/lesson:

What is Debug Mode - 00:35
Enabling Debug Mode - 02:54

Useful links:

Iron Workshop Discord server: https://discord.gg/sSCU3WS
My twitch channel: https://www.twitch.tv/playerhoi

Hearts of Iron IV wiki modding page: https...

▶ Play video
obtuse condor
# obtuse condor oksay

Anyways, since you believe the error is in the history file of Germany, would you mind sending the said file to me and I could take a look?

blissful valley
blissful valley
# analog iron

The horrific aspects of TNO are what got me into that mod, it's so good.

vague meadow
#

what are some

#

good mods for sp

#

like hearts of oak

#

or blackice

#

actually

#

total war ive not tried that out

#

and then world ablaze aswell

#

gotta try these mods out

#

they seem fun

#

lmfao i had tno and total war both on and i forgot to turn off tno now its all weird

#

i wanna see what happens

obtuse condor
#

can someone help me? i put czechia as a reichsprotectorat and changed the cosmeic to Reichsprotektorat Böhmen but it still says "German CzechoSlovakia"

reef oxide
#

I want to change italy so that it doesn't become a puppet when ww2 ends

#

and keeps their pre-war colour

#

any pointers to how i do that

obtuse condor
#

I wanna learn to mod but I see no common folder

brisk turtle
#

You're in the wrong folder, you need to be in the steam folder

#

It might look like this: Local disk/program files (x86)/Steam/steamapps/common/Hearts of Iron IV

lapis flame
#

I should learn modding too, I think I’ll get a laptop for Christmas to mod hoi4 with. Heck, hoi4 should run a lot better on a proper PC.

brisk turtle
#

If i had a half decent computer, i might consider it, but for now ill stick with what talented people can do

#

However, i do know how to find the correct folders and files

valid apex
grim tendon
#

I have the idea and it wont add, anyone know why?

slender brook
#

So the top one just looks like a bad key

grim tendon
slender brook
#

So hold on, what are you trying to do, just add that one idea?

grim tendon
#

yes

slender brook
#

What type of idea is it? Just a country idea?

grim tendon
#

yes

slender brook
#

Hmm. Not sure why that error would be occurring. If it says it should show up properly, I don't see what would be causing it to not show up

grim tendon
#

damn

#

anything I can do?

obtuse condor
brisk turtle
#

Its under there

obtuse condor
brisk turtle
#

Steam is a folder within program files

obtuse condor
brisk turtle
#

Huh

obtuse condor
#

These are the only files that show up under it. This is it

#

I even redownloaded steam yesterday so I don't really get it

brisk turtle
#

Go to local disk and use the search bar to search for steam, its obviously installed in a wierd location

valid apex
#

If you have hoi on your desktop i could just right click it and open file location

brisk turtle
obtuse condor
brisk turtle
#

Cool

#

Good luck with modding! 🙂

vague meadow
#

total war is such a hard mod to get used to

#

so much micro

#

the research micro is insane

obtuse condor
#

whyyyy

#

germany keeps on going democratic when i make slovakia and bohemia it's puppets

#

im lost, heres the german history file, i believe the problem is here i just dont know what, Diplomat section is on Line 192, ping me if you found answer

junior haven
#

I can't play in hoi4 because USSR's mods aren't working whatsoever and they're going more then ham on the game

#

because there's no potrait of any sort of leader

grim tendon
#

How do I add more construction speed through a focus without using an idea

obtuse condor
#

man)

#

I have a thing for you

#

even though you left

hollow cobalt
rich heart
#

Guys can someone link a good modern day mod

#

There is lots of them idk which one if good

obtuse condor
obtuse condor
muted vessel
#

Is there any mod that allow 2 or more players to play as one country, so each of them can control one or 2 armies? I'm getting lost when I have to control 80 division, so it could be helpfull adn fun, becasue that way each player could concentrate more on single divisions

grim tendon
muted vessel
#

How to enable it?

grim tendon
#

Multiplayer

edgy solar
pale sparrow
valid apex
#

I think you have 3 } on else

obtuse condor
valid apex
#

And missing one on if

obtuse condor
#

o

valid apex
#

Is it working yet?

hexed quartz
#

anyone got mods that increase shipbuilding speed?

#

most of the ones on workshop are outdated

#

im just looking for a boost where it makes naval warfare actually playable instead of waiting 5 years for one ship

valid apex
hexed quartz
#

nothing too overpowered

hexed quartz
valid apex
hexed quartz
#

how so

#

i actually have no clue how modding works

lapis flame
#

As soon as I get my laptop for Christmas Eve, I’m gonna get into hoi4 modding. Call it my New Years resolution.

My ultimate goal is to make a Dragon Ball hoi4 mod with super events and whatnot

hexed quartz
#

how would dragon ball in hoi4 work

slender brook
#

All divisions have 5 people

lapis flame
#

I have some ideas:

  1. Planet scale map like palpatine’s gamble, with a bunch of fan made planets and the Frieza force being this all encompassing faction that can fall into a warlords era as soon as the namek incident happens.
#
  1. Scale it on earth, with playable martial arts school and red ribbon, OP Z fighter unit mechanics that can only spawn by event and “Heal” overtime. Also an event controlled story chain.
    Oh, and special red ribbon mechanics where after it falls you can be one of the warlords or create OP androids from the shadows.
#

I have a lot to work out but it’s a final project.

slender brook
#

A final project? For school?

lapis flame
#

Nope lol

#

It’ll be my magnum opus

slender brook
#

How old are you?

lapis flame
#

24

slender brook
#

That's some very low ambitions. You still got 50 odd years to work something better than a Dragonball HOI4 mod

lapis flame
#

Fair enough, but it’s a start.

#

Anyways, time to play red flood.

slender brook
#

Communism

lapis flame
#

Oh wait no I don’t have the red flood music, another time then.

#

Millennium dawn it is.

valid apex
lapis flame
#

Ikr

brisk turtle
#

When you get your new computer are you going to change your name to good pc?

stuck mist
#

If this is you're first mod, I'm going to heavily discourage you from starting with that

lapis flame
lapis flame
stuck mist
#

Good, as long as it's not like a total rework or map rework or something like that. Something small to learn the basics should always be your first mod, regardless of your previous coding background or anything like that

lapis flame
#

Good because I basically have no coding background. I completely forgot my coding lessons in high school computer class.

shut rock
#

I think I'm using these effects in the wrong way on my national spirit I'm creating. the syntax is

#

modifier = {
political_power_cost = .5
fascism_drift = .03
communism_drift = .03
consumer_goods_factor = .1
}

#

they do not show up ingame but i did a different command & it showed up just fine?

#

new to this so any help would be greatly appreciated

#

nevermind im stupid

#

i had to add a 0 to the beginning so .03 became 0.03

hollow summit
#

I have been trying to make a mod that asks the question "what if everyone lost ww1?", and it is very early in development, but I have no idea why the country name isn't showing up. I have a "localization" file with a "countries_l_english.txt" file inside of it, but the names of my custom countries won't show up. Also my custom portrait for Ernst Thalmann won't show up properly, but that's fine.

slender brook
hollow summit
slender brook
#

Well then that's probably the issue

#

What file editor do you use?

hollow summit
#

Notepad++

slender brook
#

Huh. Not sure how to change that on Notepad++
My recommendation would be to copy a basegame localisation file, change the name, gut all the basegame content, then stick your own stuff into it

hollow summit
#

Ok

wind plume
#

I need one of you psycho people that know how to mod to make me a avatar pandora mod. I pay 200 roubles

slender brook
#

That's uh... Tough sell you got there. Make me an entire overhaul mod and I'll pay you enough to buy a couple chocolate bars

median mantle
#

Where would you find the techs for BBA air designs for a nation.

magic shale
#

Yo, this seems like a dumb question but for some reason my event's title and description are based on what I set on the event file rather than the localization file?

valid apex
magic shale
slender brook
#

Is that .YML file in UTF 8 with BOM?

magic shale
#

yup

slender brook
#

Does it have the right file path

magic shale
#

how would i check that?

slender brook
#

Does the file path look like that

magic shale
#

yup that's good too

slender brook
#

If you don't mind, could you send over the files?

magic shale
#

it

#

it's just this in my localization file:
```english_l.yml:
rotermorgenGCW.99.t: "hi"
rotermorgenGCW.99.d: "Test"
rotermorgenGCW.100.t: "Test"
rotermorgenGCW.100.d: "Test"
rotermorgenGCW.101.t: "Test"
rotermorgenGCW.101.d: "Test"

valid apex
#

for some reason you should have 0 behind :

slender brook
#

No I think that's a myth. The 0 is used for iterations

#

Also the issue is at the top

#

It should just be l_english:

valid apex
#

oh yea you are right

magic shale
#

YES THANK YOU 😄

#

works wonderfully

magic shale
#

On another note, a country idea I put in my "mod/common/ideas/MOD ideas.txt" file is not recognized when the event triggers it

slender brook
#

Is possibly because there is a space in the file name

magic shale
#

no luck there unfortunately

chrome epoch
#

This is something I made related to TNO lol

magic shale
#
    country = { # Necessary for the game to consider them spirits rather than a different idea type.
        test = {
            picture = my_picture        # Using GFX_idea_my_picture
            modifier = {
                training_time_factor = -0.1
            }
            targeted_modifier = {
                tag = QAT
                defense_bonus_against = 0.2
            }
            research_bonus = {
                infantry = 0.1
            }
            equipment_bonus = {
                infantry_equipment = {
                    instant = yes
                    defense = 0.2
                }
            }
            rule = {
                can_join_factions = no
            }
        }
    }
}``` 
I am using the default one as a test
valid apex
#

Maybe the mistake is the event itself

magic shale
#
                add_ideas = test
                set_country_flag = GER_LEFT_REVOLT
                transfer_units_fraction = {
                    target = GRU
                    size = 0.3
                    stockpile_ratio = 0.5
                    army_ratio = 0.4
                    navy_ratio = 0.3
                    air_ratio = 0.3
                    keep_unit_leaders_trigger = {
                        NOT = { has_unit_leader_flag = my_test_flag }
                    }
                }

                dismantle_faction = yes
            }```
valid apex
#

Werid everthing seem to be fine

magic shale
#

yeah, i'm not sure why it may be happening

valid apex
#

ya open debug mode when start the game

magic shale
#

i get an error when i trigger the event in console

#

:499: add_ideas: Invalid idea: test. If you wanted to reference a variable, you need to explicitly prefix it with var: or temp_var:.

valid apex
#

i suggest changing the idea input

magic shale
#

the name of the idea?

valid apex
#

test to something else

magic shale
#

i have already changed it, test was one of a few names i've used

valid apex
#

how about on add_ideas remove s

magic shale
#

wow

#

thanks so much

#

i'm pretty sure that worked

slender brook
#

That's a bit peculiar because in my code, add_ideas is right but if it works it works

magic shale
#

damn, i made an error there

#

only reason I thought it worked is because it didn't run an error back

#

but when I switched all the code back, still no luck unfortunately

slender brook
#

Well the best idea is usually to remove things piece by piece
I would delete parts of the idea until it is just an empty husk

magic shale
#

i think the idea itself isn't the issue, but rather the trigger

#

as the idea is just a template I found for tutorials

slender brook
#

Well it's saying invalid idea so I reckon it is the idea

magic shale
#

alright i'll give that a go then

#
    country = {
        my_idea_1 = {
        }
        my_idea_2 = {
        }
    }
}
#

I put it down to this, and then triggered "my_idea_1" in the event and I received the same invalidated error

slender brook
#

The file pathing is correct?

magic shale
#

the idea file?

slender brook
#

Yeah

magic shale
#

is it root/common/ideas/*.txt

slender brook
#

Yeah that should be fine

#

Hmm. Very peculiar. The rest of that effect works but not the idea. Very strange. Everything looks correct

magic shale
#

Ok, I do have an update luckily. Let me make sure this is correct before I suggest it

#

rightio, so I have worked out, potentially, what may be happening

#

the error only appears on the lines for the options, rather than if i put it before the options

#

if that makes sense

obtuse condor
#

whats the most popular multiplayer mod used rn?? i wanna practice

obtuse condor
#

Hello, I want to start learning how to make mods, but all the tutorials I see use the old launcher.
how to open the mods tool in the new launcher

obtuse condor
valid apex
cold mica
#

can I mod hoi4 if I purchased it from xbox gamepass?

obtuse condor
#

how do I change a country's name from a focus

fringe quiver
cold mica
obtuse condor
#

Literally just googled your question and this was the first result.

obtuse condor
#

I was looking for this for like 5 minutes and found nothing

obtuse condor
obtuse condor
#

and nothing

obtuse condor
#

wat line on notepad ++

valid apex
obtuse condor
valid apex
#

Ya

#

Add } under the white +

obtuse condor
#

wait

#

o

valid apex
#

Wdym

obtuse condor
valid apex
obtuse condor
#

alr

valid apex
#

Try it

obtuse condor
#

germany just refuses to be the baddie

twilit arch
#

where are the 3d models and how can i open them in blender i dont nessecirallywant to edit them for the game i just wanna play around with the models in blender

valid apex
obtuse condor
obtuse condor
pale sparrow
#

Anyone who is not new happen to know where Italy is getting puppeted when they get a civil war?

hoary gate
#

are we allowed to advertise mods we ourselves have made?

#

this is a bit vague on that topic

twilit arch
#

can i open entity files in blender

#

found a way

hoary gate
quasi wyvern
#

Hi guys! I'm having a map error because my buildings/airports/rockets.txt files are empty. The problem is, when I try to use the nudge tool to fit all buildings in states, the game crashes! Can someone help? It's literally impossible to add every single building to provinces manually

hoary gate
#

copy-paste the necessary files from the base game over to your mod file respectively and erase all of the lines from the copied files except the first line

quasi wyvern
#

I almost forgot, i'm making a map mod overhaul, I'm sorry

hoary gate
#

yes

#

i have done that too lol

#

i know your pain

quasi wyvern
#

hahahhahahhaha

quasi wyvern
#

No, I haven't

#

But I didn't understood ahhaha

#

oh

hoary gate
#

sorry i am not the best at explaining

quasi wyvern
#

You mean I need to copy buildings/airports/rockets from base game and maintain just the first line?

hoary gate
#

yup

#

in your /map folder

quasi wyvern
#

I'll try that

hoary gate
#

delete everything from all three files except for the first line in each

magic pumice
#

Epic modding

quasi wyvern
#

I'm running my game right now

hoary gate
quasi wyvern
#

god help me

hoary gate
#

the nudge should be able to open now

#

it sucks

hoary gate
quasi wyvern
hoary gate
#

ok cool

quasi wyvern
#

and I'ts my first map modding

hoary gate
#

i recommend not doing a total overhaul as your first ever mod lmao

quasi wyvern
#

ahhaha

#

It worked, thx

hoary gate
#

ayyyyyyy

quasi wyvern
#

I promisse I will go to the end

#

me or the mod

hoary gate
#

i cant use custom emojis here why

#

also did you get my dm

quasi wyvern
#

yess

#

thx a lot

hoary gate
#

yup

quasi wyvern
#

I was dumb thinking the basic c++ modding war the worst part...

hoary gate
#

ive done my fair share of modding over the past three years

quasi wyvern
#

Thats cool

#

At least HOI modding community seems to like sharing knowledge

hoary gate
#

aye

#

unlike eu4

valid apex
wet jay
#

is there are mod there the non-aligned (monarchies especially) get to use the same laws as fascist/commie countries?
obv excluding stuff like anarchist etc

valid apex
#

I dont think so

lyric sleet
#

Is there a mod that adds a bridge between Eurasia and the Americas?

silk tide
#

What does it mean when it says "Mod is missing a descriptor file"

#

it seems to be not allowing me to play Kaiserredux whatever it is.

valid apex
silk tide
#

wat

heady storm
#

He/she prob means folder

grim tendon
#

Hmm has anyone done a mod where Germany lost WW2 but capitulated the Soviets before so? Anyone know? If not I might try to make a cool one

slender brook
#

Try reloading cache.
To do this, go to all installed mods
Click the reload button
Check the box
Click yes

worldly depot
#

is there any mod that allows me to build bunkers in my allies?

pale sparrow
#

If there is none itd be very easy for me to upload

worldly depot
#

ah

#

thanks

obtuse condor
#

Any mods that give better focuses for iran and Pakistan?

obtuse condor
#

How do I reduce justification time from a focus

#

justify_war_goal_time = -0.1

#

?

dreamy spire
#

how can i change country colors with console

reef oxide
#

is there a way I can make the kingdom of italy tag from their civil war not change colour?

#

and then ig make the social republic have a different colour

#

so they don't conflict

valid apex
reef oxide
#

ah

#

another thing

#

I've modded colours before

#

but they always come out a little differently than in vanilla

obtuse condor
#

how tf do spirits work

reef oxide
#

I used console to revert italy's colour (67 127 63) but it came out as somelike like KR's Italian Federation's colour

#

am I doing anything wrong?

valid apex
obtuse condor
obtuse condor
valid apex
# obtuse condor

the idea it self it fine maybe the problem is the part that fire it

obtuse condor
obtuse condor
valid apex
#

oh wait did you open debug mode

valid apex
obtuse condor
valid apex
#

can you send me the mod

obtuse condor
obtuse condor
# valid apex can you send me the mod
[15:07:51][effectimplementation.cpp:1715]: common/national_focus/127350.txt:448: add_ideas: Invalid idea: TAN_eye. If you wanted to reference a variable, you need to explicitly prefix it with var: or temp_var:.```
reef oxide
#

which of these do I use?

#

@valid apex here look

#

this is italy colour according to the files

valid apex
reef oxide
#

I apply it to yugoslavia

#

and it becomes a brighter colour

#

okk so

#

console sucks

#

so the tag RDS is for the kingdom? @valid apex

#

and not the social republic

valid apex
reef oxide
#

there's no colour file for rds

valid apex
unreal ibex
#

Sorry for asking but what is the name of the rule that makes you to cant train units and change conscription laws (like the bulgaria "army_restriction" one)

reef oxide
#

oh

#

@valid apex if I modify something in a mod, will steam automatically fix that?

#

or only if the creator uploads a new update

reef oxide
#

ok

#

what does colour_ui do?

#

ok I think rsi colour is too dark

valid apex
reef oxide
#

ye

#

I need a new colour for this

#

im looking at colours from other mods

#

but I can't really find one

reef oxide
#

@valid apex which would you say fits better?

valid apex
#

The upper

reef oxide
#

yup same

#

thanks

#

I took the one from greater italy I think

#

or the other cosmetic italy

#

italian empire

#

whatever that is

#

ideally id use a colour from either kr of fr

#

but alas

obtuse condor
reef oxide
#

boo

#

italy still changes colour after peace deal

obtuse condor
faint lichen
#

how would I update states from a pre-NSB mod to work in current game version?

pale sparrow
#

Anything put into new states you remove from the originals basically

faint lichen
#

ok thanks

#

I just remake them basically?

pallid bridge
#

Is there any mod for Focus trees?

gaunt forum
#

i feel like there are quite a few mods involving focus trees youre gonna have to be more specific than that

grim tendon
#

Lmao