#modding

1 messages · Page 96 of 1

patent linden
#

I forgot where it was but thats possible

#

gimme a sec

rare grove
#

or can i just make a focus tree that i give to everyone?

patent linden
delicate tangle
#

Gustav IV is your mod public, even if it's just beta I would love to play a Napolianic era mod

rare grove
#

"Napoleonic wars 1789-1836 redux"

#

on steam

patent linden
#

lol

#

Im working on one that is aftermath of a napoleonic victory

#

what a coincidence

delicate tangle
patent linden
#

this, to me, implies that you have to tell the game that your countries dont have focus trees somehow

delicate tangle
#

Could you somehow set the basic focus tree to be nothing?

rare grove
#

yes

patent linden
#

More guesswork than anything, but

focus_tree = {
    id = afghanistan_tree
    
    country = {
        factor = 0
        modifier = {
            add = 10
            tag = AFG
            has_dlc = "Graveyard of                                     Empires"
        }
    }
}

You probably have to create the national focus tree file for all your countries and then use an effect/trigger, whatever that is always false

rare grove
#

i made chatgpt do it

#

i copied the countries focus trees from the hoi4 modding national focus page

#

and asked for the id

patent linden
patent linden
rare grove
#

i pased this text

#

and it made that perfectly

patent linden
#

your call, but i personally have made the experience that LLMs are highly unreliable when it comes to stuff like this

rare grove
#

this code doesnt work

#

xibei san ma raj iran etc still have their focus trees

#

ah you need to add it for each country

#

chatgpt helped me out

#

common/country_tag_aliases/tag_aliases.txt:76: has_focus_tree: country does not have a focus tree

#

ah great more errors

#

at least no crashes tho

surreal haven
#

yes

patent linden
#

Depending on what you want to do, i would just check if the country you are targeting has capitulated, germany controls the capital state, and some country_flag has been set like "can_be_robbed" which you can attach to the "on_capitulation" on action

rare grove
#

i figured out how to change basegame loading screens

#

how to change dlc loading screens tho?

spice cradle
#

how do I add more models to the gfx lineup on plane designer?

surreal haven
#

is there a way to make a idea that limits the army to 100k manpower?

#

and how to make dynamic ideas

night mirage
#

any polish people who can help me?

limpid lagoon
#

my event does work

patent linden
#

whats the problem if it worksnicebro

limpid lagoon
#

in the 3rt image it says invalide event whith id

#

idk what that means

patent linden
#

did you do "add_namespace = new_pt" in the top part of the file?

limpid lagoon
#

yes

patent linden
#

try restarting the game

limpid lagoon
#

i did it 3 times already

patent linden
#

hmm

limpid lagoon
#

nothing changed

#

also the {} are all in place

patent linden
#

try putting the country_event inside a country tag Block

limpid lagoon
#

will do, will say what happen later

#

@patent linden it work

#

thx so much

patent linden
#

you're welcome

#

I would advice trying to use the wiki for this as much as possible, saves you time

limpid lagoon
#

ik but it to conveluted sometimes

surreal haven
#

anyone knows how to change the start date?

sleek terrace
#

Search the base game files for more detail

#

Idk if that's enough, but certainly should be

surreal haven
#

do i need to make a bookmark?

sleek terrace
sleek terrace
surreal haven
#

the scenarios have bookmarks

sleek terrace
#

Well... You can do it

surreal haven
#

does it change anything?

sleek terrace
#

Idk, but depending on what you see there, it can

#

The define files will work as well, as it is what defines the start date, and the ending date (1949)

#

Well, I have to go now, ping me if I can help you in any way

#

I will see it later

surreal haven
#

okay bye

#

i changed the start date and it works but there is just one issue

#

@sleek terrace

#

its 1 january 1932

last igloo
#

How to add a dynamic modifier to an idea ? With a decision effet

patent linden
# last igloo How to add a dynamic modifier to an idea ? With a decision effet
state_of_the_prussian_army_dynamic =
{
    icon = generic_war_preparation
    enable = { always = yes }
    remove_trigger = { always = no }

    army_attack_Factor = prussian_army_attack_factor
    army_org_Factor = prussian_army_organization_factor
    army_morale_Factor = prussian_army_morale_factor
    initiative_factor = prussian_army_initiative_factor
    conscription_factor = prussian_army_conscription_factor

    if =
    {
        limit = { has_country_flag = GER_prussian_army_reform_finished }
        experience_gain_army = 0.3        
    }
}```

I did this a while back so my meory is a bit fuzzy, but this is an example. It's in the common/dynamic_modifiers/0_dynamic_modifiers file, although the filename is irrelevant, build similar to a regular idea

add_dynamic_modifier =
{
modifier = state_of_the_prussian_army_dynamic
}


Added like this in the countries history file (history/countries/country file here)

"prussian_army_attack_factor" these are variables

set_variable =
{
var = prussian_army_attack_factor
value = -0.10
}```
set like this, also in the history file.

https://hoi4.paradoxwikis.com/Modifiers#Dynamic_modifiers

#

although i noticed that my icon isn't loading, so take this with a grian of salt

last igloo
patent linden
#

its a standalone thing that replaces an idea

#
add_dynamic_modifier =  
{ 
    modifier = state_of_the_prussian_army_dynamic
} 

If you do this, it shows up in your idea tab

#

so frontend looks the same as ideas

last igloo
#

ok I will try thank you

raven hedge
#

I need help

#

I need help,Somehow game doesn't recognize my Country Tag whenever I give it a state using setowner

#

Structure is like that

#

Yeah that's all

surreal haven
#

@patent linden can you help me?

patent linden
surreal haven
#

i have changed the start date to 1932

#

and i think the research is broken

raven hedge
#

I need help,Somehow game doesn't recognize my Country Tag whenever I give it a state using setowner

raven hedge
raven hedge
raven hedge
patent linden
#

