#modding

1 messages · Page 4 of 1

fringe sierra
#

I just buy cus of the prices

#

£15 is one dlc and there is £3 or £4

obtuse condor
#

I need to know how to add factories with focuses

sacred meteor
#

does anybody know a mod similar to millennium dawn but simpler?

obtuse condor
#

What is the generic communist revolutionary advisor token?

wind plume
#

anyone know a real korean war mod?? without having to make my own i am no good with modding

fathom mango
#

when you make a leader for a country, do you need to do anything aside from making the directory and name in history/country and portrait in gfx/leaders? like in localisation?

strong wedge
#

is there a way for a nation tag to get "inherited" another nation tags companies if they do xyz things or do you have to just manually add each and every companies for each tags.

trim glacier
#

is it recommended to use the hoi4 modding website or is it better in the long term to code yourself?

obtuse condor
#

It’s ’democratic’ not ’democracy’. Also, it’s ’has_government’ not ’has_ruling_party’.

pastel badge
#

Is there a mod where countries don't join factions and call everyone into the war when you declare on them

#

Like im playing germany, beat the soviets then I declare war on finland and join the chinese united front
Then finland calls everyone into the war and I have to deal with attrition in chinese territory for the rest of my days and its annoying af

#

This happens all the time

edgy solar
#

and disband all factions

#

or remove guarantees all together

pastel badge
#

make it non historical

#

germany fighting the allies alone, japan fighting china, not the chinese united front

#

wouldn't even be a allies, just the UK and germany

edgy solar
#

i mean there are a few things you could fiddle with but other than those two options im not too sure if there's anything that can be done

pastel badge
#

Maybe a mod that increases tension in joining a faction if they're at war

stiff widget
fallow matrix
#

¯_(ツ)_/¯

stiff widget
fallow matrix
#

Well I said that with uncertainty since I don't know alot of HOI4 modding

stiff widget
#

😐

obtuse condor
#

so, the correct thing here would be 'has_government = democratic'

serene sphinx
#

im calling the police

stiff widget
serene sphinx
#

OH THANK GOD

stiff widget
#

i would call Anonymous if it would be true

stiff widget
#

how to change the name of a country through a national focus

obtuse condor
#

how to give civs in a focus? I know how to do mils idk how the civ part changes it tho

stiff widget
#

wdym

#

and how to make custom tags in national focus then

obtuse condor
#

if = {
limit = { has_full_control_of_state = 112 }
112 = {
add_extra_state_shared_building_slots = 1
add_building_construction = {
type = arms_factory
level = 1
instant_build = yes
}
}
}

slender brook
obtuse condor
obtuse condor
#

how to change amount?

slender brook
slender brook
obtuse condor
stiff widget
slender brook
#

It does not change the actual tag, just makes it so you can change the name

#

Like this: KFP_interlude_tag_fascism:0 "Australian Empire"

stiff widget
#

uhhhhhh

#

ok

slender brook
#

Yeah so basically you just set a cosmetic tag and then define the names in localisation

obtuse condor
#

How can I make the leader of a country become the leader of the country that is on the aggressor side of the civil war? Both with the same ideology.

gloomy canyon
#

hey, why dont i have the sniper symbol over the warhead?

#

or next to it

twilit flint
#

Does anyone knows what causes this error ?[17:19:43][railway_manager.cpp:95]: Railway level > NDefines::NSupply::MAX_RAILWAY_LEVEL (province 4964, neighbor index 4, level 10021) [17:19:43][railway_manager.cpp:95]: Railway level > NDefines::NSupply::MAX_RAILWAY_LEVEL (province 8059, neighbor index 0, level 10021)

south folio
median summit
#

guys i made new tech folder. and i tried to add new techs, but it didn't work. anybody know how to add new techs?

ocean onyx
#

can you make a hoi4 map with a hight map?

buoyant dove
#

What?

pallid lotus
#

What do you think about this map?

reef oxide
#

Sure

obtuse condor
stiff widget
raw rampart
#

Guys any advices of how to make more or less interesting focus tree?

obtuse condor
raw rampart
obtuse condor
raw rampart
buoyant dove
#

And not just +15% stability +150 political power

#

There is also a design philosophy

#

One sec

raw rampart
raw rampart
# buoyant dove

And do u suggest to use hoi4modding or type code yourself?

#

One last question

buoyant dove
#

and it is also generalyl better to learn how it works

#

You can use draw.io if you want to plan but some find it easier to code directory

raw rampart
slender brook
slender brook
#

This will allow you to manipulate how long it actually takes to get through it

#

The biggest example is the Soviet tree, which I love. It’s absolutely ginormous but because of the plentitude of 35 day focuses it doesn’t actually feel that long

raw rampart
#

Thanks for the suggestion too

obtuse condor
#

yall actually visualize focus tree's? some of mine are so bad their even in the wrong order

slender brook
#

I do visualise focus trees exactly for that reason

obtuse condor
#

I will fix it eventually

#

when I finish the starter german tree

slender brook
#

It also means I can change focuses or even entire paths without rewriting whole chunks of code

obtuse condor
#

well good for you

#

im going back to notepad++ hell

slender brook
#

You don’t even use VSC

obtuse condor
slender brook
#

Visual Studio Code

obtuse condor
#

vizulized code studi

obtuse condor
#

that

slender brook
#

It’s basically an industry standard

obtuse condor
#

no I was raised by tutorials on notepadd ++

slender brook
#

They’re barely different in terms of usage one just is a lot cleaner and VSC has very useful extensions

slender brook
#

Yeah so does VSC

obtuse condor
slender brook
#

You think find and replace is unique

#

VSC also has Regex find

obtuse condor
slender brook
#

Well I’m pretty sure it does but also Notepad sucks

#

I genuinely can’t think of a single application where you read things that doesn’t have a search

obtuse condor
#

I have vsc installed

slender brook
#

Yeah I just prefer it way over Notepad++ because of its sleeker design

#

