#modding

1 messages · Page 30 of 1

dense condor
#

There might be a problem with the brackets

#

Other than that I don't think there's a problem

#

Compare it to the code of your first focus

young trout
#

man modding is so hard

#

i wanna die

keen parrot
#

are there mods compatible with ironman mode that fix vanilla bullshit things

young trout
#

i'm almost done sorta

#

I just need to add eliat and then I need to add a billion states and then I will be done with the map logic which is the most horrible

#

and then I have to do the same thing for Jordan, Syria & Lebanon

#

and then I need to change the troop spawns for the british and french because COLONIZER

severe knoll
#

does the AI strategy build_army work for only division templates, or it works for ships and planes too?

obtuse condor
mild shore
#

is there a mod for nuke testing

#

would be a fun addition to the lore

#

nuclear treaties and world tension rise

young trout
lofty plaza
#

That sounds time consuming

young trout
#

Yes, it does. I'm pretty sure Road to 56 has an Israeli focus tree right?

lofty plaza
#

It does yes

obtuse condor
edgy solar
#

my guess would there is an extra bracket or two in the second focus

obtuse condor
#

i have big problem

edgy solar
#

you could just copy paste the second focus code in text

edgy solar
#

or send the whole file in

obtuse condor
#

focus = {
id = FRA_army_reforms
icon = GFX_focus_generic_little_entente
x = 4
y = 1

    prerequisite = {FRA_france_begin_reforms}
    mutually_exclusive = { }
    cost = 10
        ai_will_do = {
        factor = 1
    }
    available = {
        
    }
    
    bypass = {

    }
    cancel_if_invalid = yes
    continue_if_invalid = no
    available_if_capitulated = no
    search_filters = { FOCUS_FILTER_ARMY }
    completion_reward = {
        army_experience = 25
        }
    }
}
edgy solar
#

yeah you have one too many brackets

#

delete the last one

#

it should work

obtuse condor
edgy solar
#

yeah

#

delete one

obtuse condor
#

} is bracket?

edgy solar
#

yes

obtuse condor
#

focus = {
id = FRA_france_begin_reforms
icon = GFX_focus_fra_french_union
x = 25
y = 0

    prerequisite = {}
    mutually_exclusive = { }
    cost = 10
        ai_will_do = {
        factor = 1
    }
    available = {
        
    }
    
    bypass = {

    }
    cancel_if_invalid = yes
    continue_if_invalid = no
    available_if_capitulated = no
    search_filters = { FOCUS_FILTER_POLITICAL }
    completion_reward = {
        add_political_power = 150
        add_stability = +0.010
        }
    }
}
#

is first focus

edgy solar
#

that also has one more } than it should

obtuse condor
#

game show first focus

obtuse condor
still iris
#

Hello, this may be a weird question, but I like to ask: is it possible to use this game and make a pseudo-mod without Steam Workshop? example like this

obtuse condor
#

you help me with defeat big problem

edgy solar
#

good luck on the focus tree bud

obtuse condor
#

@edgy solar oh i have problem

#

focus say i need 0 days and not given any rewards

edgy solar
#

the second one?

obtuse condor
#

in second focus

whole ermine
#

Does Mod Sharing include advertising for mod updates?

obtuse condor
#

there is mistake?

#

ah

#

he fixed

#

i dont know how

edgy solar
#

im trying to see what the problem might be

#

so im using the code you just sent in to see what errors show up

obtuse condor
#

okey i am go to bed

#

and next day continiu the focus trees

edgy solar
#

ah i see the problem

edgy solar
#

that should work

#

and the lines of
cancel_if_invalid = yes
continue_if_invalid = no
available_if_capitulated = no
arent needed

#

so you can delete them as well

plush ruin
#

can i off the fog of war by script?

#

PLEASE

dapper wadi
#

Ik afraid not

coral vessel
#

hello, i was wondering if there is an economics mod thats sort of like the one in millennium dawn but for base game/road to 56

slender brook
#

Fixed it
There was an empty OOB = "" at the bottom
Also fixed infantry weapons tech. It was using a - not a _

sturdy light
slate latch
#

should 1.14 affect

#

kaiserreich

#

like if i don't have it

#

will it crash

dull maple
#

does someone know why it is only this thin bar? if you need the code i can send it

slender brook
slate latch
#

myb

slender brook
#

It'll probably work fine

#

But you should have 1.12.14, it's the latest version

surreal bramble
#

I'm making a mod

#

when a country is more than 30% surrender

#

it will enable a decision to raise a random lost state's resistance to 100

#

however i don't know how to select a random lost state

#

does anyone know how to do this?

dapper wadi
#

Anyways, thanks for helping, it was really frustrating

ashen rock
#

hey so i'm new to modding, and for some reason my event that i'm trying to implement isn't working

#

i put the same id in both the event and focus tree file for the mod

#

but when i look at the focus, it says the ID is invalid

#

and when i look at the error log, it says that it's a malformed token i think

obtuse condor
#

guys pls help me how to type add military factor 2 and add bulding slots 2

#

and how to type local population +2500

obtuse condor
#