try creating it again and see what happens

patent linden
raven hedge
#

Could anyone help me

#

If possible

patent linden
#

try using the original countries file in the country_tag folder instead of the new one you created and append your country to it

#

maybe the game doesnt like the name of your file

raven hedge
#

@patent linden I did that

#

Yet It didn't work

#

I can send you the project If you want to take a look

patent linden
#

its probably some miniscule detail

raven hedge
patent linden
#

what is the error exactly

raven hedge
#

It says Invalid tag whenever I give it a state by using setowner command

#

graphical_culture = eastern_european_gfx

graphical_culture_2d = eastern_european_2d

color = { 144 0 32 }

capital = 49
ideology = neutrality

patent linden
#

can you set some state in the history/states folder to be owned by that tag

patent linden
#

no, just want to see if that works

raven hedge
#

alr

patent linden
#

makes the country spawn on game start

raven hedge
#

to the states right

patent linden
#

history/states/random state file

#

doesnt matter which

#

just to see what happens

#

if the country spawns, the tag should work

#

if it doesnt, the error log might hold more information

raven hedge
#

let me try

raven hedge
#

that error would give Info since It covered already that tag doesn't exist

#

@patent linden Is there any mis typos?

patent linden
#

i didnt spot any

#

doesnt really mean anything though...

raven hedge
#

That's weird

#

Yeah that one didn't work too

patent linden
#

what does the map look like

#

there should be an unowned province then

raven hedge
#

Ankara is still owned by Turkey (STATE ID 49)

patent linden
#

show me the state history file of Ankara

raven hedge
#

state={
id=49
name="STATE_49" # Ankara
manpower = 810284
resources={
chromium=11 # was: 16
steel = 28
}

state_category = town

history={
    owner = TNF
    victory_points = {
        11747 15
    }
    victory_points = {
        804 5 
    }
    victory_points = {
        3951 1
    }
    buildings = {
        infrastructure = 2
        arms_factory = 2
        industrial_complex = 2
        air_base = 3
    }
    add_core_of = TNF
}

provinces={
    804 909 3907 3951 6808 6908 6925 9806 9901 11747 11784 
}

local_supplies=7.0 

}

patent linden
#

btw. did you activate the mod?

raven hedge
#

I did

#

It means active

patent linden
#

"19"

#

are you running any other mods?

raven hedge
#

Nah

#

I removed other mods

patent linden
#

though if you did that, and the tag is invalid, the state should be unowned and a map error should occur

raven hedge
patent linden
#

turkey still owning the state seems odd

raven hedge
#

Shall I give a shot

patent linden
#

try that

#

see if you have the correct playset selected

raven hedge
#

oh

#

wait

#

@patent linden Is it important that

#

where shall I put their priority like 19

#

It doesn't work again

patent linden
#

that to me just seems like the mod isnt loading at all

#

gimme a sec

raven hedge
#

Yeah

#

I can see it too

#

KIT WORKED

#

@raven hedge

#

@patent linden

#

@patent linden I changed

#

Mod playet

#

playset

patent linden
#

Bruh

#

yeah as i said

raven hedge
patent linden
#

some miniscule bullshit

raven hedge
#

Wait

patent linden
#

the mod quite literally wasnt loaded

raven hedge
#

Why doesn't my flags show up?

#

l_english:
TNF:0 "Turkish National Front"
TNF_DEF:0 "Turkiye"
TNF_ADJ:0 "Turkish"
so Is this

#

tnf_countries_l_english.yml

#

Shall I put them to original

patent linden
#

The image files are a bit finicky,

#

they need a specific formatting

raven hedge
#

The tag was

#

TNF

patent linden
#

oh yeah, it needs an ideology tag behind it

#

so TNF_democratic or equivalents

raven hedge
#

I thought It didn't even need

#

one

#

It can be when It's TNF It's known as casual flag

#

TNF only

patent linden
#

copy a flag from another country and overwrite it with a differenc tpicture

raven hedge
#

Fixed them

#

@patent linden Thank you

patent linden
#

You're welcome

patent linden
# raven hedge <@371652395861671948> Thank you

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

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 videos like this one.

Timestamps for this tutorial/lesson:

00:00 - Lesson beginning
02:00 - ...

▶ Play video
#

just incase you dont know this guy

#

his tutorials are great

#

a bit outdated

raven hedge
#

I know him

patent linden
#

but useful

raven hedge
#

I watched him

royal quartz
#

This causes my game to crash

patent linden
#

well fix it then nicebro

royal quartz
patent linden
#

hmm

#

my favourite

#

can you send the entire log

royal quartz
#

I assume its something in common folder

royal quartz
#

Most of it is just effects and stuff

#

From overhaul