And also extensionso

floral epoch
#

Which flag mod is the best? (has the most realistic flags)

obtuse condor
#

how to trigger event with focus

floral epoch
#

I especially hate things like communist Poland getting made up red-orange flag with hammer and sickle, when historically it just used normal one.

slender brook
obtuse condor
#

didnt work

#

wait

#

nvm I figured it out

#

nvm

#

still dosent work

slender brook
#

Have you checked the wiki’s effect page yet

obtuse condor
#

now am

#

help

#

How do you make option box's bigger

slender brook
#

I don’t think you do

#

Without serious GUI modding

obtuse condor
#

A

#

time to comit sadness

stuck mist
#

Just shorten the option text?

thin chasm
#

Yeah, less is more

coarse cloud
#

Hello where can I find SPanish Empire era mod?

slender brook
#

The Spanish empire spanned several centuries so that’s not much of a help

robust plover
#

Does anyone have a guide on how to change country borders for a mod?

sacred meteor
#

check out iron workshop

#

he has a video on that stuff

proper igloo
#

Any 1776 mod packs ?

queen sorrel
#

Can you use R56 focus icons in your own mods?

pale sparrow
#

@Abbus#5887 does the permission

slender brook
#

You did, Discord mobile bugged out

pale sparrow
#

bongocat I sent Yuri

humble pagoda
#

hey so I'm new to the game and I was wondering how can I enable mods

pale sparrow
#

You put them in your selected playlist in the launcher

queen sorrel
pale sparrow
#

He is in here but cant get the ping to work

humble pagoda
pale sparrow
#

Playlist tab in the launcher

#

The selected one/selection is visible on the default screen

humble pagoda
#

ok thanks

#

it worked

pale sparrow
celest dust
#

Nothing

#

You could always cheat in Ironman

obtuse condor
#

You can only open the console if ironman is off

celest dust
lost grotto
#

Actually good Czechoslovak focus tree?

kind spindle
#

im thinking of doing a kaiserreich game. any nations reccomended for first game?

obtuse condor
#

is anyone a mod maker?

obtuse condor
obtuse condor
#

how to fix those?

minor hazel
obtuse condor
#

Cool

minor hazel
#

You dont need to use Old World Blues with it either, i just have it as a thingy cus thematics

obtuse condor
#

That what I need

obtuse condor
minor hazel
#

Whats there is probably all thats getting added tho, since well, it has basically every song aside from the classical ones

red leaf
#

rat

obtuse condor
#

What's the best Cold War mod out there?

celest dust
celest dust
obtuse condor
#

Does anybody know where the file in which commanders/generals are given skill levels is?

slender brook
#

If you mean the actual game function of them leveling up, no. That is a core game feature

#

It cannot be changed

obtuse condor
#

I dunno if this is the place to ask this but which is the biggest HOI4 mod by size?

slender brook
obtuse condor
slender brook
#

Probably over 5gb I’d say

#

But that’s more of a logistical issue. If you’re going to like 10gb, that’s probably where it becomes unstable

obtuse condor
slender brook
#

Which is why many mods split the music off

obtuse condor
cedar mauve
#

ive heard that graphical mods like fps map dont require to be installed by another person to play, is this true?
eg: i can have fps map installed and play (lets say) road to 56, but the other people do not need to have fps map?

elder saddle
#

Any mods which nerf germany and ussr for multiplayer?

alpine warren
#

Ya single player

#

Most historical mods buff both of them

humble cedar
#

anyone want some random flags i have created?

#

(this messege is targeted towards people who like creating mods)

gritty forum
#

hello everyone ,how i can start to modding?

obtuse condor
#

How to mod 😳

pallid lotus
#

Guys

#

Quick question!

#

Does here exist some effect to make state impassable?

#

Like set_impassable = yes

gritty forum
#

yep how make mods

pale sparrow
#

read the wiki, other mods, the game files

gritty forum
#

Ok start from there

shell hawk
#

First national spirit is
King Ghazi I
Popular king
25% stability
Nazi sympathiser
+0.10 fascist support

Second national spirit is
British oil monopoly
-70% oil production
+0.10 communist support

Third national spirit is
Only democracy in Arabia

  • 1.00 democratic support
  • 10 USA opinion

Fourth national spirit is
Mr five percent
-5% oil production
+0.10 fascist support

Fifth national spirit is
Treaty of Lausanne
-25 turkey opinion
Last until 2023

Sixth national spirit is
Al Barazani get aid from the USSR
-5% stability
+0.10 communist support

cursive wigeon
#

how fix

median summit
#

any body know modding well? plz help me

slender brook
median summit
#

@slender brook thanks!! i'm making tech expanded sub mod of world ablaze.
i made new tech folder one. but i when i added techs, that techs didn't appear. i can't understand what happen

slender brook
#

Techs also need a secondary section to be shown, I believe

median summit
#

technologies = {

new_infantry_weapons_0 = {

    
    path = {
        leads_to_tech = new_infantry_weapons_1 
        research_cost_coeff = 1
    }


    research_cost = 1.5
    start_year = 1952
    folder = {
        name = new_infantry_folder
        position = { x = 0 y = 6 }
    }

    categories = {            
        infantry_weapons
    }

    ai_will_do = {
        factor = 1

        modifier = {
            factor = 30
            date > "1961.1.1"
        }

        modifier = {
            factor = 30
            date > "1963.1.1"
        }

        modifier = {
            factor = 30
            date > "1964.1.1"
        }
    }
}


new_infantry_weapons_1  = {

    enable_equipments = {
        new_inf_10
    }    

    path = {
        leads_to_tech = new_infantry_weapons_upgrade_2
        research_cost_coeff = 1
    }


    research_cost = 1.5
    start_year = 1960
    folder = {
        name = new_infantry_folder
        position = { x = 2 y = 6 }
    }

    categories = {            
        infantry_weapons
    }

    ai_will_do = {
        factor = 1

        modifier = {
            factor = 30
            date > "1961.1.1"
        }

        modifier = {
            factor = 30
            date > "1963.1.1"
        }

        modifier = {
            factor = 30
            date > "1964.1.1"
        }
    }
}

}

