#modding

1 messages · Page 69 of 1

hollow rover
#

i used a different template and it works now

desert current
#

i think manpower you canjust put in history folder and in your countries file just type add_manpower = { 50000 }

desert current
hollow rover
desert current
#

brackets are super annoying but the thing that makes things work

alpine bluff
#

thats a good thing because now guiana is more holy

desert current
#

make sure its in your country file

hollow rover
desert current
#

u put it in traits

#

take it out make it an independent variable

#

did u reload game?

#

if it isnt add_manpower than it may be set_manpower, manpower

#

if none of that works

#

just make a idea

hollow rover
#

focus = {
id = RHZ_F_dohoda
icon = GFX_focus_hol_the_foundations_of_defense
x = 0
y = 1
relative_position_id = RHZ_F

    prerequisite = { RHZ_F }
    cost = 5

    ai_will_do = {
        factor = 30
        modifier = {
            factor = {
        }
    }

    available = {
    
    }
    
    bypass = {

    }

    cancel_if_invalid = yes
    continue_if_invalid = no
    available_if_capitulated = yes
    search_filters = { FOCUS_FILTER_POLITICAL }

    completion_reward = {
        add_political_power = 120
    }
  }
  }

the focus appears but without the "prerequisite" or time

#

basically it just exists

desert current
hollow rover
wintry geode
#

what do i add to the 5-10ish anti catholic focuses hmmm

#

-20 opinion of the papal states and vice versa

desert current
wintry geode
#

im working on adding focuses for 1789-1815 and to a lesser extent 1816-1836

desert current
#

Sounds cool

#

Copy the colors from base game

#

Because that file requires every country

#

Yes there is

#

Common/countries/colors

obtuse condor
#

thats messed up code in the colors file

#

i had the same problem, its a parenthesis issue typically

desert current
#

Yep, that’s usually due to no colors file or country_tag

#

Search for colors in your common/countries/ folder, should be there. Then you need to copy a line of code from one of the country’s that looks SIMILAR to:
ENG = {
rgb = { 0 0 0 }
rgb_ui = { 0 0 0 }
}
Im on phone right now so I can’t check the exact code but make sure looks like something similar

#

Yeah I know, which is why I asked you to copy the base game one over

#

Because this is incorrect code

#

U see it working now

#

Cool

wintry geode
#

Belgium doesnt want to be a puppet of austria for some reason

desert current
desert current
#

Didn’t work?

wintry geode
#

1788.1.1 = {
if = {
limit = { has_start_date < 1790.01.02 }
set_autonomy = {
target = BEL
autonomous_state = autonomy_dominion
freedom_level = 0.4
}
set_autonomy = {
target = MIL
autonomous_state = autonomy_dominion
freedom_level = 0.4
}
}
}

wintry geode
desert current
#

Average paradox bug

#

Maybe it’s because Belgium has the Congo as a puppet??

#

Or is it still them just owning the land

wintry geode
desert current
#

Of course

wintry geode
#

they dont have the congo as a puppet

desert current
#

Paradox bug idk

wintry geode
#

hidden effects in focuses are always great

#

going to add a few that help out foreign countries

wintry geode
#

go into fra units 1936

#

and search for the provinces those divisisions are in

#

and change them to paris or marseilles (or some other city)

#

go into both and search for the provinces

#

id

#

you deleted the parts with those provinces in the units file?

#

as in the entire file?

#

or just the things in it

timid orchid
#

which one?

#

let me check

#

is it because of an extra }?

#

there must be an error log for it right

#

this one?

#

hmmm

#

idk

#

it looks fine

#

thug_nine is there?

#

its just the wrong icon

#

the focus id is thug nine

#

oh

#

it might work

#

cuz they had the same id

elder tundra
#

How do I create a nation? I tried following the Iron Workshop tutorial but it doesnt appear in game

kindred axle
#

Wgy so much space and disorder?

kindred axle
#

Look in gamefiles as examples

#

If you dont Need available cancel It man

#

Put prequesite under icon

#

Whats that position

#

Put relative position ID or It Will not appeae @timid orchid

elder tundra
kindred axle
#

Just do It on your own man

#

Dont use mapgen

#

Delete the folder

#

Remake it

#

Go to nudge

#

And follow iron workshop steps

#

Its far easier believe me

elder tundra
#

So I delete the folder that I already had in my mod folder and then I create it again?

kindred axle
#

Be careful to not delete gamefiles xd

#

Like i did 💀

#

Had to reinstall the whole hoi4 and mod

elder tundra
#

this is like my 4th or 5th attempt on doing my first mod, had to reinstall hoi4 too and make the damn maps and steps of creating one all over

kindred axle
#

And i accidentely deleted it

#

💀

#

It took me 1 whole month to do that shit between design,idea and practice

next spoke
#

working on a mod called "Core4"
essentially every cored nation becomes independent

proper acorn
#

Its missing
prerequisite = {}
Mutually_exclusive = {}

kindred axle
#

Its more the way he makes the space

kindred axle
#

💀

elder tundra
#

@kindred axle deleting the state folder of my mod crashes the game

kindred axle
#

Did you deleted xorrextly?

#

Correctly

elder tundra
#

Yes

#

The states folder of my mod

kindred axle
#

Check gamefiles or mods

elder tundra
#

Not the vanilla one

kindred axle
elder tundra
#

Yes

kindred axle
#

Then you messed up some states

#

Go in debug mod

elder tundra
#

I am already in debug

#

I can send you the Error log if you want to see

elder tundra
kindred axle
#

DUDE

#

LOOK AT THE PROVINCES

#

they are missing stayes

#

Thats kinda too many of them

elder tundra
#

I already had states before deleting the folder

#

But they were line named after vanilla ones

kindred axle
#

Lots of invalid states ID

elder tundra
#

Tho in the states folder they were called like STATE_12

kindred axle
#

Check that out

#

And the localisation in First lines

#

Check this 3

#