patent linden
#
[effect.cpp:352]: Error: "Unknown effect-type: GER_set_consumer_goods_war_reparations, near line: 145" in file: "common/scripted_effects/FRA_scripted_effects.txt" near line: 146
[06:17:49][no_game_date][gameitemdatabase.h:747]: 2 errors.
[06:17:49][no_game_date][gameitemdatabase.h:759]: =============================```
#

could be this?

#

[06:17:49][no_game_date][effect.cpp:439]: Invalid effect 'GER_set_consumer_goods_war_reparations' in common/scripted_effects/FRA_scripted_effects.txt line : 145

#

the 2 lines above the error line

#

and please tell me the Timestamp is PM

royal quartz
#

That will remain secret

royal quartz
#

Added like 8 more

#

classic

#

Altho my log did get smaller

#

Still crashes tho

#

Wtf does
[06:47:54][no_game_date][gameapplication.cpp:870]: Could not display logs/error.log: The parameter is incorrect.
mean??

patent linden
#

probably "f you"

royal quartz
#

Guh

#

its no longer displaying the error log

#

Wtf did I do

#

Holy shit

#

My log is now 4100kb

#

😭

royal quartz
#

My reaaction

patent linden
#

the little tiny elves in my computer that write the error logs are gonna be doing some heavy overtime tonight

royal quartz
#

Sigh now I know to not
replace_path = "common/national_focus"
just yet

patent linden
#

have you tried sacrificing a goat

royal quartz
#

Rahh managed to reduce errors to under 900 lines

#

So

#

I stil ldont know why its crashing

sleek terrace
#

Or there is an unwanted technology that is researched automatically as well?

#

I'm outside, in an hour or so I'm back home and I can help you properly

patent linden
#

at this point running it through an LLM could reveal the error

#

maybe

royal quartz
#

I'll just drop the log and hope some kind soul spots the game breaking error, ngl idk why it straight up lies about malformed tokens when I can clearly see they are fine nicebro

#

"Muh malformed token!!!"

royal quartz
#

I dont uh, see the malformed token tho

sleek terrace
#

I need help on .png to .dds conversions. I always lose quality when doing it, and get some weird artifacts. I would appreciate some help

pastel iron
#

yo does anyone know how you can modify ideas in the game?

#

like for example making a decision which makes the great depression a little bit less worse

patent linden
#

maybe AI upscaling

patent linden
patent linden
#

in your case you can probably just modify the different depression modifiers in the commmon/ideas/<whatever file they are in> file

sleek terrace
#

I've already tried using like... 12 different sites

patent linden
#

hmm

#

have you tried using gimp

#

see if you can save your file as a different file type

#

maybe that works better

sleek terrace
sleek terrace
patent linden
#

you can somehow add that

sleek terrace
patent linden
#

gimme a sec

sleek terrace
sleek terrace
patent linden
sleek terrace
#

the first one has saturation, it is "health", and the second one if we can compare, would be that unhealth pale patient in a hospital

sleek terrace
#

Well, the link didn't, but your idea did

patent linden
#

youre welcome

sleek terrace
#

wanna see the results later?

patent linden
#

sure

sleek terrace
#

I'm doing a new vp selection

#

I just need to change the colors of the last vp icons, and it will be done

#

It is kinda lame ngl, but that's all I can do

#

Thankfully I am good at programming, because if I was to live on the art, I would be broke

patent linden
#

yeah im not artistic myself

#

my focus icons look like this

sleek terrace
#

that's what matters

sleek terrace
sleek terrace
#

then, as Austria, I'm going to test if the new victory point tier works properly or not

patent linden
#

when has anything ever just worked

#

Life could be a dream

#

need to get to the austria part in my mod too

#

dont feel like it right now though

sleek terrace
#

But I made it!

#

you can count, there are 5 different vp icons

#

when in the base game there's only four

sleek terrace
#

btw, I marked the vps to make it clearer

sleek terrace
long crescent
#

Hello is it me your looking for

sour temple
#

I'm not sure where to put this question, but is there a reason why terrain buffs inside technologies are only able to be applied to specific units instead of to categories of units?

mint oar
#

i need help with this, i basicly guessed how i would logicly do this and it didnt work lol

sour temple
mint oar
sour temple
#

it's what has to contain the {NOT} to act for the {if}

mint oar
#

thx

sour temple
#

does anyone know where the combat tactics for Preferred Tactics are stored? Not the combat_tactics file itself but like, the controller for those tactics in the unit/country view

#

I looked at countryofficercorpview but that's one step above what I'm looking for

vapid dagger
#

Heyo im trying to make a joint focus tree and this error just pops up every tick tbe focus is open, pls help

plush tangle
#

I need some help. The localisation for this wont show for some weird reason. The file name is TFC_decisions_l_english

sour temple
plush tangle
#

No

sour temple
#

do so

plush tangle
#

How do I do that

vapid dagger
#

Just copy a vanilla file and replace that localisation with yours

plush tangle
#

Ight thanks

sour temple
#

or if you have notepad++ it's on the topbar in a dropdown menu

plush tangle
#

Im doing it on visual studio but ill check afterwards

sour temple
#

according to microsoft, go to File->Save->Save As-> select the save dropdown box and select Save with Encoding

pastel isle
#

<@&916727971820240976> , is anyone can help me for modding? I've problem for event

#

Is there anything wrong?

summer lotus
#

mismatched namespace

pastel isle
#

I got it

wise cradle
pastel isle
#

I saw it usually on news event

midnight sail
#

So when Im making a event, how do I make the option trigger another event two days later?

midnight sail
pastel isle
limber torrent
#

@summer lotus help this guy

patent linden
#

"help this guy"

vapid dagger
limber torrent
#

Yep

patent linden
#

"our friendly and motivated staff will gladly assist you"

the friendly and motivated staff:

limber torrent
limber torrent
#

Hes friendly and motivated im sure

honest eagle
limber torrent
honest eagle
vapid dagger
honest eagle
vapid dagger
honest eagle
#

Hoi4 modding just be like that sometimes

patent linden
#

I prefer this over shit not working and the error log refusing to tell me why

vapid dagger
honest eagle
#

Much better to have it show an error but work

honest eagle
#

Idk what else it could be

vapid dagger
#

Its literally just this on the right side, i also dont get why u can use other triggers like is_in_faction_with for the joint-members

mint oar
#

anyone know how to do the: 10 % chance of getting [event]. after a decision timer. like with strikes

wise cradle
dull crystal
#

bro none of yall helped me

ripe perch
dull crystal
#

do you even know anything about modding though

rich swan
ripe perch
rich swan
#

oml thank you

tame flint
#

Hi I have a question. Could anyone help me understand why the portrait for my general isn't showing up? The last portrait keeps showing up even though my image is a .dds file and has the correct size of 156 × 210.

ripe perch
tame flint
ripe perch
#

and the name in the gfx file should be the same as large pic in your character file

tame flint
lost igloo
#

the focus im coding isnt working, the effect is meant to add a political advisor to the government

pale sparrow
#

And IIRC spritetypes inner one should be spritetype

lost igloo
#

im relatively new to hoi4 moddin so atm im jus making a custom one for me and my friends

lofty plaza
#

No need to be rude about it

dull crystal
pallid edge
#

I have made a custom icon but in game it's distorted.

pastel isle
#

Help, my superevent is not working

pastel isle
#

<@&916727971820240976>

#

My superevent is not working

raven stream
#

does anyone know any map or mod or anyway that you can get a bunch of nations the same size all with 1 civ factory so everyone has to build up from scratch

pastel sleet
pastel isle
#

The image isn't changed depend on the global flag

#

and I guess this the one can change the image. But I want someone explain how to use this "properties"

pastel sleet
#

Oh, it was complicated than my expectation. Can you show us all of your text for your super event?

pastel isle
wise cradle
pastel isle
#

Uhh, I can't record it

#

wait

#

I'm just gonna screenshot it -_-

#

This is the first superevent and it using wrong image

pastel isle
#

nvm

#

I got there is something wrong with the .gui

#

there is misspelled name

pastel isle
soft sierra
#

i need help about deleting a mod

#

like a file mod

#

that can't be remove which i dont understand why it cannot be done

mint oar
#

how do i make the complete_effect come after the days_remove on a decision and not when i click the envelope?

wise cradle
#

If it Broken and it works it ain't broken

wise cradle
glass acorn
#

So I made a new tech folder and such, how can I make these technologies use the small icons instead of the large ones?

twin crag
#

How hard is to make a Research tree from scratch?

willow tiger
#

Is it possible to make a mod that never gets uploaded to the steam workshop?

ripe perch
eager current
#

did anyone else ever faced the problem when giving a custom country a starting country's capital, ex; Belgium's, the game crashes while loading in. I tried looking it up, asking AI, but nothing seemed to do the trick.

ripe perch
lofty plaza
glass acorn
#

Everytime I check PDX's update logs I get a bit hopeful

#

But then it never says they fixed the nudger 🥀

hot plover
#

Does anyone here play TNO and if so can they answer a question for me?

wise phoenix
#

are there any tools that make creating a focus tree easier?

pastel sleet
#

If do so, you can use Hoi4 Mod Utitles

pastel isle
pastel isle
sage ether
#

does anyone know the name of the mod that tommy kay uses in his tournaments?
the allies vs axis one

fervent peak
#

long live ire land rahhhhhhhh

#

i say thats a decent amount

pastel isle
wise cradle
pastel isle
#

I'm gonna add focus tree and decision

#

Also, do you know how to disable justify and declare war features?

cunning thunder
#

question guys, my rise of nations mod keeps crashing when i open the game, and the download size shows as -800 something mb so whats up with that

#

nvm guys it works now??

pastel isle
#

<@&916727971820240976>

#

How to change font of the gui?

hexed wraith
#

can some one help with sounds? i am trying so the when i click on my nation flag then on select focus then select the focus and start the focus it play 4 diffrent sound for the 4 diffrent action

autumn coyote
upbeat rain
sleek terrace
#

Hey, is it possible to modify the state provinces? Like... Transfer one province to another state

#

Via focus or via decision

#

I have a plan to create more states throughout the gameplay and not static

patent linden
#

i dont think thats possible

sleek terrace
#

Really? Well...

#

People said that adding a new victory point tier was impossible, even the AI said that, and I managed to do it

#

By the way, I teach it for free, I refuse to let the 5 hours of research I did vanish

#

Soooo, If you are interested...

#

DM is open

patent linden
# autumn coyote why doesnt this event work?

I think you are using the "OR" block wrong, it should look something like this:

trigger = 
            {
                OR =
                {
                    tag = ITA
                        
                    GER = { controls_state = 907 }  
                    GER = { controls_state = 447 }
                       
                    ITA = { controls_state = 907 } 
                    ITA = { controls_state = 447 } 
                       
                    BUL = { controls_state = 907 }
                    BUL = { controls_state = 447 }    
                                                    
                    ROM = { controls_state = 907 }
                    ROM = { controls_state = 447 }     
                        
                }        
            }```