slender brook
#

iirc, the technology folder only establishes that the technology exists, not whether it is visible and usable

#

Oh actually no I'm wrong

median summit
#

i used vs studio code(hoi4 ulitlite) than like this

#

folder anme is

#

name is

#

new_infantry

slender brook
#

The file path should be common/technologies

#

Here is one of my examples

median summit
#

what's that blue? i can't understand what happen

slender brook
#

I don't understand anything on the right side of the image tbh

#

Anyways, are you able to get technologies through commands?

#

Essentially, do the techs exist but aren't shown, or do they not exist

median summit
#

use by command?

#

i'm gonna test it

#

on my tech, i can use new infantry weapon

#

so if i use 'research all'

#

than i can know that my tech is exist

#

i will test it

#

oh

#

i can found my new tech-weapon

#

@slender brook

#

i can find it

slender brook
#

Ok so basically this suggests that the tech cannot be seen

median summit
#

than it is exist

#

yes

#

dman!

#

and one more strange thing

slender brook
#

0, 0 is probably a bad place
Put it in like 10 10 or something

median summit
#

if i make

#

my txt file like this,

#

technologies = {

new_infantry_weapons_1  = {

    enable_equipments = {
        new_inf_10
    }    

    path = {
        leads_to_tech = new_infantry_weapons_upgrade_2
        research_cost_coeff = 1
    }


    research_cost = 1.5
    start_year = 1960
    folder = {
        name = new_infantry_folder
        position = { x = 2 y = 6 }
    }

    categories = {            
        infantry_weapons
    }

    ai_will_do = {
        factor = 1

        modifier = {
            factor = 30
            date > "1961.1.1"
        }

        modifier = {
            factor = 30
            date > "1963.1.1"
        }

        modifier = {
            factor = 30
            date > "1964.1.1"
        }
    }
}

}

#

than,

#

i can see my new tech

#

but i made new techs up or down from here,

#

all my new techs are gone

#

can't see them

slender brook
#

Elaborate, show the code for the other ones

#

