#modding

1 messages · Page 6 of 1

jade mauve
#

so its kind of like a delay

#

normally events have like a 1 day delay

crimson wedge
#

Gotcha

jade mauve
#

thats why when you complete a focus, the event that the focus told you would trigger pops up a few hours later

crimson wedge
#

Yeah I'm making a focus tree submod for a country they're not going to work on and wanted to add some flavor events

#

But I don't necessarily need them to fire on a specific time

#

Just kind of "within a year or two" kind of thing

jade mauve
#

can i ask which one?

crimson wedge
#

Cuba

jade mauve
#

oh nice

crimson wedge
jade mauve
#

quite unreliable

crimson wedge
jade mauve
#

i havent checked that event

#

i think thats a news event, not an event exactly

#

they're pretty much the same but they do have some differences

crimson wedge
#

Major Terrorist attacks timetable
country_event = {
id = wot.1

is_triggered_only = yes
hidden = yes

trigger = {
    NOT = { has_government = fascism } #Just incase some tomfoolery happens
    original_tag = USA
}

option = {
    name = wot.1.a
    log = "[GetDateText]: [This.GetName]: wot.1.a executed"
    ai_chance = { factor = 100 }
    news_event = { hours = 18 id = wotnews.1 }
    country_event = { id = wot.2 hours = 12 }
    if = {
        limit = { NOT = { has_country_flag = USA_increased_intelligence_efforts } }
        random_list = {
            5 = { set_country_flag = major_terrorist_attacks_discovered }
            80 = { set_country_flag = terrorist_attacks_succeed_no_fourth_plane }
            15 = { set_country_flag = terrorist_attacks_succeed_fourth_plane }
        }
    }
    if = {
        limit = { has_country_flag = USA_increased_intelligence_efforts }
        random_list = {
            15 = { set_country_flag = major_terrorist_attacks_discovered }
            75 = { set_country_flag = terrorist_attacks_succeed_no_fourth_plane }
            10 = { set_country_flag = terrorist_attacks_succeed_fourth_plane }
        }
    }
}

}

#

That's their code

#

(sorry if I shouldn't be posting that here, although I guess it's not exactly private lol)

jade mauve
#

dont worry

crimson wedge
#

Is their option part what makes the user see the event?

jade mauve
#

no, i think its the original_tag?

#

the option is just the button at the bottom of the news

#

and i dont think thats a news event actually

#

i think thats a normal event

crimson wedge
#

Maybe there's some other area that shows when it starts

jade mauve
#

yeah, i dont really see the trigger there

#

could be in the 'on_actions' file actually

crimson wedge
#

where is that file exactly? I couldn't find it

jade mauve
#

common/on_actions/0_on_actions.txt

#

the file name can change

crimson wedge
#

Let's see

jade mauve
#

did someone ask where are the mods stored?

#

i saw it for a split second

crimson wedge
#

Yeah where did that message go? lmao

jade mauve
#

i think they deleted it

#

idk why tho

#

i could have helped XD

crimson wedge
#

I was literally looking for the file path for them lol

#

Anyway I think you're right, here's the code from their on_actions file (different file name as you guessed)