focus = {
id = FRA_population_growth
icon = GFX_focus_generic_population_growth
x = -4
y = 1
relative_position_id = FRA_france_begin_reforms

    prerequisite = {focus = FRA_france_begin_reforms}
    mutually_exclusive = { }
    
    cost = 15
        ai_will_do = {
        factor = 1
    }
    available = {

    }

    bypass = {

    }
    cancel_if_invalid = yes
    continue_if_invalid = no
    available_if_capitulated = no
    search_filters = { }
    completion_reward = {
    }
#

why game not showed this focus

pale sparrow
#

is the prerequisite there, does it have a closing bracket in your code

naive mantle
#

does anyone know anything about these "errors"?

#

its flooding my log and its really annoying

#

game runs perfectly fine btw

chilly field
#

What could I add to my facist Ireland mod, I’ve already updated its name,flag and leader but idk what else to add (I’m terrible at coding so just simple stuff)

ocean perch
obtuse condor
ocean perch
#

look

#

u didnt close the first bracket

obtuse condor
#

focus = {
id = FRA_fallen_economic
icon = GFX_goal_generic_construct_mil_factory
x = 0
y = 1
relative_position_id = FRA_france_begin_reforms

    prerequisite = {focus = FRA_france_begin_reforms}
    mutually_exclusive = { }
    
    cost = 10
        ai_will_do = {
        factor = 1
    }
    available = {

    }

    bypass = {

    }
    cancel_if_invalid = yes
    continue_if_invalid = no
    available_if_capitulated = no
    search_filters = { FOCUS_FILTER_INDUSTRY }
    completion_reward = {
    }
}
#

that correct?

ocean perch
#

focus = {
id = FRA_fallen_economic
icon = GFX_goal_generic_construct_mil_factory
x = 0
y = 1
relative_position_id = FRA_france_begin_reforms

    prerequisite = { focus = FRA_france_begin_reforms }
    mutually_exclusive = { }

    cost = 10
    ai_will_do = {
        factor = 1
    }
    available = {

    }

    bypass = {

    }
    cancel_if_invalid = yes
    continue_if_invalid = no
    available_if_capitulated = no
    search_filters = { FOCUS_FILTER_INDUSTRY }
    completion_reward = {
    }

}

obtuse condor
#

oh sorry

#

i copy other focus

#

focus = {
id = FRA_population_growth
icon = GFX_focus_generic_population_growth
x = -4
y = 1
relative_position_id = FRA_france_begin_reforms

    prerequisite = {focus = FRA_france_begin_reforms}
    mutually_exclusive = { }
    
    cost = 15
        ai_will_do = {
        factor = 1
    }
    available = {

    }

    bypass = {

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

}

#

i am talking about this

ocean perch
#

its the same

slender brook
#

Oftentimes when foci don't show up it is actually the focus beforehand

ocean perch
#

if it doesnt work u could send the error logs

slender brook
#

Or even just the focus file itself

obtuse condor
#

game not showed the focus

ocean perch
#

send error logs

obtuse condor
#

there is 587 error...

ocean perch
#

[14:48:04][persistent.cpp:48]: Error: "Unexpected token: focus, near line: 106" in file: "common/national_focus/france.txt" near line: 133
[14:48:04][persistent.cpp:48]: Error: "Unexpected token: focus, near line: 135" in file: "common/national_focus/france.txt" near line: 162

#

errors are here i believe

obtuse condor
ocean perch
#

send the whole file

obtuse condor
#

focus = {
id = FRA_population_growth
icon = GFX_focus_generic_population_growth
x = -4
y = 1
relative_position_id = FRA_france_begin_reforms

    prerequisite = {focus = FRA_france_begin_reforms}
    mutually_exclusive = { }
    
    cost = 15
        ai_will_do = {
        factor = 1
    }
    available = {

    }

    bypass = {

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

focus = {
    id = FRA_popular_front
    icon = GFX_goal_generic_support_democracy
    x = 30
    y = 1

    prerequisite = { }
    mutually_exclusive = { }
    
    cost = 10
        ai_will_do = {
        factor = 1
    }
    available = {

    }

    bypass = {

    }
    cancel_if_invalid = yes
    continue_if_invalid = no
    available_if_capitulated = no
    search_filters = { FOCUS_FILTER_POLITICAL }
    completion_reward = {
    add_democratic_popularities = +0.010
    }

}

ocean perch
#

like France.txt

#

not like text

slender brook
#

I can almost guarantee that the issue is with the focus before that
Here's the thing about programming: Syntax problems usually are in the line/section before the error

obtuse condor
#

oh wait

ocean perch
#

copypaste

obtuse condor
#

there

ocean perch
#

yep

#

u have inclosed bracket

#

paste this

#

and one more

slender brook
ocean perch
#

its fixed all

slender brook
#

Oh

#

What did you fix

ocean perch
#

brackets

slender brook
#

I also fixed the = + thing

ocean perch
#

maybe i didnt look at this

#

i believe the only problem is the brackets

slender brook
#

He had add_democratic_popularities with = + 0.010

#

Is that even a valid effect?

ocean perch
#

nope

obtuse condor
slender brook
#

add_popularity = {
ideology = democracy
popularity = 0.01
}

ocean perch
#

but he has no focus and with this problem he must have this focus anyway

slender brook
#

This is the proper nomenclature

#

Right, I'm just highlighting what else I saw

ocean perch
#

but yes its an error too

slender brook
#

I fixed the brackets and stuff as well, just that stuff in addition

obtuse condor
#

THANKS!

#

is fixed

ocean perch
#

ur welcome

obtuse condor
#

and how to type add military factory and bulding slots 2

keen oasis
#

How do I change a portrait. I wanna make hitlers portrait be adolf fatler

lofty plaza
dull maple
#

how to change the party names?

obtuse condor
#

guys i have question

dull maple
tranquil haven
#

nah, never modded

lofty plaza
dull maple
#

Thank you!

lofty plaza
#

Hello

obtuse condor
young trout
#

Hey uhh, for some reason the AI will always white peace, how do I change it so that they always annex all without specifying specific states in some file?

#

Also the wiki page that does exist is pretty complicated

obtuse condor
#

guys i need help

small mango
#

Anyone know the name of this mod ??

obtuse condor
#

i want to make an event in 1936-1938 that seperates aden and burma from india

#

how would i do that?

#

how would i make an event like that

dull maple
unique ivy
#

is there any way to fix player led conferences

#

in any war the player isnt in, they just white peace

lofty plaza
dull maple
#

Ok i will try it

dull maple
lofty plaza
obtuse condor
#

why game show only one line

grave tinsel
# obtuse condor why game show only one line

i noticed how you put the prerequisite code

do this if you want all of the following needed:

prerequisite = { focus = FRA_population_growth_5 }
prerequisite = { focus = FRA_population_growth_4 }

do this if you only want one of them needed:

prerequisite = { focus = FRA_population_growth_5 focus = FRA_population_growth_4 }

#

also don’t put the code like that when making prerequisites and mutually exclusive, it’s only useful for other codes but not mutually_exclusive and prerequisite

stuck quarry
#

anyone know a good tool for laying out focus trees? dont want anything like that website that makes the trees, just want something to let me layout the placement of focuses

lime mural
#

My focus doesn't appear in game. Why?

quick latch
pale sparrow
lime mural
#

Ok

pale sparrow
#

negative X for a focus that has no prerequisites or relative position means its just pushed to X = 0

chilly field
#

What could I add to my facist Ireland mod, I’ve already updated its name,flag and leader but idk what else to add (I’m terrible at coding so just simple stuff)

#

It’s basically just tryna remove generic stuff

lime mural
#

Focus tree

#

A simple one, like join axis, invade uk etc

lime mural
#

Can I rename the province Amazonas to Manaus?

quick latch
jade mauve
jade mauve
jade mauve
obtuse condor
jade mauve
obtuse condor
jade mauve
#

ah, that "should" be simple

#

to transfer the state just create an event with the option being transfering the 2 states to the uk, for the randomness i'm not sure, but if you would like a fixed date you can usse an on_action file for that

lofty plaza
#

Use mean_time_to_happen

lethal steppe
#

@lofty plaza where do you go to modify time? i.e. how many incriments each speed setting goes by?

obtuse condor
#

guys

timber zenith
wanton veldt
#

Can anyone recommend a mod that darken or shorten the border colors?
What I though that was snow was actually Finland borderline

obtuse condor
#

guys how to type local population +25000

lofty plaza
obtuse condor
lofty plaza
#

STATENO = {
add_manpower = X
}

obtuse condor
#

thanks

obtuse condor
#

but how to type add military factores and bulding slots

#

and how to type modify (national spirit)

#

and also how to type

#

research bonus 75% x2

#

and how to type create 3 division

timber zenith
#

Look under
add_building_construction
swap_ideas (you need to make a seperate spirit to "modify" one)
add_tech_bonus
create_unit (find the division template in history/units)

grave tinsel
#

hello again, how do I make a country change its tag, definition and adjective after clicking a decision

timber zenith
grave tinsel
#

like from USA to AME

#

or something like that at least

timber zenith
#

You could create a tag alias for that, but properly changing a country's tag would require making a seperate country, and switching to that, which can cause issues

#

especially if it's going to be a player

quick latch
#

yeah, use TAG alias and cosmetic tag

grave tinsel
#

i see

#

thank you, all of you.

obtuse condor
#

can someone give me a list of leader portraits?

timber zenith
#

I think that's for dlc portraits though

obtuse condor
#

bruh

#

not in folders

#

it takes forever to open shit in gimp and msot of the portraits arent even good i want a list like the focus icons on the wiki

timber zenith
#

Should let you preview portrait files

obtuse condor
#

do i have to download it

timber zenith
#

Yeah it's an extension

obtuse condor
#

bruh

#

ok

#

extention to what

#

gimp?

timber zenith
#

windows

obtuse condor
#

wdym

timber zenith
#

just look it up

#

on google

obtuse condor
#

ok

#

idk

young trout
#

What do you guys think about my mod so far?

#

Also, where do I add a country as one of the "interesting countries"?

obtuse condor
#

help me how to type here somthing with modify national spirit

jade mauve
young trout
obtuse condor
humble cedar
potent raptor
#

does anyone know how to make new countries?
tried watching a tutorial but its out of date

lofty plaza
potent raptor
#

tried using it
there wasnt a common folder, or a countries folder

#

do i need 2 change version?

lofty plaza
potent raptor
#

i was

lofty plaza
#

So what is the problem?

potent raptor
#

in the video he got country files from commons > countries

#

but it isnt there got me

lofty plaza
potent raptor
#

base game

lofty plaza
#

Yeah, then that's a you problem

#

It should very much be there, and it's required for the game to run properly.

#

Either you're not looking properly or you need to verify your game files

little canopy
#

So, I used map gen to create a map, then I fixed all of the realy importaint errors, but now nudge tool wont work any one got a fix?

humble hawk
#

guys

#

i need help with something

#

so im making a unit trait

#

and i dont know how to assign the trait picture to the unit trait

hexed nebula
thorny niche
#

How hard is basic modding?

slender brook
#

It helps to have a basic understanding of real code, but by no means is programming a required skill

thorny niche
#

Alr thanks

#

Are those iron work shop tutorials good?

slender brook
#

They’re pretty good but just keep careful about the age

thorny niche
#

Yeah that was my concern

#

I wouldn’t imagine it changed fundamentally but a lot of new stuff was added

slender brook
#

I mean pretty much, you can double check with the wiki or the game files to make sure

obtuse condor
#

ok so since there is an unlock_national_focus how do i lock national focuses

quick latch
lofty plaza
#

Or just anything other condition

humble hawk
mild shore
#

how do i get this map

#

which mod is this

balmy lichen
#

Anyone any ideas for a mod I can make?

glacial reef
#

guys can u recommend me any fun mods im bored af

obtuse condor
obtuse condor
obtuse condor
lofty plaza
glad adder
#

why does hoi4 keep overriding my local .mod file

#

when i open the launcher it adds remote_file_id and changes the picture= from the local path to thumbnail to thumbnail.png, which is what's set for the mod/modname folder's descriptor.mod.

#

the image shows up on steam

wanton veldt
#

What am I doing wrong?

#

everything else is working fine

quick latch
slender brook
#

That looks like a bloody Google Doc mate

#

Is the actual file using .yml file type with the abovement mentioned file encoder

obtuse condor
#

hello

#

i need one guys with gfx

#

i am not real perfect in gfx arts

obtuse condor
#

FRA_Napoleon_VI={ #bonapartism leader
name=FRA_Napoleon_VI
portraits
civilian={
large="GFX_portrait_fra_Napoleon_VI
}
}
country_leader={
ideology=bonapartism_ideology
traits={ imprisoned_emperor }
expire="1965.1.1.1"
id=-1
}

    advisor={
        slot = political_advisor
        idea_token = FRA_Napoleon_VI
        available  = {
            has_completed_focus  = FRA_FRA_Support_bonapartism
        }
        allowed  = {
            original_tag  = FRA
        }
        traits  = {
            imprisoned_emperor
        }
        ai_will_do  = {
            factor  = 1.000
        }
    }
}
#

why game dont show this advisore

wanton veldt
wanton veldt
#

Yeah that one

slender brook
#

Did you change the l_english in the file to that as well?

wanton veldt
#

Yep

slender brook
#

Is it in the right folder
i.e. modFolder/localisation/braz_por

wanton veldt
#

Do I need to put it on a braz_por folder?
The files were not on a _english folder

slender brook
#

It's cleaner for the files themselves

#

Although yeah it may not be the entire issue

#

But also... yes they are in a english folder

wanton veldt
#

Most of stuff work, with the exception of a few ideas within the focus tree descriptions, the description of an advisor and that event (havent checked the other events

wanton veldt
#

All mods I've found didn't had those folders

slender brook
#

It's usually only a problem if the mod has multiple languages

#

But yeah the issue is probably encoding. You'll have to download Visual Studio Code to change it

wanton veldt
#

Alright alright...

#

In 10 hours I will be home

slender brook
merry quiver
#

Anybody know a mod that replace motorised divison model with mechanized one? It's ugly when as minor country I have mechanized but it still appear as trucks

obtuse condor
obtuse condor
obtuse condor
#

hello guys

#

i need one guys for my mod

#

with GFX

potent raptor
#

ok so im modding hoi4, and im making a leader, but the option i need 2 save it (like for it to work) doesnt appear

obtuse condor
potent raptor
obtuse condor
potent raptor
#

dont we have to make it a specific option or somethingh

quick latch
potent raptor
#

like saving the file?

quick latch
#

???

#

no

#

your code that creates the country leader

potent raptor
#

create_country_leader = {
name = "Frank Merriam"
desc = ""
picture = frank_merriam.dds
ideology = liberalism
traits = {
#
}
}
set_

quick latch
#

actually, could you post the whole country file?

potent raptor
#

oh yeah

quick latch
#

Here's your issue

#

You are trying to have a monarchist ruling a republic

potent raptor
#

ohh

#

should this work now?

quick latch
#

should, yeah

potent raptor
#

kk

#

ill let you know if it works

#

oh it did, thank you

quick latch
#

nice

obtuse condor
#

how does 1 make a simple unit

#

did i do it all right?

stuck quarry
#

Is there a way to prevent a research from being done until the player has first done a focus?

quick latch
#

not as far as I know

modern tiger
#

how do you fix player led peace conferences

pale sparrow
#

wdym it works fine

vivid zinc
#

anyone know why my hoi4 keeps crashing after loading with the the new order last days of europe mod?

nimble solar
vivid zinc
nimble meteor
slender brook
#

Just add after large =,
small =

sharp oxide
#

@viral otter

tired fox
#

I was wondering, how do I make name's of focuses have different colors? A pic from kaiserredux's banat focus tree for example:

lusty minnow
#

Anyone know a mod name where the game starts at 2000?

pale sparrow
#

Millenium Dawn...?

tired fox
stuck quarry
stuck quarry
faint lichen
#

is there a way to spawn naval units through focuses or events like how infantry can be spawned?

patent star
#

Hi! If someone want to could they dm me a list of mods making focus trees better for as many nations as possible

nova basin
#

So i've been making a graphics mod and I got stuck on the flags part. When i entered the civilwar it didn't show the flag i have set for left opposition but the normal soviet flag. I have it tried two times and I don't know what might be causing it. Do i have to add the original soviet flag to the mod for it to work?

lofty plaza
#

Show what you've done mate

#

Maybe it's not formatted correctly

glad adder
#

wth is this

obtuse condor
#

why is my hoi4 crashing every time i play for like 30 seconds im using iron curtain mod

honest oracle
#

I am playing as Monarchist Denmark with the road to 56 mod, and I am wonder which focus between consolidate Iceland and Crush the rebellion is better?

stuck quarry
#

so im following the docs on resource modding and i added a new thing, but it doesnt have text in the little filter box, any idea what would cause this?

#

if i set the resource icon to one of the other ones it has the name for that resource but not for its own

fervent nebula
#

made a mod and now i have 5 GB left of storage

obtuse condor
#

hello guys i want rate my gfx 0-10

humble cedar
#

8/10

obtuse condor
untold compass
obtuse condor
#

hey

#

my newest friend is making a HOI4 mod for RL units and templates

#

currently hes just making the icons for the units

bronze hinge
#

Good morning, does anyone know of any video or tool to modify maps? I need this tool to create a fictional island in the Atlantic Ocean for an "Internal" mod with my friends, in which I would add one more country to the world during World War II.

obtuse condor
#

So I am trying to replace a advisor portrait but they have a standard portrait (not unique) I have believed to done is correctly, here is a few pics and plese lmk if you notice anything wrong, the person is Lauri Malmberg.

#

Also the pictures I am using are in the right places, so something is wrong with the code

lofty plaza
obtuse condor
obtuse condor
#

choice your equipment and next create focus in paint.net

obtuse condor
obtuse condor
lofty plaza
#

The colour matching also isn't that great

obtuse condor
#

FRA_recaptured_europe
picture = idea_chi_war_of_resistance3
allowed = {
original_tag = FRA
always = no
}

        allowed_civil_war = {
            tag = FRA
        }    
        
        removal_cost = -1
        
        modifier = {
            conscription = +0.5
            war_support_factor = +0.1
            weekly_manpower = +2500
            army_org_Factor = 0.1
            planning_speed = 0.25
        }
    }
#

guys why game not showed this national spirit

unkempt rose
pale sparrow
#

Nice lol

obtuse condor
obtuse condor
#

guys

#

SpriteType = {
name = "GFX_focus_fra_Napoleon_is_your_hero"
texturefile = "gfx/interface/goals/GFX_focus_fra_Napoleon_is_your_hero.dds"
}

#

why game not showed this focus picture

azure fern
#

so "GFX_goal_fra_Napoleon_is_your_hero"

#

don't forget to do the goal shine too

obtuse condor
azure fern
#

did you set the goal_shine?

obtuse condor
#

I set the one in goal_shine

#

And worked in two

azure fern
#

did you type it incorecctly in your focus?

obtuse condor
#

i copy

obtuse condor
#

[20:12:54][power_balance.cpp:616]: ANE_power_balance: gap detected around ANE_balance_range (-1 < -0.1)
[20:12:54][power_balance.cpp:616]: ANE_power_balance: gap detected around ANE_balance_range (0.1 < 1)
[20:12:54][power_balance.cpp:616]: ANE_power_balance: gap detected around ANE_balance_range (-1 < -0.1)
[20:12:54][power_balance.cpp:616]: ANE_power_balance: gap detected around ANE_balance_range (0.1 < 1) is this coming from the bop of the country equiping it

#

as I keep chaning the bop (balance of power) file but it dosent change the error

#

why game showed other colors?

stark citrus
#

Made a new tactic but have been unable to get the picture within the doctrine/tactic list. The other surrounding UI is there (aka everything is functional as the list exists with the stats just no icon on the left).

#

Not at PC rn and boutta be busy just leaving this so I can come back to it

#

@pale sparrow if you are interested*

pale sparrow
#

@vale yarrow

#

🙏

#

I summon thee, neko of wisdom

vale yarrow
#

Ah I was summoned

pale sparrow
#

Luigi has a question on tactics GFX and I saw you have been discussing new tactics

vale yarrow
#

Please wait my pc is switching on

stark citrus
#

Functions, has the picture = tactic_"rest of name exactly" + it's in the land combat DDS files

#

So idk if I maybe define the picture or something

#

I would doubt it's in the general UI windows section but could be

#

Ik this is low info

vale yarrow
#

No worries

stark citrus
#

When I get to my PC I'll provide pics and such

#

Was just hoping it's a common fix lmak

vale yarrow
#

Not really nessary

#

I could explain with mine but give me a bit time

stark citrus
#

Very based

#

Thank you

#

Even if you go through the whole process it'll be easy to spot what I didn't touch lmao

#

As I've been everywhere it feels

#

Learned a ton just through the process

vale yarrow
#

I think you do not need tactic_ for picture

#

Because we didn't do anything in /interface as well

#

Make sure your new gfx is in the correct structure gfx/interface/landcombat/tactics

#

Then it should apply automatically

#

@stark citrus

stark citrus
obtuse condor
#

why picture look like bad

stark citrus
#

Ah

#

Smoking gun

#

Thank god though

#

Did so much coding groundwork

#

Did linear but did dx11

#

Prob what happened

#

@vale yarrow thank you so much man! Will let you know if it works when I try it

#

Although reckon it will

glad adder
#

first portrait, what do you think?

glad adder
#

Thanks

#

I followed ma ji's google doc but had to eyeball some things due to paint.net not having it

#

To me the top of the head is the worst thing

vale yarrow
#

Perhaps you should get Photoshop

#

It would make your life a bit easier

glad adder
#

Unfortunately that's out of my budget atm

#

I'm saving for a new computer

#

Hrmmmmm

stark citrus
vale yarrow
stark citrus
#

sucks i spent so much time looking for a ghost

vale yarrow
#

Glad marijn pinged me or I most likely won't be here

vale yarrow
lofty plaza
glad adder
#

What's the best, free alternative to Photoshop that I could use to follow along with a portrait tutorial?

obtuse condor
#

its what I use

glad adder
#

Hm I'll check it out

glass ember
#

how can i make a new map?

thorny niche
#

how do i get the previous version of a mod

rough zinc
#

Anyone good at making portraits?

#

i've been trying to make one and failing

#

This is the image i was trying to edit

rough parcel
#

huey?

winged heron
#

but mhhh

frail portal
#

Quick question

#

For creating a country leader and I want to add a trait from the base game where do I put it?

#

Does it matter where it is in the traits section?

obtuse condor
#

why game showed too bad the picture

#

gonna make a mod where you can brutally execute people in occupied territory to core it

obtuse condor
#

like edit the size, i.e, 400x400

#

idk what they're but hope that helps

azure fern
obtuse condor
frail portal
#

Got it to work

obtuse condor
#

nice

obtuse condor
#

free of charge

obtuse condor
#

hey guys how do i make a focus available after i clicked a certain option in event?

lofty plaza
winged heron
lofty plaza
#

Cause like that don't look hoi4 in the slightest

winged heron
#

open journey

#

thought that might be one that comes close

lofty plaza
#

Probably not

obtuse condor
#

hello, I have a question for people who have also done something with this,
namely after deleting all data in common/national focus/Poland.txt
and adding one tree to start
when I enter the game, a regular tree with resources appears, does anyone know how to make the Polish tree itself empty?
this is my code

#

and i have it in the game

#

what to do to make this tree empty

lofty plaza
#

You restart your game?

obtuse condor
#

yes

pearl trench
obtuse condor
#

how do i add super events to my mod

obtuse condor
#

like you just made the add above POL 100

#

it works for me

rough zinc
#

i feel so bad for you

keen hazel
#

As someone with little to no experience with modding, how would one change the portrait for a leader?

lofty plaza
quick latch
trim glacier
#

I am making a music mod, and I want to make it so certain music only play at peace time while some only play at war time
how exactly can I do that?

hasty gorge
quick latch
hasty gorge
# quick latch Sounds like a virus ngl

No, it's not a virus. The program works well, but crashes when starting the mode for creating events and effects. Therefore, you have to prescribe the effects yourself.

quick latch
#

It's easier to use the Hoi4 Mod Utils addon for VS Code, that makes everything easier

obtuse condor
#

ოჰ

#

How to create super event?

obtuse condor
quick latch
#

that's easy

#

give me a moment

obtuse condor
#

okay

quick latch
#

replace your poland.txt file's content with this:

focus_tree = {
    id = polish_focus

    country = {
        factor = 0

        modifier = {
            add = 10
            tag = POL
            OR = {
                has_dlc = "Poland: United and Ready"
                has_dlc = "No Step Back"
            }
        }
    }

    default = no
}
obtuse condor
obtuse condor
#

guys

#

i need help

#

owns_state = 39

#

after type this

#

game no longer show focus

#

why???

#

focus = {
id = FRA_Paris_army
icon = GFX_goal_generic_construct_mil_factory
x = -3
y = 1
relative_position_id = FRA_fallen_economic

    prerequisite = { focus = FRA_fallen_economic }
    mutually_exclusive = { }
    
    cost = 10
    ai_will_do = {
        factor = 1
    }
    available = {
    owns_state = 16
    }

    bypass = {

    }
    cancel_if_invalid = yes
    continue_if_invalid = no
    available_if_capitulated = no
    search_filters = { FOCUS_FILTER_INDUSTRY }
    completion_reward = {
        16={
           add_extra_state_shared_building_slots = 4
           add_building_construction = {
               type = arms_factory
               level = 4
               instant_build = yes
            }
        }    
    }
}
#

and i delet this owns_state and game not showed focus

lofty plaza
#

Send a screenshot of the code

#

It's really hard to see what exactly you're doing when you just copy and paste it

rough zinc
#

I mean i know you can make music play after certain events

#

But i dont know about that

lofty plaza
#

That's not very hard to do, you just need to increase the factor of the song playing while at war or other conditions

#

`music = {
song = "general_war_1"

chance = {
    modifier = {
        factor = 1
        has_war = yes
    }        
}    

}`

gloomy rapids
#

is there a way to cap the maximum manpower in the army? I want to create an Austria mod and the treaty prevented them from having more than 30k people in the army so I want to make sure the person can't go over that

obtuse condor
cold plume
#

I forgot the code to add a rule in hoi4 modding does anyone remember?

#

was it set_game_rule or something

#

k nvm I figured it out

timber zenith
somber iron
#

hey guys i got banned out of the hoi4 modding server can anyone help me get back,

my account got hacked and sent a bunch of spam links and i got baned

pseudo rapids
#

Is the equestra at war any good? im too scared to play it

amber sandal
#

is there a way to change the tags that is being played using effects?

#

looking for a way for my country to use the SOV tag, without starting as SOV.

quick latch
#

Use a country tag alias for that

#

alternatively, you could actually switch the tag, if that's what you want

#

The code for that'd be:

XXX = { # Original country
    change_tag_from = XXX # New country
}
amber sandal
quick latch
#

There can only be one of the same tag at a time.

amber sandal
#

so would it work if the origional SOV is gone?

quick latch
#

In that case: Use the alias

amber sandal
#

awesome, thank you

#

this has saved me an imense work lol

quick latch
#

Altough I've never tried setting a country's alias tag to an already existing actual tag.
It could work tho I'm not completely sure. I guess you'll if it works or not

amber sandal
#

yep, ill see

obtuse condor
#

guys what is the best way to find good mods

pale sparrow
#

sort on most subscribed and scroll through

obtuse condor
#

.. in the paradox website

#

(dont judge me)

#

but fr i cant even find the most popular mods

#

like wheres kaisereich for example????

amber sandal
#

use steam

#

most mods are not uploaded to paradox website

#

i've modded for 3 years, even on big projects, and never once opened that place

obtuse condor
#

Guys guys guys

#

Important stuff

#

Tiles galore fix tmr !!

lofty plaza
#

Ok

thorny niche
#

I followed the iron workshops tutorial for making a new country and I just modded Prussia a bit but it still doesn’t appear

#

also how do i fix this?

thorny niche
#

alr can someone recommend a tutorial

#

the iron workshop ones dont seem to work

obtuse condor
obtuse condor
#

why game showed wrong color

#

the icon is red not blue

jovial crystal
#

i made a custom focus icon but problem is when doing it the icon doesnt show up

#

help please

lofty plaza
#

You need to make a shine definition for it

jovial crystal
#

SpriteType = {
name = "GFX_shine"
texturefile = "gfx/interface/goals/focus_DEU_rheinlandbesetzung.dds"
effectFile = "gfx/FX/buttonstate.lua"
animation = {
animationmaskfile = "gfx/interface/goals/focus_DEU_rheinlandbesetzung.dds"
animationtexturefile = "gfx/interface/goals/shine_overlay.dds" # <- the animated file
animationrotation = -90.0 # -90 clockwise 90 counterclockwise(by default)
animationlooping = no # yes or no 😉
animationtime = 0.75 # in seconds
animationdelay = 0 # in seconds
animationblendmode = "add" #add, multiply, overlay
animationtype = "scrolling" #scrolling, rotating, pulsing
animationrotationoffset = { x = 0.0 y = 0.0 }
animationtexturescale = { x = 1.0 y = 1.0 }
}

    animation = {
        animationmaskfile = "gfx/interface/goals/focus_DEU_rheinlandbesetzung.dds"
        animationtexturefile = "gfx/interface/goals/shine_overlay.dds"     # <- the animated file
        animationrotation = 90.0        # -90 clockwise 90 counterclockwise(by default)
        animationlooping = no            # yes or no 😉
        animationtime = 0.75                # in seconds
        animationdelay = 0            # in seconds
        animationblendmode = "add"       #add, multiply, overlay
        animationtype = "scrolling"      #scrolling, rotating, pulsing
        animationrotationoffset = { x = 0.0 y = 0.0 }
        animationtexturescale = { x = 1.0 y = 1.0 } 
    }
    legacy_lazy_load = no
}

this is the code for it, aynthing wrong?

obtuse condor
#

I stole the italian bop and just renamed the stats and what not but im now getting these errors?
[20:12:54][power_balance.cpp:616]: ANE_power_balance: gap detected around ANE_balance_range (-1 < -0.1)
[20:12:54][power_balance.cpp:616]: ANE_power_balance: gap detected around ANE_balance_range (0.1 < 1)
[20:12:54][power_balance.cpp:616]: ANE_power_balance: gap detected around ANE_balance_range (-1 < -0.1)
[20:12:54][power_balance.cpp:616]: ANE_power_balance: gap detected around ANE_balance_range (0.1 < 1)

#

anyone know where the problem could be located as I keep changing stats but the error doesn't change

lofty plaza
#

Looks like there isn't anything defined for those ranges

obtuse condor
jovial crystal
#

the

#

"gfx__shine" right

#

yes i saw and i "fixed" it, testing it right now

pale sparrow
#

it needs to be the exact name of the normal GFX, but with _shine pasted behind

jovial crystal
#

fixed

celest venture
#

How do i change time on focuses, where is this parameter?

#

like from 70 Days> 35 days, or 35 Days>15 days

slender brook
#

Cost is done in multiples of 7, i.e. cost = 10 means 70 days
But you can just use decimals to ignore that

median dagger
#

Hello guys. Do you know how to create alerts like these?

manic wolf
#

whats the compression type for portraits?

manic wolf
#

nvm

#

i had the right one selected

lofty plaza
#

That is it yes

gloomy gate
#

So a couple of days ago I somehow, while trying to export my mod, deleted the entire thing except for the map. No idea how I did it or why it happened. If anyone has any way I might be able to get it back, let me know.

thorny niche
#

Can someone help me? I created a country but it doesnt work at all and wont appear

hidden grove
thorny niche
#

I changed the tags and now nobody owns the state

gloomy gate
thorny niche
#

Even though in the files ive set all of Czechoslovakia and the Austro-Hungarian Territories in Poland to belong to them, they wont change ownership

thorny niche
#

is anyone online?

median dagger
#

Did you declare a country tag in the file common/country_tags/00_countries.txt?

thorny niche
#

it works for some states but others wont change ownership

median dagger
#

Did you set the KUK value for 'owner' and 'add_core_of' in the history/states/*.txt file?

thorny niche
#

my country is pink now

#

cant change it back and I didnt do anything

thorny niche
#

im following a tutorial on how to add focuses, but I cant seem to add more than one

rare grail
#

Check the brackets. If there is a problem with focuses not appering its usually because there are too few or too many brackets

amber sandal
#

[23:12:47][countrytag.cpp:112]: ROOT - is not in the tag list i have this error in my error log. this appeared after I did some new events, and nothing else, so I am 100% the issue is coming from my events. but it doesnt tell me what line the error is on. how do i find where the issue is?

obtuse condor
#

why game showed blue? is red

obtuse condor
#

WHY DO ICONS NOT WORK

#

LIKE EVER

#

WHEN I TRY TO ADD CUSTOM ICONS

#

IT DOESNT SHOW UP

#

AAAAA

#

I HAVE THE FILE

#

I HAVE IT SPECIFIED

#

IT DOESNT SHOW UP

#

NONE OF THE CUSTOM ICONS DO

#

AAAAAAAAA

#

send help

#

im having a mental breakdown over focus icons

#

icon = GFX_focus_gus_invite_rakosi
icon = "gfx/interface/goals/focus_gus_invite_rakosi.dds"

#

im specifying the icon in 2 ways

#

it doesnt work

#

neither do

#

why

#

like honestly why

timber zenith
#

You have to reference it in /interface/goals.gfx and /interface/goals_shine.gfx

obtuse condor
#

what

timber zenith
#

You need to add a new line(s) to those files

obtuse condor
#

💀

#

what file

obtuse condor
#

i cant find those files

timber zenith
#

You can create your own file for each if you want them to break with game updates, just copy-paste the syntax

obtuse condor
#

bruh

timber zenith
#

It's probably not in your mod but it's in the vanilla files

obtuse condor
#

its not

timber zenith
#

it's not in common, just interface

obtuse condor
#

bruh

#

ok

#

wait

#

gfx/interface?

timber zenith
#

no

#

just interface

obtuse condor
#

ok

#

do i replace the stuff thats already in it with my stuff or do i add my stuff to it

timber zenith
#

Add your own stuff, or create a new file based off one of the sections in there

obtuse condor
#

so it specifies the name and texture file

#

why cant i just specify texture file in the focus tree itself

timber zenith
#

because that isn't how it works

obtuse condor
#

thats just dumb

#

smh

timber zenith
#

You'd have to specify path, name and shine all in the focus tree

#

Don't ask me I didn't make it

obtuse condor
#

💀

fair ridge
#

Is there a mod like makes embargoing without target country creating world tension?

#

If not, can someone create it please?

obtuse condor
#

i fixed the icons on the bottom

#

the top icons are broken now

lucid mulch
#

Hello is there a guide or something to start modding?

lofty plaza
#

'Recruit Gypsies'

dim bronze
#

how do i make a focus thats activated from an event?

obtuse condor
#

guys i have 3 problem

#
  1. not showed my create leader picture and showed african generic leader
  2. the focus dont have icon but after click i see the icon
  3. game not showed my new country name and flag
median dagger
dim bronze
median dagger
#

just add this in your focus file:

available = { always = no }```
pale sparrow
#

A tooltip might be good to add to the availability if it might be confusing otherwise

dense condor
#

can you make focuses ingame that have no _'s and are with caps? for example instead of FRA_begin_reforms Begin Reforms . If you can do it how?

quick latch
quick latch
#

Go to yourmod\localisation (create folder if necessarry) and create a file called yourmod_focuses_l_english.yml. Also make sure it's encoding is set to UTF-8 with BOM.
Open it and type:

l_english:
 your_focus: "Your Focus Name"
 your_focus_desc: "Your Focus Description"

In your case it'd be FRA_begin_reforms: "" and FRA_begin_reforms_desc: ""

obtuse condor
#

how would I go about creating a custom landmass and states etc

dense condor
obtuse condor
#

And by that I mean a completely different hoi4 map, kinda like EAW

#

I tried using the MapGen but I'm getting wierd errors

#

There's nothing map related

#

it just doesn't work

#

huh

quick latch
#

Never tried modding the map, only creating new states from already existing provinces, sry

obtuse condor
#

shit

median dagger
#

Why does Ethiopia keep generating such errors? There is no such problem in the vanilla game, and I haven't touched it in my mod in any way

[21:18:16][triggerimplementation.cpp:3163]: common/characters/ETH.txt:1017: has_idea_with_trait: minister_of_the_interior_aregai is not a valid trait for has_idea_with_trait
[21:18:16][triggerimplementation.cpp:3163]: common/characters/ETH.txt:706: has_idea_with_trait: minister_of_the_interior_abate is not a valid trait for has_idea_with_trait
[21:18:16][triggerimplementation.cpp:3163]: common/characters/ETH.txt:1182: has_idea_with_trait: minister_of_finance_mariyam is not a valid trait for has_idea_with_trait```
obtuse condor
#

it's related to BBA messing things up i think?

median dagger
#

interesting... can you send me full event code in DM?

dim bronze
#

this is my option

#

option = {
name = "Conservative Party"
complete_national_focus = ENGconservative
}

quick latch
#

You sure that the focus ID is correct?

dim bronze
#

yes

quick latch
#

But the event itself is triggering correctly, right?

timid zephyr
#

How do you put alf landon as a leader at start? as I also can't seem to find his character in the common file 🤔

nimble solar
#

Oh, forgot this was modding and not general oops

quick latch
median dagger
#

Guys, please help. I want to add to my mod an alert (the ones at the top of the screen) that will alert when a country controls non-core states. How can I do this? I assume you have to use a scripted gui to do this, but I have no idea how to implement this specifically.

potent raptor
#

does anyone know how to remove puppet states?

quick latch
#

Wdym?

timid zephyr
#

But I couldn't find that either 🤔

quick latch
obtuse condor
#

guys i have three problem

#
  1. game showed generic leader , game not showed create leader picture
  2. focus icon is unknow but after click i see the icon
  3. game not showed new country name
obtuse condor
#

Is there a Vietnam mod for steam on hoi4

timid zephyr
median dagger
lofty plaza
obtuse condor
#

Nah

#

Ima go work out

#

@lofty plaza

lofty plaza
#

Ok

obtuse condor
#

Gotta stay healthy

timid zephyr
#

Erm, what?

wanton ingot
#

if most of my focuses are starting with KOP (Example: KOP_New_Ways) do i just delete the KOP to be the normal title seen? (Also do I have to change that in the prequisites?)

timid zephyr
timid zephyr
wanton ingot
#

i just change it in the localisation? without common?

wanton ingot
median dagger
#

I don't understand why my mod generates these errors at startup

#

Does anyone have any ideas?

obtuse condor
#

oh i forget i have 4. problem

#

game not showed my new flag

median dagger
# obtuse condor game not showed my new flag

Make sure you create a flag in three sizes: small, medium and large. The large flags must be located in the gfx/flags folder, and the others in their respective folders inside the flags folder. The name of the flag file must have the following form: TAG_ideology.tga or TAG.tga

obtuse condor
#

DEM_communism
DEM_democratic
DEM_fascism
DEM_neutrality

median dagger
#

Try creating a large flag. You can copy any flag from the Hearts Of Iron IV/gfx/flags folder to your folder and edit it

obtuse condor
#

i am talking about this

median dagger
#

82x52 pixels

stuck mist
#

82x52, 41x26, 10x7

obtuse condor
#

oh

#

game still not showed the flag

#

and game showed african generic leader

#

create_country_leader = {
name = "demetre pro"
desc = ""
picture = GFX_Portrait_demetre_empire_demetre_pro
expire = "1953.3.1"
ideology = liberalism
traits = {

}

}

#

what the mistake?

median dagger
obtuse condor
#

DEM - Demetre empire

median dagger
#

It's very interesting.
You must declare a character in file mod/common/characters/DEM.txt, and in file DEM - Demetre empire in folder history write instead create_country_leader={...} the following:
recruit_character = YOUR_CHARACTER_ID

#

If I understand correctly what you want to do

timid zephyr
median dagger
# obtuse condor i dont understand
  1. Create common/characters folder
  2. Create a file DEM.txt in this folder
  3. Write the following in it:
characters = {
  DEM_demetre_pro = {
    name = "demetre pro"
    desc = ""
    portraits = {
      civilian = {
        large= GFX_Portrait_demetre_empire_demetre_pro
      }
    }
    country_leader = {
      ideology = liberalism
      expire = "1953.3.1.1"
      id = -1
    }
  }
}```
4. in `history/DEM - Demetre empire` file write `recruit_character = DEM_demetre_pro` iinstead of `create_country_leader={...}`
obtuse condor
#

but i have problem

#

the flag is not showed

#

i added large file

obtuse condor
gusty peak
#

How do I get rid of planes from my mod? And I also wanna remove airports and construction of airports including the plane research tab as well

median dagger
olive shard
#

hey guys do you know why endsieg keeps crashing? When I select country and start the game it loads for a few seconds then crashes. Do you know why?

obtuse condor
#

guys any mistake is here?

#

[00:05:07][flagtextureatlas.cpp:525]: Error loading flag for country DEM : Ideology democratic : Path gfx/flags/ : File not found
[00:05:08][flagtextureatlas.cpp:203]: Error loading country flag overlay: gfx/flags/medium/DEM_democratic.tga : Unsupported format. Expected 32bpp, uncompressed, no color palette
[00:05:08][flagtextureatlas.cpp:525]: Error loading flag for country DEM : Ideology democratic : Path gfx/flags/medium/ : File not found
[00:05:08][flagtextureatlas.cpp:203]: Error loading country flag overlay: gfx/flags/small/DEM_democratic.tga : Unsupported format. Expected 32bpp, uncompressed, no color palette
[00:05:08][flagtextureatlas.cpp:525]: Error loading flag for country DEM : Ideology democratic : Path gfx/flags/small/ : File not found

#

not found???

median dagger
#

Each flag needs to be a TGA-file with the name of the country tag and, optionally, the ideology group that the flag is assigned to. The flag file format is uncompressed 32-bit ARGB. In this case, "32-bit", "32 bits per pixel (bpp)", and "32 bitdepth" have the exact same meaning. In some editors where the bitdepth isn't settable when exporting but rather static without allowing the user to draw anything that the bitdepth doesn't allow, 32-bit means the RGB image mode alongside an alpha channel used for transparency present within the image. If it is 24-bit (meaning there is no alpha channel), the file will load but throw an error stating that it'll slow down the game and that it's recommended to use 32bpp.
From Paradox Wiki

obtuse condor
#

but the leader picture not showed

median dagger
obtuse condor
#

characters={
DEM_demetre_pro={ #Democratic Leader
name=DEM_demetre_pro
portraits={
civilian={
large="GFX_Portrait_demetre_empire_demetre_pro"
}
}
country_leader={
ideology=liberalism
traits={ }
expire="1953.3.1.1"
id=-1
}
}
}

#

the is character file

#

recruit_character = DEM_demetre_pro

#

the is history file

median dagger
#

Check the resolution of the portrait. It should be 156x210

obtuse condor
#

[00:45:34][effect.cpp:425]: Invalid effect 'building' in history/states/909-imereti.txt line : 10
[00:45:34][statehistory.cpp:127]: Unknown History Command ==>'building'<== for state: history/states/909-imereti.txt
[00:45:34][persistent.cpp:48]: Error: "Unknown effect-type: building, near line: 10
Unexpected token: building, near line: 17" in file: "history/states/909-imereti.txt" near line: 17
[00:45:34][statetemplate.cpp:229]: State #910 does not have a category defined.
[00:45:34][statetemplate.cpp:231]: State #910 has no people living in it.
[00:45:34][effect.cpp:425]: Invalid effect 'building' in history/states/911-kaxeti.txt line : 8
[00:45:34][statehistory.cpp:127]: Unknown History Command ==>'building'<== for state: history/states/911-kaxeti.txt
[00:45:34][persistent.cpp:48]: Error: "Unknown effect-type: building, near line: 8
Unexpected token: building, near line: 11" in file: "history/states/911-kaxeti.txt" near line: 11
[00:45:34][statetemplate.cpp:229]: State #911 does not have a category defined.

#

????

#

[00:51:49][flagtextureatlas.cpp:203]: Error loading country flag overlay: gfx/flags/DEM_democratic.tga : Unsupported format. Expected 32bpp, uncompressed, no color palette
[00:51:49][flagtextureatlas.cpp:525]: Error loading flag for country DEM : Ideology democratic : Path gfx/flags/ : File not found
[00:51:49][flagtextureatlas.cpp:203]: Error loading country flag overlay: gfx/flags/medium/DEM_democratic.tga : Unsupported format. Expected 32bpp, uncompressed, no color palette
[00:51:50][flagtextureatlas.cpp:525]: Error loading flag for country DEM : Ideology democratic : Path gfx/flags/medium/ : File not found
[00:51:50][flagtextureatlas.cpp:203]: Error loading country flag overlay: gfx/flags/small/DEM_democratic.tga : Unsupported format. Expected 32bpp, uncompressed, no color palette
[00:51:50][flagtextureatlas.cpp:525]: Error loading flag for country DEM : Ideology democratic : Path gfx/flags/small/ : File not found

#

nah is not fixed

#

@median dagger

median dagger
#

Are you sure you exported the flag correctly?

#

Do you have Adobe Photoshop?

#

Using it, you can copy the flag from the Hearts Of Iron IV/gfx/flags folder and superimpose your flag over it. Then, just click on the Save button. The flag will be saved with the desired settings, the only thing left is to rename it.

I've always done so

obtuse condor
median dagger
obtuse condor
#

same nations have different focus in the mod?

#

interesting

#

is two yugoslavia

#

game dont know how used two different focus and game is crashed

#

hmm any gfx change?

#

oh i have idea

#

try only one mod test all mod

#

the mod is crashed

#

check the fils and cods

#

ok

#

try others

#

no no select only one

#

chek only one

#

wow that nice menu

#

oh! there is mistake game dosent know who mods menu picture is set in the menu

chilly field
#

Where would I find the files for mods Ive downloaded on the workshop

lofty plaza
#

You would find it in Program Files/steam/steamapps/workshop/whatever the hoi4 ID is, I can't really remember, just go through until you find it.

pale sparrow
#

C:\Program Files (x86)\Steam\steamapps\workshop\content\394360.

timber zenith
#

No, chances are they all probably change states, which causes incompatibility since they're modifying the same files

rough zinc
#

can someone help me with my error.log

#

i dont know what any of it means but my game crashes to desktop when i start the game unless i use millennium dawn

little canopy
#

I have a question, my mod wont upload even though i uploaded it to steam work shop.

obtuse condor
#

where do you download the hoi4?

#

in paradox or steam?

#

@median dagger i have big problem

#

the guys say select A8B8R8 and here i dont have A8B8R8 selecter

frail sapphire
#

Can anyone help me? How do I add a thumbnail to my mod?

obtuse condor
median dagger
median dagger
median dagger
#

As long as your mod is on the local drive, the picture will not be displayed. In order to see it, you need to load the mod to the steam workshop

obtuse condor
#

@median dagger here

median dagger
obtuse condor
median dagger
#

Okay, let's try it another way. Can you send me a png file of the portrait and the flag in private messages?

digital zenith
#

Hello! I tried to find any mod for Ming Dynasty. I found one yet it is outdated. Does anyone know any good and updated mod for such path?

dense condor
digital zenith
#

I know the one I mentioned about, I'll try to see if it works for 12 version tho. Thanks for response anyways!

ornate zodiac
#

Anyone know what effects to use in an Idea to prevent the tag from training new units?

obtuse condor
#

division_template = {
name = "qvedanayofi" # Rifle Division
division_names_group = DEM_INF_01

regiments = {
    infantry = { x = 0 y = 0 }
    infantry = { x = 0 y = 1 }
    infantry = { x = 0 y = 2 }
    infantry = { x = 1 y = 0 }
    infantry = { x = 1 y = 1 }
    infantry = { x = 1 y = 2 }
    infantry = { x = 2 y = 0 }
    infantry = { x = 2 y = 1 }
    infantry = { x = 2 y = 2 }
}
support = {
    #engineer = { x = 0 y = 1 }
    artillery = { x = 0 y = 0 } 
}

}

division_template = {
name = "kavaleria" # Cavalry Division
division_names_group = DEM_CAV_01

regiments = {
    cavalry = { x = 0 y = 0 }
    cavalry = { x = 0 y = 1 }
    cavalry = { x = 1 y = 0 }
    cavalry = { x = 1 y = 1 }
}
support = {
    #recorn = { x = 0 y = 1 }
}    

}

#

guys any mistake in here?

#

the game not showed the two division template

obtuse condor
#

Hi. I am working on a mod that replaces all the vanilla portraits with new real colorised photo portraits. There are lots of graphics to modify (leaders gfx files & ideas gfx files), so I want to found a modding team/group that will work with me on this and maybe other mod projects for HoI4. Dm if you're interested.

obtuse condor
#

guys why leader picture look like this

dull maple
#

allow_branch = {
if = {
limit = {
has_game_rule = {
rule = obsolete_focus_branches_visibility
option = HIDE
}
}
NOT = {
has_completed_focus = USA_continue_the_new_deal

            }
        }
    }

does someone know why this makes the other ones not invisible?

obtuse condor
#

I need help

#

the local version of my mod works

#

but if I use the mod downloaded from steam it doesn't

obtuse condor
#

how do I make a national spirit be set to a country from the start

dense condor
#

How do i rename country political parties names and leaders? Do i edit the country file in history folder?

pale sparrow
pale sparrow
pale sparrow
obtuse condor
pale sparrow
pale sparrow
#

set_party_name
set_character_name

dense condor
#

thanks, sorry im new to modding and creating my first mod

obtuse condor
#

does anyone know how I could create my own custom map

dense condor
#

how do create a new type of ideology? do i go do ideologies text file and add my own? and how do i create a description for it as well

obtuse condor
dull maple
pale sparrow
#

timelapse mods

dense condor
#

I am having issues with the portrait of a country leader. I have put the picture in leaders folder in gfx folder and I have created a characters folder in common folder. But it doesnt show up

#

And instead another random picture shows up

#

As country leader

#

Can someone help?

obtuse condor
#

ok so some time ago i had a idea where australia were the bad guys in ww2, and im making a mod about it, any ideas?

#

the current idea for the axis powers are: Australia being the equivalent to Germany, Iran the equivalent to Italy and Brazil the equivalent to Japan

obtuse condor
dense condor
amber sandal
#

was the hoi4 modding wiki changed? it looks different on my screen now for some reason

#

why does it look like this wtf

obtuse condor
#

transfer_state_to = 547 KEN
transfer_state_to = 1082 KEN
transfer_state_to = 1121 KEN
transfer_state_to = 1055 KEN
transfer_state_to = 1122 KEN
transfer_state_to = 1083 KEN
remove_core_of = 1083 UGA
remove_core_of = 1122 UGA
add_core_of = 1083 KEN
add_core_of = 1122 KEN
add_stability = -0.3
}
what am i doing wrong with this file?

slender brook
#

Hold on I accidentally posted early

obtuse condor
#

this good?

slender brook
#

Seems to be

obtuse condor
# slender brook Seems to be

option = {
name = "absolute monarchy"
ai_chance = { factor = 25 }
KEN = {
transfer_state = 1082
transfer_state = 1055
transfer_state = 547
transfer_state = 1121
transfer_state = 1083
transfer_state = 1122
add_state_core = 1083
add_state_core = 1122
}
UGA = {
remove_state_core = 1083
remove_state_core = 1122
}
add_stability = -0.3
set_politics = {
ruling_party = neutrality
elections_allowed = no
last_election = "1935.12.17"
election_frequency = 48
long_name = "House of Buganda"
name = "House of Buganda"
}
character = Edward Mutesa
name = Edward Mutesa
}
option = {
name = "constitutional monarchy"
ai_chance = { factor = 25 }
KEN = {
transfer_state = 1082
transfer_state = 1055
transfer_state = 547
transfer_state = 1121
transfer_state = 1083
transfer_state = 1122
add_state_core = 1083
add_state_core = 1122
}
UGA = {
remove_state_core = 1083
remove_state_core = 1122
}
add_stability = -0.1
set_politics = {
ruling_party = democratic
elections_allowed = yes
last_election = "1935.12.17"
election_frequency = 48
long_name = "House of Buganda"
name = "House of Buganda"
}
character = Edward Mutesa
name = Edward Mutesa
}

#

You know what the problem with this file is?

slender brook
#

Can you send the raw file instead of as a message

obtuse condor
slender brook
#

Well you definitely need to fix your formatting

#

Also this is probably your issue

#

What are you actually trying to do there?

obtuse condor
slender brook
#

No, that specific code I screenshotted

obtuse condor
#

and i want there to be 4 different options for leaders

slender brook
#

Well that's definitely not how you do it

#

All leaders should be created already on game start in a character file

#

You would recruit the character in the history file and then promote_character

half agate
#

yo

#

is there a way to make it so a countries name wont apear or there is just no country besides germany

#

Im making like a yt scenario were germanies states declare independence

amber sandal
#

there has to be a tag controlling every state or the game will crash

#

so just make a tag that controls everything but germany, and dont give it a name.

half agate
#

im not making a new country

#

Ok

amber sandal
#

then just give all the states to another country and delete that country's name from the countries localiation file

half agate
#

How do i make it control everything but germany without typing every state ID

amber sandal
#

i think you have to

#

there might be a better way but the only way i can think of is just setting the ownership of every state individually to that country

#

or you can have an on-action that has that specific tag annex all tags except for germany

#

but the on-action might lag the game when it starts and won't show the differences until after you've loaded into your country (so on the country selection screen they'll appear)

obtuse condor
#

Anyone kno tiles galore?

dense condor
#

I am having issues with the portrait of a country leader. I have put the picture in leaders folder in gfx folder and I have created a characters folder in common folder. But it doesnt show up. And instead another leader shows up(a random character)

high pelican
#

Hello, would anyone be able to help me, I'm trying to mod in a new focus tree for Australia, but they can't get independence.

#

This is what it says.

obtuse condor
#

guys

#

i need help

#

i want the one idea cancled in civil war moment

#

how to type?

#

has_civil_war = yes

#

has_civil_war = no

pale sparrow
small pilot
#

Guys I need help. What should I do if I translated the focus to another language and it does not appear in hoi4?

#

This is from original mod. And it's displayed in original mod as is must be.

small pilot
dense condor
#

My character portrait aint showing up

#

i checked error.log and it said this [15:14:48][effectimplementation.cpp:5145]: history/countries/ENG - United Kingdom of Great Britain.txt:8: recruit_character: Character ENG_winston_churchill cannot be assigned to ENG as it is already assigned to ENG

#

can someone help me?

obtuse condor
#

spriteTypes = {
spriteType = {
name = "GFX_DEM_idea_the_one_country"
texturefile = "gfx/interface/ideas/DEM_idea_the_one_country.dds"
}

#

guys why game not showed natioal spirit picture

jade mauve
#

how do you remove these advisors?