I would also assume the option block also has the be outside the trigger block, i also dont understand what you are trying to do with the IF block in there
patent linden
#

also im glad if i understand the stuff i need to understand at the moment

sleek terrace
#

That's a nice thing to know bro

reef maple
#

I lowk need coders to help

#

Ig dm me

obsidian halo
pastel isle
pale sparrow
#

promote_character

spice cradle
#

how do I fix this

pastel isle
#

I have problem with decision

patent linden
patent linden
swift field
#

i wanna add LHDs LHAs LPDs assault ships LCUs LCAs and etc landing craft ships to my hoi4 multi mod

mint oar
#

how do i do colored text in the tooltip (for event options specificly)?

languid kiln
#

So I tried replacing Hitler's portrait with another image but his portrait is still in the inner circle. Does someone here know where can I find the inner circle folder?

#

Oh nevermind I found it lol

mint oar
#

is it possible to make a technology require a focus before researching?

ripe perch
#

but you can make a hidden technology and unlock it via a fokus

crystal jackal
#

Mmm.. Not really as far as I know

tepid notch
# spice cradle how do I fix this

If its a division you "spawned in" using focus/descision it might be bc you used a wrong name for a unit in the division, at least thats what happened to me once... I think I wrote "infantry battalion" instead of just "infantry"

languid pendant
#

Anyone have any ideas why this is happening?

#

This is happening with any icon I use.

zealous iris
#

what are some of the best mods for back in time?

wicked sapphire
#

this is the error and nothing about maps in error.log

#

i even launched the game with debug

proven sage
wicked sapphire
#

thanks though

#

I have sinced learned about nudge

wicked sapphire
#

basically I was trying to create a new tag, a city state, in America

#

