#modding

1 messages · Page 31 of 1

dense condor
#

i think you forgot to close bracket {}

#

Country names do not appear on the map neither on the countries, do you know why?

obtuse condor
chilly field
#

where are steam workshop mods kept?

subtle totem
chilly field
#

ty

#

also where is dlc focus trees kept

grave tinsel
#

is it possible to replace the possible effects with some random text

#

like instead of "add 13819 guns" or something, the effect just says "we will search for more guns" or something like that

karmic rock
#

how would i let a focus unlock building slots?

grave tinsel
#

go to Hearts of Iron IV\history\general, you'll find a file named "generic_advisors.txt", copy and paste that into your \history\general folder (create one and paste it there if you don't have one)

open the .txt file and you'll see a lot of code, should look like this, just find where the tags are located, after that, just put "tag = (what your country tag is)" next to any tag

#

the ones in “NOT = { OR = {“ btw

#

don’t put anything else in the lines if your only thing is to remove generic advisors

#

other than that, enjoy

#

sorry if my explanation is unclear

grave tinsel
karmic rock
karmic rock
#

I dont see how im providing country

grave tinsel
# karmic rock I tried that but i get an error

if you want it to be random
random_owned_controlled_state = {
add_extra_state_shared_building_slots = 1 }

if you want a specific state to have it, give me a few minutes, i gotta check out how to do it

karmic rock
#

ok, thanks

junior cipher
#

Is there a way to wrap text in a localisation for events with long descriptions?

grave tinsel
#

Example: something.1.d:0 "Something something \n\nSomething something"

#

Hopefully that helps

junior cipher
#

Thank you!

grave tinsel
#

No problem

grave tinsel
karmic rock
#

How do i force the game for recalculate stuff? I have a focus that should add 10 civs, but it only works when ive done something else in the game, such as changed my economy law, or my trade law.

#

i thought recalculate_building_slots = yes would do it but it only works for the first one, and then stops

jade mauve
#

thank, i'll try it out

amber sandal
#

How do I leave it?

#

the settings page is empty

obtuse condor
#

can anyone tell me why is notepad++ detecting a problem with my code?

state={
    id=909
    name="STATE_909"

    history={
        owner = BUL
        add_core_of = BUL
    }

    provinces={
        965
        history={
            owner = BUL
            add_core_of = BUL
        }
    }

    manpower=24000
    state_category=city
    buildings_max_level_factor=1.000
    local_supplies=0.000
}
jade mauve
#

cuz i think i see it

obtuse condor
#

history-provinces-ish

jade mauve
#

yeah

#

remove the history bit in provinces = {

#

you cannot assign a core to a province or an ownership of a province to a nation

#

provinces should look like this

#

in this case with 965

obtuse condor
#

ohh thank you

small pilot
#

Anyone help?

grave tinsel
#

small spelling mistake, the focus id has provisonal, not provisional

#

you can fix the focus id if you want but that’s up to you

obtuse condor
#

I got an idea for an alt hist hoi4 mod

dull maple
#

does someone know why its so big?

obtuse condor
dull maple
obtuse condor
#

in the interface

#

idea

dull maple
# obtuse condor no

spriteTypes = {
SpriteType = {
name = "GFX_idea_the_communist_rise"
texturefile = "gfx/interface/ideas/the_communist_rise_icon.dds"
}

    SpriteType = {
    name = "GFX_idea_The_communist_win"
texturefile = "gfx/interface/ideas/The_communist_win_icon.dds"
}    

}

the first one works normally

obtuse condor
#

hmm

#

there is no mistake

#

but i have question

dull maple
obtuse condor
#

i type spriteTypes

#

but still not working

#

how do you make this icon

dull maple
obtuse condor
#

not national spirit

#

focus icon bigger than idea icons

dull maple
#

oh thats why it looks like that thank you my man

obtuse condor
#

@dull maple is worked?

dull maple
obtuse condor
dull maple
obtuse condor
#

whats wrong with this file?

timber zenith
timber zenith
#

Good formatting/indentation goes a long way

obtuse condor
#

thanks that looks great

obtuse condor
#

thanks i really appreace it

#

the event has become gangrenous metaphysically

jade mauve
obtuse condor
#

i think

jade mauve
#

did you convert one file to dds?

#

like, a jpg to dds

obtuse condor
#

yeah i did

jade mauve
#

was it a jpg, bmp or what?

obtuse condor
jade mauve
#

try converting from png to dds, it should keep the transparency and prevent that black outline

#

take in mind to convert the file, not copy it and paste it in paint

obtuse condor
jade mauve
#

with paint

#

and dont use jpg

#

use png

dull maple
#

focus = {
id = The_communist_way
icon = GFX_The_communist_way
search_filters = { FOCUS_FILTER_POLITICAL }
x = -20
y = 0
#relative_position_id = USA_the_worlds_loco_works

            available = {
                NOT = {}
                NOT = {}
           }

             bypass = {
            }
            
            cost = 0
            #prerequisite = { focus = USA_the_worlds_loco_works }
    #prerequisite = { focus = JAP_cruiser_modernization }

            cancel_if_invalid = no
            continue_if_invalid = yes
            available_if_capitulated = yes
    mutually_exclusive = { focus = USA_continue_the_new_deal }
            mutually_exclusive = { focus = USA_reestablish_the_gold_standard }
            allow_branch = {
        if = {
            limit = {
                has_game_rule = {
                    rule = obsolete_focus_branches_visibility
                    option = HIDE
                }
            }
            NOT = {
                has_completed_focus = USA_continue_the_new_deal

            }
        }
    }              
               
            completion_reward = {
              add_political_power = 50
               

              add_timed_idea = {
               idea = the_communist_rise
               days = 180
            }
             remove_ideas = home_of_the_free
             mark_focus_tree_layout_dirty = yes
             
         }
                

             ai_will_do = {
            }
                
} what did i do wrong that it still doesn't works? thats the thing with allow branch
obtuse condor
#

trigger = {
original_tag = ENG
date > 1936.1.1
}

fire_only_once = yes

mean_time_to_happen = {
days = 500
modifier = {
factor = 1.0
date > 1937.1.4
}
}

#

Is this event going to happen between january1st 1936 and april 1st 1937?

pale sparrow
#

no @obtuse condor.

obtuse condor
pale sparrow
#

MTTH of 250, no modifier

#

50% is earlier, 50% is later

#

IIRC

obtuse condor
#

this?

pale sparrow
#

no

#

remove the date thing

#

indent properly

#

you cant if I remember correctly

#

just put MTTH halfway

obtuse condor
#

april 1st 1937

#

im really confused

obtuse condor
#

i think you swap the "1946.6.3" to "1937.4.1"

high pelican
#

Does anyone know how to fix this?

obtuse condor
#

add_namespace = colonialism

Act 1935
country_event = {
id = colonialism.1
title = "Government of India Act 1935"
desc = colonialism.1.d
picture = GFX_idi_amin
#is_triggered_only = yes

trigger = {
original_tag = ENG
date > 1937.4.1
}

fire_only_once = yes

mean_time_to_happen = {
days = 500
modifier = {
factor = 1.0
date > 1937.4.1
}
}

on_startup = {
effect = {
ENG = {
country_event = {
id = on_action_colonialism.1
days = 365
random_days = 135 # Fires in the last week of 1936, assuming default start date.
}
}
}
}

option = { # Seperate both Aden and Burma from India
    name = "Seperate both Aden and Burma from India"
    ai_chance = { factor = 90 }
#

How do i fix this?

#

[02:30:59][persistent.cpp:48]: Error: "Unexpected token: on_startup, near line: 8" in file: "events/colonialism.txt" near line: 23
[02:30:59][parser.cpp:932]: Error: unexpected token in file: "events/colonialism.txt" near line: 98 ( } )
[02:30:59][parser.cpp:724]: Error: "Unexpected token: }, near line: 98" in file: "events/colonialism.txt

high pelican
#

I can't make Australia independant

#

Can anyone tell me what I am doing wrong, or what i have to add?

obtuse condor
#

and search for ast

high pelican
#

what, put both the ast and eng hist files in?

obtuse condor
#

and then search for ast in the england history file

high pelican
#

Alright, thanks.

obtuse condor
#

australia is made a puppet in there

high pelican
#

this is what it shows

#

?

high pelican
high pelican
#

yeah i sent the pic

#

thats what im seeing

arctic tinsel
#

Can someone help me?

slender brook
arctic tinsel
obtuse condor
#

thats good ?

arctic tinsel
#

yeah

obtuse condor
#

thanks

high pelican
#

the focus icon and preview icon arent the same

#

I don't know why.

obtuse condor
#

in goal_shine

high pelican
#

where would i find that

obtuse condor
#

not gfx interface

#

in interface

#

completion_reward = {
add_ideas = Extensive_conscription
add_to_variable = { DEM_bad_organization_army_defence_factor = +0.02 }
add_to_variable = { DEM_bad_organization_army_attack_factor = +0.02 }
custom_effect_tooltip = DEM_army_reforms_tt
}

#

guys

#

why game not showed this?

median dagger
obtuse condor
#

i want add +0.02 with division attack but game not showed

obtuse condor
# median dagger 1. What exactly is not showing? 2. This part of the code is fine. I need the ful...

focus = {
id = DEM_army_reforms
icon = GFX_focus_DEM_army_reforms
x = 10
y = 1
relative_position_id = DEM_demetre_empire_reforms

    prerequisite = { focus = DEM_demetre_empire_reforms }
    mutually_exclusive = { }
    cost = 10

    ai_will_do = {
        factor = 1
    }

    available = {

    }
    
    bypass = {

    }

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

    completion_reward = {
        add_ideas = Extensive_conscription
        add_to_variable = { DEM_bad_organization_army_defence_factor = +0.02 }
        add_to_variable = { DEM_bad_organization_army_attack_factor = +0.02 }
        custom_effect_tooltip = DEM_army_reforms_tt
    }
}
median dagger
obtuse condor
#

how do game know i want to add not '-'

edgy solar
#

you would just add a - if you wanted minus

#

otherwise it assumes its +

obtuse condor
#

ok

obtuse condor
#

game show only law

median dagger
#

The game shows everything correctly. Variable operations should not be showed

obtuse condor
median dagger
#

firstly, you need to create a dynamic modifier. Not just a simlpe idea

median dagger
#

common/dynamic_modifiers

obtuse condor
median dagger
#

It should work if you've done it right

median dagger
# obtuse condor and now what
  1. create file *.txt
  2. In it, write:
your_modifier_id = {
  enable = { always = yes }
  icon = GFX_idea_POL_ideology_drift_defence    
  army_defence_factor = DEM_bad_organization_army_defence_factor
  army_attack_factor = DEM_bad_organization_army_attack_factor
}```
#

And, of course, set the base values for these variables when adding a modifier

obtuse condor
#

ok

#

what the icon?

#

who need icon

#

oh my goood

#

game show me 1510 error

median dagger
#

I forgot to remove this

sour vigil
#

How can i make events by timed decisions time?

pale sparrow
#

Read the decision wiki for missions

obtuse condor
#

[02:30:59][persistent.cpp:48]: Error: "Unexpected token: on_startup, near line: 8" in file: "events/colonialism.txt" near line: 23
[02:30:59][parser.cpp:932]: Error: unexpected token in file: "events/colonialism.txt" near line: 98 ( } )
[02:30:59][parser.cpp:724]: Error: "Unexpected token: }, near line: 98" in file: "events/colonialism.txt

#

How do i fix this file?

sour vigil
high pelican
#

I don't know how to fix this.

#

SpriteType = {
name = "ContGDR"
texturefile = "gfx/interface/goals/industry/1_Great_Depression/2CGDR"
effectFile = "gfx/FX/buttonstate.lua"
animation = {
animationmaskfile = "gfx/interface/goals/industry/1_Great Depression/2CGDR.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 = 2.0 y = 1.0 }
}

    animation = {
        animationmaskfile = "gfx/interface/goals/industry/1_Great Depression/2CGDR.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 right?

#

for the goal_shine file?

high pelican
#

Update: I tried fixing it, but it broke.

cunning mauve
#

right I wanna add a new victory point in Dabancheng named Hami, this is for a releasable there, any help on how to?

#

I have this but I'm unsure if it'll work if I put it in here

lofty plaza
#

You need to define the victory point in the state file then add the name to the localisation folder you have there

dull maple
#

Is there an effect to take away civ factories? but not consumer good?

nimble solar
#

War Reps is the closest thing to stealing people's Civs

dull maple
nimble solar
#

Yeah, conversion

#

You can find it in the construction queue

dull maple
#

How can i do this in a national focus?

cunning mauve
#

how do I add/take away provinces from a state without my game crashing?

median dagger
#

I want to replicate the Balance of power interface for further modification (I want to make something different out of it). Does anyone know how its scripts work from the inside? Does anyone have any idea how to accomplish what I have in mind?

dull maple
#

does someone know why it dont work? do i got a spelling mistake?

median dagger
#

Check the encoding of localization file

#

It should be UTF-8 with BOM

chilly field
#

how do i get this event tofire after the player forms the hre?

median dagger
#

Find the decision in the game files that forms the HRE and add the trigger of this event to the effects

chilly field
#

where would i find that

#

and where would i put it in my code

lofty plaza
median dagger
pliant reef
#

can someone make me a mod please

#

cuz i just want to have no cooldown on plan offensive in the spanish civil war

upper badge
#

anyone know why this isn't coloring Galicia?

cunning mauve
#

I recently edited some states via nudging and added a few, I saved the stuff onto a mod folder, but now when I try to play vanilla hoi4 without the mod turned on this appears.

slender brook
cunning mauve
#

the og files?

slender brook
upper badge
cunning mauve
slender brook
#

No folders called /map or /history?

cunning mauve
#

I do see a history folder but it's unedited

slender brook
#

Try deleting that anyways

cunning mauve
#

okay I did

#

it worked

jade mauve
high pelican
# jade mauve if the sprite name is ContGDR then that sprite for the shine must be called Cont...

SpriteType = {
name = "ContGDR_shine"
texturefile = "gfx/interface/goals/industry/1_Great_Depression/3FGDR.dds"
effectFile = "gfx/FX/buttonstate.lua"
animation = {
animationmaskfile = "gfx/interface/goals/industry/1_Great_Depression/3FGDR.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/industry/1_Great_Depression/3FGDR.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 better?

jade mauve
#

probably

high pelican
#

oh god

#

its even worse now

#

SpriteType = {
name = "StartCW_Shine"
texturefile = "gfx/interface/goals/industry/2_CivilianWorks/1StartCivWrk_Shine"
effectFile = "gfx/FX/buttonstate.lua"
animation = {
animationmaskfile = "gfx/interface/goals/industry/2_CivilianWorks/1StartCivWrk_Shine.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 = 2.0 y = 1.0 }
}
animation = {
animationmaskfile = "gfx/interface/goals/industry/2_CivilianWorks/1StartCivWrk_Shine.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 it. Did I need to put '_Shine' in front of the texture file directories?

#

What am I doing wrong?!

obtuse condor
#

Is it fine if I just copy eveyrthing without learning anything

#

?

#

ok

#

thanks

#

please share your wonderful mods

slender brook
jovial crystal
#

how do i do opinion modifiers; i made them but the opinion number just says "0"

jovial crystal
obtuse condor
#

it is to use others works to make benefit

slender brook
#

Oh I see, I didn't realise this was satirical... at least I hope it is satirical

sturdy sapphire
#

is it possable to add a modifier to a focus

slender brook
sturdy sapphire
#

like army_core_defence_factor = 0.3

slender brook
#

You would have to add that as a country idea

#

Or I mean national idea or whatever it's called

sturdy sapphire
#

ok thx

jovial crystal
median dagger
jovial crystal
median dagger
#

okay, it is correct

jovial crystal
#

problem is

#

it says "0"

#

and glithced the other opinion modifiers

median dagger
#

give me your focus completion reward code

jovial crystal
#

focus = {
id = DEU_reapproachment_with_italy
icon = GFX_focus_generic_italy_propaganda

    available = {

    }        
    prerequisite = {
        focus = DEU_the_global_stage
    }
    
    mutually_exclusive = { focus = }
    
    relative_position_id = DEU_the_global_stage
    
    available_if_capitulated = yes
    continue_if_invalid = no
    
    available = { 

    }
    x = 2
    y = 1
    cost = 3
    ai_will_do = {
        factor = 50
        modifier = {
            factor = 50
            is_historical_focus_on = yes
        }
    }
    completion_reward = {
    ITA = {
     add_opinion_modifier = { target = ROOT modifier = first_step_reapproach_with_italy }
         add_ai_strategy = { type = befriend id = ROOT value = 50 }
         }
      custom_trigger_tooltip = {
       tooltip = italy_warning_focus_tt
      }
      custom_effect_tooltip = italy_warning_focus_tt
    }
} @median dagger
median dagger
#

interesting... It looks right. It's supposed to work

jovial crystal
#

but it shows this

wanton ingot
#

why does my focus tree loses some focuses?

radiant patrol
#

How can I make a national spirit that denies producing armor and aircraft like the Bulgarian army restrictions?

woeful hornet
#

I know it's à defining rule but i don't know how , basically not every country obey same rule

radiant patrol
#

Is it possible to make the same rule work with another national spirit?

wanton veldt
#

How do I assign a 3D model of tank/plane from one country into another?

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

valid halo
#

my mod says "Some mods are made for other game versions" but it works perfectly how do i change that so it doesn't say that

valid halo
#

how?

gusty peak
valid halo
#

yeah

gusty peak
#

This one

#

Right click this, select open with and open it with notepad or notepad++ whatever u have, and then u will see the game versions, just update it there first.

#

Like if its 1.12.9 or something, update it, I think the current version is 1.12.14 or something

#

version="1.12.14"
picture="empires.png"
tags={
"Alternative History"
"Map"
}
name="Empires In WW2"
replace_path="gfx/loadingscreens"
supported_version="1.12.14"
path=""
remote_file_id=""

#

Like this

#

update the version and the supported version

valid halo
#

thanks

gusty peak
#

Then open ur mod folder and u will see a descriptor file

#

Do the samething with it aswell

#

And I think then u might have to restart ur PC

#

version="1.12.14"
picture="empires.png"
tags={
"Alternative History"
"Map"
}
name="Empires In WW2"
replace_path="gfx/loadingscreens"
supported_version="1.12.14"
remote_file_id=""

#

Update it in here as well

#

Then it should work

#

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

sturdy sapphire
#

i just made something in modding (focus, ideas) and now my country starts with 0 divisions

#

pls help

foggy rivet
#

does anyone play hoi4 with owb mods

fair dust
foggy rivet
#

im trying add the east coast stuff and enclave stuff but idk what game version will make most of the mods compatible

fair dust
#

rn I am using ad victoriam as an addon mod but there is enclave reborn with enclave reborn plus

#

I'm not sure if there is anything for the east coast

#

Not that I have seen, just gonna have to wait for the base mod to be updated

#

Louisiana should be added in the next update

fair dust
#

There is an east coast one?

foggy rivet
#

yeah

fair dust
#

Huh, I never knew

foggy rivet
#

the more you know

fair dust
#

truly

foggy rivet
#

but i cant find a game version thats compatible with all of them

fair dust
#

Makes sense

#

I'm pretty sure the first one is outdated and the second one is just the more up to date version

foggy rivet
#

oki

#

1.12 with all except the first mod just crashed

fair dust
#

I believe that this one should fix the enclave one

#

The only one I don't know about is the east coast one

foggy rivet
#

oki

foggy rivet
fair dust
foggy rivet
#

ok

fair dust
#

@foggy rivet How's it workin?

elder hatch
#

How to make Endsieg not crash?

foggy rivet
stuck quarry
fair dust
pale sparrow
naive mantle
#

you know the decisions where you hover over that magnifying glass and it highlights certain states on the map?

#

like for a formable

#

what is that called and how can i make it

slender brook
naive mantle
#

i guess i could download one

slender brook
#

Specifically the one I made because that one actually has highlighting. Anyways, just remember that it works at the category level not the individual decision level

naive mantle
slender brook
#

No

naive mantle
#

tragic

naive mantle
#

is that an australia new zealand union?

slender brook
#

I think that's Anglosphere

naive mantle
#

oh ok good

#

had me worried for a second

#

how do i know which one is yours in the mod folder @slender brook

slender brook
#

The folder number and link number are shared

naive mantle
#

i dont see it

#

and it dont even know how to open the file lol

#

oh i found the mod file

#

just had to put it in a playset

#

oh im so clever

naive mantle
slender brook
#

Yeah

naive mantle
slender brook
#

No

naive mantle
# slender brook No

do i have to link the name of the text file anywhere? or is it like a localisation file

slender brook
#

What text file?

naive mantle
#

formable_mod_categories

#

where the image above is from

slender brook
#

You would not have to link the text file anywhere. That type of stuff should be handled by the game

naive mantle
slender brook
#

Only if you want to replace basegame files

high pelican
#

Hey, to add your own focus icons, do they just need to be put in the goal and goal shine files, or is there more?

#

[16:45:04][texturehandler.cpp:160]: Texture Handler encountered missing texture file: gfx/interface/goals/3FnshMilWrk.dds
[16:45:04][texturehandler.cpp:216]: Couldn't find texture file: 'gfx/interface/goals/3FnshMilWrk.dds'
[16:45:04][spritetype.cpp:330]: Error initialising texture: gfx/interface/goals/3FnshMilWrk.dds for spritetype FnshMilWrk

#

This is the error I am getting.

#

This is what it looks like ingame, for reference.

obtuse condor
#

and also

#

goal_shine

#

goal_shine added little animation

high pelican
#

these files?

obtuse condor
high pelican
#

um

#

could we call, it'd be ewasier if i could show you whats wrong

#

if you do not mind?

obtuse condor
#

show me code

high pelican
#

yeah, want to screen share

obtuse condor
#

in goal

obtuse condor
mild shore
#

the great war redux mod has a pickelhaube infantry model how can i export it to base game so that it works with all mods

lofty plaza
#

That'll be for you to figure out

lethal solar
#

does anyybody have a mod that auto queues up industry for you? tirred of having to constantly queue up as usa

obtuse condor
#

on_startup = {
effect = {
ENG = {
country_event = {
id = on_action_colonialism.1
days = 460
random_days = 460 # Fires in the last week of 1936, assuming default start date.
}
}
}
}

#

Whats wrong with the file and how do i fix it?

obtuse condor
#

Does anyone know of a discord for hoi4 mods

cunning mauve
#

are the second numbers for victory score points

#

or score points

#

or whatever they're called

#

also does this code look right, like are there any indentations missing?

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

stuck mist
#

The buildings max and local supplies lines are unnecessary given they're their default values but

cunning mauve
#

If I were to add a victory point to aksai chin in Hoi4, which one would be the best?

stuck mist
#

🤷‍♂️

solar dawn
#

[07:52:32][map.cpp:675]: MAP_ERROR: Palette in rivers.bmp is probably not correct

hard bison
#

Can someone share a good guide about modding? I've never tried it before and I was curious if anyone knows a good guide so I could start developping one. 😀

slender brook
#

Iron Workshop on YT makes pretty good ones

hard bison
upbeat mist
#

how do you use the "args" array for custom console commands?

#

I tried it and nothing I do seems to work

#

I'll post an example shortly

#

This is what I'm trying to achieve, substituting "oil" with the first argument and "10" with the second (of the array)

lofty plaza
prisma thorn
#

let me know if someone that knows modding wants to make a classical music mod with me

#

i have all the songs i just dont know coding, we'll do it together

gilded raven
#

can i make mods for older vers?

lofty plaza
#

You can yes

dreamy ermine
#

should I bother trying to learn how to mod? And if I wanna, where should I start?

slender brook
#

Europe of the Slavs?

#

And you can see examples of formable nations in the basegame. You would use a decision that applied a custom tag, with custom tags being given flags and names the same way regular countries are

#

Well, I don’t speak Serbian so maybe it only sounds weird when translated

#

I would just name it Europe unless your mod has you do sussy things to make the majority of Europe slavic

#

If you want to have your mod go down that path, sure

#

Just be warned that it’ll attract… certain types of attention

#

Go hogwild then

#

I dunno anything about models

obtuse condor
#

someone should make a unit mod for the P1000 RATTE

obtuse condor
#

Do anyone know of any type of wunderwaffe mod for hoi4?

#

idk

#

ill be making a Hoi4 MULTI MOD

#

which adds new tech units templates etc

#

Nice

#

I will download it whenever it's done

#

alr thx

#

You have any mods currently?

#

yes 3

#

on hoi4

#

On Steam?

#

here

obtuse condor
#

i will allow people to make SUB MODS of my MULTI MOD

#

There seems to be a problem with the link

#

what

#

alr

#

It might be because am on phone, but i will try on my PC

#

alr

#

try

#

can we discuss this in DMs?

#

Sure

#

alr

small pilot
#

Anybody help with it? Mods aren't existing in folder

teal tapir
small pilot
teal tapir
#

Documents/Paradox Interactive/Hearts Of Iron IV/mod/

small pilot
teal tapir
small pilot
teal tapir
wicked lichen
#

Is there any alternatives to Mappa Mundi?

small pilot
teal tapir
small pilot
jade mauve
#

one question, i made a custom ui for a decision category but it seems to flicker whenever an hour passes in the game or if you interact with it through buttons, it ends up looking like its having a sstroke. Anyone have any idea what might be happening?

crimson cosmos
#

Heeeey, I was wondering if someone could help look for a mod.
Assuming it even exists that is.

I'm looking for a mod that lets players make announcements or "News Papers" kinda like the browser game Call of War. I've been searching everywhere and havent found anything yet

obtuse condor
#

Is the rise of nations mod good?

obtuse condor
#

guys i am not good for GFX , pls make one flag british flag , one flag Poland and one flag france

nimble solar
#

Not even a please (btw I can't do good art, so don't ask me)

nimble solar
#

Oh god I am blind

nimble solar
obtuse condor
dull maple
#

does someone know what the problem might be that when i finish the first focus the picture of the secxond dissappears

pale sparrow
#

Missing shine texture

celest dust
obtuse condor
#

Guys

#

what is the hoi4 focus tree mods

lofty plaza
#

Probably on the workshop

obtuse condor
median dagger
#

How can I make the same interface as the manage subjects window. I am particularly interested in attaching the window to the poltics tab

pale sparrow
#

Use the GUI console command to backtrace the interface code

dull maple
gilded raven
#

i tried to make a flag mod and the flag doesnt apear ingame any reasons to why?

obtuse condor
#

how to start modding?

median dagger
grave tinsel
gilded raven
#

Makes sense

#

Thanks

grave tinsel
#

the game uses a certain file size for you to be able to use your flag for some reason

grave tinsel
gilded raven
#

What size is it

grave tinsel
#

for small flags, it would be 800bytes to 1 kb

#

around 4-5 kb for mediums

gilded raven
#

2kb

grave tinsel
#

well, check if your application compresses your file

#

that might be the case

gilded raven
#

this one has a different name could that be the case

grave tinsel
grave tinsel
#

it's essential for you to have it

gilded raven
#

wait

grave tinsel
#

otherwise there would be errors

gilded raven
#

whats that

grave tinsel
gilded raven
#

in the tut i followed it didnt show that

#

Learn in under 9 minutes how to change any flag in Hearts of Iron 4!

If you have a complicated question that can't be answered here properly (for example if you want to attach a screenshot) you are welcome to use the topic on the Paradox forums, I am always looking there for questions:

https://forum.paradoxplaza.com/forum/index.php?threads/le...

▶ Play video
#

this is the tut i followed

#

it is quite old

grave tinsel
#

ig that explains it

gilded raven
#

ah

grave tinsel
#

you can copy and paste a gfx file considering that sprites use any .gfx file for certain icons

gilded raven
#

thats what i did

#

i opned it with photoshop

grave tinsel
#

these type of files right?

#

the ones that are .gfx and not some image file

gilded raven
grave tinsel
#

you can simply make your own .gfx file in interface but I'd say it's best to copy and paste

gilded raven
#

this is my entire folder

grave tinsel
#

oh wait, damn, sorry for wasting your time, ignore what i said

gilded raven
#

oh

grave tinsel
#

you were doing it all good

#

i was just thinking of something else

#

sorry

gilded raven
#

aight

grave tinsel
#

yeah uhh hold on, let me check what you should do next

#

yeah, it's just size

#

@gilded raven

#

it's just size that was blocking the way

gilded raven
#

ah

grave tinsel
#

the file size were too small

#

if you want, i can help you with the file size

gilded raven
#

my small one is 324 bytes

#

yeah thanks

grave tinsel
gilded raven
#

i can send it if you need

grave tinsel
#

sure, i'll happily help

gilded raven
grave tinsel
#

that should do

#

@gilded raven

#

you can send the rest if you want

gilded raven
#

alr

#

should i change the name

#

cause its BLR_GER_facism

grave tinsel
#

the medium one seems to be meeting the file size requirements

gilded raven
#

ah

grave tinsel
#

but it seems the ordinary one is somewhat corrupted

gilded raven
#

it is?

grave tinsel
#

i'll try to check out

gilded raven
#

thanks

grave tinsel
#

if it continues to not be able to read the file, i'll make a new one for you and send it

gilded raven
#

thanks

grave tinsel
#

that should do

gilded raven
#

ty

grave tinsel
#

if the flag isn't showing up then idk what to do

gilded raven
#

thanks man

grave tinsel
#

np

gilded raven
#

It worked

obtuse condor
#

Guys how can i start modding hoi4?

abstract sentinel
#

if you’re not making major overhauls most of modding is just taking what’s already in the game and changing small parts of it

obtuse condor
#

im thinking about learning everything

abstract sentinel
#

i found some good YT tutorials when I started

gilded raven
#

This Hearts of Iron IV modding lesson will explain how to create new characters, including country leaders, advisors, corps commanders, field marshal and admirals.

If you found this video helpful and want to help the channel grow you can use the super thanks button above, any amount helps the Iron Workshop improve and continue to make more vide...

▶ Play video
#

i can use this to make commanders right?

abstract sentinel
#

yes

#

the hardest part of commanders is honestly portraits imo

#

once you figure out the character system it’s pretty formulaic to make more

gilded raven
#

thanks amn

#

man

gilded raven
#

i ont really get it

#
characters={
    GER_adolf_hitler={
        name=GER_The_Cool_Dragoon
        portraits={
            civilian={
                large="gfx/leaders/GER/Portrait_Germany_Adolf_Hitler.dds"
            }
        }
        country_leader={
            ideology=nazism
            traits={ dictator }
            expire="1965.1.1.1"
            id=-1
        }
    }
} 

if i have code like this and i want a general do i remove the 'country leader+{' part

slender brook
#

No swat stickers allowed here

gilded raven
#

ah mb

#

ill disable the mod and repost

#

i deleted all the code for commanders and hitler so thats was the issue

gilded raven
#

how would i make an ENTIRE new focus tree

#

like the ''opose hitler'' tech tree

lofty plaza
#

Just make a new focus, move it over and branch of that.

thin chasm
#

Never got into Balance of Power modding after BBA - can you have multiple BoPs active at a time, or is only one per country at a time?

pale sparrow
#

One at a time

dapper wadi
#

help

#

my unit names wont appear

#

errr how do i explain it

nimble solar
#

Like it would say infantry division or if you are Germany late war infantry division

gilded raven
#

i cant find a proper guide on custom weapon reserhc

gilded raven
#

uh i made a country and this happens in 1939 start

abstract sentinel
gilded raven
#

shoulda specified

#

leader

#

i had a custom leader in 1936 star

abstract sentinel
#

not at my pc now and tbh I’ve never messed with 1939 start but it might be a separate history file or smth

gilded raven
#

ah

#

makes sense

#

ty

bright solstice
#

guys

#

i create game

#

if what i know english b1plus

#

так что если естть русские можете заййти

#

айди

#

90173682632191004

obtuse condor
#

DIPLOMACY

if = {
limit = {
OR = {
has_dlc = "Together for Victory"
has_dlc = "Man the Guns"
}
}
1868.1.1 = {
set_autonomy = {
target = MAL
autonomous_state = autonomy_integrated_puppet
}
}
1860.1.1 = {
set_autonomy = {
target = RAJ
autonomous_state = autonomy_colony
freedom_level = 0.35
}
}
1920.1.1 = {
set_autonomy = {
target = ISR
autonomous_state = autonomy_colony
freedom_level = 0.35
}
}
1868.1.1 = {
set_autonomy = {
target = CAN
autonomous_state = autonomy_dominion
freedom_level = 0.4
}
}
1795.1.1 = {
set_autonomy = {
target = SAF
autonomous_state = autonomy_colony
freedom_level = 0.4
}
}
1900.1.1 = {
set_autonomy = {
target = AST
autonomous_state = autonomy_dominion
freedom_level = 0.2
}
}
1840.1.1 = {
set_autonomy = {
target = NZL
autonomous_state = autonomy_dominion
freedom_level = 0.2
}
}
1882.1.1 = {
set_autonomy = {
target = EGY
autonomous_state = autonomy_dominion
freedom_level = 0.2
}
}
}

#

Is there anything wrong with this?

obtuse condor
#

ahhh

#

the average hoi4 player

#

what is a screenshot blyAt

#

screenshots dont work if you use windows xp in eastern europe

ripe zodiac
#

how do i get icon on multiplayer name?

thin chasm
livid dragon
#

hey modders i have an idea for a mod if it is possible to make but i dont know how to mod and was wondering if one of yall might want to take the idea make a throne of glass mod based off of the throne of glass book series just an idea if yall want to use it

lofty lance
#

Ive been looking at my code for a few hours and cant find why the nation doesnt start with a neutral government. Can somone help?

obtuse condor
#

Where do i change the name of the political party?

#

parties english

frail sapphire
#

Hey Guys. Did anyone know where are the files for the demilitarised are. I want to ad a kind of a demilitarised zone. Can anyone help me?

frail sapphire
frail sapphire
potent raptor
#

does anyone know how to make countries (like british raj) into another countries puppet in files?

potent raptor
#

add
set_demilitarized_zone = yes
under the add_core_of

frail sapphire
potent raptor
#

thank you

frail sapphire
potent raptor
#

not sure then

timber zenith
lofty lance
frail sapphire
frail sapphire
grave tinsel
# gilded raven ``` characters={ GER_adolf_hitler={ name=GER_The_Cool_Dragoon ...

yes, and replace it with

field_marshal = { #field_marshal can be replaced with corps_commander which will make the character a general instead of a field marshal
traits = { } #whatever traits you want to add for them
skill = #(should be around 1-9)
attack_skill = #any number you want, make them OP, make them useless
defense_skill = #any number you want
planning_skill = #any number you want
logistics_skill = #any number you want
legacy_id = -1 #this doesn't really matter much
}

#

traits for the unit leaders can be found in Hearts of Iron IV\common\unit_leader if you're confused

pale yacht
#

I have a mod idea that you guys can do Saudi Arabia making Umayyad Caliphate

lofty lance
manic wolf
#

whats the right compression for flags?

lofty lance
manic wolf
noble marten
#

What would cause the letters to compress like this

lofty lance
manic wolf
#

really?

#

cause it doesnt have a compress for some reason?

#

or ig thats only for dds

lofty lance
manic wolf
#
[16:41:43][statehistory.cpp:127]: Unknown History Command ==>'provinces'<==  for state: history/states/163-Dalmatia.txt
[16:41:43][persistent.cpp:48]: Error: "Unknown effect-type: provinces, near line: 19
Unexpected token: provinces, near line: 19" in file: "history/states/163-Dalmatia.txt" near line: 19
[16:41:46][state.cpp:658]: no provinces in state "Zadar" with id: 163.
[16:41:46][gamestate.cpp:2670]: MAP_ERROR: The land province 6408 -  has no state.
[16:41:46][gamestate.cpp:2670]: MAP_ERROR: The land province 9485 -  has no state.
[16:41:47][state.cpp:658]: no provinces in state "Zadar" with id: 163.
[16:41:48][flagtextureatlas.cpp:525]: Error loading flag for country WAL : Ideology democratic : Path gfx/flags/ : Warning slow to read format - Consider using 32bpp instead of 24bpp
[16:41:48][flagtextureatlas.cpp:203]: Error loading country flag overlay: gfx/flags/medium/WAL_democratic.tga : Unsupported format. Expected 32bpp, uncompressed, no color palette
[16:41:48][flagtextureatlas.cpp:525]: Error loading flag for country WAL : Ideology democratic : Path gfx/flags/medium/ : File not found
[16:41:48][flagtextureatlas.cpp:203]: Error loading country flag overlay: gfx/flags/small/WAL_democratic.tga : Unsupported format. Expected 32bpp, uncompressed, no color palette
[16:41:48][flagtextureatlas.cpp:525]: Error loading flag for country WAL : Ideology democratic : Path gfx/flags/small/ : File not found
``` also these files are acting up like 163 has provinces its acting like it doesnt
lofty lance
faint sonnet
#

the colors of a nation on the map is described with rgb, right?

#

if i put 50 0 13 in there, which is the rgb code for burgundy, it gives me this disgusting yellow for some reason

lofty lance
manic wolf
manic wolf
# lofty lance would you mind telling me how?
    id = 163
    name = "STATE_163" # North  Vidzeme
    resources = {
        steel=20 # was: 32.000
        aluminium=11 # was: 18.000
    }
    
    state_category = large_city

    history = {
        owner = UKR
        victory_points = { #Venezia
            11584 10 
        }
        victory_points = { #Padova
            3604 3 
        }
        victory_points = { #Verona
            603 1
        }

        buildings = {
            infrastructure = 3 #was: 6
            arms_factory = 2
            industrial_complex = 4
            dockyard = 1
            air_base = 3
            11584 = {
                naval_base = 6
            }
        }
        add_core_of = UKR
        add_core_of = EST
        }

        provinces = {
            9485 6408
        }
        manpower = 3963151
        buildings_max_level_factor = 1.000
    
        local_supplies = 5.0 
    

    }```

provinces needs to be after the cores closing bracket
#

and before local supplies

gleaming moon
#

hi

#

hi evreyone

#

is there a moder on that i could make a rqewst to

gilded raven
gleaming moon
#

hi there

gilded raven
#

i forgot i had some dumbass pfp

gleaming moon
#

how is evreyone?

gleaming moon
gilded raven
#

hi

gleaming moon
#

do you knwow how to mod?

gilded raven
#

i bit

#

a bit

#

started 3 days ago

lofty lance
gleaming moon
gilded raven
#

sure

gleaming moon
# gilded raven sure

ok thanks so im bad at the game and use buffs mods and i like italy a lot but the creatr hasent updated the mod to by blood alone wich means that italy new focus tree dosent work my rqwest is if you could look at the code and update it to by blood alone and put it on steam or pardex mod site

gilded raven
#

i cannot do that

gleaming moon
#

oh it woulid be coopig the mod wich isent allowed?

manic wolf
gilded raven
gleaming moon
#

i guess i cood keep looking for somewon who cood they couild prob put a few more fertes in it so it woddent be cooping

gleaming moon
manic wolf
gleaming moon
#

i acouly been looking for pepole that cood update it to by blood alone and add like 1 new fetre so it wodent be cooping it😆

gleaming moon
#

@manic wolf me and my silly stuff also do you know how to mod? and how are you?

manic wolf
gleaming moon
gleaming moon
gleaming moon
# manic wolf i know how to mod but i havnt messed with focus tree's much

ok thanks so im bad at the game and use buffs mods and i like italy a lot but the creatr hasent updated the mod to by blood alone wich means that italy new focus tree dosent work my rqwest is if you could look at the code and update it to by blood alone and put it on steam or pardex mod site
this bacley described what i wanted

gleaming moon
pale sparrow
gleaming moon
#

Hm

frail jacinth
#

HI MODDERS how could i edit this i cant deploy troops even in my own country

#

i have core

gleaming moon
#

Do you have any other version then because I don’t think I’m gonna find anyone else to update Op Italy for me

frail jacinth
gleaming moon
gleaming moon
frail jacinth
#

i can edit the setting called strenghen italy

gilded raven
#

im experimenting with ai flags and so far i would say its pretty good

gleaming moon
gleaming moon
gilded raven
#

im so confused

#

my country doesnt apear ingame

gleaming moon
#

Yep

#

I can’t help you with that friend

gleaming moon
gleaming moon
gilded raven
#

its possible to have 2 state files right?

pale sparrow
#

Only the ones you override? Yes

pale sparrow
gilded raven
#

like this

gleaming moon
gilded raven
#

this shit is pissing me off

#

my country does not spawn AT ALL

gleaming moon
obtuse condor
#

Logitech F710 Controller for submarines

#

FAV mod

gilded raven
gilded raven
#

tf why doesnt my country exist


state={
    id=279
    name="STATE_279" # Santiago
    manpower = 3935146
    
    state_category = large_city
    
    resources={
        steel=16 # was: 24
    }

    history={
        owner = ALV
        buildings = {
            infrastructure = 3 #was: 5
            arms_factory = 1
            industrial_complex = 7
            air_base = 3
            8222 = {
                naval_base = 5
            }
            5121 = {
                naval_base = 1
            }
            650 = {
                bunker = 1
            }
        }
        add_core_of = ALV
        victory_points = {
            650 10
        }

    }

    provinces={
        650 5121 5169 5191 8194 8222 8229 8251 12920 12954 12984 
    }

    local_supplies=0.0 
}

this code is right?

#

ah wait

#

nvm

#

still broken

timber zenith
timber zenith
#

Is that file in your mod, and is that mod enabled?

gilded raven
#

this is my root folder

gilded raven
#

and its in my mod

timber zenith
#

Can you send over your mod folder?

gilded raven
#

sure

#

ill dm it

timber zenith
#

👍

#

@gilded raven Works fine for me

gilded raven
#

strange

#

i have it enabled

timber zenith
#

Try make a new mod folder through the create mod thingy

gilded raven
#

alright

gilded raven
#

there is no country

#

ah

timber zenith
#

Did you modify any of the files? that looks like you might've missed the common folder

gilded raven
#

it apears i had left a folder out

timber zenith
#

alr

gilded raven
#

well thanks for the help

timber zenith
#

No problem

#

Is everything working now?

gilded raven
timber zenith
gilded raven
#

makes sense

#

how do i refresh it?

#

lemme make another mod to see if that work

#

now that area is ocupied (by chile)

gilded raven
#

the folder

#

wait

#

its the same one i send

#

m,b

#

mb

timber zenith
#

Did you relaunch the game?

#

was it the same?

gilded raven
#

i didnt enable the mod.

#

ive been awake for like 18 hours

timber zenith
#

Don't worry happens to all of us haha

gilded raven
#

still same issue

timber zenith
#

You have the common subfolders in there, right?

gilded raven
#

yeah

#

these 2

timber zenith
#

I'm not too sure then

fervent cove
#

i've been playing the Darkest Hour mod, and looking abt it, cuz i really found it was interesting, but does someone know how they managed to make those changes in the Staff (Mainly the Cabinet having all of those advisors)
Other question is about the dual leadership, anyone know how they made it? and if so, is it possible to adress these dual leaderships to just some countries?
(For Example, the relations of King and Prime Minister, and General Secretary/Head of the State are very interesting, but for some countries it wouldn't work very good, like the Cliques and some absolutist empires, idk)

fervent cove
# gilded raven yeah

try to see if there is some file saved in the Hearts of iron folder, before the mod, inside some of the folders, idk

fervent cove
#

Like, see if there is any "states" folder or "history", etc, in the Hearts of Iron folder, before the mod one

#

cuz accidentally i dropped one of indochina in this file, and then it messed up the state, i needed some days to figure it out

fervent cove
gilded raven
#

no i did

fervent cove
#

probably is that then

gilded raven
#

it still didnt work

fervent cove
#

yeesh

timber zenith
#

logs can be there

gilded raven
#

im doing a reinstall

#

IT WORKS!!!!!!!!!!!!

gilded raven
#

my new states wont work but icba to figure it out now

fervent cove
fervent cove
#

but what is ALV?

#

like

#

for what country it stands for?

gilded raven
#

Yeah

#

Like GER

#

or USA

fervent cove
#

ye ye

#

but ALV is what? like, whats the country

#

never had seen it before

grave tinsel
gilded raven
grave tinsel
#

if you meant that by separating generals and leaders

gilded raven
#

Btw

dense condor
#

How can i edit an existing country rather than create a new one in my new mod?

#

also which of the country's files should i copy

#

for example i want to edit the german reich

#

what do i do

dense condor
#

also

#

why does germany has hsv in their colour file

#

should i keep it?

pale sparrow
dense condor
#

btw the colour also has hsv as germany

#

for some reason

pale sparrow
#

maybe it turns out slightly better that way

#

just copy over the vanilla files you want to override and nothing more

dense condor
#

germanys color doesnt show up

#

lemme send the file picture

timber zenith
#

copy the file in the same folder called "colors"

dense condor
#

wdym

#

i have the colors file

#

but no colors folder

#

on my mod

timber zenith
#

my bad

dense condor
#

oh

#

yes

#

i did that

#

i have changed everything i think

faint sonnet
#

how do i put text in the effects section of a national focus?

frail sapphire
gilded raven
#

how would i give a custom country starting units and templates

chilly field
#

How would I make my nation show up as a releaseable in a peace conference

gilded raven
chilly field
#

Wdym

gilded raven
#

like create the country

#

then make it owned by antother

#

idk tho i started 4 days ago

chilly field
#

I wanna add the already releasable German states as releasable via the peace conference

gilded raven
#

idk

chilly field
#

Ok

dreamy lichen
#

I personally installed it multiple times, but it never worked for me, tho maybe its in game options when starting a new game/loading a game. If not, then ask someone that knows

pale sparrow
#

By default your launcher is on an initial playset with all installed mods I believe

fervent cove
#

Does someone Know what the "Election Frequency" thing in the country history files do?

pale sparrow
#

🙄

#

If you didnt know, an ideology with elections will swap ruling party if another takes a larger share(/majority?)

fervent cove
#

yee, ik, but like, how does it work?

#

i'm working in cuba history file

#

and the value attributed to it is 48

#

like, what is 48?- it's the year where the next ellections will occur?

pale sparrow
fervent cove
#

ohh

#

thx thx

obtuse condor
#

1899.1.1 = {
buildings = {
infrastructure = 2
industrial_complex = 1
}
}
1900.1.1 = {
victory_points = {
8216 1
}
}

#

Is this possible?

lofty plaza
#

Yes

lofty plaza
obtuse condor
#

would be pretty stupid for argentina to start with its victory points in the middle ages

gilded raven
#

is there a modding discord?

#

cause i cant find out how to do half the shit

#

and this chat is really slow

#

for answers

#

how do i make custom countrys start with divs

slender brook
obtuse condor
mighty trout
#

10/10

unkempt siren
#

10/10

vocal sage
#

10/10

#

i mean 100/10

obtuse condor
#

thanks guys :DDD
who i your favorite icon

limber sand
#

I've a question: I am currently making a focus tree and wish to allow the player to gradually get rid of a very bad national spirit by completing focuses. However, I don't want them to be linear, I want the player to be able to do said focuses in whatever order they please; is there a way to be able to do this? I'm new to modding and the only way I know of "updating" nat. spirits is swapping them with other nat spirits, which won't work for a non-linear focus branch

limber sand
limber sand
#

I haven't even made it yet, it's just a general idea. I've been scouring the internet for anything of help but I haven't been able to find anything which allows you to basically change national spirits by focus tree, only to swap them

celest dust
timber zenith
timber zenith
#

also there is a modding coop

gilded raven
timber zenith
#

Order of battle

gilded raven
#

What's that

timber zenith
#

In modern use, the order of battle of an armed force participating in a military operation or campaign shows the hierarchical organization, command structure, strength, disposition of personnel, and equipment of units and formations of the armed force. Various abbreviations are in use, including OOB, O/B, or OB, while ORBAT remains the most comm...

#

In hoi4 it's ur units

gilded raven
#

Ah

timber zenith
#

Copy something like argentina or someone simple's 1936 file and modify it for yourself

gilded raven
#

Oh alright

#

Ty

timber zenith
#

All good

#

Also put the line oob = "TAG_1936" in the history/countries file for your country

#

but with your tag

gilded raven
#

Aight

obtuse condor
#

can i not use diacritic letters for localization keys

#

like i had a focus with ö in it

#

it didnt let me localize it

#

or anything after that

ocean prairie
#

is there a trigger for Hoi4 that goes like " Days since War Started" or something like this. I want to check how much Stability someone has when he went into a war.

twilit arch
#

how do i make it centered?

gilded raven
twilit arch
#

common\bookmarks

gilded raven
#

ah

#

thanks

gilded raven
#

ingame

ocean prairie
#

in an if clause can i add multiple limit parameter in the {} brackets?

distant saddle
obtuse condor
#

wait no nvm

twilit arch
obtuse condor
#

there are 8 major country slots

#

you cant really make it centered

#

unless you uhh

#

edit the gui or whatever

#

idk how to do that

#

never done that

twilit arch
#

is there a way to center it without using brute force

#

figured it out

obtuse condor
#

bruh

#

how do i make the industrial concern i made show up

obtuse condor
#

nvm fixed it

manic lance
#

Who made this shit 💀

obtuse condor
#

look at creator

#

also how do i make an industrial concern decrese consumer good factories

sturdy rune
#

Kaiserreich by like

gilded raven
#

i still cant get divitions to wrk

prisma thorn
#

can anyone tutor me into making a music mod 'd appreciate it

obtuse condor
manic wolf
#
[15:33:17][flagtextureatlas.cpp:203]: Error loading country flag overlay: gfx/flags/medium/WAL_democratic.tga : Unsupported format. Expected 32bpp, uncompressed, no color palette
[15:33:17][flagtextureatlas.cpp:525]: Error loading flag for country WAL : Ideology democratic : Path gfx/flags/medium/ : File not found
[15:33:17][flagtextureatlas.cpp:203]: Error loading country flag overlay: gfx/flags/small/WAL_democratic.tga : Unsupported format. Expected 32bpp, uncompressed, no color palette
[15:33:17][flagtextureatlas.cpp:525]: Error loading flag for country WAL : Ideology democratic : Path gfx/flags/small/ : File not found
``` says this but also, i get a map error when booting, which i doubt these are connect?
#

and yes this is the entire log

manic wolf
#

like the ones that would cause a crash?

obtuse condor
#

i want for it to be a hidden effect that the latin american countries arent allowed to increase their conscription

manic wolf
#

iirc that is do able but i forget line of code

manic wolf
# obtuse condor

try something like hidden_effect = { news_event = { id = GER.134 days = 2 } GER = { country_event = { id = GER.133 days = 6 } } }

#

but ya know edit it

manic wolf
manic wolf
fervent cove
#

what are the deicisions in the Country tab named in the files?
(Like the "Declare War", or "Guarantee Independence" ones)

manic wolf
#

those are diplomatic actions for one

manic wolf
fervent cove
#

thxx

manic wolf
#

i have -debug enabled and no debug popup text

manic wolf
#

is there a way i could get canada to be called amerika instead as a puppet but only if specific nations have it as a puppet?

manic wolf
obtuse condor
#

germany or ussr has something like that

#

reichskomissariats and ssrs

manic wolf
manic wolf
manic wolf
obtuse condor
#

smh

#

bazmeg

manic wolf
obtuse condor
#

bruh

manic wolf
#

well it didnt work in game

obtuse condor
#

did hungary puppet canada

manic wolf
#

as canada is called british north america despite being a dutch colony

obtuse condor
#

bruh

manic wolf
#
 CAN_HOL_subject_DEF:0 "$OVERLORDADJ$ Northern Amerika"```
obtuse condor
#

i mean it should work

#

did you save localization file

#

and did you restart game

#

sometimes it only works after restarting game idk why

manic wolf
#

it didnt was the issue

obtuse condor
#

wait

#

set ideology

#

CAN_HOL_ideology_subject

#

if that doesnt work then idk

#

i give up

manic wolf
#

Im launching atm

#

maybe

obtuse condor
#

what difference does it make if i set the :0 to :1 at the end of vicotry point localization line like VICTORY_POINTS_9660:0 to VICTORY_POINTS_9660:1

sleek echo
#

if vanilla adds a name for VICTORY_POINTS_9960:0 and you add VICTORY_POINTS_9960:1, it'll affect which is taken (I think it is always lowest number behind the : but don't remember for sure rn).