States for provinces
Invalid state ID
Localisation

#

@elder tundra

elder tundra
#

Ok how do I do that?

kindred axle
#

Dont know xd

#

Never touched map

#

First time i did

#

Was my last xd

elder tundra
#

I undo the deleting of the states folder that the mapgen gave me

#

Now I'll see if the game works or if it still crashes

elder tundra
#

Has no nations yet, the one Im doing will be the first one

timber zenith
grim laurel
timber zenith
#

worldbuilding in a nutshell

proper acorn
#

it is good to use relative_position_id?

elder tundra
#

I think

#

That I fixed the States issue

#

It now shows the state names like STATE_68 and not like the names from the base game states

kindred axle
#

You cant have focuses without it

#

Whats the matter with you?

#

If they dont have a position how can they spawn in your focus tree???

elder tundra
#

I suppose that now I can work with that instead

#

Time to rewatch the tutorial

west oxide
#

god damn im having 10x more fun playing the minecraft mod than then base game

versed cloak
#

Anyone got Old World blues mod?

kindred axle
obtuse condor
#

the localization is not working for some reason . . .

#

whats wrong, ive tried multiple things

elder tundra
#

It works now

#

My pink aah nation is on the map

next spoke
#

guys i have a dillema
im working on a mod where all cored nations become independent
and ive reached israel/palestine
which do i choose..

elder tundra
#

Split the state in two and put palestine bellow and israel above

#

Like Korea

next spoke
elder tundra
#

Well

#

Then do the Israel-Palestine Empire

next spoke
#

cored game nations only

elder tundra
#

Omg bro you make it so hard

#

Then choose Israel

#

There are a lot of arabic/islamic countries in that region anyways

#

idk why there are some states with base game names

subtle cliff
#

is there any mods that have a similar focus tree to the finland in the dlc. I cant afford to dlc so im looking for a mod that I can do a similar focus tree with

crude spade
#

Check the steam mod download and search like the Finland focus section

obtuse condor
timber zenith
#

Only DEF and ADJ

#

So it defaulted to BLT

obtuse condor
#

aah

#

ic

obtuse condor
#

any good submods for black ice

wide lynx
#

anyone know how I can do something like this?

#

I've looked through the files but can't seem to find anything.

graceful plaza
#

any modding guides for newbs?

edgy fjord
#

howd you pull that off?

kindred axle
#

Look at the mod bookmarks file

kindred axle
kindred axle
#

Just put youe logo somewhere 💀

edgy fjord
#

@timber zenith yo

#

can you check my mod for me

#

i have 56 errors

#

i know crazy for my first mod

timber zenith
ebon snow
#

hi guys

#

Do you want to play together?

wintry geode
#

why is this?

rustic coyote
#

Maybe bc of one of the 953 errors?

wintry geode
#

thanks

#

Stellar gameplay

#

albeit the brabantian revolution will be more indept with the revolution having 5 divisions and the monarchists 3

rustic coyote
digital heart
#

Why are there so many german states?

rustic coyote
#

That’s how it was back then

rustic coyote
#

In the 1700’s

edgy fjord
wintry geode
wintry geode
rustic coyote
#

Why is there even a fuel system in this mod?

wintry geode
#

yet

#

and idk how to

rustic coyote
#

Aight

#

Well good luck

obtuse condor
wintry geode
edgy fjord
obtuse condor
#

Ic

wintry geode
#

This it compared to the actual map

digital heart
#

Ottoman austria

timber zenith
wintry geode
edgy fjord
#

do i upload or smth

timber zenith
#

Idk but I'm working rn

#

What exactly is wrong with it?

edgy fjord
edgy fjord
#

it runs fine

#

but the error log

proper acorn
timber zenith
digital heart
wintry geode
proper acorn
wintry geode
#

1250 states total

edgy fjord
#

also i dont have all DLCs so i need someone with all of em to see if the chassi or something aint broken

balmy pendant
#

?

severe needle
#

cool

obtuse condor
lean spoke
wintry geode
#

How do i make so the ai of a certain country is less aggressive?

buoyant badger
#

how to mod

grim harbor
quartz rampart
#

Im conflicted on what my next HoI4 game should be. Should i reunify US as New York in KaiserRedux and let the Dutch take power, thus turning it once more into New Amsterdam or play something that is Basically Polar Bear North Korea in EaW?

undone cairn
#

which file or files do i need to add to my mod to make a country a subject of another country

timber zenith
undone cairn
#

thanks

timber zenith
#

no worries

mental snow
#

can someune help me creating a coutry in stream in a call

obtuse condor
#

Minor Countries need to have focuses to appear in the bookmarks?

limber badger
#

Is there any easy way to change character's nationality and protect him from purge in Soviet Union? I want to make a focus which recruits Trotsky and his Allies to my country but im not sure on how to do it and actually protect him from the purge + the assassination if possible

proven sable
#

anyone know how I can add moduels for tanks which can only be put on a certain type of tank. e.g. light tanks only

high coyote
#

and their barrels?

#

nvm

#

wrong channel im dumb

proven sable
# high coyote you mean the turrets?

sort of yes, I want to make it so there's different extra fuel tanks for tank types so light tanks extra fuel tanks gives 100 fuel, medium 250, heavy 500.

wintry geode
#

Austria now has its leaders 1789-1836 hell yeah

haughty bison
#

uh

#

where austrian empire

#

if you're gonna split them apart make them the same colour so i can understand

snow raptor
#

if i do somehow win the giveaway ill attempt to make a hoi4 mod revamping some old Focus trees

#

what are the MOST IMPORTANT things to know about HOI4 Modding

haughty bison
#

fr??

wintry geode
haughty bison
#

darn

#

but make them the same colour anyways

wintry geode
#

i will tbh

wintry geode
#

HUN_AUS = {
color = rgb { 194 198 215 }
color_ui = rgb { 255 255 255 }
}

#

will hungary automatically get this rgb