#
            USA = {
                country_event = { id = usa_vanilla.50 days = 5 }
                country_event = { id = usa_vanilla.51 days = 5 }
                country_event = { id = usa.1000 days = 120 random = 20 }
                if = {
                    limit = { has_start_date < 2016.1.1 }
                    country_event = { id = usa.3 days = 5 }
                    country_event = { id = usa.4 days = 70 random_days = 20 }
                    country_event = { id = usa.6 days = 90 random = 70 }
                    country_event = { id = usa.7 days = 1 }
                    country_event = { id = usa.9 days = 25 random = 10 }
                    country_event = { id = usa.11 days = 45 random_days = 125 }
                    country_event = { id = usa.12 days = 79 random_days = 15 }
                    country_event = { id = usa.15 days = 60 random_days = 35 }
                    country_event = { id = usa.34 days = 97 random_days = 4 }
                    country_event = { id = usa.35 days = 130 random_days = 135 }
                    country_event = { id = usa.36 days = 219 random_days = 8 }
                    country_event = { id = usa.53 days = 3 random = 2 }

                    # 9/11 Event
                    country_event = { id = wot.1 days = 620 random_days = 732 }
#

So what exactly does this part mean:

#

country_event = { id = wot.1 days = 620 random_days = 732 }

jade mauve
#

i think it means that for the usa, the event 'wot.1' will trigger at a minimum of 620 days after the game starts and a max of 620+732 days after the game starts

#

thats my guess

crimson wedge
#

Okay cool

#

Super helpful, thanks

jade mauve
#

so it would be like telling the computer "ok, you got this event and it will trigger 620 days after the game starts, then you choose"

#

alternatively, it could mean that the event will trigger at a minimum of 620 and then have a range of 732-620 days to trigger

jade mauve
#

i dont think 9/11 is supposed to happen 3 years after 2001

#

so, the event will have a minimum date of 620 days after the game starts and then it could trigger in any day after that until reaching 113 days after the 620 days have passed

crimson wedge
#

Awesome

#

Yeah it happened as late as 2003 in my recent game lol

#

Yeah I think I'll focus on events triggered by focus tree completions

#

Which is probably pretty easy, right? Just limit it to "triggered only" code and then it won't fire otherwise?

jade mauve
#

in theory

crimson wedge
#

Hah what

jade mauve
#

events are kinda tricky, specially with paradox's code, so some things i still dont fully understand

crimson wedge
#

So if through a focus tree I have an effect to fire a specific event, it might not?

jade mauve
#

oh, in this case it MUST trigger

#

if not, then buddy, the code is against you

#

its just that the triggered_only can be a headache in other cases

#

but if you only plan to do so through focuses then you need to use it

#

its quite easy to mod events with focuses

crimson wedge
#

Ahh I see

#

Okay good

#

Maybe I should just focus on those for now and if I'm feeling ambitious, I'll add more "random" events later

jade mauve
#

sure, go ahead

#

now, i'll take a break of a few hours from modding

#

see ya soon

crimson wedge
#

Thanks for your help

jade mauve
#

np

halcyon portal
#

whats the syntax to change a country name after a focus is complete?

halcyon portal
#

oh

#

thx

#

i was looking through the code and saw something that said cosemetic tag

mighty saffron
#

what should i pick

magic shoal
obtuse condor
mighty saffron
obtuse condor
mighty saffron
obtuse condor
#

Also idk if this a bug but I just got off MD and for some reason whenever I start as China or anything, I have zero equipment

mighty saffron
#

for md

obtuse condor
mighty saffron
obtuse condor
#

They all got moved to Novum Vexillum, which is an awful mod

#

But all the devs prefer old MD

#

So they stopped supporting their submods for MD

#

Well I mean, you have Turkey submod @mighty saffron

#

Other than that theres this one rework of an old Korean submod, but its currently broken

obtuse condor
#

At least its being developed

mighty saffron
autumn briar
#

I use the equestria at war mod before

#

Along with escalation mod

twilit arch
#

honestly modding isnt even that hard its just that its tedious

esspecially after getting used to godot and calling and all that stuff

autumn briar
#

And heck I got over 53 mod installed lol

pale sparrow
#

Iron Workshop is not useful for basic stuff you can easily read in the base game

twilit arch
pale sparrow
#

You can still make bad or nice things with it

obtuse condor
keen pagoda
#

@buoyant dove how is that tree creator

paper breach
#

What are the mods that you guys think are gonna break with BBA? (Besides total overhauls like TNO, KR, and TWR cuz no shit)

#

I was planning to just play vanilla with some graphical mods I like until the the gameplay mods get updated, since I don't think stuff like fps map is gonna break (I hope)

cinder wasp
#

kinda dumb question

paper breach
#

That's what I thought

buoyant dove
#

At least they will be fixed after not long

#

There aren’t as many changes compared to say NSB

paper breach
#

Right

#

Alr

cinder wasp
#

planes, peace conf and divisions command

buoyant dove
#

Planes probably won’t be that hard to fix

#

The designer wil probably be patched out most mods for now

cinder wasp
#

just said the main changes

buoyant dove
#

Peace conferences also won’t affect modding wise also

#

Divisional command also i doubt

#

So most mods

#

Are probably safe

cinder wasp
#

well, i sure need some time to teach ai how use new conferences

buoyant dove
#

Most mods don’t change peace conferences

#

Unless they outright remove them like TNO

wind lava
#

Or research

wind lava
buoyant dove
#

Depends how moddable it is

wind lava
#

And kinda curious you think they gonna make some infantry or artillery designer next? KEKW

charred silo
#

rifle designer 😎

burnt terrace
#

is there any mod that consists Israel and a good focus tree of Israel after WW2 (obviously), other than Millennium Dawn or Iron Curtain?

#

something in the cold war times.

warped hare
#

Anyone know a good alt history mod that uses the latest version, since I can’t change my game version

obtuse condor
#

does anyone know a mod that makes your game run faster?

obtuse condor
#

i need help

#

made a bunch of new states in new england not realizing the new england state would remain and just override the rest

#

how do i get rid of new england

stuck mist
#

Every state needs to have provinces

#

So you'll need to move it somewhere or remove one of the new ones and reuse New England and just modify the file to make it more realistic and modify locale

slender brook
#

Those would be the only ones I can think of

obtuse condor
#

what does this mean

#

theres nothing about the map in the error log

slender brook
obtuse condor
#

i did but i honestly have no idea what the error cld bwe

#

all the states r in the rigght place

dense crag
#

Confused on why this happens, i assume its something to do with the colors.text file

#

but i cant find anything

dense crag
#

fixed

lucid patrol
#

Anyone know if road to 56 conflict with like faction because the start of all my game the main faction aren’t created and are never created

pale sparrow
humble lagoon
#

hello all, how to add mod to steam workshop?

slender brook
humble lagoon
#

are there is wiki for modding?

slender brook
lucid patrol
golden pike
#

what is the best modern day mod?

gentle lake
pale sparrow
#

None

gentle lake
#

tru

golden pike
#

any good mods, besidese kaaisereich and 56?

#

kinda bored tbh

slender brook
pale sparrow
#

I think OWB is pretty cool but its oddly balanced at times

#

WW1 feels too scripted so I dont like that

#

Did KR have the division limiter? Kinda hate those

golden pike
#

ill check those our rn

gentle lake
#

yes because kaisserreich ai just spams divs

#

at least from ym experince

pale sparrow
#

I played as like France and I could in no way match Germany's division count, kinda unfun

gentle lake
#

then i think your supposed to make better divs

#

but there is also really a limit to that

pale sparrow
#

Even with better divs its hard to win a 1:1,5 while attacking

gentle lake
#

maybe some form of cocentrated attack with tanks but i guess with good ai they push you where u are not

pale sparrow
#

Im usually happy with a 1 v 1 won while attacking, I think a standard 21w is slightly too bad for that still
But I dont exactly have the factories to go build space marines

gentle lake
#

hey modding question

#

how would u say in syntax that you need a certain advisor

#

like not just have them be able to be picked

#

but active

pale sparrow
#

has_idea

gentle lake
#

oh yeeeee

#

ideas or also characters

pale sparrow
#

I guess what you describe is has_character

gentle lake
#

yes but like active

pale sparrow
#

Yeh I meant the thing you didnt mean

gentle lake
#

as in you have them picked as advisor

pale sparrow
#

yeh thats has_idea

gentle lake
#

ok thx

pale sparrow
#

is_character_slot = political_advisor Inside a character scope I guess is a way if you wanna avoid using the idea token for some reason

gentle lake
#

hm ok

subtle totem
#

Is it possible to change the layout of a division using decisions?

#

Or create a division template via decisions for that matter?

obtuse condor
#

Is the change leader portraits compatible with major mods?

#

Like kaiserreich, the great war redux and so on.

jade mauve
obtuse condor
#

I mean, if I use it on md will it display mod generated leaders or modern leaders from md?

jade mauve
#

what are you trying to do?

stuck mist
obtuse condor
golden pike
#

guys with the great war redux mod, I did the focus for mittelafrika but i can't form it in decisions

stuck mist
#

Again, ask on their discord or whatever else they have

golden pike
#

okay

haughty folio
#

so i just finished creating my map mod for hoi and when i loaded up the game i got at least a few thousand errors, do i need to fix all of these?

pale sparrow
#

yes

green lark
polar citrus
#

Question: what do i do with my new provinces now that i've got BBA?

dense pebble
#

Good evening

After the update for the DLC By Blood Alone, my mod no longer works. The game crashes while loading files

Can you tell me how I can fix it?

#

What was the change in the game files?

Is this another modification of the map. My mod is a new map, not the original.

I hope that’s not really the problem, because I’d have to start over

small badge
#

The update is not compatible with existing saves

#

Roll back to an older patch if you want to finish a game

#

You can do that via steam betas

dense pebble
#

So I have to delete my parts?

gentle lake
#

i aint no good modder

#

but this is what happened with me when i added a state

dense pebble
gentle lake
#

hmm ye idk im new

#

i just know this cus it just happened to me

#

it told me this in the error log

#

so idk

primal lance
#

Can someone who knows something about modding tell me how to change how the Trade Law Closed Economy works? I am frustrated that it completely cuts off all trade and I want to change it to something more realistic.
Please tell me what I need to do to change it. I have no modding experience so please explain it as you would to a geriatric and dim witted monkey.

ivory mesa
#

ı how to modding hoi4 10.0.2?

obtuse condor
#

alright how to i update my mod to blood alone

#

i reuploadrd my mod with the right version buut the mod still crashes and gives me a giant error log

#

what am i forgetting

dense pebble
obtuse condor
#

you can look up what kind of categories there are

#

if you need to reference the files of states already in game

haughty folio
#

anyone wanna walk me through the process of making a map?

obtuse condor
# haughty folio anyone wanna walk me through the process of making a map?

This Hearts of Iron IV modding lesson will explain how to create new states, fix missing state info and fix map related errors.

Timestamps for this tutorial/lesson:
00:00 - Introduction
01:00 - Creating Mod and Debug Mod
01:25 - Creating a new state using Nudge tool
04:18 - Assigning Strategic Region
05:15 - Fixing building sprites
07:37 - Fixi...

▶ Play video
gray summit
#

anyone know where is the new code of 1.12 divisional_commander?

rough robin
gray summit
rough robin
#

Oops, sorry that was meant to be unit history

#

GER_1936_nsb.txt, line 159+

gray summit
#

unique={
"xxx xxx"
}

rough robin
#

yes, that'll define their name, and you can give them a portrait using the example below

#

You can supply a list of names if you want, and they'll be used sequentially

viscid sigil
#

How do i use mods? I'm on the xbox game pass version and whenever i download one it doesnt show up, do I need to do something else?

gray summit
#

can i promote named "unique=xxx" as a real commander?

#

or can i use the real corps_commander name in the "unique=xxx"

slender brook
#

One just downloads a zip file

#

The other automaticslly adds it to tour launcher

viscid sigil
#

i think i figured it out

#

for some reason on the site they were disabled

thin chasm
#

Anyone know what the background image for the focus tree is called in the game files?

#

I've been looking, but I don't see it, and I'm wondering if I've perhaps gone blind without realising

#

Like this, but not this, because this is just a screenshot I took for quick reference

#

oh, wait, i think I see it now, never mind

jade mauve
#

how is it called?

thin chasm
#

gfx/interface/tiles/tiled_focus_bg.dds for the corner bits

#

And then one of the other background tiles for the actual background, but the corner bits was what I was looking for, so I stopped there

jade mauve
#

oh ok, thanks anyways

jade mauve
#

i dont know if you've found the corner bits, but they're called 'tiled_focus_bg.dds'

#

located in the same folder that you told me

dapper yacht
#

i attempted making a mod and the game updated and now it doesnt work at all

slender brook
#

And, did you edit basegame files?

dapper yacht
#

i added a new country and assigned it provinces

slender brook
#

And this was in a proper mod folder?

dapper yacht
#

yes

slender brook
#

Where was this country?

dapper yacht
#

texas

slender brook
#

Well they didn't change the stuff around that area. I don't see how the new update would make it not work. Can you zip the files for your mod and send it over?

dapper yacht
#

okay

#

its gonna take a minute i have a slow HDD

#

it says the file is too large to upload

slender brook
#

uh hmm

pale sparrow
#

Youve probably packed too many files into your mod then tbh

#

Oh wait some people use custom art, I forgor

slender brook
#

Oh yeah I forgor I was helping this guy

pale sparrow
#

NotStonks 📸

edgy solar
#

so if i make a mod and put it on the steam workshop, I'm supposed to use the local version of it not the steam version yes?

stuck mist
stuck mist
bitter cargo
#

I offer a challenge to anyone who is apart of the RT56 crew. The challenge is to add components to make any (at least one) airframe do air resupply

gray summit
#

How to promote division commander as Corps commander?

#

Is it hard code?can’t remove division officer?

obtuse condor
#

Is there a player led peace conference mod compatible with by blood alone

slender brook
#

The hell is this

quick orbit
#

unfinished ig

thin chasm
#

The real Communist Italy path

#

USSR? Miss me
CPQR? That good stuff

manic wolf
#

hi

slate mesa
#

anyone got a way to delete thte text of multiple files all at once?

manic wolf
#

how-

cedar mauve
#

any map mod like fps map that currently works?

manic wolf
#

ik oasis does

#

if you want a map mod that just changes the gfx

mint hound
#

im new how do i set a thumbnail image for the mod on the workshop

#

oh i found a vid

pale sparrow
#

In the descriptor and mod file, add a line thats picture=thumbnail.png then make a file named that

pale sparrow
#

Lemme verify on the wiki

mint hound
slender brook
#

You just put a .png file in the mod folder. Must be 512x512 or less. Must be named thumbnail.png

#

But I don't think that line is necessary

#

I have not done that before and it works

#

I'd still put it in for good measure though

pale sparrow
#

512x512 or less? That explains it

slender brook
#

Also should probably be square but that's more about aesthetic

pale sparrow
#

Ironworkshop always a bit lengthy fot what Geoff Free just said in 5 messages

slender brook
#

Tbf, that's about the whole process which is uh
Slightly longer

#

Barely longer

mint hound
#

i think i did it?

slender brook
#

Well did the thumbnail show up

mint hound
#

1 sec my pc crashed im gonna see

#

oh it worked

stiff widget
#

It looks cool

cedar mauve
#

any mod to give war score for passing?

obtuse condor
#

New update = new problems

jade mauve
#

same

#

i have a similar issue

#

and i dont know why its happening

gray summit
rough robin
#

You could probably fudge it somehow, but div commanders do not have skill

green lark
stuck mist
stuck mist
jade mauve
#

hold on

#

let me see

#

idk, if thats actually the issue, as the error.log does not tell "AFA tag does not exist"

obtuse condor
#

Does anyone know where can set "Mod Award"?

jade mauve
jade mauve
obtuse condor
#

oh god

#

I think another big mods are known that

#

Shooot...

obtuse condor
jade mauve
#

no idea either

#

its been a day, so i'm still fixing my mod

obtuse condor
#

oh

#

good luck for you

jade mauve
#

yeah, the update and dlc broke it quite well

jade mauve
#

has anyone else got this error?

#

ok so i found the issue

#

for some reason the game made the eastern siberia air zone ALL of siberia

#

lmao

pale sparrow
green lark
#

tried the new paradox industry focuses

#

heres the psd, dont use it directly in any mods though uwu :3

green lark
#

who made all those

#

wait its mike

#

hio

worthy narwhal
#

Mix of Globus, Myself, and real life flags

#

Hey

green lark
#

4000 💀

worthy narwhal
#

atm it's 4428

#

We've not finished yet (And this doesn't include the vanilla ones)

green lark
#

i cant swear

#

💀

#

but good job daymn

worthy narwhal
#

Thanks man

#

The dedication to 4 ideology flags for each of our tags

green lark
#

💀

#

shit i realised

#

mods with like 800 countries and 3000 different ideologies

#

💀

worthy narwhal
#

Most of them just have repeating flags

green lark
#

good point

open marsh
#

hi!
i created a custom country, but i cannot release it, it says it needs an event

#

can i change that, so i can pretty much release it at any point, just like romania with ukraine?

#

(Stalino state as donetsk)

open marsh
#

(i annexed it)

obtuse condor
nocturne imp
#

Can the size of the air wing be changed by a mod?
(From 100 aircraft units to 10 aircraft unit.)

analog anchor
#

How does one update their hoi4 mod to the latest version.

slender brook
#

And make sure to change the version to current

mossy ice
#

I remember when a mod messed up my hoi4 game files and ruined the colors of my nations

slender brook
#

Yeah they do that sometimes

unkempt dirge
#

Hello. Many of the Field Officers assigned to divisions in the new DLC do not have portraits assigned to them. So I want to apply the generic portrait mod for generals that I previously created myself to their generation as well.

#

Where are the rules defined for field officer portraits?

worthy narwhal
worthy narwhal
worthy narwhal
# analog anchor I've updated the map.

If you've added states but not replaced path make sure the new states are fitted in.
If you've added provinces and therefore strategic regions make sure the new ones are fitted in.

nocturne imp
steady dove
#

How do some mods change the pictures for certain places

#

Like custom city pictures for Berlin, Paris, London, etc

wild torrent
#

is r56 compatible with BBA?

#

yet*

slender brook
#

Don't believe so. Keep attention to the mod page for when a new update comes out

wild torrent
#

yeah I'll probably just wait until it's updated to play

#

otherwise i'll feel like I'm losing features

open marsh
#

I want it to be releaseable

obtuse condor
#

hey

#

anyone able to help me with modding

slender brook
#

Depends on what you need help with

obtuse condor
#

Tryna add the blackshirt italian malitia technology to another country

#

having a brain fart rn

slender brook
#

Well just take the technology from one history file to another

obtuse condor
#

there is no technology file in the history

slender brook
#

Well then it has to be determined somewhere else

#

Found it

#

blackshirt_assault_battalion_tech

#

I looked in infantry.txt

obtuse condor
#

Yeh but how do I add it to a country on 1936

slender brook
#

Add that to their technologiesin the history file

obtuse condor
#

What line of code do add to the country

slender brook
#

blackshirt_assault_battalion_tech = 1

#

It's the same syntax as every other country

obtuse condor
#

ah

#

so nothing different

slender brook
#

I assume it worked because you deleted the image?

obtuse condor
#

no it didn't

#

I thought I put it in the wrong file

#

but it isn't working for some reason

slender brook
#

Ok I'll do some independent research and see if I can fix this

obtuse condor
#

thanks

#

is it the always = no

slender brook
#

No because Italy has it

#

They get theirs in a focus

obtuse condor
#

hmm

#

idk then im lost on how to make it work

slender brook
#

I can't get my console commands to work so it'll be a minute

obtuse condor
#

Ok ill wait

slender brook
#

You know it's a support company right?

obtuse condor
#

Right, did I need the technology folder in my mod?

slender brook
#

No

obtuse condor
#

so what did I do wrong

#

hmmm

slender brook
#

Did you properly enable the mod

obtuse condor
#

yeh

slender brook
#

So yeah it should show up in support companies

obtuse condor
slender brook
#

Yeah that all looks correct. Should be in support companies in that case. If it isn't, I'm not sure what the issue could be

obtuse condor
#

yeh

#

i see this

slender brook
#

Oh that's fine

#

Assault battalion is what it's called in-game

obtuse condor
#

it should be something like this

slender brook
#

Oh! You're talking about militia units

obtuse condor
#

yea the infantry one special for italy

#

camice

slender brook
#

Yeah no that's just a special division. Militia aren't unique per se but not commonly accessible

obtuse condor
#

yea

#

so how could I get that into germany instead

slender brook
#

You'd have to make a custom division template or a custom technology

#

Militia aren't unlocked by technology they are unlocked by division templates

obtuse condor
#

can't I copy the italian one?

slender brook
#

Yeah you could just copy the Italian division

obtuse condor
#

how can I copy that onto germanyt

slender brook
#

So check the Italian history file

#

Oh wait

#

No, check the Italian oob

#

Which is in units

#

Find the militia division and copy it into Germany's oob

obtuse condor
#

they don't have an oob one

slender brook
#

Yeah no oob is just the colloquial name

obtuse condor
#

which italian one do I click on

slender brook
#

1936

obtuse condor
#

i copied that over to germany earlier but didn't work I think

#

i copied this

#

onto GER

#

what would I need to change

#

division_names_group = ITA_INF_02?

slender brook
#

Remove template counter I think

#

No

#

That just says the icon

obtuse condor
#

I have a question about the Great War mod. Also sorry if I interrupt you, but the Great War Mod refuses to load properly without crashing

slender brook
# obtuse condor
    name = "Militia Division" 
    division_names_group = GER_Inf_01

    regiments = { 
        militia = { x = 0 y = 0 }
        militia = { x = 0 y = 1 }
        militia = { x = 1 y = 0 }
        militia = { x = 1 y = 1 }
        militia = { x = 2 y = 0 }
        militia = { x = 2 y = 1 }
    }
    support = { 
        engineer = { x = 0 y = 0 }
    }
}```
obtuse condor
#

Sadly, no

slender brook
#

That'd be why

obtuse condor
obtuse condor
#

Thanks

slender brook
#

To prove it, that is the exact same division I just removed all of Italy's flair

obtuse condor
#

they use a different type of malitia

slender brook
#

It is literally the exact same division

#

All I did was rename it

obtuse condor
#

ok testing now

slender brook
#

And removed some lockers

obtuse condor
#

nothing there

slender brook
#

Alright show the folder tree

obtuse condor
slender brook
#

Yeah that looks right, really the only issue I can see is that the mod is not enabled properly

obtuse condor
#

mods fine everything else is working

slender brook
#

I see. I'll keep doing some digging on my end to see why this isn't working

obtuse condor
#

yeh not sure why it wont

slender brook
#

We have been editing the non-No Step Back oob

obtuse condor
#

so what do we do chief

slender brook
#

Well you just past the division template in the NSB version of the oob

obtuse condor
#

ah

#

really that simple?

#

would be nice if paradox pointed out "DO NOT EDIT THE OTHER ONE"

slender brook
#

Nah because they still need to edit the old one

#

For if you don't have NSB

obtuse condor
#

how can I change the icons

#

to the normal one

#

like this guy

slender brook
#

Remove the template_counter

obtuse condor
#

I mean the uniforms

#

on the right

#

i want them to be the blackshirt characters

slender brook
#

Oh yeah that's gonna be a bit more in-depth I think

obtuse condor
#

i think its a simple line of code to add to the countrys file

#

to allow certain uniforms

#

but not sure which one

slender brook
#

It could be. I've never messed around with this

obtuse condor
#

Yea not sure and cannot find any tutorials

slender brook
#

Alright well I've frankly given up

obtuse condor
#

yeh

#

i looked it up

#

apparently it is the entity

#

override_model = ITA_infantry_alt_1_entity

#

you sure it isn't the division names group?

slender brook
#

It could be but I doubt it

#

You can try it. I've never tried to modify unit graphics

obtuse condor
#

yeh I cannot figure it out

solid junco
#

Do someone here knows a mod that expand the investigation?

pale sparrow
#

the what?

obtuse condor
#

common\medals and common\ribbons

#

Damnt

humble cedar
#

Im thinking of starting a mod just to "improve" greece's focus tree.

unkempt dirge
#

Does anyone know how to add a portrait of the division commander in the mod? I can't get it to work the same way as the general's portrait.

green lark
#

another one

proper finch
#

how do I get player led peace conferences working?

keen spindle
#

You gotta wait for the devs of the mod to update it, I guess

obtuse condor
#

i honestly fear updates, cos it takes half a dozen good mods away (cos the owners wont update)

humble cedar
#

i played with it a couple of hours ago while trying out the new italian focus tree.

humble cedar
#

?

obtuse condor
#

Anyone having issues or had with focus trees? I have in my mod all the things needed to edit a focus tree. My "germany.txt" i deleted the whole focus tree and it remains standard. I added my own focus and it doesn't show. Anyone know how to fix?

slender brook
#

Sure you got the right pathing?

humble cedar
#

I was checking a modding tutorial some hours ago and i saw the youtuber write in the code normal_focus_tree : off or smth

obtuse condor
#

Yeh common > national_focus > germany.txt

slender brook
#

Yeah, that looks correct. In that Germany file, try increasing the weight at the beginning of the file

obtuse condor
#

I had all the standard content in there

#

normal germany focus tree

#

i added my own to the side

#

didn't work

#

i deleted the whole focus tree

#

nothing changes

humble cedar
#

quick question cause im going to start trying to mod HOI4 soon, can i still use the normal greek focus tree and do some adjucements to it?

obtuse condor
obtuse condor
slender brook
#

Nah I’m on phone so it wouldn’t help

humble cedar
slender brook
#

Yes

obtuse condor
humble cedar
#

Cool, i hate the greek focus tree, it just doesn't make lot's of sense

slender brook
#

No, not really. Germany shouldn’t have multiple focus tree files like what happened yesterday

#

Try increasing the weight at the beginning

humble cedar
#

isn't there a thing at the beggining of the code that is smth like "normal_tree = false" ?

#

or smth among those lines.?

slender brook
#

Well with the game works it should just overwrite Germany’s tree entirely but I suppose that could work? Never heard of that line so I’ll check the wiki

slender brook
obtuse condor
#

ok I fixed the issue

#

but for some reason my mutually exclusive wont work

slender brook
#

You must make oppose hitler be mutual with your thing as well

humble cedar
#

"prussian_sympathies"

#

Intresting.

humble cedar
# obtuse condor

don't you have to mate it mutually exclusive with "Rhineland" as well?

obtuse condor
#

still not working

humble cedar
#

welp.

#

uh

#

are you sure you got the correct id for the rhineland ?

slender brook
#

So you made opposite hitler mutual with it as well?

#

Mutually exclusive must be put in both mutually exclusive foci

obtuse condor
#

GER_rhineland

#

What should the line of code be

slender brook
#

Well just put mutually_exclusive in Oppose Hitler and put your focus there

obtuse condor
#

ah odd

#

but works

slender brook
#

Yeah as I said, mutually exclusice has to be put in both mutually exclusive focuses

manic wolf
#

how to add more of these?

obtuse condor
#

Anyone know how to make a civilwar appear in a certain area done by decisions. For example spanish civilwar

slender brook
slender brook
manic wolf
#

is there a way to make a city appear bigger?

obtuse condor
#

like when in the spanish civilwar you influence areas

slender brook
#

Not sure. The Spanish Civil War is quite complex

#

I assume there would be variables and such

manic wolf
#

how do i add new cities?

obtuse condor
manic wolf
#

like what happens in the Russian civil war?

obtuse condor
#

Yeh

#

something like that would be nice

manic wolf
#

i would say try and look ad pdx's code for nsb decisions

edgy solar
#

You could rip the games code and learn from it

manic wolf
#

i decided to give egypt 4 research slots

#

:v

obtuse condor
#

yeh but that is based differently

#

like its specifically done for SOV

#

with trotsky etc

manic wolf
#

you can change the tags and state id's

obtuse condor
#

maybe

#

another question I got is have anyone managed to get the balance of power to work on another country

#

I'd love to put it on germany

manic wolf
#

how do i make an area passable rather than impassable

obtuse condor
#

which is a hard code thing

manic wolf
#

ah

obtuse condor
#

do you know where the balance of power mechanic might be stored

manic wolf
#

nope

#

idk which mech that even is

#

if i had to guess it for a nation i have yet to play

#

closest is probably the USA

obtuse condor
#

Balance of power is not a decision

#

but I cannot figure out what it is

thin chasm
#

/common/bop

#

Individual decisions relating to BOP are located in the country's decisions.txt file in /common/decisions

obtuse condor
#

I copied the BOP folder

#

still nothing here

#

I copied the decisions and made it so that if I completed a focus it would activate

obtuse condor
#

is there a vexillology chat?

#

I'd love to see one

#

Does anyone know how I can manually fire it?

#

theres a file called test in BOP

#

contains this code

#

am I missing something? Do I need to add some extra files over or something

edgy solar
#

have you made it so that a focus unlocks it?

obtuse condor
#

yes

small badge
#

Btw, if I may suggest, there is a visual studio code plugin that provides intellisense for hoi4 etc. script files

#

it can be useful

edgy solar
#

ill fiddle around with this for a few and see if it works

#

if it does ill come back to help

obtuse condor
#

it should be easy

#

but I have spent like 8 hours on it

#

My custom Irish flag

edgy solar
obtuse condor
obtuse condor
#

I make flags for mods

#

I am a big fan of flags

#

My custom Greece flag, The Kingdom of Greece and Western Anatolia

manic wolf
copper loom
#

with 1.12, there are several new states, do i actually have to edit every changed state in a mod that has the states of 1.11 or can i use the one from 1.11 in a mod?

pale sparrow
#

you have to change a bunch of stuff

#

you have to edit previously existing states, add new ones, adjust strategic regions, adjust the province map, etc. etc.

manic wolf
#

hehehe

obtuse condor
manic wolf
obtuse condor
#

lol

manic wolf
#

still cant get all the intresting minors to appear

#

only some are

slender brook
manic wolf
#

nope, nothing bookmark related

#

here's all i get despite a few more being there, like albania, iran, iraq, etc

raven bronze
#

anyone know how i change my version to 1.11.12 for a mod

#

since its not in any of the options

edgy solar
#

change the version to 1.12.1

raven bronze
#

alr thanks

acoustic sundial
#

Trying to play around balance of power with console command. But it kept saying failed to change.

What do I put it for ID?

green lark
#

a couple assets i did for fun

steady dove
#

if i get this warning one more time im actually going to die

slender brook
steady dove
#

when you're learning mapping it is very stressful

#

but as with the rest of modding, when you get the hang of it, it's a lot easier

buoyant dove
proud tangle
obtuse condor
#

is there a mod that simplifies the naval combat in this game

humble cedar
twilit arch
dense crag
#

i keep getting this error, though i dont have a "thumbnail" in the descriptor file

green lark
stiff widget
#

(for national focus)

green lark
stiff widget
simple dust
#

does anyone know where to find character id in hoi4?

pale sparrow
#

common/characters

simple dust
#

unknown command

twilit arch
#

where can i find blank focuses

#

like the slate at the back of the focus itself

manic wolf
buoyant dove
#

Only minors

#

Majors don’t

manic wolf
#

Ah

#

Ig I need to get on to making the Israeli, Iraqi, Persian, Syrian and a few others focus trees?

lofty plaza
#

They don't need a focus tree they just need an entry in the bookmarks file

manic wolf
#

And no code issues, as they're exactly the same as the other minors

buoyant dove
manic wolf
#

yeah cause the ones showing up have focuses from dlc

#

which i own all expansions except bba

lofty plaza
#

As long as they have an entry they'll show, focuses have nothing to do with it

buoyant dove
#

they need to have focuses
the entries dont show if they dont have a unique focus tree

#

unless it changed in 1.12

#

but i dont believe it did

lofty plaza
#

That's just not true though

#

I can show you if you want

buoyant dove
#

show me

lofty plaza
#

Hold on a moment

buoyant dove
#

everything that ive seen has pointed towards them requiring unique focuses

#

taken directly from base hoi4

#

The ETH and SWI don't appear if you don't have BBA because they don't have a non-default focus tree

lofty plaza
#

They don't appear because they are disabled unless you have the DLC

buoyant dove
#

Yes

#

But I am talking about the bookmark

lofty plaza
#

Here you go

buoyant dove
#

We are talking about the minors section

#

The bit in the bottom

#

With all the small ones

lofty plaza
#

Oh yeah sure

buoyant dove
#

💀

lofty plaza
#

Doesn't make a difference though, just an extra check

buoyant dove
#

It does make a difference though

#

The minor bookmark entres don't appear if they have the default focus tree

#

And do appear if they do

#

which is to my knowledge a difference

lofty plaza
#

@buoyant dove

#

As you can see I made a minor bookmark for Egypt with them having the default focus tree and not even existing at game start. I just copied the localization from Ethiopia and Switzerland since I don't intend on making my own but it still proves my point

manic wolf
#

;-;

buoyant dove
lofty plaza
#

What's up

buoyant dove
#

remove whats in the EGY available section

#

Does it still show?

#

If there is anything there

lofty plaza
#

There isn't anything

gray summit
#

i know the division officer dont have any skill and no any bonus for the unit, but can you please allow to add the skill for the unique division officer, just for the effect after the MajorGeneral promote as General

manic wolf
#

whats the construction speed syntax for focuses

lofty plaza
manic wolf
lofty plaza
#

production_speed_buildings_factor

#

production_speed_<building>_factor

manic wolf
sick knot
#

this is in ideologies file lmao

worthy narwhal
#

Out of context Chinese tag generic for my mod

rotund hearth
#

is there any map mods for hoi4?

#

(that changes the map graphics)

pale dagger
#

or this collection

rotund hearth
#

thanks, but I meant in a less realistic way

#

like paper maps

slender brook
steady dove
#

where are the opinion modifiers for ideology?

#

Like the different ideology, same ruling party, and same ideology opinions

#

Or how in KR/X has the Similar ideology opinion for stuff

obtuse condor
dense vigil
#

can anyone help me with fixing the errors generated by mapgen

slender brook
dense vigil
#

wdym

#

im not talking about making new states im talking about the map generation tool

#

mapgen

green lark
dense vigil
lofty plaza
mystic owl
#

how to fix new resistance balance to old one

pale sparrow
#

Make a mod

mystic owl
#

how make is ask

slender brook
#

He's basically asking where the balance changes were made

#

And thus how to revert them

mystic owl
#

yes

#

👍

pale sparrow
#

I am thinking common/defines, you could ask someone who has reverted to give the old file to compare

slender brook
#

Wouldn't a lot of it be occupation_laws

mystic owl
#

am check

pale sparrow
#

Wanna check the wiki to confirm thats the right place, could be that folder yes

green lark
#

Egypt focus tree

lofty plaza
#

Road to 56

green lark
#

Ahh

slender brook
#

This is way smarter than how they did it before

obtuse condor
#

can someone make a gigachad leader mod for paradox plaza?

pale sparrow
obtuse condor
pale sparrow
#

🤔 Okay

#

Should the AI do it?

obtuse condor
obtuse condor
#

but first he has to become a field marschal through a decision he instantly starts at level 8

pale sparrow
#

But it exists already? 👀

#

Just use steamworkshopdownloader

obtuse condor
#

i couldnt find any

pale sparrow
#

The main one got valve'ed

obtuse condor
#

ill try to find it

pale sparrow
#

you could try SteamCMD, or I could just give you the files if you give the link

#

no I mean, Valve made them close the website

obtuse condor
pale sparrow
#

👍

#

It doesnt work for every game, but it works for most

trim snow
#

can you use player lead peace conference to replace the newly introduced peace system? Or is there some way to boost your war score for single wars? Kind of BS to not be able to fully annex nations

slender brook
trim snow
#

oh it does? I'm getting that patch then, thanks!

pastel badge
#

Any mod that removes the requirements for party popularity for the swiss focus tree?

#

really dumb decision, and you cant even change your political advisers

snow rune
#

what do i do since the new uppdate i havent been able to play mods it just craches

slender brook
#

Either rollback or wait for them to update

snow rune
#

can u give an example of a mod that is good and uppdated

slender brook
#

I do not

#

I only play with quality of life mods

snow rune
#

whats that

slender brook
#

Just mods that fix bugs or make changes I like

obtuse condor
pale sparrow
#

Oh?

#

I think it might not download every part you need

obtuse condor
pale sparrow
#

You could swipe the files here and I can see whats off

pale sparrow
#

You need the files inside the folder with .rar in the name

obtuse condor
pale sparrow
#

the stuff inside the middle folder should be here in the root folder

#

You can convert the files to run locally

obtuse condor
#

i dont understand a bit your saying can you record a video of it or smth

pale sparrow
#

You wanna change the path entry and put it in your Documents/Paradox Interactive/Hearts of Iron IV/mod folder

#

@timid bronze

slender brook
#

Production is going great

#

I think my oob broke something because now my is crashing

#

Nvm it was only once

small badge
obtuse condor
#

I went back a version but It wont load the game if I have mods installed. What do I do? please help

#

I went to 1.11.13 and have kaiserreich mods and no water reflection

pallid stump
#

is there a mod about crusades?

deep parrot
#

hi i want add focus for industry and add in effect research bonus for industry (1x 100%) what is the command in completion_reward for this?

#

pls help

pale sparrow
#
    bonus = 1
    uses = 1
    category = industry_tech
}``` I forgot what the category is called, but you can find that easily
obtuse condor
pale sparrow
#