Also surround code with ```

median summit
#

in this file,

#

i can see my new tech

#

but if i made more new techs from this,

#

than all my techs can't see

slender brook
#

I still don't really understand what you are saying but I will try to diagnose this

#

Can you show me an example of you trying to make more techs from it?

#

My thinking is that you're closing technologies, even though new techs in the same file should use the same block

median summit
#

that new techs from new folder is this is all

#

other techs are made on already exist folder

#

so i can use it

slender brook
#

Uh... I still don't really get it but you should be putting all of these in the same file

median summit
#

same file?

#

ohhh

#

cause

#

there is a reason

#

in world ablaze mod

#

in major nation

#

got all different techs

#

so if i add my new techs on origianl mod's files,

#

if i add 1 1960 infantry techs,

#

than i have to work on 6 txt files.(ger sov usa eng fra ita jap)

#

it is so hard

#

so i plan to

#

make

#

one

#

new tech folder

#

but is is hard..

slender brook
#

Oh I get it now

#

Ok so you say that implementing the second file causes the technologies in the first file not to appear?

median summit
#

ohh wait i use transraotr

#

that

#

second file

#

is starnge

#

on that file,

#

i can see my new tech

#

new 1960 weapon

#

yeah that's good

#

but

#

on that second ifle

#

file

#

i add new techs?

#

than

#

all techs

#

gone

#

??? omg

slender brook
#

Interesting, that sounds like an issue with brackets. Can you send me an example of your code breaking like that?

median summit
#

oh that's all

#

that files

#

are all

#

that is my first new-folder techs

slender brook
#

Alright I think a lot is getting lost in translation. What is your native language? I will try to see if anyone on the HOI4 Modding Server speaks that

#

Even better, I

#

'll get a link to the modding server

#

Hold on am I allowed to post server links here

#

That would be a no

buoyant dove
#

Which Hoi4 modding server

#

There are a few

modern anvil
#

I have a bit of a weird question

#

If a mod were to, say, add ways of going beyond the maximum possible vanilla initiative

#

What would happen to coordination

#

Can coordination be negative?

bitter shore
#

are there any mods that increases AI's IQ without being incompatiable with most of the mods

#

I want to play Kaiserreich with a smarter ai

#

every time I just roll over my enemies

obtuse condor
#

thats not an easy thing to do, mods like expert ai are very limited with compatiblity

obtuse condor
#

Hey I need help

#

Im trying to make my own building using bunkers template but idk how to change its effects

obtuse condor
#

anyone?

fallow matrix
pallid lotus
#

Guys I have created a custom map. But game immediately crash when I or ai create any division. Help pls

obtuse condor
#

this doesn't help

fallow matrix
#

Ok

obtuse condor
#

im using the building tutorial in it

#

but they dont cover how to change effects from what I see

fallow matrix
#

But wdym bunkers?

obtuse condor
fallow matrix
#

Ah

obtuse condor
fallow matrix
#

And you want to add forts that have state effects?

obtuse condor
#

ye but dont give deffence

#

so basically forts but they give orgs

fallow matrix
#

You’d have to make a new variable

obtuse condor
#

but how do I remove the deffence

fallow matrix
#

Land_fort = 1?

#

I suppose

obtuse condor
#

I will look into it

#

no isnt that

hexed wigeon
#

Where is Napoleon VI's portrait stored?

fallow matrix
#

GFX

hexed wigeon
#

I can't seem to find it in gfx leaders FRA

fallow matrix
#

a

#

Does debug not show portrait

hexed wigeon
#

I am not in the game?

fallow matrix
#

it doesn't

hexed wigeon
#

I'm trying to repalce it?

fallow matrix
#

2s

hexed wigeon
fallow matrix
#

portraits_fra_napoleon_vi.dds is its name

#

But I can't seem to find it with ctrl F

obtuse condor
#

im using a old fort mod to crack it open but its...confusing

hexed wigeon
#

so it doesn't exist?

obtuse condor
fallow matrix
obtuse condor
fallow matrix
fallow matrix
#

or will the game otherwise break?

obtuse condor
#

idk

#

I salvaged it from a imporved forts mod

fallow matrix
#

ok anyway

#

what is the name of the modifier

#

oh oh

#

nvm

obtuse condor
#

everything in the file exept the modified fort stuff is in the game files itself

hexed wigeon
#

i also can't find

#

the la resistance localization for leaders

#

do you know where that is? @fallow matrix

obtuse condor
hexed wigeon
#

where is it

obtuse condor
hexed wigeon
#

where did they hide napoleon from me

obtuse condor
hexed wigeon
#

okay?

#

where exactly is napoleon VI in localization files?

obtuse condor
#

his name or image?

hexed wigeon
#

his name

#

just his name

#

i want to mod napoleon I as napoleon VI

#

there's only one localisation file for leaders

#

and it's NSB

obtuse condor
#

uh

hexed wigeon
#

and it doesn't have napoleon VI even by his real name

obtuse condor
#

it may be stored in the focus

#

the foucs could be the force creating the leader

hexed wigeon
#

wrong

#

wrong

#

false

#

false

#

incorrect

obtuse condor
#

mk

#

just a sugestion

hexed wigeon
#

it's not in the lar_focus_l)english file

obtuse condor
#

I meant frances forcus tree

#

NOT THE LOCALIZATION FILE

hexed wigeon
#

to alter that

#

that would make my mod

obtuse condor
#

focus tree's have a file

hexed wigeon
#

unable tobe used in MP

#

wouldn't it?

obtuse condor
#

uh no

hexed wigeon
#

as that changes the checksum

obtuse condor
#

alot of mods in mp change focus tree's

hexed wigeon
#

you moron

#

i mean if i use that

#

in a vanilla MP game

#

wouldn't it disallow me to join?

obtuse condor
#

uh

hexed wigeon
#

you're typing

#

why the fuc k are you using uh

obtuse condor
#

maybe? changing just the image and name wouldnt do much but hoi4 is stange

hexed wigeon
#

okay

obtuse condor
hexed wigeon
#

where is the focus tree file

obtuse condor
fallow matrix
#

I don't think it's in localization file

#

it's just here

obtuse condor
fallow matrix
#

that was in the focus file

obtuse condor
#

knew it

#

I guessed that

fallow matrix
#

but where does the game get GFX_portraits_fra_napoleon_vi

#

Also your thing has NBuildings

#

btw

obtuse condor
obtuse condor
fallow matrix
fallow matrix
obtuse condor
obtuse condor
fallow matrix
#

look in your .txt file

fallow matrix
obtuse condor
obtuse condor
fallow matrix
#

not in this case because it's called leaders

fallow matrix
obtuse condor
obtuse condor
#

?

fallow matrix
#

well not there

obtuse condor
fallow matrix
#

@hexed wigeon it's not in a localization file

obtuse condor
hexed wigeon
#

yes

#

i know

#

i found it

fallow matrix
#

where

fallow matrix
obtuse condor
#

hoi4 coding: has Nbuilding: has everything but forts and ports

fallow matrix
#

¯_(ツ)_/¯

obtuse condor
#

wait!

#

I think I found something

#

BASE_FORT_PENALTY = -0.15, -- fort penalty

hexed wigeon
#

yeah

#

it changes the checksum

#

literally cannot change his name without the checksum

obtuse condor
fallow matrix
#

well

obtuse condor
#

what would be a good building to copy off to make into a org improving building

fallow matrix
#

Just change the name of the fort

#

like

obtuse condor
#

I did

#

I just did

fallow matrix
#

send me your 0_buildings.txt

#

or wherever it's located

obtuse condor
fallow matrix
#

what is cable network

obtuse condor
fallow matrix
#

and fyi put the new things in a seperate file

#

not in 00_buildings

obtuse condor
#

ah

#

k

#

the tutorial i was following did

obtuse condor
# obtuse condor

I only got to this code part I havent done the art or anything so it crashes

fallow matrix
#

is the cable network the modded fort?

obtuse condor
fallow matrix
#

I think the reason for the crash is because of cable_connection

obtuse condor
#

?

fallow matrix
#

load it in -debug mode

obtuse condor
#

k

#

[19:58:50][persistent.cpp:48]: Error: "Unknown modifier: cable_conection, near line: 16" in file: "common/buildings/00_buildings.txt" near line: 16

fallow matrix
#

see

obtuse condor
#

so

fallow matrix
#

doesn't know what cable connection is

obtuse condor
#

cable_conection = 1 this?

#

how do I code it into a org buff?

fallow matrix
#

I'm stuck aswell

obtuse condor
#

im gonna also ask another modding community

fallow matrix
#

I tried

#

remove land_fort = 1 from the file

obtuse condor
#

but I wouldnt be able to add a buff

fallow matrix
#

Yeah I don't know what to do

#

try reverse engineering Road to 56

obtuse condor
#

have you seen how big it is

#

Thats a job for a morning me

#

ima try shot wiring it

#

like in a new file do cable_connection = { org buff I can find }

fallow matrix
#

Rt56 won't be of help anyway
it uses local_resources_

obtuse condor
#

ah

fallow matrix
#

Millenium dawn ik uses buildings

obtuse condor
#

im

#

im going to bed

fallow matrix
#

Sleep well

obtuse condor
#

this is morning me's problems

#

it midnight

#

im tired

#

im delaying mods release fricvk it

#

adios

distant saddle
#

Lesitia (my furry sci fi mod) air tech tree ^^

fallow matrix
#

You’re mad

distant saddle
prisma relic
#

💀

prisma relic
#

Then again loumania is in progress

#

Ah it's going to be the most cursed mod

#

I'm just a moderater on Lou's server an not a dev for him

prisma relic
#

The potato empire should give it away

#

🤣

#

It's so crappy that it's funny

lean wraith
#

any hoi4 modding communities I can join? feel free to DM me a invite if you cant send invites here.

obtuse condor
keen pagoda
#

is there a mod that lets democratic nations justify wargoals regardless of wt?

fluid steppe
#

Pretty sure there's a game rule, that can do that

pale sparrow
#

yes

fallow matrix
obtuse condor
#

Y’know, where the .gfx folders are stored

fallow matrix
#

Hmm good idea

#

But they guy wanted to change the name not the picture

#

So ig it doesn’t matter anymore

obtuse condor
#

Ah, i see.

obtuse condor
#

internet_support = 1. im modding a building and trying to make this line a org buff so troops in those states get better org. anyone got an idea on how?

north wave
#

i forgor what it was but if you find it put it at the bottom of your building’s syntax

sand shale
#

any1 have a general experience mod?

obtuse condor
#

broadband_cables = {
show_on_map = 0
base_cost = 1500
icon_frame = 9
disabled_in_dmz = no
max_level = 5 # This is the max unlock level
value = 1
infrastructure_construction_effect = yes
local_org_regain = 0.2
}

obtuse condor
steady siren
#

are there any mods for like pre industrial times

#

like the napoleonic wars and stuff

#

that are any good

#

id love to play a mod where instead of spamming motorized and tanks for speed and attack id need to use cavalry

hasty drum
#

End of a new beginning has that, its still in progress thought. 1850-1885 ish timeframe

pallid lotus
#

Hi

#

Who can help me? When I am trying to choose a general game crashes. I do not understand what have I done wrong.

dense relic
#

how do i make a mod that contains a lot of other mods, juts like scuffed 56 is

true compass
#

how do I make a national spirit that adds a army org and speed bonus?

#

what modifier do i use?

flat brook
#

hello, im making a mod and when i put replace_path in mod_name.mod folder it gets deleted when i launch a launcher, how i can fix it?

queen mesa
#

guys the star wars god always crashes when i lunch the game

#

mod

true compass
#

thank

obtuse condor
#

@queen mesa

obtuse condor
#

Hey what focus tree mod for France would you recommend ? I'm searching the best one

pallid lotus
#

Hello guys

#

Can you help me pls? My game crashes and this is the last message:

#

[unitcontroller.cpp:3476]: Error in front for order group 1-я группа армий

#

How to fix this?

stiff widget
#

i made my first portrait for hoi4

buoyant dove
#

teaser for a thing im working on

bright hedge
#

oooh

stuck mist
buoyant dove
slender brook
#

Very excited to see how it stacks up in terms of code efficiency and such

#

Or just general code unbugginess

pale sparrow
#

looks cool

mighty saffron
#

do the cold war iron curtain soviet focuses change if stalin dies?

obtuse condor
#

does anyone have an extended tech tree mod that doesnt require any dlc

pale sparrow
#

pusheennoodles road to 56? Am surprised theres ones that need DLC

worthy narwhal
#

IRA and AK unit model

keen pagoda
worthy narwhal
#

Thank you

lime fable
#

is there a good renaissance period mod

buoyant dove
keen pagoda
buoyant dove
#

When it’s finished probably

keen pagoda
#

can you give an estimated time?

buoyant dove
#

No idea tbh

keen pagoda
#

alr but its still very cool

slender brook
#

I'll be honest I thought they were asking when the carbomb was being released to the public

worthy narwhal
#

24th of September 2026

fresh oyster
limber sand
#

Hey guys I have a question
Let's say Cuba gets an event to join a faction but I want to reuse that event for other tags, how can I make it so that the tag which receives the event joins the faction and not some pre-defined tag (like CUB, USA, GER etc..)

slender brook
limber sand
#

😐

#

Well thanks anyway :)

slender brook
#

The wiki has a page on it

thin oyster
#

hey can someone tell me what going wrong

#

when i enter the game it's just giving me the generic focus tree

#

how do i make it switch to this focus tree?

#

nvm, it was a problem with the way i had named a folder

carmine rover
#

I am relativity new to hoi4 and am wondering if any of you have any mod recommendations? meow🙏🙏🙏

obtuse condor
wet jay
#

what is the best kaiserreich ish mod? where are like kaiserredux etc. which one is the best one?

#

never played them

carmine rover
obtuse condor
#

Hello! I recently started creating a little submod for OWB. I think I've added pretty much everything but my major problem is that my country doesn't show up 😐
Even tho I activated my mod, replaced the states of the former country (where I place my nation). Can someone please help me ? Thankss

obtuse condor
#

im making a mod rn

#

google paint is hard to understand for me so ill use paint 3D

slender brook
#

I can barely read that which I assume is intentional

obtuse condor
#

the ones that showed up in workshop that are only tech have dlc requirement

pale sparrow
#

pusheennoodles I see

thin oyster
#

hey where can i find perhaps a table of hoi4 modding syntax?

slender brook
thin oyster
#

thanks

chilly field
#

is there a way i can change a countries name and default colour on the map?

buoyant dove
#

and

#

common/countries/colors.txt

chilly field
#

ty

chilly field
#

is it like a path to the file

buoyant dove
#

Path to files

#

Do you know how to make a mod itself?

chilly field
#

yeah

#

i just cant find localisation folder

buoyant dove
#

It should be in the Hearts of Iron IV game folder root

chilly field
#

alr

#

where?

buoyant dove
#

No

#

The game folder itself

chilly field
#

oh

#

found it ty

stuck sierra
#

Hello, im trying to make a new map for HOI4 but the tools i find were not updated for a while, could sombody help me?

obtuse condor
#

How do I make a focus based on another countries ideology
like if a country is fascist how do I make the focus know that and chage the buff to fascist to support
like if they commie give commie support if fascist give fascist support

west kite
cursive wigeon
#

how fix

#

also idk why but great war mod is working for me

west kite
#

Yeah, and check what goverment said tag has

steel ember
#

yo anyone know a modern day mod?

#

(no millenium dawn)

pale sparrow
cursive wigeon
#

did that

pale sparrow
#

accidentally sent too early

cursive wigeon
#

did that too

obtuse condor
#

how do i create my own ideology for my Mod : ''TNO but its actually fun''

pale sparrow
#

in the common folder theres an ideology folder

pale sparrow
obtuse condor
steady dove
#

My mod has 8 ideologies and so most of the ideologies don't fit on the list

#

is there a mod or something that remakes it that I could use or anything else that might help?

steady dove
buoyant dove
#

I feel no mod needs that many

slender brook
#

Considering how basegame groups ideologies, yeah

#

If 90% of them act the same, who cares. People are too obsessed trying to turn HOI4 into a political simulator instead of the war sinulator it is

fathom mango
#

so I'm trying to make division templates for my country, what all do I have to change? I tried to make a units folder in history and put in BEL_1936 and 39 and changed it to my tag to see if it would work and it doesn't seem to, do I have the completely wrong files entirely or smth?

steady dove
buoyant dove
#

No idea probably

#

Still

#

Most of them are useless

steady dove
#

They're all fairly different

buoyant dove
#

Because of how HOI4 handles ideology

steady dove
#

And I have it set so they give extra bonuses

buoyant dove
#

The reason Kaiserreich has 10 ideologies is because previous hoi games did

steady dove
#

Most TC mods have like that much

#

with some exceptions like GW

#

I could remove maybe like one

obtuse condor
#

Where did you buy the game?

slender brook
#

On most stores you should be able to use Paradox Mods

uneven quest
#

someone

slender brook
uneven quest
#

im trying to play

#

kaisereich

#

and when i start up the game

#

i get this pop up

slender brook
#

Is that the only mod you have enabled?

uneven quest
#

but i played r to 56 just fine

uneven quest
slender brook
#

Hmm. Ever messed with the nudger tool?

#

Actually nevermind

uneven quest
#

whats that

slender brook
#

No need to know, I recommend doing a full reinstall.

uneven quest
#

full reinstall of the mod

#

right

slender brook
#

Go to where your HOI4 is

#

Actually wait

#

Go to the drive your HOI4 is downloaded on, go to the steam folder, go to that folder

uneven quest
#

ok

slender brook
#

Paradox's official mod platform

#

Did you download the .zip files or add it directly to your Paradox Account

#

Alright so go to here

#

Wait no

#

Copy the zip file

#

Then go to there

#

And then I think you unzip the file

#

Huh. No, you have to put those into another folder

#

I'll be honest, I'm not sure on any of this because I don't use Paradox Mods

slender brook
#

Alright, I'll try and find a resource that says the proper way then

#

It says here you can download automatically from Paradox Mods

#

Ok so on Paradox Mods, login to the same Paradox account you're logged into on the Paradox Launcher.
Then, click add mods instead of download

#

Hmm. Then I don't know why it wouldn't work thne

molten sand
#

did anyone know mods that let you have random event?

#

ive seen some content from isorrowproductions but cant remember the mods name

steel ember
honest eagle
#

Quite literally our that into the steam search

#

Oh yeah it’s called Millenium Dawn

fathom mango
#

ok i really need help here because i've already asked and i am yet to get an answer, the iron workshop video is outdated and I don't know what to do, I'm trying to make division templates for my benelux mod (holland, belgium, luxembourg and the rhine as one country) and I copied the BEL_1936 and 39 over to my history/units folder, it didn't do anything so I put the division names thing in common and it still won't work

#

followed exactly what he did in the tutorial yet nothing I'm doing is working

#

nothing else comes up, the only thing i can find online is how to design new ones in playthroughs or that stupid outdated tutorial

#

its pissing me off

honest eagle
#

Press show decommissioned templates

steady dove
fathom mango
honest eagle
#

Huh

fathom mango
#

i can get basically no army at the start of the game without using a mod to give myself the xp to make a template

honest eagle
#

You are 100% sure you did everything right?

fathom mango
#
  1. created a history>units folder
  2. copied bel_1936 and 1939 in there, changed bel to dut (the tag i'm using)
  3. (tried both not doing this and doing this) changed the bel to dut in the files using find and replace
  4. copied common>units into my mod, went to names_divisions and made a second bel_names_divisions and renamed it to dut_names_divisions, changed bel to dut inside of that text doc
#

that's what the tutorial did but nothing is working

#

all the tutorial did was copy the 1936 text doc into history>units and it immediately came up, i don't know what i'm doing wrong

#

but i can't keep working on my mod until i fix this and by the looks of things nothing useful is gonna come up

#

i've searched youtube and google and the only things that came up were unrelated or outdated

#

this is pretty much my last resort since there's nowhere else to look

#

i have found one thing though, the name on this doesn't match the one in the other file, could that be it?

#

if this isn't it i'm just gonna stop working on the mod, i can't move on to anything else until i figure this out and i've already dumped more time into this one issue than it would take to just start over

astral lake
#

Are you loading oob in that countries history as well?

wind sage
#

Could someone help me with a desicion?
I literally have no Idea.

If there are 69 people who support you in the parliament, you could click a desicion, which will complete a focus.

  1. You click a decision
  2. You click on focus branch via decision (say, economy)
  3. You see all possible focuses to be completed
  4. You select it
fathom mango
astral lake
#

You need to do like oob = “DUT_1936” in the DUT - Benelux

#

Have a look in another countries history file to compare

fathom mango
#

ahh ty

#

this good?

#

i compared it to the one on afghanistan and it matches pretty well

#

just my luck, did absolutely nothing

#

this game can be really fun sometimes but other times it just makes you want to die

astral lake
#

Sorry cant be much help since on phone

limpid moss
#

The fact you cannot make or manage concentration camps when playing germany or gulags/laogai with communist is kinda underwhelming, is there a mod for that?

fathom mango
#

what the hell

buoyant dove
fathom mango
#

wym

stuck mist
#

So if there was a mod for it they'd be taken down

fathom mango
#

and plus who the hell would make a mod for that

#

even for historical purposes it's just... why

fathom mango
#

modding this game is so difficult when the only tutorials are 4 years old

#

i can't do anything with research trees or division template modding

median socket
#

If you want to join, help, or ask about a new alternate history mod, let me know

stuck mist
#

Most of them aren't 4 years old?

#

Just use the wiki and base game files, and even if they're old they mostly still apply anyways

#

This game is one of the easiest to mod, and if you need help there's here and the dedicated modding servers (which are way better since it's not a single channel mess)

slender brook
#

Yeah this is way easier than Lua

south folio
fathom mango
south folio
#

yes

fathom mango
#

everything else works fine but my templates don't show up

stuck mist
fathom mango
#

ah alright, thanks, i'll head to one of them in a bit when i'm trying to fix it again

buoyant dove
buoyant dove
#

lol

obtuse condor
#

does the GFX team of hearts of iron have a NSB style guide

#

all the guides i have aren't NSB

buoyant dove
#

Yes

stray nymph
#

Hello my friends

#

so, I have free time, I want to learn how to deal with mods, where I need to start? 🤔

cursive wigeon
#

how fix

cursive wigeon
#

if this helps it only happens after i download da patch

#

YOO IDK WHY BUT IT WORKS

#

hey i played it and it didnt work (is it because its not the right version?)

median socket
slender brook
# median socket Can anyone explain or help me with the map errors

Central Slovakia is duplicated at some point. I assume this is a nudger thing. Delete the history/states folder at Documents/Paradox Interactive/Hearts of Iron 4. The other map errors are because you haven’t done nudger stuff. Not sure how to explain because I don’t do many changes on game start

slender brook
stray nymph
#

thanks

wind sage
#

Apart from The Iron Workshop

slender brook
#

The Coop

vagrant warren
#

help i just started trying to make a mod 2 hours ago and im stuck with a problem

#

everytime i want to open the game with the mod enabled it says "the system cannot find the path specified" and it opens an empty notepad

slender brook
winged heron
#

Including their needed data

low halo
#

Guys, Is there any Mod Advertisment Channel / Website for HoI4 Mods? As i currently have Tons of Mod Idea's but i dont have Good Times at Modding, So i need a Project Manager and Dev's, to do the Main Things for me.

#

or would anyone be Interested?

stuck mist
stuck mist
low halo
vagrant warren
stuck mist
#

If you're mod does not have a path directing the game to your mod files, of course it wouldn't load

pale sparrow
restive gull
#

can you reduce loading time of cold war the iron curtain mod? or is it just how it is

pale sparrow
#

it just is that terribly slow

#

in general it helps if you loaded the same playset before

restive gull
halcyon estuary
#

guys how do you like my italy focus tree rework

stray mortar
bright hedge
#

small but sweet

halcyon estuary
#

its bba italy focus tree remastered

#

dont care about focus, just fight

obtuse condor
#

Is there a new modern day mod that i dont need to change my game version for as the millenium dawn is outdated

lean void
#

does anyone know why kaiserredux doesn't have the custom radio songs anymore?

tepid egret
halcyon portal
#

Guys I have a question, how do you make a custom animated leader portrait?

obtuse condor
halcyon portal
#

I’m the dds file?

#

In the dds file*

tidal gorge
#

What r the best mods

#

I like MD but thats all ive played

halcyon portal
#

Road to 56 if you want a enhanced vanilla experience

#

End of a New Beggining is good if your computer is good enough to handle and you like a more political driven game

#

Colonial Expansion mod is simple and fun if you like conquering stuff

tidal gorge
#

Thanks

tidal gorge
#

And the others but that sounds the best

halcyon portal
#

no problem

slender brook
halcyon portal
#

ok... im not sure if it is a thing

#

my friend was just curious

slender brook
#

Oh wait

#

OWB has it

#

Moctezuma has it in OWB

halcyon portal
#

old world blues?

slender brook
#

Yes

halcyon portal
#

is that mod super fun?, i took a look at it and im not sure if my computer could handle all those nations

#

ive heard lots of good stuff about it

slender brook
#

IT is very fun

#

Also I meant Tlaloc but I think all of the robot Mexicans have animated portraits

halcyon portal
#

ok thx

#

time for some digging

#

im new to modding so we'll see how it goes...

slender brook
#

I'm not sure if you can just plug it in and it works, though it's worth a try

halcyon portal
#

i doubt that... but yea

#

ill try

#

im making like a great empires mod where a whole bunch of superpowers are all in one map together

slender brook
#

I see. But technically if everyone is a superpower no one is

halcyon portal
#

also would you happen to know how to remove the 1939 start date

slender brook
#

Yeah I think so

#

I think you'd overwrite the folder and not replace the bookm,ark

#

But for now I think you just don't worry about stuff like that

#

No one plays 1939 start anyway

halcyon portal
#

ok

#

thx

spiral cradle
#

1939 trash

desert oxide
#

can someone send me provinces.bmp file of the road to 56

coral salmon
#

Does anyone know how I can get the party popularity as a variable?
I tried this:

if = {
check_variable = { party_popularity@ruling_party > 0.85 }
}

but it doesnt seem to work

median socket
#

For some reason all the colors of the nations are very bizarre after I changed a few colors any idea why?

slender scroll
#

if you've done programming before, think of the limit as the conditions that go into the if statement

#

this would be the same as doing if(party_popularity@ruling_party > 0.85) in a conventional language

#

this should work out for you

#

if not, then it is a problem with the rest of the mechanic

uneven quest
#

help please

coral salmon
slender scroll
#

you can set is_triggered_only = yes in the event

#

so that its only triggered by the console

#

so that you can test

#

and then you can add triggers and mean_time_to_happen

coral salmon
#

Awesome! Ill check that and see if that works! Thanks

slender scroll
#

👍

coral salmon
#

Hmm, I don't think the events pop up at all now

#
is_triggered_only = yes
    mean_time_to_happen = { days = 4 }
    
    immediate = { log = "[GetDateText]: [Root.GetName] ([Root.GetTag]): event TRlegitimacy.1" }
    
    trigger = {
        if = {
            limit = {
                check_variable = { var = party_popularity@ruling_party > 0.85 }
            }
        }
    }
#

Essentially, an event will cycle every 4 days if the trigger is met - Ruling Party Pop. which will determine the legitimacy of a nation's government

#

Resulting in buffs or debuffs to that nation depending on its ruling party pop

slender scroll
#

did you trigger the event through the console?

coral salmon
#

Does it not automatically get triggered by the party popularity?

#

if not; then no

slender scroll
#

nope, is_triggered_only makes it so that it triggers only by the console or by something like a decision

coral salmon
#

How would I make it cycle every few days and determine if conditions are met?

slender scroll
#

try putting the trigger above the mean_time

#

and remove the the is_triggered_only

#

and test that

coral salmon
#
country_event = {
    id = TRlegitimacy.1
    title = TRlegitimacy.1.t
    desc = TRlegitimacy.1.desc
    picture = GFX_report_event_generic_rally_3
    
    trigger = {
        if = {
            limit = {
                check_variable = { var = party_popularity@ruling_party > 0.85 }
            }
        }
    }
    
    mean_time_to_happen = { days = 4 }
#

Like this?

slender scroll
#

yes

shy obsidian
#

Severely

coral salmon
#

Would you know a more optimal way to do this?

shy obsidian
#

Having no mean time to happen

coral salmon
#

How would I cycle an event then

shy obsidian
#

What are you trying to do with this event?

#

When party popularity reaches a certain number it triggers the event?

coral salmon
#

Essentially. Theres a good few different events

shy obsidian
#

Put it in on actions

#

To trigger the event if you reach that popularity

coral salmon
shy obsidian
#

Make it an on_weekly and that way it might not happen immediately

coral salmon
#

could you make a mockup of what you mean by that?

#

Ideas - Normal by default

#

Based on the popularity of the ruling party; the legitimacy value will change

#

85%+ is very good legitimacy, <10 is Disaster, etc

shy obsidian
#
on_actions = {     
    on_weekly = { 
        effect = {
            if = {
                limit = {
                    check_variable = { party_popularity@ruling_party > 0.85 }
                }
                country_event = TRlegitimacy.1
            }
        }
    }
}
#

Tbh it shouldn't be an event it should just change the ideas in on_actions but I will let you figure it out

coral salmon
#

I made this up

#

Should I remove ROOT?

shy obsidian
#

on_weekly already runs on every country

#

You don't need root

coral salmon
#

Amazing.

shy obsidian
#

Its better to instead of what you are doing

coral salmon
#

If I can do it this way, I assume its most preferable

shy obsidian
#

Remove the ideas inside of the if

#

That it is not keeping

#

And add the idea like you are doing

coral salmon
#

?

shy obsidian
#

So it removes all the ideas and then adds the new idea in the if

coral salmon
#

I'm removing all ideas relating to it then adding it on if it meets the requirements

shy obsidian
#

Rather than removing all the ideas at the beginning

coral salmon
#

oh. I'll do it and see if i got it right

#
on_weekly = {
        effect = {
            if = {
                limit = {
                    check_variable = { var = party_popularity@ruling_party > 0.849 }
                }
                remove_ideas = {
                    disaster_legitimacy
                    very_low_legitimacy
                    low_legitimacy
                    normal_legitimacy
                    good_legitimacy
                }
                add_ideas = very_good_legitimacy
            }
#

Similar to that?

shy obsidian
#

YEs

#

Why are you putting var = in check_variable?

coral salmon
#

I saw it on the variables thread

#

Is it not required?

shy obsidian
#

No

#

Its probably not updated

#

Most of the wikis are not updated

coral salmon
#

Alrighty, changed made and testing now

#

😭 It works Perfectly! Thank you so much

#

Well; mostly! Doesn't seem to like going above low_legitimacy, but ill mess around and see what i can do

wheat topaz
#

Is there a mod similar to national ideas greater possibilities other than the 100 pp ones? Since the 100 pp ones make the ai not change eco law or conscription from what i have seen so far

shy obsidian
#

You need to do else_if

#

Instead of if limit

#

So that if it doesn't fulfill the conditions it goes to the next if limit

coral salmon
#

could you put that into a code so i can see how you mean?

shy obsidian
#
on_weekly = {
        effect = {
            else_if = {
                limit = {
                    check_variable = { var = party_popularity@ruling_party > 0.849 }
                }
                remove_ideas = {
                    disaster_legitimacy
                    very_low_legitimacy
                    low_legitimacy
                    normal_legitimacy
                    good_legitimacy
                }
                add_ideas = very_good_legitimacy
            }
coral salmon
#

You want me to replace all the if statements with else_if?

shy obsidian
#

Except the first one yes

coral salmon
#

including the single variable ones?

#

1st and last are only 1 variable

shy obsidian
#

Yes

#

The first one is an if

#

the rest are an else_if

coral salmon
#

Alrighty, done that and going to test

#

Perfect 😄

#

Thank you so much! seems to fully work!

pale sparrow
#

thats not the format that file follows

#

it should be "WW1.mod" by default since the folder name and mod file name are the same by default

vagrant citrus
#

anyone know how i can track ticks per minute

thin owl
#

what is the code to switch to another tag?

bitter cargo
#

I do not know where to report this but I believe that scuffed 56 is broken right now but I'm not sure if anyone else has the same problem

native notch
#

Hello everyone, I'm starting to play and I'm trying to play with "Mod" but it doesn't stay in my language "Portugues_br" wouldn't it have that language? Ex: the road to 56

spare valve
#

Someone want help test mods