lone pendant
#

Someone should make a what if ww1 lasted until 1922 mod

lone pendant
#

it would be a interesting scenario

#

i mean think about it if ww1 lasted longer the treaty and thusly outcome would be different

proven sable
#

Anyone know how to add graphics to modules.

#

I've just got a purple square

glacial fractal
#

Hi

proper acorn
sand summit
wintry geode
sand summit
#

figures

#

whats the name

#

seems interesting

wintry geode
#

The State rework and scenarios mod

#

(hasnt been updated in a month)

#

i plan to upload an update on juneteenth albeit

#

want to have a french focus with 75 30 day long focuses where every focuses does something by then

#

and peace deal events for the wars happening 1789-1794

#

dont want russia annexing sweden or the ottomans annexing austria

sand summit
#

ok

lone pendant
proper acorn
lone pendant
proper acorn
# lone pendant wdym

this is a modding channel, anyone can find my idea very good and make a mod with it

lone pendant
#

oh

haughty bison
#

empire: into the orient

sand summit
#

Hello. I am looking to start coding, i would like to learn how to code in focus trees. If anyone has any tips, feel free to dm me :D

slow cosmos
#

Made a map of Europe if mongol empire didn’t exist. First time doing this tho so it prolly sucks

#

I use minimum graphics btw

wide lynx
edgy fjord
#

yo guys how can i make a starting country an integrated puppet of another country? ping when reply ty

wide lynx
#

@edgy fjord

azure drift
#

Persia would control most of central asia

edgy fjord
wide lynx
#

if you want to create new puppet tiers then yea

wide lynx
#

into the countries history file

edgy fjord
wide lynx
#

so for example australia is AST

#

germany is GER

#

france is FRA

#

america is USA

#

and so on

edgy fjord
wide lynx
#

makes australia a puppet of usa

edgy fjord
wide lynx
#

if you go there and click on it then you can find the id to use in autonomy_state = id of puppet tier

knotty tide
#

hey yalls

#

i wanna add to my HOI4 MULTI MOD new ships crafts and vessels

#

and new armor tanks and vehicles

#

and new infantry equipment tech and weapons

edgy fjord
knotty tide
#

yes

#

i have

knotty tide
#

@edgy fjord i have yes

gentle gyro
#

hi everyone, do yall know how to install mods ? im trying but launcher dont show me anything

wintry geode
#

It has become penissy

glossy ivy
# wintry geode

i wanted to say nice autria hungary but who decimated my boy germany

#

what mod is this

wintry geode
#

plan to update it on juneteenth

obtuse condor
wintry geode
pure scaffold
round ermine
#

some of my favorite HOI GFXs i’ve made in the past two years of modding this game :)

vernal prairie
round ermine
# edgy fjord looks nice, howd you do it?

basically it’s painting on light so i use brush tool in photoshop, using black and white on 30% opacity and flow. draw on the lighting and details, recolorize for consistency and then put them in a frame. i’ve made like videos n stuff showcasing how to do it, it only takes me about 10 mins per asset.

#

not sure if i can share a link to my video showcasing my method but if you search “hoi4 vanilla icon” on youtube you can find a video i made showing my process

wide lynx
#

Been trying to figure out how to do GUI modding, can't seem too add elements just modify existing ones, trying to add country background overlay like in kaiserreich, have it setup the same but nothing shows up:

edgy fjord
#

how can i create new states? iron workshop dont make sense

proper acorn
limber badger
#

what happens if i give id = -1 to multiple leaders of one ideology?

wintry geode
#

i need to add some ideas so the russian ai doesnt call in moldavia and wallachia into a war with france

#

and so that sweden doesnt join the war on russia 1812-1813

#

ai_call_ally_desire_factor

#

Is it possible to do this for two specific countries?

next spoke
wintry geode
#