and somehow the division that I gave it has 0 manpower

#

even though it should have 40% of its manpower (that should be 800 people)

distant umbra
#

can some guy make me some focus tree art? i suck at making art soo

cunning thunder
#

um guys how do i get taboritsky in power? i mean i maneged to get igor shafarevich but idk if i messed up big time or no? also if i did how can i make taboritsky's party more popular?

pastel isle
#

<@&916727971820240976>

pastel isle
#

Why my ideas icon is not visible??

#

Can anyone help me?

ripe perch
# pastel isle

ideas icons are specific, read the wiki to understand it

ripe perch
pastel isle
#

Idk what is the problem

#

The image was in the folder

#

both of them is not working

ripe perch
#

post your ideas

pastel isle
ripe perch
#

the code of the idea with the wrong icon

pastel isle
ripe perch
#

ok you did not read the wiki 😜

#

picture is without GFX_idea_

#

its just picture = RSR_the_new_Tsar

#

it adds GFX_idea_ automatically

ripe perch
#

@pastel isle is it working now?

pastel isle
#

Wait

swift smelt
#

Does anybody know an application that lets you edit the province.bmp file and saves it in the definition.csv? because doing it in GIMP or another Program that I used crashed my game

mint oar
#

how do i do paragraphs in the event localisation?

ancient rapids
#

since when hoi4 has an anarcho-communist ideology in the game(no i am not talking about the anarchists in spanish civil war, they are under the non-aligned branch)

dry fjord
#

Ethiopia

#

They've an anarcho communist path

ancient rapids
#

really?

#

omg

#

i didnt know that

#

is it fun?

dry fjord
#

As much fun as Ethiopia is

#

Very until Italy is kicked out

#

Xd

ancient rapids
#

only time is makes half sense

#

emma is a staunch ancom

ripe perch
mint oar
gilded socket
#

is there a mod that releases all releasable nations in hoi4?

mint oar
gilded socket
#

ok

#

wdym kinda?

mint oar
# gilded socket wdym kinda?

if im correct it dosnt release all nations but most of them, they are called something like "split up" or "balkanise" [continent of choise] i cant remember really sorry

gilded socket
#

what is the name of the tab?

mint oar
gilded socket
#

ok cus I cant find it

mint oar
nimble solar
gilded socket
mint oar
nimble solar
gilded socket
#

e

gilded socket
nimble solar
#

Did you click that button

mint oar
#

no dlc? damn

nimble solar
#

Oh yeah, some options are behind DLC

gilded socket
#

so I dont think id be spending any money

mint oar
#

a ok but its maybe behind GDR or how you spell it

nimble solar
#

No

#

Man the Guns has Africa colonization status I believe

ancient rapids
nimble solar
#

Spain balkanization is behind la resistance, same with France

ancient rapids
mint oar
#

thx

nimble solar
#

American colonization status I think is also Man the Guns

#

Also Trials of Allegiance

#

If you want native nations

#

American colonization status?

#

That's man the guns I'm pretty sure

#

ToA just gives you the native ones

mint oar
gilded socket
#

25 bucks

nimble solar
#

Or buy subscription for a month or so

#

Why do you want to decolonize the world

gilded socket
#

fun ig

nimble solar
#

There is no fun

#

You slow the game down considerably

gilded socket
#

bro

#

I suck at the game

nimble solar
#

Like to a crawl if your PC is bad

gilded socket
#

there is nothing I can do else

ancient rapids
#

best name tbh

nimble solar
#

Basr game hoi4 has improved over the years

gilded socket
#

ive never won a game legit

nimble solar
#

Lots of people willing to help and teach you how to play the game the most optimally

gilded socket
#

isnt that just for like problems with game?

nimble solar
#

No

#

That's tech support

gilded socket
#

a

#

oh

ancient rapids
#

how to uncomplete a focus in hoi4

#

with command structure i mean

nimble solar
#

You can't uncompleted focuses and what do you mean by command structure

#

Like did you click the wrong general trait?

ancient rapids
#

no

#

you can

#

in a mod gwr there was an event that makes you "uncomplete" the completed focus

#

i thought it is a vanilla thing too

nimble solar
#

Oh wait

#

This is modding

#

Oops

#

Yeah, not sure then

ancient rapids
#

bruh

patent linden
ancient rapids
#

yes

#

thats what i want

cerulean trellis
#

I have ideas for some mods that I want to create, But I don't know how to mod or program. I want to see if anybody can make these mods and will get credit when posted.

ancient rapids
#

go learn yourself bud.

sly heron
cerulean trellis
cerulean trellis
twin crag
# cerulean trellis well no shit, they'll get paid.

I mean if they will get paid i see no problem in his request. Movies work the same too, a director pays people to do an idea of his, he gets credit? Yea he does but not as the actors that made the movie happen.

#

But I recommend you to learn a little bit too, it is not programming it is having logics and just changing files in its entirety, maybe adding something more, but like programming programming? Nah

cerulean trellis
cerulean trellis
#

Let alone changing the mechanics.

#

But I understand how big a question is.

twin crag
#

Hahaha no worries, if you are interested check on youtube, or if you are not interested find the portraits, flags, try making the lore, maybe even a map with the borders you want, concept for focuses

#

That'll help the modders

#

Also if you have reddit post it on there

mint oar
keen horizon
#

Where do I find Millennium dawn because the one on paradox mods is for 1.14 and isnt the latest apparently. Im confused.

ripe perch
#

looking for some graphical help expanding the inner circle

gilded socket
sly heron
#

Sorry to bother you all with a question I bet you get a lot, but...

I decided to try and follow the modding beginner modding toturial that the Hearts of Iron VI youtube channel presented, and it seemed to go fine until I got these error messages.
Example: title is unexpected in country_event
Do anybody here know what the error means and how I fix it?

ripe perch
sly heron
ripe perch
sly heron
ripe perch
solid steppe
#