Suure

pale sparrow
#

Is it just for local use or to upload

obtuse condor
#

i cant hear you

pale sparrow
#

It should work

obtuse condor
#

i cant hear you

pale sparrow
#

The mic tester sais it works fine

slender brook
#

Right click on the other person to increas evolume

obtuse condor
#

the ring is green but i cant hear you

#

can you type it?

#

or just share screen

pale sparrow
#

Done

#

Make a mod in the launcher->Drag the files into it, dont override the descriptor

#

that rar file was from here

obtuse condor
#

oh so i copy these there

pale sparrow
#

Yes, into a new mod you make in the launcher, you want to NOT override the descriptor

balmy fern
#

Hi,
this might be a stupid question, but I can't remove a ruling leader from power.
In a country event that I trigger by console, I have tried three methods:
retire_country_leader = yes
kill_country_leader = yes

    limit = { is_country_leader = yes }
    retire = yes
}```
but all of them have failed: the country leader stays the same (I tried USA -> Roosevelt, and LUX-> Joseph Bech).
As I gave no description to the event, it even displays: a message such as "[name of the country leader] retires", but nothing actually happens.
How do I make it work?
copper loom
#

What do I have to do in a "Undefined GUI_Type" error or what even does this mean?

odd galleon
#

HOI4 mods are installed on my c drive, but I don't have that much space left on it. Could I change the mod directory to my D drive and then the game will automatically store and load the mods there?

copper loom
odd galleon
#

yes but how do I change the directory

copper loom
#

Wait, it is possible to just drag the steamapps directory to another drive, so everything can be stored on one drive

#

In my case, i just created a folder on the new drive called e.g "Games" and pasted the "steamapps" file into that folder. Long since, so be sure to maybe have a backup

quiet ferry
#

hello i was thinking of making a cyberpunk mod got no idea where to really start anyone got tips?

#

if anyone wants to take part hmu im gonna need some help sooner or later XD

obtuse condor
#

Socialist Republic of Texas

copper loom
#

That flag is simple... but fire!

#

so much to fix

obtuse condor
#

GFX_medium_plane_3_medium. any idea where the key file (one that changes the image to a key) is

obtuse condor
#

beware sicily and yuof

#

alot of new pronvinces there cuasing broke states

obtuse condor
copper loom
#

Just for your information if you are making mods that greatly change the game and/or have edited career_profile in "interface", it is very likely that this will crash the game on startup

stone dawn
#

Is there a mod that remembers how the divisions in an army are sorted? While training up multiple armies, that would be rather handy. Sometimes its handy to keep an army sorted by how much goods they carry, sometimes its handy to keep them sorted them by division type. When selecting an army: it should default to the sorting it last had when viewed before, imho. If such a mod does not exist: it should be made, lol

deft karma
#

Could a mod from steam workshop give my computer a virus? is that possible? (even for other games but mainly hoi4)

silk agate
#

unl;ess you download a suspicious mod

deft karma
#

and how could i prevent it

#

if i were only downloading them through steam workshop

obtuse condor
#

Looking for a historical game with vanilla style? This mod for you (Artillery meta)

obtuse condor
#

I am looking to construct a mod, I was wondering if anyone would like to help me on it. I'm fairly new to the modding scene, and would greatly appreciate any help that could come my way.

obtuse condor
#

Anyone knows a good medieval or early discovery era mod?

green geyser
#

can someone make a mod that adds a new country rhineland

obtuse condor
#

My senate (Leader) Portrait for one of my nations

#

the flag of the Senatorial Demos of Texas

#

A country directly controlled by a Senate, not by a President

#

or one man

gritty cave
#

How does one make a hoi4 mod

deep parrot
#

how delete assigned national spirit ?

jovial panther
#

how can i add other countries to bookmarks? every time I try to add one it does this and does not show any other nation besides france

mystic owl
#

what

mystic owl
#

wow

#

shocking

#

where am find new beta

small badge
small badge
#

On Steam that is (Microsoft Store and other platforms must wait till next week)

mystic owl
#

ok

#

thanks

#

am steam user

copper loom
jovial panther
#

thank you

copper loom
#

No problem mate

small badge
jovial panther
#

how do you edit country borders?

copper loom
#

history -> states...

#

then...

#

more effective if you copy the states from vanilla into that folder

green trench
#

Do mods just not work with MacOS?

#

Whenever I try loading with a mod the game crashes.

obtuse condor
copper loom
#

and then, in the.txt files edit "owner" "controller" and so on

jovial panther
#

oh

#

alr

obtuse condor
copper loom
# jovial panther alr

also, if you dont want to get alzheimers trying to not forget the id of the state, go into debug mode and just hover over the state you want to edit

jovial panther
#

kk

mystic owl
#

why is making new states crash my game everytime

#

so sed

copper loom
mystic owl
#

yes

#

but I was modding on crack

#

now I have legit

green trench
#

Does running 1.11.* mods crash the game if you try launching them in 1.12.*?

copper loom
green trench
#

So overhauls are a no-no

copper loom
#

so just that you can feel how it is to even try to update a full game overhaul to 1.12 T_T

#

finally did it, missing provinces fixed 😄

gritty cave
jovial panther
#

that teaches some basics

#

Thanks for watching this lesson/tutorial

Useful links:

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

Hearts of Iron IV wiki modding page: https://hoi4.paradoxwikis.com/Modding

If you would like to contribute to make the Iron Workshop better you can do so on Patreon: https://www.p...

▶ Play video
gritty cave
blazing musk
#

ı wanted to combine some quality of life mods for me and my friends how can i do it?

copper loom
obtuse condor
#

what is this error and how do i fix it

blazing musk
copper loom
blazing musk
#

ye here it is

obtuse condor
#

also what are all thesse ugc files do i need them

copper loom
# blazing musk

Basically, all you have to do is to download the mods of your desire, go into the workshop content in steamapps -> workshop -> content -> find the number which leads to the hoi4 mods

#

the copy and paste the contents of the mods into your empty mod

#

But make sure they can work independently, so nothing overrides the ohter