remove_ideas = add_ideas = {
ita_hidden_ai_idea

#

ai_strategy = {
type = dont_defend_ally_borders
id = "WAL"
value = 75
}
ai_strategy = {
type = dont_defend_ally_borders
id = "MOL"
value = 75
}

#

Is it possible to make the ai not want to call in certain allies?

proven sable
#

does anyone know how to localise historical presets for equipment?

tiny tusk
#

what should I do if my friends perform achievements using a mod

slow cosmos
wintry geode
#

RUS_avoid_calling_in_finland_moldavia_wallachia_if_war_fra = {

allowed = { original_tag = RUS }

enable = {
    is_historical_focus_on = yes
    date > 1812.1.1
    tag = RUS
}

abort = {
    date > 1816.1.1
}

ai_strategy = {
    type = ai_call_ally_desire_factor
    id = "FIN"
    value = -400
}
ai_strategy = {
    type = ai_call_ally_desire_factor
    id = "MOL"
    value = -400
}
ai_strategy = {
    type = ai_call_ally_desire_factor
    id = "WAL"
    value = -400
}

}

#

How would i do something like this?

#

so the russian ai doesnt want to call in their puppets

azure drift
wise sundial
#

Is there a way to ban guarantees for AI only? Haven’t found where guarantee decision is located

haughty bison
#

gamerules somewhere

celest dock
#

If anybody wants to contribute to my Lord of the Rings mod expansion pack (10ksubs 50k views) it's a big mod, professional and experienced modders needed, i am looking for :

  • GUI Modders and custom mechanics
  • GFX Artists wanting to create focus icons, art, event pictures, leader portraits, and more
  • We have a few spots for regular Devs who want to create fun focus trees for smaller nations with current generic focus trees

Requirements :

  • Previous experience and work portfolio
  • 16+ preferable 18+, friendly
  • Interested in Lord of the Rings or wants to learn more, you have to have an understanding of the lore of the universe and so on

dm me if interested

wise sundial
# haughty bison gamerules somewhere

Where I can only totally ban guarantees for everyone, not only for AI. Aldo, haven’t understood how these rules work at all (as I remember, where’re smth like “guarantees…allowes=yes”)

haughty bison
#

i am not a modder so idk what to do other than gamerules

wise sundial
#

I guess nobody knows. Didn’ see any mod that changes that guarantee decision

slow cosmos
# lofty plaza Explain?

Basically the Black Death that killed like 50% of Europe arrived later when we had better medicine. So it wiped out far less so france and other largely affected places are higher pop and I made them more powerful than irl.

slow cosmos
#

I left Germany un-unified cuz the French are much more powerful with the Black Death doing less damage than it did

timber zenith
slow cosmos
#

Why?

wintry geode
#

Hoi4 ai is so dumb...

#

democratic countries dont take claimed and cored states

wintry geode
#

learning how to add new characters/leaders like an autopilot is going to be a game changer

meager epoch
#

[22:34:51][no_game_date][virtualfilesystem.cpp:253]: Could not open file: common/Bonn Government.txt, error: not found
[22:34:51][no_game_date][virtualfilesystem.cpp:253]: Could not open file: common/Saar Protectorate.txt, error: not found
[22:34:51][no_game_date][virtualfilesystem.cpp:253]: Could not open file: common/Red Germany.txt, error: not found
[22:34:51][no_game_date][virtualfilesystem.cpp:253]: Could not open file: common/Berlin Government.txt, error: not found

What does this error code mean?

azure drift
nimble solar
#

State Transfer Tool

#

Clean up that ugly border gore

tall ferry
#

Bill clittin

timber zenith
# slow cosmos Wdym

It's a mod focused on Europe with a whole bunch of states, it allows you to map paint like that if you use toolpack

empty pebble
#

Making some alt-history flags for a mod tell me which one you think is best :3

#

Yes ik it's made wit flag creator these are just test flags

wide lynx
#

1 and 3 look good

#

ill release a vid soon cuz i cant explain in text

empty pebble
#

But I want opinions before making them official as it takes time too make them good

pale sparrow
#

@primal mantle no advertising without permission

pale sparrow
#

Win for warship/Take puppets navies

#

Infinite lines for ship production

#

Everything else Im constributor of myself

thorny token
#

wow

empty pebble
#

Thanks for the opinions Im considering making one my profile pic aswell :3

knotty tide
#

what

knotty tide
#

i wanna make a MULTI MOD for HOI4 which adds:
new units and templates
and techs and equipments

proper canopy
#

Tho it's okay from aesthetically view

empty pebble
#

I was going too call it "The Worker's Union Of Germany"

hollow rover
#

Hi guys how to make a custom map please???

obtuse condor
#

just change some states

#

or like a whole new map

hollow rover
hollow rover
obtuse condor
obtuse condor
#

there is a file

#

likethis

#

and then there is a file called definition.csv

#

this is for thr Provinces

#

and you change the map in the provinces.bmp file

hollow rover
#

heheahehaehsaehsheh

obtuse condor
#

okay ...

hollow rover
#

idk i already made it with the uhh

#

modding tools

hollow rover
#

50 years

obtuse condor
#

and after that you can still create the new provinces

#

like one color for water

#

and one for land

#

and then you can pint the provinces

hollow rover
#

the flags in the bio confuse me

obtuse condor
hollow rover
obtuse condor
#

nice

hollow rover
short vault
#

I have come up with a workable method of using save game editing to reroll division commander names using the seed number. (Used in 1.12, not tested in other versions)
First, replace the existing seed with 102, load to roll. Then reroll by changing the 1 and 2 to other numbers, they can be the same. Once a desired first name is acquired, stop messing with the non-0 numbers, and only add 0's between them.
For example, if 403 produced a first name you want, change to 4003 to reroll the last name only, then 40003, and so on.

#

(Why did I do this you ask? Because I like naming things)

brazen salmon
#

Hello, I'm playing Millennium Dawn and for a priority with France I need to have an aggressive foreign policy but I don't know what it is so can anyone tell me where I can find it or how do I get it ?

sharp prism
#

Hey can someone help me get replace_path in descriptor working?

sonic granite
#

When are the focuses on SVO?

indigo dagger
#

wait theres a modding server

solar compass
#

How can I change the flag of a country with a Focus?

When you play as hungary and restore Austria-Hungary your flag changes to the austro-hungarian flag.
I figured out that this:
set_global_flag = form_austria_hungary_flag
does that flag change I want but how can I do that with a custom flag?

I watched to tutorial of The Iron Workshop on how to create flags but its not exactly what I need.

mild oak
#

There's modding for this game?

indigo dagger
#

its fun too mod

wintry geode
#

Is there a way to make so a peacedeal last a certain time?

#

If i want this truce to last till 1794

hollow rover
#

does anyone have a hoi4 mod thats just a custom map without any countries?

proper acorn
#

you have to make a map from scratch

hollow rover
proper acorn
#

i've never made a map for hoi4

#

but I think that must be it

hollow rover
proper acorn
#

I didn't know

obtuse condor
#

hey I was wondering if anyone would be able to answer a couple of modding questions for me

#

first one being what is the limit/rule for map sizes

pure scaffold
tough valve
#

what mod a stream?

hollow rover
pure scaffold
#

fair

wintry sierra
#

yo guys

#

all mods except md work

#

whats the fix

#

it doesnt crash just doesnt load

topaz moth
#

does there is a mod that doesnt change the games techniques and

craggy field
#

Does anyone know why the picture I am setting doesn't show up at all on this idea? It's not a custom one or anything it's just using the base ones.

proper acorn
#

you put the file name

#

you have to put in the name that is marked

craggy field
proper acorn
#

GFX_idea_MEX_politicised_army_2

#

put that in and it didn't work?

craggy field
proper acorn
#

then idk

pale sparrow
craggy field
#

okay, I'll try that

meager epoch
#

[23:22:21][no_game_date][gameapplication.cpp:796]: The game has loc key collisions. Check logs/text.log for more details
what does this error mean?

proper acorn
visual meteor
#

Anyone know the code how to give 1 branch specialism in a national focus?

kindred axle
#

Ehy guys, i am SV3Ts_, kinda new to modding still, i am searching coding helpers for my mod, a mod which objective is to make larger focus trees specialized in true hist events, if you want more info, ask in my DMs ;/

rose heath
#

how the hell do i add templates and units to new countries

kindred axle
#

And generals

#

Maybe there

rose heath
knotty tide
#

ey wassup SV3

rose heath
#

idk what should i do

knotty tide
#

@kindred axle wassup its me MRM

kindred axle
#

So long

knotty tide
#

yes

kindred axle
#

So i Lost contact

knotty tide
#

ah alr

kindred axle
rose heath
#

neither the template or units appear

kindred axle
#

;/

vale prawn
#

Hello, I have a very difficult question and there is no answer to it anywhere on the internet. On the official site of Hearts of Iron at least twice mentioned "recursive script localization" to output all the elements of the array in the localization. So here's the question. How to write it?

wintry geode
#

Latinx America looks way better know

#

the viceroyalties really added allot

proper acorn
#

what command do I use in an idea to prohibit a country from making divisions?

#

like this

kindred axle
stoic briar
#

are there any mods that only boost construction speed or allow you to boost construction speed?

#

its a complete pain in millennium dawn when it takes a full year to build 1 civilian factory

silent swallow
#

Not really modding per se but I have a map of an alt history where basically soviet, this is just the political map, no ideologies or factions so thats why it looks a bit strange.

spare grove
#

Which one is the official road to 56 mod?

upper dock
#

how much of a trope is it that all events in a mod are set off by a stock market crash?

#

is it fine to implement or is it becoming overused?

wintry geode
#

@obtuse condor @glossy ivy the mod is updated btw if you guys wanted to try it out (the state rework and scenarios mod)

ancient rapids
#

hey people, im making a mod about ussr but can i lower another country(germany)'s stability in a ussr focus?

#

like A country's focus affecting B country

#

is this possible

timber zenith
#

GER = { add_stability = -0.1 }

digital heart
pale sparrow
simple flame
#

recommend mods for the pirated version with Russification

obtuse condor
#

I can pinpoint the exact moment of time when Whuka chose this questionable direction

upper dock
#

the map for my future mod is finally done, now time for development cbt

wintry geode
#

Is this a good artistic picture?

proper acorn
ancient rapids
#

finished my soviet mod

#

heres a pic of stalin

proper acorn
obtuse condor
#

anyone here play the 2nd west russian revolutionary war

empty pebble
#

Need more options on which is best :3

#

The last one is just a Weimar Germany flag remake tbh

empty pebble
#

The second one wasn't one I was thinking of implementing anyway tbh

#

It looks pretty mid but I thought it could be cool for like a Nordic puppet state or something

soft furnace
empty pebble
#

Alånd has a similar like too the second one?

#

I presume you know what alånd is?

soft furnace
#

anyone got tips on how to make hoi4 icons (eg national spirits/focus icons)?

slender brook
vagrant tartan
#

So... I'm going to start this game as a minor nation (Philippines) and I plan to go for a communist route. How do I go about it to succeed? I am running the Road to 56 mod.

rose heath
#

@empty pebble
are you fighting femboys
or are you a fighting femboy

empty pebble
#

Not the first one I know that much :3

knotty tide
#

i wanna add a lot of STUFF to my HOI4 MULTI MOD from the year 1900 till 2024

spring ibex
#

can someone get to work with making a mod where all the gangs in london are countries e scooters are the moterised and pigeons are the air support

pale sparrow
rose heath
#

even the biggest mods usually don't add more than 15 years worth of actual content

#

and 15 years is a lot

#

even road to 56 only goes for 20 years

wintry geode
#

How do you make so a country cant change their division templates?

#

want do this for venice genoa and the vendee

spring ibex
#

your gonna get japanned

tall hare
knotty tide
ornate crag
#

does anyone know how to get beautiful states reborn to work on the newest version

round void
#

it is a Really waste of time

knotty tide
#

wdym by that

round void
#

are you going to do that Yourself?

knotty tide
#

yes i am

round void
#

or You are getting help

knotty tide
#

yes im gonna do it by myself

round void
#

it will take you Months

knotty tide
#

alr

proper acorn
knotty tide
#

im tired of using other peoples HOI4 mods

round void
knotty tide
#

so its better to do my own MOD

knotty tide
obtuse condor
#

particularly if i head down the russian pagan path

proper acorn
#

How do I make this?

#

I want to make a civil war mechanic

stuck quarry
#

Hey that’s from my mod lmao

proper acorn
#

it's just an example

stuck quarry
#

Yea i get that

#

Its pretty simple to create tho, just takes alot of time

#

Its a nornal scripted gui just in the decisions tab, and the frame for each of the states is decided by a variable, im at work rn but i could give screenshots and a better explanation of how i made it once i get home

#

In like 6 hours

#

If noone else answers before i can

proper acorn
#

Thx

lethal fern
#

Hello, I have a question about creating flags i put them in flags folder and they dont work. What can I do to make them appear?

wintry geode
#

and are they sized appropriately?

#

in large medium and small categories

#

Like this iyo?

lethal fern
#

Yes they have tags and are sized correctly

#

Maybe the issue is that I don’t have a program to open these files

proven sable
#

war effort update is causing these errors in my mod and I have no idea why or what they mean

#

ohhhhhh its because they added the new pop up thing isnt it

worn needle
#

Hello, I have a question about how to update a mod like a self made one can anyone tell me how ?

river beacon
#

So tons of these kinds of messages have popped up in my error log when i want to start my mod. How do i fix that I have no idea how

proven sable
#

It's something from the war effort patch

river beacon
proven sable
river beacon
#

Okay

proven sable
#

You can compare your mod files with game files and see what's different

river beacon
#

alright thanks

proven sable
#

That should fix things

worn moth
#

quick question, where can I find in the files the medium flag overlay and how is it called?

empty pebble
#

The last set of flags I'm making for my expanded focus tree mod for now

#

Idk which one too use

#

There the left on is an Ostland re-make

#

The right one is for the independent Reich's Latvia

#

Working on a name for that lol 😓

foggy locust
#

Is there any better way to find out why my game crashes on startup than to read the 1000+ line log error.log?

worn moth
#

found it

prime grail
empty pebble
#

It's still being developed

#

As it's literally just me

#

And not only that but I only started modding about 4 months ago :/

#

At first I was planning for it too be a side project but it's ended up taking about a month just too get here

#

I presume it could take upwards of four months too finish as I haven't implemented any flags or expanded focus's for Latvia, Ostland and I'm missing about half of the German tree expansion

prime grail
#

Well I hope it goes well, and this mod seems like it would be very enjoyable!

empty pebble
#

It is not enjoyable too make

#

I know that much

high hatch
#

Anyone know how to do a civil war like soviet where the both side are the same ideology but avoid them to merge together? Like if I do in a Japan communism and do a civil war where the other side is communism to, they have a auto event purpose to merge them and end civil war… For the moment, I remove the target of civil war but by consequence… anyone can participate to this civil war like a normal war…

obtuse condor
#

I can't code but I have a random idea for a mod

#

It makes every flag in the Nordic style

gray peak
#

made my first mod 💀

wintry geode
#

I cant open files with paint3d for some reason

prime grail
wintry geode
#

Theres no way for me to open this file with paint3d

#

please help

#

Microsoft being an arse

proper acorn
wintry geode
#

i just know that i could open all those files with paint 3d

#

and now i cant open anything with paint3d

proper acorn
#

how to activate and see the format of each file in windows

#

maybe the file format is the problem

lofty plaza
nimble solar
lofty plaza
#

Not as president though

#

Which I am assuming this is

magic bay
graceful plaza
#

how does one go about adding in additional years to the tech tree gui?

#

like If I wanted a new tech in 1948 here, but wanted it to also show the number above?

knotty tide
#

@graceful plaza just look up iron workshop on how to add more tech

#

Learn how to add/change upgrade technology in Hearts of Iron 4

Timestamps for this tutorial/lesson:

  1. Create mod [00:45]
  2. Create folder structure [01:12]
  3. Create upgrade tech entry [03:33]
  4. Create localization [11:45]
  5. Assign graphics [14:06]
  6. Test in game using console [15:38]

If you have a complicated question that can't be answe...

▶ Play video
#

here you go

graceful plaza
#

I don't think iron workshop addresses the year gui directly but I didn't know about using the gui command, and that is pretty useful tbf, thank you!

knotty tide
#

alr

#

np

sand summit
#

not sure why, but whenever i try to load a second focus in, it isnt there, what do i do?

#

could someone plz help me?

#

everything seems fine

pale sparrow
prime yarrow
#

How is naval_equipment_role icon linked to particular hulls? I only see role index in AI equipment, but what sets the default role icon?

#

Does it just use the AI setting for that particular hull?

final tinsel
#

remove one

#

if there's no prerequisite, then you should make it first

final tinsel
dawn monolith
#

hello

#

i want to create new plane template for germany with BBA dlc

#

how??

obtuse condor
#

Hello, im not a modder but i am interested in being a modder. Is there a tutorial for modding hoi4?

wintry geode
#

I cant open the map file with paint3d anymore

#

how to fix this issue

#

i just got it out of the blue

dawn monolith
prime yarrow
prime yarrow
astral geyser
#

Is there a way to change the "Other countries" position from Europe to another location?

verbal beacon
#

does anyone have any good mod recommendations for better performance,
or any good time like 1914 or 1700

kindred axle
#

Great war redux

#

SMASH

verbal beacon
#

whats that

kindred axle
#

Somebody ya want to SMASH (FK)

verbal beacon
kindred axle
#

no?

#

Maybe

#

Depends

#

Ask helpers

verbal beacon
#

my gifs are WWWIIIILD

kindred axle
#

Lol

kindred axle
#

Sure

limber badger
#

Hello, i'm trying to make focus which is only available if the government is fascist or if the country is subject of a country with fascist government, will this work?

slow kestrel
#

hello is anyone able to give me advice for something quick, I made a very small mod just cant get it to work after uploading it and i cant figure out why i have like no modding experience

slow kestrel
#

i can, mod works on local version, uploaded it to workshop and tried to use workshop version but it didnt work properly. All files are identical and I have no idea whats wrong

#

also removed local version from mod directory bcause i read that is a fix people use but still didnt work

limber badger
#

damn, i have the opposite problem KEKW

#

Did u try to ask someone to test it instead?

#

Could be your-sided problem

slow kestrel
#

havent done that yet but maybe, i tried deleting and reinstalling and remaking it like 6 times

limber badger
#

Then try it, it could narrow down the possible problems

#

also try #tech-support and ping some staff, they have experience with this

#

(its possible that they will direct you back here KEKW )

slow kestrel
#

before I do that is there any general advice i should try with the actual mod? like i said im v new to it so idk if what i did was exactly correct

limber badger
#

Screenshot your descriptor.mod and paste it here

slow kestrel
#

good segway i had a question about that first

#

basically

#

i made a submod for a submod, i copied the files from the original into my new mod except the thumbnail and descriptor and edited them in my own one. Was I meant to use his descriptor as well or was I meant to use the new one that comes when you create a new mod?

limber badger
slow kestrel
#

its for a millennium dawn and I have that as a dependency in the descriptor but do i also need the submod Im using originally as another dependency?

limber badger
#

never did sub-mod for a sub-mod so can't really tell, but you can give it a try

slow kestrel
#

ok, I also noticed some mods have a "path" in descriptor and some don't how important is that for this type of mod?

limber badger
#

i'd say they are very important

#

at least the wiki and tutorials described it that way :D

slow kestrel
#

lol

limber badger
#

you won't go wrong if u always specify a path

slow kestrel
#

in that case if I add the path to the descriptor should it be the same as the original submod or would it be whatever is on my computer?

limber badger
#

you will make it's own path

slow kestrel
#

can i put any path in or does it have to be specific to where it is on mine?

limber badger
#

specific i guess

#

for local 100%

#

for workshop use it too, but workshops have remove ids

#

i do it as a "guarantee"

#

sorry if im confusing you, im in the middle of class

slow kestrel
#

are u saying if i use my whole path from my local pc the workshop removes names and stuff when it uploads? im still a little confused

#

thats all good im glad for the help

twilit swan
#

hello, can anyone help me with this issue?

so, i have a problem when i play single player with my mod, every 15-30 mins its always crashed, then i tried to turn on '-crash_data_log" from Launcher, but there's no crash when i turn it on, but crash again when i turn it off.
and crash happened every i almost reach or reached 1 year in-game

because of that, i can't detect what caused the crash.

verbal beacon
#

do i install this for the white font or the things inside the folder

digital heart
twilit swan
digital heart
#

I don’t have too much knowledge with advanced modding I’d assume the font graphics are causing your crash, orders and events not working shouldn’t cause the immediate crash

high hatch
#

Hi. It is possible to count how many occupied countries where condition is true a country have?

coral salmon
#

Scritped Effects:


    set_variable = { ROOT.IRE_army_modifier_industrial_capacity_factory = -0.30 }

}```

**Dynamic Modifiers:**
```IRE_Trade_War = { #NATIONAL SPIRIT
    enable = { always = yes }

    icon = GFX_idea_CHL_ejercito_de_chile

    industrial_capacity_factory = IRE_army_modifier_industrial_capacity_factory

}```

Country File:
```add_dynamic_modifier = { modifier = IRE_Trade_War }```

Result Ingame:
Idea Added, no effects visible.

Does anyone know what i've done wrong?
coral salmon
#

Localisation

#

Re-write all relevant english text in Italian

#

Oh, Recruit them in the Country History file

digital heart
#

Watch the hoi4 modding tutorial video about characters

coral salmon
#

It will look something like Recruit_Character = NAME

high hatch
# coral salmon Yeah, what are you trying to achieve?

So, I try to do something like this :

# If ROOT have in minimum 2 occupied countries, create Indochina
if = {
    limit = {
        count_triggers = {
            amount > 2 # Minimum 2 occupied countries
            any_occupied_country = {
                OR = {
                    tag = VIN
                    tag = LAO
                    tag = CAM
                    tag = SIA
                    tag = BRM
                }
            }
        }
    }
    # Create Indochina (by dynamic country)
}

Otherwise, the condition doesn't work.

lucid garnet
#

These are my ironman compatible mods. Anyone got any more?

lethal fern
#

Hello, I need help in adding already exisiting advisors into my custom country that i am making. Can someone please tell me how to do it step by step

#

I want the italian advisors

digital heart
#

Again, watch the modding tutorial on characters, it should give you the outline of how to add them in

lethal fern
#

i watched three of them but they include only the custom ones

digital heart
#

Should only need to find the advisor’s tag and add them to the country’s history folder

lethal fern
#

ok thank you

granite forge
#

someone knows a good hoi4 modding discord server? An active server would be perfect

ashen mural
#

i want to make a new kind of units, how and where?

sand summit
round void
#

windows notepad IS NOT recommended for Codding

#

im not an professional, but i can still try to help you on code, talk to me in our dms if you want to know something or help with something

kindred axle
#

And add new type

#

Look in game gamefile for examples

#

Like the basics ones

#

Go to common i think and then units

#

And look

ashen mural
#

like only deserts can use it

kindred axle
ashen mural
# kindred axle Dont know man 😭

well i dont think it matters this much, still thanks
i think every country should be able to deploy moose cavalry, i just wanted to do it because of the actual plan by stalin

ashen mural
#

where can i find sprites?

#

for units?

kindred axle
#

I dont know ;/

#

I never did units

indigo dagger
#

so like how do i upload a thumbnail for steam

soft furnace
#

u go into the releasables tab.

obtuse condor
#

you can change the ownership of syrian states from france to syria

#

in the folder with states just find the syrian states and change the owner tag

wintry geode
#

[22:52:08][no_game_date][trigger.cpp:672]: Invalid trigger 'add_ideas' in events/1789france.txt line : 121
[22:52:08][no_game_date][trigger.cpp:540]: Error: "Unknown trigger-type: add_ideas, near line: 121" in file: "events/1789france.txt" near line: 124

#

What does this mean?

wintry geode
#

how to add ideas in events??

#

I want the monarchist belgium to get the idea

proper acorn
#

History/states

#

look for the id of the Syrian states and put Syria as the owner of the state

obtuse condor
#

Any mods that change the flags to the Nordic style

wintry geode
#

How to make so democraitc belgium cant have this idea?

#

luxemburg_stronghold= {
picture = russian_flag_paris

        allowed = {
            original_tag = BEL
                            has_government = neutrality
        }

        allowed_civil_war = {
            always = yes
        }
        removal_cost = -1
        
        modifier = {

surrender_limit = 0.5
}
}

proper acorn
#

You have to use the interface folder for this

sand summit
#

so im trying to make a focus tree, and it is only showing one despite me having multipule in the code, does anyone know why?

verbal echo
manic sapphire
#

does anyone know of a good focus tree for india?

sand summit
proper acorn
#

Its free and more profissional

sand summit
#

ok

proper acorn
#

Here

sand summit
#

thx :D

proper acorn
#

Np

proper acorn
sand summit
sand summit
#

should it be that big?

proper acorn
#

I think thats the problem

proper acorn
sand summit
#

the problem is with two

proper acorn
#

the last two of the prints?

sand summit
#

that focus

#

or the 3-4th pictures

proper acorn
#

Delete one

sand summit
#

oh, ok

#

that is?

#

cyka..

#

thats it?

proper acorn
#

What is cyka?

sand summit
#

apparently it is polidh for 'ticks'

sand summit
#

or this

#

or any other configuration

proper acorn
proper acorn
#

in vscode there is an extension, then check it and add a theme for you

sand summit
#

ok

sand summit
sand summit
proper acorn
sand summit
#

thx

#

so now what do i click?

proper acorn
sand summit
proper acorn
sand summit
#

ok

proper acorn
#

I don't use this

sand summit
sand summit
proper acorn
sand summit
proper acorn
#

This

sand summit
#

so now what

proper acorn
#

I mistaken

round void
#

@sand summit

#

i will send you something on dms

slow kestrel
#

i have a question regarding modding unit stats, if I set ai priority to 0 will that stop the ai from using those battalions?

patent bramble
#

Can the mods be downloaded even if I don't have the DLC?

cinder hedge
#

I'm trying to make a building which provides research speed (learning material), how can I do this?

foggy locust
#

How do i find out what is crashing my game? i have created a custom map with MapGen v2, i added all stratetig regions, airports and rocketsites, and still it is crashing on startup

#

there are no map_errors present in the error.log

#

there are not a lot of errors in general

proper acorn
#

the game must be causing some conflict

kindred axle
#

Did you do replace?

#

Maybe because of that

foggy locust
#

i did a lot of path_replace because i wanted to get the Error log shorter, but it didnt change anything

proper acorn
# cinder hedge I'm trying to make a building which provides research speed (learning material),...

This lesson will explain how to create new buildings in Hearts of Iron 4.

Timestamps for this tutorial/lesson:

00:00 - Lesson beginning
01:23 - Important notes/things to consider
04:37 - Creating mod file
05:18 - Creating folder/file structure
08:01 - Editing the buildings.txt file
11:58 - Creating building Icon
20:55 - Creating localisation
2...

▶ Play video
kindred axle
#

Than, i dont know

#

Because i never did map designing xd

foggy locust
#

yeah it really sucks

kindred axle
#

Tried 2 time, 2 times i had to reinstall all of hoi4

#

Lol

foggy locust
#

relatable

cinder hedge
kindred axle
cinder hedge
#

my perfectionism is kinda driving me crazy

#

anyway just made one

patent bramble
#

they are mods that do almost the same thing but I don't know which is more reliable, do you have any advice?

proven sable
#

does anyone know if/how I can change the effect shore bombardment gives you?

proper acorn
#

Any image you put in the mod uses interface.gfx

#

This part explains what I mean

proper acorn
#

you are doing it wrong

#

I recommend you make the country leader in common/characters

patent bramble
#

I downloaded the mod from paradox but I don't know how to load it, it tells me this, where am I wrong?

proper acorn
#

characters = { Tag = { name = tag_name portraits = { civilian = { large = "GFX_portrait_" } } country_leader = { ideology = nazism traits = { } desc = tag_desc } } }

#

In common/characters/.txt

worldly ridge
#

guys is there any good totorial on ytb that explains how to make a scripted peacedeal bc i want to make a small mod with accurate yalta borders

proper acorn
#

Tag is the name of the country leader

#

my country leader

patent bramble
#

one thing I have a mod for version 1.13 of hoi 4 but I have 1.14 how do I use version 1.13?

cinder hedge
#

uhhhh what have I done

#

what is this bear with the fruits on its head

#

forget the missing frame and the blue building

high hatch
patent bramble
#

saying this

high hatch
#

Anyone know if we can create a gfx\flags by example for Vietnam (VIN) when it is puppet of France (FRA), they have a custom flag. I know in localisation, we can do without a custom cosmetic_tag, but for flag… I try « VIN_FRA » and « VIN_FRA_subject », it doesn’t work. I needed to create a cosmetic_tag and apply it to work.

high hatch
patent bramble
#

thanks anyway I hope to find the reason because I would have really liked to play this mod

proven sable
#

I've tried making some changes in the nudge tool which worked but I copied them over to a mod and now they aren't showing up in game?

tulip vapor
#

ayo

#

i need some help

#

i get chrashes

#

'[19:04:39][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "SOV_modern_armor_entity", associated with SOV modern_tank_chassis
[19:04:39][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "SOV_super_heavy_armor_entity", associated with SOV super_heavy_tank_chassis
[19:04:39][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "FRA_light_armor_2_entity", associated with FRA light_tank_chassis_3'

left condor
#

HOW THE FU-

#

HOW DID THIS HAPPEN

#

HOW DO I RESTORE IT

tulip vapor
left condor
tulip vapor
#

i fixed

left condor
tulip vapor
left condor
#

reinstall hoi4?

tulip vapor
#

yes

#

so can somone help me

wintry geode
#

how do you make so a country cant create more units?

#

or edit new ones

tulip vapor
wintry geode
tulip vapor
#

ty

cinder hedge
#

guys how should I store dds files? some formats cause crashes and some have incorrect colors

tulip vapor
#

where are they then

cinder hedge
tulip vapor
cinder hedge
tulip vapor
#

i just have default and another option

#

but it is default

cinder hedge
#

I would be glad if you could give me some details

#

like bro why

tulip vapor
#

no i ment where were the original files

#

for that

#

[19:22:34][no_game_date][pdx_entity.cpp:324]: Failed to find entity "ITA_mechanized_vehicle_1_entity" for attachment in vehicle
[19:22:35][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "SOV_modern_armor_entity", associated with SOV modern_tank_chassis
[19:22:35][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "SOV_super_heavy_armor_entity", associated with SOV super_heavy_tank_chassis
[19:22:35][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "FRA_light_armor_2_entity", associated with FRA light_tank_chassis_3

#

it is still there

#

i and i makeing the mod myself

#

it is not in debug

#

i didn't have that file

#

s owhere is it

#

do you know where it is?