Does anyone know how to make the AI choose equipment icons for the designer? Sick and tired of the AI design icons being random biplanes

#

Ruins mah mod's immersion

#

Or at least to change the best match to actually fit equipment types

ripe perch
solid steppe
#

Yuh but is there just no way to go around it? Thought maybe making the AI pick icons when making the templates should work

#

Or perhaps editing that "best match" feature

ripe perch
#

in the template you can choose the role icon, but not the 2d/3d model

solid steppe
ripe perch
solid steppe
#

But thanks Im gonna try it

idle sonnet
#

I have played on this safe file for a long time and built up a strong nation but right now i am getting run over in a war i need a mod that can allow me to just remove them or take controll of them XD. I dont care how OP it is or how cheaty it is i just want this gone.(btw i play multiplayer)

distant island
#

yay dynamic modifiers more braincells lost

pastel isle
sour temple
#

Do terrain-buffing and need = technologies have to be applied on a per-unit basis, or is there some way to make it apply to an entire unit category that I'm missing?

ripe perch
ripe perch
# pastel isle

in your GFX file it need to be name = GFX_idea_XXX and in your ideas file it is just picture = XXX, this is very special for ideas icons

pastel isle
#

Do you have ideas for more focus tree and how to make a good focus and ideas icon

pastel sleet
#

Maybe you could add economy tree which gives player some factories and something

#

I think it’s quite bad idea, but you could copy and paste icons from other mods and change a bit to practice you skill to make icons

pastel isle
stiff ruin
#

i am trying to make a simple mod just to see if i can (and open the door for further attempts) but for some reason the game is unable to find the mod

ripe perch
stiff ruin
median compass
#

why debug nuking not work

ripe perch
stiff ruin
ripe perch
median compass
#

why debug nuking not work

ripe perch
median compass
#

what dlc

#

the name the dlc

#

o

stiff ruin
median compass
#

so

#

this one

median compass
#

thanks

ripe perch
stiff ruin
ripe perch
#

if your mod has an error it tries to open the error.log file, which causes the error you see, because it cannot find the path where the file is located

ripe perch
#

if you are in debug mode it automatically open the error.log during game start

stiff ruin
#

i see... but why does it not find it?

ripe perch
#

because it does not know the path, that happen when you activate/deactivate onedrive after installation

stiff ruin
#

including how to activate it

ripe perch
#

I don't know how to fix it, but others had the same problem

#

you can open the error.log manually, it is in your documents folder under Paradox Interactive\Hearts of Iron IV

stiff ruin
#

ahhh, so you are saying that there is an error, but it doesnt pop up while launching the game, and i shoudl manually check the error file to see what is wrong?

ripe perch
#

correct

ripe perch
#

error.log

stiff ruin
#

its not there

#

wait, logs

#

none of the errors seems to be linked to the mod

ripe perch
#

acticate only one mod, start the game and check the error.log

stiff ruin
#

its jsut my mod

#

in the playsert

ripe perch
#

so all errors belong to your mod

stiff ruin
#

almost all the errors were about equipment, and i have not touched equipment in my mod

ripe perch
#

post the error.log here

stiff ruin
ripe perch
#

i don't know, looks like you have two corrupted mods, see line one and line two

stiff ruin
#

yeah, i too saw that, but i dont understand why it refers to those mods when they are not in the playset

ripe perch
#

these are steam mods, I guess your mod is locally

stiff ruin
#

thats right

ripe perch
#

are you sure you have the right playlist selected?

stiff ruin
#

yes

#

i have checked it like 5 times now

ripe perch
#

did you subscribe your own mod, because it does not work it you have the same mod twice

stiff ruin
#

no, i have also not uploaded it. omly the local version

ripe perch
#

I don't know, there could be 1000 reasons why your mod is not working

stiff ruin
#

well, i guess i will jsut rewatch the tutorial

ripe perch
#

do you have all dlc? the errors could be because you miss a dlc

#

there is no major error in your error log

stiff ruin
ripe perch
#

i guess something is wrong with your folder structure in your mod

#

what do you try to do with your mod?

stiff ruin
#

as for now, just make an event

#

eventually tie a national spirit to the event

#

i was planning on learning these thigns today, then learn about focuses tomorrow

ripe perch
#

events are complicated, many mistakes can be made

stiff ruin
#

may i ask, why is there an error for name?

ripe perch
#

its a yellow error, so maybe its not in the localization file

#

when you hover your mouse over the error it shows you a tooltip

stiff ruin
#

i see it, for some reason i wrote "test.1" instead of "test 1"

pastel sleet
#

How can I modify ideas through NF without replacing my idea

languid pendant
#

What isn't working.

languid pendant
languid pendant
#

Nvm I got both of them working

wise cradle
stiff ruin
#

As i said later, i wrote "test.1" instead of "test 1"

patent linden
#

of course, if they are preexisting ideas that you want to modify, you will have to stick to the method the game used to implement them, if you made the ideas yourself, you can choose which version you like better

#

swapping ideas is easier, but modifiers are more versatile and allow for more cool shit

covert mirage
#

guys how do i pick which one of these i want on a division template?

patent linden
#

As far as I could find out, thats not possible

#

though take that with a grain of salt, me not finding it doesnt mean it doesnt exist nicebro

ripe perch
covert mirage
#

and also

#

to make division templates locked

#

i just do locked = yes

#

?

covert mirage
#

guys help it says the id is invalid what do i do

pale sparrow
solid steppe
#

ah nvmd

#

found it

#

subuniticons.gfx

limpid lagoon
#

hello hoi4 community, i need help whit a iberia cosmetic tag, i made a flag and reverse engering the
KPB_kingdom_portugal_and_brazil but idk how to link the flag whit the code here is mine codes:
POR_iberian_union_category = {
POR_form_iberia = {
icon = generic_decision_icon
cost = 150
days_re_enable = 99999
fire_only_once = yes

    allowed = {
        tag = POR
    }

    visible = {
        tag = POR
    }

    available = {
        controls_state = 165
        controls_state = 166
        controls_state = 167
        controls_state = 168
        controls_state = 169
        controls_state = 170
        controls_state = 171
        controls_state = 172
        controls_state = 173
        controls_state = 174
        controls_state = 175
        controls_state = 788
        controls_state = 789
        controls_state = 41
        controls_state = 790
        controls_state = 791
        controls_state = 176
        controls_state = 792
        controls_state = 793
        controls_state = 794
        }

    highlight_states = {
        highlight_state_targets = {
            state = 165
            state = 166
            state = 167
            state = 168
            state = 169
            state = 170
            state = 171
            state = 172
            state = 173
            state = 174
            state = 175
            state = 788
            state = 789
            state = 41
            state = 790
            state = 791
            state = 176
            state = 792
            state = 793
            state = 794
        }
        highlight_color_before_active = 2
        highlight_color_while_active = 3
    }
    hidden_effect = {
        set_cosmetic_tag = IBR_POR_iberia
#

every_state = {
limit = { is_core_of = SPR }
add_core_of = POR
}
}
complete_effect = {
custom_effect_tooltip = POR_form_iberia_tt
change_tag_from = POR
set_country_flag = form_iberia
set_cosmetic_tag = POR_iberia
add_stability = 0.25
}
}

torpid orbit
#

hello, im trying to create a country and this error has come up, anyone know a fix? [1936.01.01.12][character_manager.cpp:255]: Failed to generate a name for a character of origins Durgen and for country Durgen

forest dock
#

Is there a debug command to leave a faction

ripe perch
ripe perch
torpid orbit
ripe perch
torpid orbit
#

damn that worked thanks

#

would you perhaps know how to fix these errors? [no_game_date][effectimplementation.cpp:14781]: Invalid Decision ID for activate_mission AFG_radical_students_countdown
[no_game_date][effectimplementation.cpp:14483]: Invalid Decision ID for unlock_decision_tooltip AFG_move_the_capital_to_delhi_decision
[no_game_date][effectimplementation.cpp:14483]: Invalid Decision ID for unlock_decision_tooltip AFG_sikh_recruitment
[no_game_date][effectimplementation.cpp:14781]: Invalid Decision ID for activate_mission AFG_radical_students_countdown

pearl axle
#

how do i make a mod anyway

mint oar
#

how does this work🙏🙏

frail ibex
#

Is there anywhere you can read the TNO lore without having to play the game?

twilit wave
#

Anyone who know how to fix millenium dawn crashing in the loading

ripe perch
frail ibex
heady sapphire
#

is it possible to get older versios of mods?

willow karma
#

hello kitty hitler

#

100% recommend

spice knoll
mint oar
mint oar
#

is it posssible to make an event unlock a decision?

stiff ruin
#

why does the game say that there is no such evetn when i try to trigger it?

ripe perch
south ridge
#

Anyone know how to mod, looking for a collaboration in here?

south ridge
rapid tinsel
#

where does new map definiton with provinces go after publishing the mod? my old one got renamed to "definition.csv.old" and now i've got problems like "province 13380 has no continent", "Bitmap and province definition disagree on whether or not province 13378 is coastal", etc.

lean pagoda
#

Is there any mods to make the game easier?

twin crag
#

Js learn the game man

lean pagoda
#

Just asking no need to put that emoji

stiff ruin
lean pagoda
#

The game itself i easy like the wars i just find all the menus confusing to look through

stiff ruin
#

ahhh, then you should have asked for overlays or something

#

i think there is a mod which gives different colours to all the menus

lean pagoda
#

Thank you

stiff ruin
#

i am once again asking for what i did wrong:

ripe perch
stiff ruin
#

yes, its in the mod folder not in common

#

should it be in common?

ripe perch
#

no

#

it looks correct

stiff ruin
#

that is what i also thought

#

but when i write "event britain_test.1" it pops up that there is no such event

ripe perch
#

is your mod loaded, did you use the correct playset

stiff ruin
#

of course

#

i saved the files, i opened the launcher, and started the game with the mod loaded

ripe perch
#

send a screenshot from your mod folder structure

stiff ruin
ripe perch
#

looks good, whats within events

stiff ruin
#

just this event

#

which is the one whcihc doesnt work

ripe perch
#

idk, everything looks correct

stiff ruin
#

do i have to do something other than just saving the files before opening the game?

ripe perch
#

no thats fine. what you could do is loading the game in debug mode, so you can do changes and dont have to reload the game

stiff ruin
#

i have opened it in debug mode always

#

but that doesnt help if i cannot see what is wrong

winter maple
#

hi chat

#

i'm trying to download OWB via the launcher and this keeps happening. I have done all of that and also uninstalled it and resubscribed

#

anyone have any idea how to fix it?

ripe perch
winter maple
#

i'm still fairly new to downloading mods for this as I still feel like i have so much to do in non modded version, but I've dabbled in Kaiserreich a bit and that works fine

#

and is still installed

ripe perch
#

is it a steam mod?

#

looks like its from paradoxplaza, I recommend using the steam mod

dark wigeon
#

How do I run goi4 on i3

#

My gpu is 4160

pale sparrow
#

I think you mean CPU unless you got integrated graphics

pastel isle
#

Can anyone help me why my units oob is not working? (For units block)

torpid orbit
#

How do i get rid of invalid decision id for AFG without replacing the decisions path?

vernal wigeon
#

Hi people. does somebody know, what is causing the crash issue after I updated the states and corresponding provinces? I mean, I understand that the problem is within a state code, but are there any ways to check, which state exactly is causing the issue?

vague zealot
#

hi, does anybody have an idea of how to play as a nation without land without using the exile mechanic?

#

would being a puppet work? Or perhaps being in the same faction?

lavish kestrel
#

programmatically written hoi4 mods are certainly an interesting concept

#

this is just the hardcoded bits of automatically creating a music mod, i wonder how implementing the rest of the scripted language logic will go

stiff ruin
lavish kestrel
#

yes the music = ... line is for each song

raven hedge
#

Does

#

Does anyone know how to modify state info ui and add it a button which opens another ui?

#

I have done the UI button adding and other UI window creation part,but I doN't know how to make it show the other ui window.

raven hedge
#

uh

pale sparrow
raven hedge
#

interface folder?

pale sparrow
#

No see the wiki pages on interface modding and search parent_window

raven hedge
#

oh ok

stiff ruin
#

is there a possibility the game doesnt recognise a mod if the mod picture isnt done properly?

pale sparrow
#

It shows modding where you attach stuff to pre-existent GUI

pale sparrow
stiff ruin
#

well then i have no idea what is wrong. after failing at events time and time again, i just tried to change the ownership of northern ireland to ireland... but nothing happened... so do anyone know why the mod isnt registring?

pale sparrow
#

Probably easiest to just upload your mod to google drive to let people take a look

vernal wigeon
stiff ruin
pale sparrow
#

Yeh probably put both within a folder on your drive which you share

#

I forgot if drive supports reading HOI files, might not even have to download them to check the code

stiff ruin
ripe perch
stiff ruin
#

i am not sure what yo are reffering to? are you saying there might be another mod in my collection wtih the same name?

ripe perch
#

you cannot have two mods with the same name, it loads only one

stiff ruin
#

i sent the mod folder and the mod file isnt there supposed to be one of both?

ripe perch
#

your google drive is hidden, make it public

stiff ruin
#

fixed it i think

raven hedge
#

I search parent_window to hoi4 paradoxwiki

#

ed*

#

searched

#

yet I could only find something which is not related at all

ripe perch
raven hedge
stiff ruin
#

that is why i think its the game not recognising the mod

raven hedge
#

I couldn't find anyhing useful

#

Is there anyone who could help?

ripe perch
raven hedge
#

Does anyone know how to modify state info ui and add it a button which opens another ui?
I have done the UI button adding and other UI window creation part,but I doN't know how to make it show the other ui window.

ripe perch
#

replace the space with a underscore in your folder and in your .mod file

stiff ruin
#

the game cannot even find the mod now

ripe perch
stiff ruin
#

i did

#

shoudl the path lead to the mod folder or the descriptor file inside the mod folder?

ripe perch
#

to the folder

stiff ruin
#

it cannot track the path

ripe perch
#

you can copy the path in the windows explorer to see if it is correct

stiff ruin
#

i did

ripe perch
#

and this works?

stiff ruin
#

nope

#

i think i will make a new mod from the paradox launcher, and just copy all the files from the first one

raven hedge
#

Does anyone know how to modify state info ui and add it a button which opens another ui?
I have done the UI button adding and other UI window creation part,but I doN't know how to make it show the other ui window.

ripe perch
ripe perch
raven hedge
#

hmm I will give a shot I guess

raven hedge
#

where and how can I define the button click event

ripe perch
raven hedge
#

uhhh yeah but

#

I'm using the

#

state info UI

#

you know what that is right?

#

It doesn't have any scripted gui

#

when I looked at scripted_guis section

stiff ruin
#

still doesnt work

ripe perch
raven hedge
#

It generates another state info UI when I do

#

it

stiff ruin
#

it seems like the files themselves still believe they are in the old mod folder...

ripe perch
# raven hedge it

I am not the ui expert, could you not check existing code how this opens a new window like collaborations or mio

raven hedge
#

Alright let me research more then

ripe perch
stiff ruin
#

take the files themselves in another safe spot and then add new organisation folders, or start from scratch?

#

alternative c: make new files, but copy the contents from the old ones

ripe perch
#

delete (or move) everything within the mod folder, then verify the hoi4 files via steam and then you can create a new mod with the launcher

stiff ruin
#

do you mean the hoi4 mod folder, or the flder for this mod?

ripe perch
#

the hoi4 mod folder, looks like something is in there which causes an error and your mod is not loaded

stiff ruin
#

so just delete all my mods

ripe perch
#

or move it somewhere else, you dont have to delete it

stiff ruin
#

i was refering to my downloaded mods

ripe perch
#

i think somesthing is broken with your other mods

stiff ruin
#

they have all worked fine...

ripe perch
#

steam should re-download it

stiff ruin
#

i do get an error mod which refers to two other mods when i try this mod.. i should sheck what they actualy are

stiff ruin
#

they instantly reappeared

ripe perch
#

close steam

stiff ruin
#

done

ripe perch
#

now verify hoi4 game files in steam

ripe perch
#

ok now create a test mod within the launcher

raven hedge
#

Does anyone know how to modify state info ui and add it a button which opens another ui?
I have done the UI button adding and other UI window creation part,but I doN't know how to make it show the other ui window.
Yeah I still couldn't find an answer for my question.

#

Like,I have done the button

#

I just need it to function

#

Does anyone have an Idea?

#

@pale sparrow May I ask to you If possible

ripe perch
stiff ruin
raven hedge
#

not the one which is made from scratch man

torpid orbit
ripe perch
ripe perch
stiff ruin
#

i will jsut stop and try more tomorrow

pale sparrow
median compass
#

how i get nuke because not working debug_nuking

#

i have the dlc

pale sparrow
median compass
#

so how i use

#

nuke

#

then?

pale sparrow
#

You can nuke with toolpack but that doesnt target a specific province

median compass
#

its a mod?

pale sparrow
#

Yes, Alternatively use a console command to unlock the special project(s)

median compass
#

i have console

#

and i type toolpack?

#

o thanks

pale sparrow
#

Nah toolpack is a mod