#modding

1 messages · Page 56 of 1

urban gust
#

like changing the code

cinder creek
#

yeah I know I just said that bc that should be proof that you can do it

#

I think some where in the russian files theres something like that

#

like 3 random generals get cowed by stalin

oak kayak
#

How does one correctly put the decisions into the BOP UI? I cannot put it inside for some reason, the BOP appears but the decisions are missing

urban gust
#

where is the brief history thing edited

#

like

#

which file

humble cedar
#

rip greece :c

oak kayak
#

yeah, but the category doesn't show up?

#

I assigned decisions to the category, and I guess something is wrong with the category

#

as everything is missing

#

everything is ok now, I am a dumbass and accidentally put an additional "s" at the end of the folder

timber zenith
#

nvm

#

I didn't see ur last comment lol

barren oak
#

im trying to create an Endsieg mod

#

but it crashes on startup

#

i dont even see the window appear

timber zenith
#

Are you launching it in debug mode?

timber zenith
obtuse condor
#

hello everyone
i work for mod and if someone wants to join for help my mod , they can dm me

stuck quarry
#

Alot of patience and masochism

stuck quarry
#

Lol

timber zenith
stuck quarry
#

Theyre just images

#

I found the province file in the hoi4 source, combined all provinces in a state into one color, extracted it to its own image, then added it to the game

timber zenith
#

that's dope

#

Imma try something like that lol

#

(genocide gui)

lucid stag
#

how do i do this

stuck quarry
#

Lol, i also scaled up every state by 200% then removed one pixel from the border so i could have the gap between states

#

But itll be a pain bc i gotta do this same process for every country in my mod

timber zenith
lucid stag
stuck quarry
#

Is that some kinda old way to play with mods?

timber zenith
#

It's a custom launcher

stuck quarry
#

Oh

timber zenith
lucid stag
#

no like to make sure it doesnt conflict

#

its easier with this

timber zenith
#

I used to use IMM to launch multiple copies of hoi4 at once but I found out you could just do that by opening the launcher exe in the install folder

stuck quarry
timber zenith
#

and it took so bloody long to load

sterile hill
stuck quarry
#

lmao

#

its so annoying having it tho

#

bc i have a valid windows key

#

but i changed my gpu, and now i cant reactivate windows because it says i dont have one anymore

#

AAAAAAAH THE PAIN

#

wish there was a way for guis to live update without having to return to the menu and reload

sterile hill
#

Same with me man I literally have 2 genuine windows installs on my pc

stuck quarry
#

bruh

#

i gotta return to the main menu then relaunch

#

for it to update

timber zenith
#

u on debug mode?

stuck quarry
#

yup

#

idk if its because its in the decisions tab or what

#

i think it might be

timber zenith
#

idk my gui is in the decisions tab too

stuck quarry
#

hm damn idk

#

sucks to be me ig lol

#

it just makes the process of positioning all the states super tedious because its all guessing

#

another random neato thing i got in my mod

#

dual leaders

#

bc yes

timber zenith
#

that's cool

stuck quarry
#

ja

#

got so much work to do lol

#

the mod is barely playable, but this kinda happened lol

timber zenith
#

dope

rose heath
stuck quarry
#

Syldavian Centrist Party

stuck quarry
#

thats the name for the non alligned party

#

the ideology of the nations party is Corporatist, which is names Archon Investments Global, which is a corporation that pretty much bought the country through bribery and corruption

timber zenith
#

@stuck quarry You can do reload decision in the console

stuck quarry
#

alr ill try that when i work on the mod later

#

i tried reload gui and reload other but it didnt work

#

i figured it would be gui since well is a gui

barren oak
#

i created a bookmark

#

got my own GFX

#

my own ideas

#

but it crashes

#

I'm now thinking of just updating Endsieg

timber zenith
stuck quarry
#

probably

#

either way thatll speed up the process a ton

toxic harness
#

When I open a save file or create a new save in Kaiserredux mode, it loads a little and exits the game and returns to the desktop without giving a crash error. If there is a solution, can you advise?

proven sable
#

this is probably a dumb question but is there any way to see the name of techs in game through debug or do I have to search through the game files every time?

obtuse condor
#

I'm 100% hitting the march deadline

#

60 country localisations and colours will be easily done and 50 flags

toxic harness
rose heath
#

tfw your mod is turned on and the game just ignores it

#

like straight up to the point where i can turn on iron man

#

it doesn't seem like other people have the same problem cuz i got no comments about this

toxic harness
#

To solve the problem of the forum site not opening in kaiserredux mode, the -OpenGL code had to be written, but the same error occurs.

toxic harness
rose heath
#

but the game doesn't seem to read it?

#

it doesn't work and i can still turn on iron man

#

this is not the first time this happens

#

43 people subscribed in total and 42 are still subscribed
if the mod did not work for other people i would imagine they would unsubscribe

#

i'm gonna move the file i used to mak the mod out of the mod folder

#

and then reinstall the mod

#

see if that helps

#

it did help

toxic harness
#

For me, it crashes the game when switching to kaiserredux mode. There is no problem with TFW.

toxic harness
#

Even though I did what you said it didn't fix it

timber zenith
#

Yoooo it works

stuck quarry
#

you placing all those manually?

timber zenith
#

Yah

#

Individual buttons

stuck quarry
#

alr, making sure im not doing it the hard way or something lol

proven sable
#

I've made some event spawned troops, is there a way I can lock them so you can't change the templates and/or delete them?

vagrant gorge
#

any mods out there like the old Armageddon/abyss maps from HOI2? Looking for something that has pretty quick war start and forces you to make choices/really balance play

proper acorn
timber zenith
#

scripted gui

proper acorn
timber zenith
#

The iron workshop has a good tutorial

proper acorn
timber zenith
#

YAHHHH

#

ignore the flashing idk why its doing that

#

same when unpaused

stuck quarry
#

@timber zenith bro literally thank you so much for that tip, what would have taken me over 30 min having to reload has only took me like 5-10 just reloading decisions

timber zenith
#

no worries

stuck quarry
#

ive almost finished the map

timber zenith
#

Nice

stuck quarry
#

then i just have the issue of scripting it

timber zenith
#

You'll prolly have to separate them into separate files

stuck quarry
#

i got a few files, the .gui .gfx and the scripted gui files

timber zenith
#

the image I mean

stuck quarry
#

oh it already is seperate images

timber zenith
#

oh cool

stuck quarry
timber zenith
#

I just thought of a genius idea

stuck quarry
#

wot?

timber zenith
#

not telling

#

nah jk

#

it's off center but the icons look great

stuck quarry
#

FINALLY

#

IT BE FINISHED

stuck quarry
#

like howd you make them look like that

timber zenith
#

A very handy photoshop file

swift fjord
timber zenith
swift fjord
#

interesting

stuck quarry
#

colorz

digital heart
#

How do you position it within the decision like that?

timber zenith
#

You see how in the gui modding wiki page

digital heart
#

Do you have the link? If not i can totally find it (mayeb)

stuck quarry
#

Is there a way to make it so you cant justify on a nation?

digital heart
#

Look up the game rules for democracy and you may be able to find the code it uses for justifications

stuck quarry
#

ive skimmed the wiki for a while and cant find any way to do so

#

does on_justifying_wargoal_pulse provide any way to access what country initiated the wargoal?

#

its not listed here but hoping theres a way

stuck quarry
#

assuming the stateid is 106 and root is SYL, will this translate to the variable 106.SYL_integration_level being set to 3? or so i have this way wrong

#

or is there some way to do that? its a pretty important thing i need to do, please ping me with any replies

urban gust
#

is it possible to make hoi4 mod with vscode with friends

#

at the same time

crimson urchin
#

hi im new to hoi4 modding and stuff and a few days ago i had this glitch were all the ingame states renamed themself to the state codes and idk how to fix it

#

and i could overall use some help with modding

stuck quarry
#

If you want everyones changes to sync to everyone at once youd need to constantly push but otherwise everyone can work on different parts of the mod and push their changes to the repo

stuck quarry
crimson urchin
#

aha

#

i was just confused cose one day i just opened up the game and every state was renamed

stuck quarry
#

Yea same, i figured that out after i realized i accidentally overwrote the file lol

#

Not 100% sure if its the only cause but im pretty sure it is

crimson urchin
#

thx tho

urban gust
#

so how do i do it

#

can’t i just use the feature on vscode

stuck quarry
#

What feature

urban gust
#

isn’t there like a feature

#

to share

#

like work on the same file

#

at the same time

stuck quarry
#

Uhh not to my knowledge

#

Might be, but i dont know of one

urban gust
#

ok

#

thanks

stuck quarry
#

anyone know of any way to have dynamic veriable names

#

variable*

#

i have a country specific variable i want to set on states in the game but i dont want to have to hand code every possible combination

#

idealy id like for it to work like this:
[ROOT]_integration_level to translate into: SYL_integration_level or BDR_integration_level depending on what country is considered root

#

but it doesnt appear i can use other variables in the naming for variables

random ember
#

Someone knows why when the time runs, my game crash ? I has been working with a new focus tree, before do that, my game did not crash

timber zenith
random ember
#

ok

#

``focus_tree = {
id = ukranian_focus

country = {
    factor = 0
    
    modifier = {
        add = 10
        tag = UKR
    }

    #modifier = {
    #    add = 10
    #    original_tag = UKR
    #    has_dlc = "Together for Victory"
    #}
}

default = no

continuous_focus_position = { x = 50 y = 1000 }

focus = {
    id = UKR_get_away_from_the_kremlin
    icon = GFX_focus_UKR_ukrainian_army
    x = 6
    y = 0

    cost = 5

    ai_will_do = {
        factor = 1
    }

    available = {
    
    }

    bypass = {

    }

    cancel_if_invalid = yes
    continue_if_invalid = no
    available_if_capitulated = no

    

    completion_reward = {
        add_political_power = 100
    }
}

``

timber zenith
#

Can you upload the file?

#

makes it much easier

random ember
#

Before that, I also was working with states and provinces

timber zenith
#

Try this instead

random ember
#

ok

timber zenith
#

(replace the other ukr one and change the name)

random ember
timber zenith
#

no problem

random ember
#

I'm tired, why my focus name doesn't shows correct ? I was 30 mins researching the problem, I review also the folders, I don't understand what is wrong here, the name of the file is goals_I_english.yml

oak kayak
#

How does one actually get the GUI inside the decision tab? I seemingly do everything like on the tutorials, yet nothing shows up at all

digital heart
oak kayak
#

reloaded the game about 20 times now, still nothing

timber zenith
#

L

#

lower case

timber zenith
#

or replace the existing context type if it exists

random ember
timber zenith
timber zenith
#

and make sure the category is visible to the player

random ember
timber zenith
#

Can you upload the file?

random ember
timber zenith
#

possibly

random ember
timber zenith
#

In notepad++ press encoding in the top bar, and convert

random ember
timber zenith
#

Press save and relaunch the game

random ember
#

Ok

random ember
timber zenith
#

no problem

dim elm
#

How to make a mod?

random ember
dim elm
#

What’s this?

obtuse condor
#

20 finished

#

60 I'm working on

obtuse condor
#

These are the 20 I have added so far

#

I'm adding all Italian nations 1444-2023 above like 1000km² or about the size of half of Luxemburg

#

Pisa San Marino Vatican are too small imo

dim elm
dim elm
#

Since Vatican is too small

obtuse condor
dim elm
#

Do you have any tips on how to get better at modding

#

Cause I’m horrible

obtuse condor
#

If you make states you need to do auto in all in all states you have changed with the nudge tool

timber zenith
obtuse condor
#

I should add characters for all the English kings

#

Even if they will only have a place holder portrait

proper acorn
#

Any mod ideas?

sour sable
#

use the vanilla code

obtuse condor
timber zenith
#

Ez mod

#

I'm kidding but ppl aren't gonna give away their mod ideas

#

It's like an entrepreneur giving away the idea for a business

ebon wolf
woven aurora
#

I wanna get road to 56 and I have every dlc up to by blood alone

How do I get

woven aurora
obtuse condor
#

Steam Workshop

woven aurora
#

Wdym

barren oak
#

Its not working, please help

proper acorn
#

I just had a good idea, no more suggestions needed

woven aurora
#

How do I disable mods?

#

Like if I wanna play vanilla

small fern
#

How do you change the manpower for a division?

small fern
hoary shuttle
stuck quarry
#

scripted guis are so damn cool, made this one which works with my state integration system to display the status of your states, fades from grey to blue when youre integrating them, and turns red when theres resistance to integration

manic osprey
#

hey, is there a mod with icons for some common variant tanks and maybe aeroplanes? I mean those things in the build screen, when I design a Su-122, I'd like the icon to look like it too... I think it would be a little QL improvement too, so you can see at glance which tanks are which etc. Mainly for the major countries. I know you can choose from a bunch of (weird) alternatives, but most of them look kinda wrong in many cases

swift fjord
#

#boycottdeadmods

#

Also, why are all the mods that add states to them nowadays ignoring Africa?

timber zenith
#

except for eth and saf ofc

#

There's also very little state-making infrastructure in Africa, so you'd also have to make heaps of provinces as well

timber zenith
#

what are you really gonna do with liberia tho

dim elm
random ember
random ember
#

You're welcome

#

Nice

indigo flax
#

anyone know if road to 56 is compatible with formible nations

woven aurora
#

Uhhh it should be

timber zenith
#

but will definitely have bugs if it does

flat trout
#

GUYS

#

i need help

#

my mod crashes

#

at exacrly 17:00 jan 1st

#

and i cant decipher the crash log

flat trout
#

nvm

#

i just bruteforced every single change

#

and found the problem

balmy rapids
#

How do I effect to a dynamic modifier

proper acorn
#

Why didn't Germany change its name?

proper acorn
barren oak
# timber zenith except for eth and saf ofc

is it possible to trade for more than 8 units for 1 factory?
I'm creating a mod and I want base trade to be 10 units for 1 factory
can i edit it through defines, modifiers, effects, etc..

timber zenith
#

Idk

stone basin
#

yo guys is there a mod that makes fascist usa playable?

dull finch
torpid night
#

question: I've been modding Hoi4 a while ago but i now want to play the game again normally, tried to play with Kaiserreich but doesn't work, tried checking file integrity from steam but doesn't do anything, any ideas on what causes this or why?

dull maple
#

Does someone know how to create a new state in the ocean and not just overwrite an existing thing on the map?

burnt mantle
#

nah you shouldn't put 0 after :

#

check encoding

#

your localisation file also can load before vanilla's (vanilla loc overwriting yours), so if changing of encoding not helped, try to rename loc filename the way it will be after vanilla's one by alphabet

median imp
#

Hi guys! Can anyone recommend me top 5-10 mods for HOI4?

random ember
random ember
torpid night
calm yew
#

for the life of me i cant figure out how to make my national spirits have images
i already made the whole thing in the interface folder, but it seems like it cant even detect that

#

the file:

#

ideas.gfx:

#

and the idea

#

for me it looks fine, looked in other mods and vanilla with the exact same structure yet it doesnt work

#

the spirit shows up in the game with all intended effects, its just the image that is missing

proper acorn
#

it seems that the original game file is overwriting my

calm yew
#

didnt work

#

you mean replace in both files?

#

did that

#

still showed the funny little question mark in-game

#

right

#

i removed the idea_ part

#

and it for some reason worked

#

im not gonna complain

#

yes

summer lotus
#

I have an idea

#

🤔

#

what if I swap north america and Soviet Union + Nordic countries

calm yew
summer lotus
#

lol I just came across such a cursed post on facebook where somebody said Churchill had to beg Stalin to join the war in 1941 because Hitler was so close to destroying to US army

#

totally a timeline where US and SU swapped place

#

what if I just make it real

#

Finland can totally be Quebec ngl

#

and vice versa

calm yew
#

french finland

final tusk
#

Hi. Does anyone know how to change the name of the version or where the file to be modified is located?

random ember
torpid night
pale sparrow
pale sparrow
#

and you can try clearing the Documents/Paradox Interactive/Hearts of Iron IV folder (except the saves folder if you wanna keep those)

pale sparrow
timber zenith
timber zenith
#

Oh wait like the actual name?

#

Yeah that's prolly hardcoded

final tusk
#

example: "My mod is bugged sorry :/ 0.1 [enter checksum]"

final tusk
timber zenith
#

Not that i've seen in any loc file

#

or could search for

final tusk
#

The problem is that I've already tried to find where the line of code that manages this text is located but I couldn't find it.

timber zenith
#

Same, it probably can't be modified

final tusk
timber zenith
#

Good luck

final tusk
random ember
final tusk
random ember
final tusk
final tusk
timber zenith
#

❤️

random ember
woeful tulip
#

Hi, I got problem with advisors, can somebody help?
I did 3 characters, but if i choose one of them the others will dissapear

obtuse condor
#

It might take a bit of time for someone who knows how to fix the problem sees your message. But I'm sure you'll get help here.

#

More than I was able to provide anyway.

timber zenith
obtuse condor
#

what version is road to 56

forest tundra
# woeful tulip

It seems to me that it might be because you're missing Idea_token =

#

advisor={
cost = 150
idea_token = NEK_character_kashou
slot = political advisor
traits = {

        }
    }
#

Try this

woeful tulip
#

before

#

because i copied it from german characters so error log told me that himmler and kashou had the same token

#

can i type here random number or text or something depend on this?

pallid meteor
#

Anyone got some kewl 1700s mods

slender brook
forest tundra
woeful tulip
proper acorn
#

Why doesn't the game recognize German names?

#

it was supposed to be "República de Weimar" instead of "República Alemã"

proper acorn
barren oak
orchid ruin
#

how do i fix this

twilit hatch
#

history/states

orchid ruin
#

Ok

#

Then

timber zenith
raw rampart
#

sorry for the ping, didnt mean to)

cobalt shale
#

Darkest hour is fantastic

#

Best mod imo

dim elm
#

Why dosent my leader become the leader

torn pasture
timber zenith
dim elm
random ember
timber zenith
dim elm
# timber zenith What tutorial did you follow? Are you able to send a link?

EDIT: Here's a protip: For the version number, enter (*) (without brackets). This way, the game will never show the mod as outdated!
In this video, I'll show you the basics of HOI4 mod creation and uploading for the safe replacement of vanilla / DLC content, such as leader portraits. If you wanna make custom stuff like countries later on, this t...

▶ Play video
timber zenith
# dim elm https://youtu.be/_NRZrF2Qfro?si=32fvZaBZaTZnCmKN

That tutorial is for replacing existing portraits, If you're making a new character you'll have to follow this https://www.youtube.com/watch?v=dKLkI1AGArc

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
#

Yes it's an hour long but you mostly need the stuff from the "creating country leaders" section

timber zenith
#

No worries

onyx yew
#

I've created this new state in japan, but i noticed that japanese troops were still inside of it when the game started, how do i fix this?

dim elm
balmy rapids
#

How do i make it so you can only click an decision if other decision has already been clicked and removed? I currently have something like: has_decision = form_einsatzgruppen but it seems to only let you click the other decision if form_einsatzgruppen is **being **done. Any help?

jolly mural
#

set a country flag in the remove effect and use has_country_flag in the other decision

stuck quarry
#

Is there any way to use a variable in another variables name

#

So that the name of a state variable can change based on country

#

So something like: 106.[ROOT]_thing would change too 106.GER_thing or 106.POL_thing depending which country was triggering the effect which sets the variable

balmy rapids
#

Just wanted to set a tooltip there so people would know what they need to do in order to take this decision

jolly mural
#

custom_trigger_tooltip = {
tooltip = "TT"
}

balmy rapids
edgy solar
timber zenith
#

Go to all installed mods > upload mod > create mod

proper acorn
orchid ruin
#

nvm got it

barren oak
#

`
bookmarks = {
bookmark = {
name = "ENDSIEG_1945"
desc = "ENDSIEG_1945_DESC"
date = 1945.1.1
picture = "GFX_select_date_1945" # Use an appropriate image file

    country = GER
    history = {
        war = {
            name = "WW2"
            participants = { GER, SOV, ENG, USA, FRA }
            start_date = 1939.9.1
        }
    }

    default = yes
    major = { GER SOV USA ENG FRA }
    
    # Set Germany at war
    GER = {
        war_with = { SOV USA ENG FRA }
        control = {
            province = 295 # Berlin
            controller = SOV
        }
    }
    
    # Setup for Soviet Union, United States, United Kingdom, and France
    SOV = { ... } # Specify territories, armies, etc.
    USA = { ... }
    ENG = { ... }
    FRA = { ... }

    # Additional setup for other countries, fronts, and specific historical accuracies
}

}
`
is this correct code

timber zenith
barren oak
#

can you just tell if it works

#

please

#

🙏

timber zenith
#

Seeing if it works would probably the easiest way to know if it's the correct code

barren oak
#

just test it

timber zenith
#

No?

barren oak
#

im in a hurry

#

i only have about a minute left

timber zenith
#

That's not my problem

#

I don't have time either

orchid ruin
#

my country is bright white, fix?

wanton veldt
#

Is there a way to put the American plane models from BBA into a separate mod so I can play without the BBA features while seeing the plane models?

timber zenith
orchid ruin
#

i did

magic wren
#

I love MD so much, Africa is actually fun to play in the mod

#

B i g Cameroon

orchid ruin
#

classic is better

timber zenith
orchid ruin
#

no

sour sable
sour sable
sonic bone
#

Yeah, such a mod won't last long before it's taken down

static wedge
#

Any kind of advice before I start making my own mod?

proper acorn
grizzled sandal
#

How does toolpack work

obtuse condor
#

im gonna do a custom nation and world designer

#

in HOI4

#

like in EU4

verbal light
#

is there an interwar period mod that anyone would recommend? like 20's to early 30's

#

its my favourite era in history

livid folio
#

does anyone know why my own edited defines doesnt work? in game

#

documents > paradox interactive

livid folio
peak pagoda
#

I want to add excess thrust to speed like it used to be. I found in the describes.lua where the modifier for adding thrust to agility is.

  • THRUST_WEIGHT_AGILITY_FACTOR = 0.5
    I also reverted to Avalanche build and found the one for speed
  • THRUST_WEIGHT_SPEED_FACTOR = 3
    I added the speed one to my mod but it does not do anything.
    I researched the lua files and from what I read the THRUST_WEIGHT_AGILITY_FACTOR = 0.5 is referencing a function somewhere else in the code that is not directly accessible for modding. I also did a notepad++ search of the Hoi4 folder and did not find another file with it.
    So am I correct that the THRUST_WEIGHT_SPEED_FACTOR is not working because the formula is removed from the code? Is the file where the code for the THRUST_WEIGHT_AGILITY_FACTOR is located inaccessible? If it is accessible where is it located? If it is not accessible, is it possible to add a formula to add excess thrust to speed, and what is a good file to look at for an example?
orchid ruin
jolly mural
# peak pagoda I want to add excess thrust to speed like it used to be. I found in the descri...

So am I correct that the THRUST_WEIGHT_SPEED_FACTOR is not working because the formula is removed from the code?
yes

THRUST_WEIGHT_AGILITY_FACTOR is located inaccessible?
yes, its in the .cpp files

*If it is not accessible, is it possible to add a formula to add excess thrust to speed, and what is a good file to look at for an example? *
no its impossible without source code access

random ember
#

Can someone help me ? Days ago, I used the nudge tool, and I modified some files, because I didn't know very well how it works. I verified the integrity of the files, and I reinstalled the game, and I sitll can't play Ironman

Even I don't know if I could play mp

obtuse condor
random ember
obtuse condor
#

Also I thought I retired the character but it appears in the 1472+ scenarios

#

I have no idea how to fix this

#

Some other non-aligned portrait is replacing the Henry VI portrait for some reason

#

Idk how to fix it

#

I added the portrait for custom made country and it worked but it won't work for Britain

timber zenith
#

documents/paradox interactive/hoi4

#

folders named map, history or localisation should be deleted

raw lodge
ashen mural
#

hi, i need help since my mod wont display the pictures of the focuses

random ember
random ember
#

It must be GFX_(YOUR ICON NAME HERE)

You should watch a tutorial

random ember
# ashen mural

You don't need the .DDS, because you aren't "saying" to hoi4 where the file is

random ember
timber zenith
#

np

timber zenith
# ashen mural

You'll need to define the focus in an interface file, check both goals.gfx and goals_shine.gfx files in the interface folder for how to do that

obtuse condor
#

How do I retire a leader in the history file?

ashen mural
timber zenith
timber zenith
#

it's got the proper formatting

#

or even better

ashen mural
timber zenith
timber zenith
#

whatever the revive kaiserreich focus says as its icon is what you want to put

#

GFX_focus_ger_revive_kaiserreich

#

It's typically gonna be the file name with GFX_ at the start

ashen mural
timber zenith
#

It helps make it stand out, but you don't need it

#

there are also some good resources to help making custom focus icons

#

Is very good, especially if you have photoshop

obtuse condor
timber zenith
#

as in different dates?

obtuse condor
#

1444 1600 etc

timber zenith
#

You can recruit characters inside a date scope

obtuse condor
# timber zenith You can recruit characters inside a date scope

recruit_character = ENG_character_HenryVI
1471.5.21 = {
retire_character = ENG_character_HenryVI
}
1444.11.11 = {
create_country_leader = {
name =ENG_character_HenryVI
desc = "Henry VI (6 December 1421 – 21 May 1471) was King of England from 1422
to 1461 and again from 1470 to 1471,"
picture = "ENG_shawndriscoll.dds"
expire = "1472.5.21"
ideology = despotism
traits = {
}
}
}
characters={
ENG_HenryVI={
name=ENG_character_HenryVI
portraits={
civilian={
large=GFX_portrait_ENG_shawndriscoll
}
}
country_leader={
ideology=despotism
expire="1471.5.21"
id=-1
}
}
}

#

The first bit in the English history file and the 2nd in the common/characters

timber zenith
#

You might as well remove the character if you're gonna stick with creating the country leader

obtuse condor
timber zenith
#

It's better if you use it instead of create_country_leader

#

But

#

You'll need to make an interface file for the leader portrait

obtuse condor
#

I did that

timber zenith
#

Then you can change the picture code to what you put there

obtuse condor
#

I'm just going to put In a placeholder for these leaders omo

#

Imo

ashen mural
barren oak
#

to get urself achievements

dim elm
#

I don’t seem to have the same option as the turtorial maker. (I am making a leader picture and the guy in turtorial said this was super important and without it you would not get the picture in the game) Can anyone help me?

pale sparrow
#

@dim elmDont abuse pings

#

Moderation clearly isnt the group

dim elm
dim elm
pale sparrow
#

Not familiar with it personally

dim elm
shadow cloak
dim elm
shadow cloak
#

i have that but dont use it

#

ima uninstall

#

or smth

dim elm
shadow cloak
#

idk

proper acorn
#

Is it similar? (the south is not finished yet)

crimson urchin
#

Its pritty good

quasi stag
#

whats a fun country for r56

random ember
ashen mural
#

how can i make it so when i finish a focus i get a evcent which changes the party leader of non aligned to the kaiser wilhelm the second

balmy rapids
#

How do i edit an already existing in base game political advisor?

#

wanted to edit herinrich himmler, so I literally copied his code from base game and added some stuff that I wanted him to do, but now there are those errors:
Multiple character have the tag GER_heinrich_himmler Several characters have the name GER_heinrich_himmler 21935

#

Can I make it somehow overwrite the original character or do I have to somehow delete the original (base) Heinrich and make a new one?

obtuse condor
#

How would I make a trait that gives +30 relations with someone with the same trait

#

If someone has the trait Oldenburg they get 30+ relations with someone with the Oldenburg trait or 20+ with someone with the holstein-gottorp trait

#

Or do I just make their ai more inclined to their diplomacy?

#

I tried making characters for Henry VI and Vasily II

#

1444

summer lotus
#

if yes, add relation modifier

sullen bridge
#

are there any QoL mods or Vanilla + mods you guys recommend?

hidden ruin
#

im playing md mod and i want to bring nazi germany, how do i do it?

timber zenith
#

then do promote_character = GER_wilhelm_ii as the effect of the event

#

regular wilhelm character doesn't have leader traits so you'll have to add those manually

#

also u gotta make the event in the event folder

peak pagoda
#

I made a new plane tech that I want to assign to multiple categories, plane_special_module_small, plane_special_module_medium, plane_special_module_large . I followed the instructions on the wiki to put the catagories in brackets but that didn't work.

barren oak
hidden ruin
#

can someone help me with this?

#

i dont know what to do

timber zenith
lime finch
#

does someone know a hoi4 attack on titan mod that is being developed?

worldly timber
#

do music mods fall under fair use?

nimble solar
worldly timber
#

even though I'm sure it was removed due to a report by a user not due to copyright

nimble solar
#

Fair use is a wacky thing

#

Someone can report it for copyright probably

lofty plaza
twilit hatch
#

Niceto

celest dust
stuck quarry
#

is there a way to detect when someone tries to justify war on a certain country and cancel the justification?

twin widget
#

there needs to be a malawi mod

#

like an empire of malawi formable

timber zenith
stuck quarry
#

i was able to find this

#

but it doesnt seem to let me see the country which sent the the wargoal, just the victim of it

timber zenith
stuck quarry
#

know of a way to cancel a wargoal?

#

i can remove a existing wargoal but i want to cancel one in progress

#

The wiki from what i can tell doesnt have anything on canceling in progress wargoals which sucks, if there was a way to make it impossible to justify on a certain country that would be great

cold citrus
#

god that's beautiful

#

i love hard work on meaningless things

brave furnace
#

Local mods not appearing in game. Seems like a pathing issues as Documents is written in Ukrainian (I haven't found a way to fix that). Paradox game launcher writes the path from /mod/quality_of_life to what you see below. Do I need to move my documents folder?

tags={
    "Gameplay"
}
name="Quality Of Life"
picture="thumbnail.png"
supported_version="1.*.*"
path="C:/Users/Paul Ryan/OneDrive/Документи/Paradox Interactive/Hearts of Iron IV/mod/quality_of_life"```
obtuse condor
#

The map is coming together somewhat

#

I think Italy is more or less 100% accurate

#

Except maybe that state to the northeast of lyon

#

Russia might need some more releasables riga dorpat Pskov Novgorod albeit

#

Germany too ruppin Magdeburg etc

#

Might need to move some states to Germany tho Valais neuchatel grisons cottbus goslar halle anhalt-desaau upper savoy fulda maybe the Napoleonic french territories in Hannover

timber zenith
brave furnace
timber zenith
#

That's the path for your onedrive documents, there should be a documents folder inside the users folder

brave furnace
#

There is a user documents folder. Do you know how to set that as default?

timber zenith
#

If you click the documents shortcut in file explorer does it go to the onedrive folder?

brave furnace
#

I tried make a user data.txt file with a new path, but it didn’t work
C:\Users\Paul Ryan\Documents\Games\Paradox Interactive\Hearts of Iron IV

timber zenith
#

Right click the documents shortcut, press properties, then location

brave furnace
timber zenith
#

location in the menu bar

brave furnace
#

C:\Users\Paul Ryan\OneDrive\Документи\Paradox Interactive\Hearts of Iron IV

#

That's the full path

#

What's odd is saved games are in the same location and it doesn't have a problem pulling that data

obtuse condor
#

Is there a startdate prerequisite?

#

If={ startdate = 1812 bay join french faction

#

I don't want them to be in the faction after 1814

obtuse condor
#

Japan and china being at war post 1945 is really getting on my nerves and idk how to fix it

dim elm
#

Why is my flag not showing up?

obtuse condor
#

How do you make so a country passes to another one if played by a human?

#

I added a separate tag for the Vendee

#

And want it to be playable

#

In 1793 when the king gets killed

#

After a couple of focuses

#

Country_leader has={ Oldenburg}

keen finch
#

Has anyone ever removed the requirements for nukes? I'd like to remove the air superiority and 1 bomber requirement, well I found the air one, but I cannot find where I can disable the bomber need

rose heath
#

how exactly does the Vichy France event work?

#

when Germans hold state number 16, which i assume is Paris, and France has over 70% surrender progress, an event is fired

#

France has 3 options being Collaboration. Union, and Free France

#

now, does it matter what the French chooses in order for Vichy france to be created?

#

like if they choose Free France, which would still exist even if they didn't pick it, will Germans still get the option to create Vichy France?

dim elm
obtuse condor
dim elm
obtuse condor
dim elm
barren oak
obtuse condor
#

I love map painting

#

I can't wait to add the other nations in Germany

barren oak
obtuse condor
#

Ruppin Magdeburg Brunswick anhalt-desaau etc

obtuse condor
barren oak
#

as a european this would make me so happy

barren oak
obtuse condor
#

I would want to add two different colonialism systems

#

Somewhat historic and ahistoric

#

Historic as in countries can only colonize Africa 1836-1900 (more or less)

#

And not earlier and auch

barren oak
obtuse condor
barren oak
obtuse condor
#

The trail of years

#

Historic populations would be good to add

#

Låter

#

Though that would take some time to research

#

I would need more people to work on the mod

barren oak
#

just like in eu4

obtuse condor
#

I want to try experimenting with making focus trees too

#

After I'm done with adding releasables

barren oak
#

the final years of decoloinzation

obtuse condor
#
  • 1936 1939 of course
obtuse condor
#

That 1444 Hoi4 mod got some attention even though it doesn't have any content

#

I feel like the mod could rise out of stagnation if I add like a focus for Russia and france in 1812

lofty imp
#

does anyone know how to make a GIS map?

barren oak
#

guys who wants to create a mod with me

lofty imp
#

meee

#

im a newbie tho

barren oak
lofty imp
#

we both make it?

barren oak
#

its very tedious

lofty imp
#

i was thinking we make a gis map?

barren oak
lofty imp
#

ok.

barren oak
#

i will do GFX, localisation, ai modding

barren oak
#

GER = {
annex_country = {
target = GER
transfer_troops = yes
}
}

#

is this valid?

lofty plaza
#

Germany annexing itself?

barren oak
obtuse condor
#

Is it possible to make so a country doesn't surrender even if it has all it's states occupied?

random ember
dim elm
#

How do I remove the Norwegian soldiers?

timber zenith
#

history/units

rose heath
#

can anyone tell me why the event does not trigger?
it's supposed to trigger when Germans control the moscow state, and Soviets have over 75% surrender progress, but it doesn't

#

the actual event itself is not done yet, so ignore that, but it's supposed to at least show up

rose heath
#

btw this is my first time making a modded event so i might be just messing something stupid up without realising

timber zenith
#

modifying events tends to make them break

#

even on debug mode

rose heath
#

reloaded the game and the event still doesn't fire

#

they fully hold moscow, and i have over 75% surrender progress

#

this is the error log, which only tells me about the error about the event that is supposed to happen later, that i did not finish yet

timber zenith
#

run the event manually in the console does it pop up?

rose heath
#

oh right i can do that i forgot

#

wait

#

it sure does

timber zenith
#

soviets lose 75% of their land and only have to cede murmansk that's pretty busted

#

damn idk man

random robin
#

How this look?

timber zenith
#

and it's still probably gonna be half that size in game

#

hard to see what's going on

random robin
#

Gonna modify it a bit.

#

The focus is titled "Funding for F.M.B."

timber zenith
#

Freedmen's Bureau?

random robin
#

Yes.

random robin
timber zenith
#

ohhh I see what you're depicting now

#

that's pretty cool

#

that would go insanely hard as an event picture ngl

random robin
#

Hell yeah lol

#

In the timeline of the mod I'm working on reconstruction never ended.

timber zenith
#

That sounds interesting, I wish you luck on your mod

random robin
#

Thank you!

peak pagoda
#

What's the best way to do a simple recolor of an existing art asset? Can I just use paint or should I use GIMP ?

wispy anvil
#

hello everyone

lofty plaza
random robin
#

How this look?

dull finch
#

I'd say it looks a bit worse than the first one tbh

#

First one was a bit crowded so build off of it and simplify it a little bit

obtuse condor
#

Oh my god seeing oldenburgs flag change in the different scenarios is so great

#

Cosmetic tags are a life saver

#

Might download 40 more flags tbh

proper acorn
wispy anvil
proper acorn
wispy anvil
#

I have just been trying to learn how to play TNO

wheat oxide
#

i dont care

raw lodge
#

Hi

obtuse condor
#

Ah yes Napoleon

wheat oxide
#

failed in spain too

#

but you got iceland

#

banned

tepid notch
rose heath
#

like +1000% division speed and +10000% division attack

rotund nova
#

anybody knows how to make new units?

rose heath
#

the game does acknowledge all the thing needed for the event, but i had to manually turn it on?

#

do events not show up in debug mode or something?

rotund nova
#

i already tries

timber zenith
#

modify an existing or make a new OOB in history/units

rotund nova
#

it aint working

timber zenith
#

Did you make a new file?

rotund nova
#

what file are we talking about

timber zenith
#

history/units

rotund nova
#

i tried to copy or make my own

timber zenith
#

You'll need to set the OOB in the country's history file

#

oob = "TAG_1936" or whatever you named the oob in quotations

rotund nova
#

what oob

timber zenith
#

oob is order of battle, it's the unit file you made

wintry plinth
#

Hey there, question: Where is the mod folder that messes with the starting screen of the game? The one that lists interesting countries and stuff.
I managed to undo most of what I do not like about a mod, but that part is still in there somewhere

timber zenith
#

but the ui itself is gfx modding

rotund nova
#

where do i set the oob

timber zenith
#

in your country's history file

#

you put that code

#

where the stuff inside the "" is the file name

#

which should be like TUR_1936 or whatever

wintry plinth
timber zenith
#

No worries

rotund nova
#

inside units?

timber zenith
#

the country's history file

wintry plinth
#

We shall remember you when writing the history books about how Persia conquered the world

timber zenith
rotund nova
timber zenith
#

I thought I was

rotund nova
#

idk i think it crashed

timber zenith
#

Can you upload the units file you made?

rotund nova
#

i stole it from austria

timber zenith
rotund nova
#

im not sure what i did differently but it works now👍

rotund nova
timber zenith
#

In finland's country file remove the line that says 145 = { set_demilitarized_zone = yes }

rose heath
#

How do i make the states be transferred from soviets to germans instead of germans to soviets when the white peace happens

obtuse condor
#

Did the lordship of ruppin have a flag?

#

Or do I just make a white flag and paste the coat of arms in?

timber zenith
rose heath
#

this is my first time making an event so it may be messy but i'm trying to copy the finnish white peace event

obtuse condor
#

What was the official name of the country of goslar in 1444?

timber zenith
#

without a tag you're transferring it to ROOT, which in this case is SOV

#

put a GER scope around the transfer_states

rose heath
#

wait where am i supposed to put the german tag exactly

#

like how do i tell the game to transfer the states specifically to germany

#

GER =
transfer_state = 91

#

?

#

that doesn't seem to work

obtuse condor
#

You

rose heath
#

oh right wait

#

if = {
limit = {
owns_state = 91
}
GER = {
transfer_state = 91
}
}

#

yeah this looks messy and doesn't work

#

@timber zenith

timber zenith
rose heath
#

if = {
limit = {
owns_state = 91
}
}
GER = {
transfer_state = 91
}
works

rose heath
#

thank you

#

yeah that seems like way less of a mess

timber zenith
#

You'll need to put the GER inside the if scope tho

rose heath
timber zenith
#

Yeah, as long as you use the OR scope as well like shown

#

it will transfer any of them

rose heath
#

alright thank you very much

timber zenith
#

No worries

tepid notch
#

I like cant make working events

#

best event I made was "belgian annexation of luxembourg"
(basicly copy of Memel)

#

like is there a guide for events?

timber zenith
tepid notch
#

the event does actually happen but

#

I never get it

#

like for example, luxembourg accepts the annexation

#

the news event happens, but I dont get the event where I annex them

#

(hard to explain)

timber zenith
timber zenith
#

Can you show the focus code, and the code for the event?

obtuse condor
#

Hi guys! I'm the italian dev of the mod "The Gates of Versailles". We deeply need GFX artists, coders, writers and researchers. This post is for everyone who wants to work on italian states, but If you want to know better our mod and work on other nations, check our discord server and join in our community! https://discord.com/invite/6RzCvSJ

pale bridge
obtuse condor
summer lotus
# obtuse condor Hi guys! I'm the italian dev of the mod "The Gates of Versailles". We deeply nee...

What are you specifically looking for from writers and coders?

Scenario writing? Such that one would be expected to add at bare minimum a mild flavour to the otherwise hot, steamy affair between Mussolini and Lady Rachelle that culminated in 1915, and how it would affect the course of event 20 years later as the world is once again brought before the venomous fang of war, perhaps by his own ambition even?

#

or are you looking for balancing?

#

Minigame?

proven sable
#

Is it possible to give Sweden a spirit that prevents it embargoing Germany?

lofty imp
#

I want to copy over like the 3-D models from GEO modern models mod for millennium dawn to Ultimate tech tree new horizons I don't exactly know how to do that. Does Someone know how to do that like and if they do, can you help me?

timber zenith
#

ctrl c + ctrl v

lofty imp
#

no that's not what I mean like I'm on Mac and like I don't know what files to copy because I want to make it compatible with both mods

timber zenith
#

You might be out of luck since it says unauthorised modification is prohibited

lofty imp
#

oh yeah I do gotta ask him about that my bad

barren oak
#

what does the 50 mean?

timber zenith
#

like asking to join a faction has those modifiers

#

50 is 50 acceptance towards that stuff

barren oak
barren oak
#

im running VS code and am open to installing new programs

#

i just want to assign germany all states of USSR, france, and england

#

but dont want to manually go through each state

#

its tedious, and i can do it

#

but i would prefer saving a few hours

timber zenith
#

You can shortcut by doing an every_owned_state scope in any history file

#

But I wouldn't recommend it

barren oak
timber zenith
#

You'd be hard pressed to find a way to do that

barren oak
#

even GPT-4, Claude 2.01, Gemini 1.5?

timber zenith
#

Ai definitely not

#

But nothing I'm aware of

barren oak
#

just requires a lot of prompting

timber zenith
#

You'd have to upload each file individually

#

And then download the edit

#

You'd still be modifying every file manually

barren oak
#

with over 128k tokens

barren oak
timber zenith
#

How so

barren oak
timber zenith
#

Sounds like modifying every file

#

Can you upload the whole folder?

barren oak
timber zenith
#

I haven't used Claude, so I can't comment on it's reliability

proven sable
#

Anyone know how I can mod Sweden so it can't embargo?

hollow willow
#

Guys, is there anyone here who made a map for any mod?
If so, tell us how you do it, because when I tried to use mapgen to create a map, my transitions from land to water caused the game to crash (In the debug mode, the game allows me to look at the map, but when choosing a country, it also crashes).
So is there any other tool for creating maps, or is it necessary to make them manually?

barren oak
#

and while in the country selection screen

#

have it show up

strong imp
#

Just dropping my mod idea in here because I very well know that I’m to stupid to actually make the thing its a mod idea for Hawaii I already thought up the fascist party’s name and the monarchy’s party name them being the ROK (Royal Order of Kamehameha) and the HOK (House of Kawānanakoa) I’m still thinking up names for the democratic and communist party however I still have a pretty good idea on the focus trees with a fascist monarchist democratic and communist trees and obviously a industrial tree a military tree and a naval tree obviously admittedly I’m still workshopping ideas for the trees but still if you want to try and make the thing feel free although I would like it if you let me know if are going to since I would try to suggest things for the mod like flags party names and other stuff but yeah

barren oak
#

nevermind i found out how

cerulean panther
#

Anyone can tell me why it is telling me to enter a username when I'm trying to upload my mod for the first time?

cerulean panther
#

I have the screenshot on my laptop

#

But if you don't mind it's quicker if I take a photo of it

#

Now if this was Reddit, I would get flamed for taking a picture of a screenshot

strong imp
#

Hey question does anyone know what would be a good debuff for a banana republic country

sterile plank
#

does any modder know how to fix this consumer good bug?

barren oak
cerulean panther
#

Steam

#

I'm trying to use my Steam username

barren oak
cerulean panther
#

Yes. it's in my Steam library

#

12th Nov 2022 I bought Hoi4

barren oak
cerulean panther
barren oak
#

you probably refunded it later

cerulean panther
#

I didn't

barren oak
#

or you are using creamAPI

cerulean panther
#

The only games I refunded was ICBM and Garry's mod

cerulean panther
barren oak
barren oak
serene skiff
cerulean panther
#

The mod works but it won't update to the current game version because it's not on the steam workshop

barren oak
#

screenshot your steam library

cerulean panther
#

Don't mind the other games

barren oak
#

you probably will not be able to upload it

cerulean panther
#

Should I try contact customer support then?

barren oak
#

steam is generalized, it probably wont help you there

cerulean panther
#

I meant paradox customer support

#

Yeah I'm gonna see if paradox customer support can help me

#

Bruh I can't find a way to directly submit a ticket because i can't find anything that solves my issue from their solutions

barren oak
#

just give up

cerulean panther
#

Ah well that might just cut my modding journey short

#

I will see if paradox can fix it. If they can't I will just stick to playing mods

strong imp
#

Just dropping my mod idea in here because I very well know that I’m to stupid to actually make the thing its a mod idea for Hawaii I already thought up the fascist party’s name and the monarchy’s party name them being the ROK (Royal Order of Kamehameha) and the HOK (House of Kawānanakoa) i have the names for the democratic and communist party’s and country names however I still have a pretty good idea on the focus trees with a fascist monarchist democratic and communist trees and obviously a industrial tree a military tree and a naval tree obviously admittedly I’m still workshopping ideas for the trees but still if you want to try and make the thing feel free although I would like it if you let me know if are going to since I would try to suggest things for the mod like flags party names and other stuff but yeah and again I have absolutely no idea how to make a mod

barren oak
#

its an issue with steam

#

paradox is not steam, the best they can do is send you to contact steam support

cerulean panther
#

I will wait to see what they will say. Then I will contact steam if they recommend it. Then probably I will cut my career short 😔

obtuse condor
#

How to make so a country never surrenders?

sterile plank
#

Anyone know how to fix this consumer goods glitch in a mod

cerulean panther
spare crest
obtuse condor
#

Even if they have capitulated

#

1793-1818

barren oak
obtuse condor
barren oak
barren oak
obtuse condor
barren oak
obtuse condor
#

So they exist without owning states?

barren oak
#

and then when they captiulate they become a GIE in the other major

obtuse condor
#

Anyone got hoi4 modding servers?

#

Is generate_wargoal_tension=10 valid?

#

Will it make so that countries won't join factions even if its at 100% world tension?

strong imp
#

Anyone know what a good debuff would be for a banana republic

obtuse condor
#

Imo

#

+1-5 civ construction

nimble solar
strong imp
#

Actually I don’t think the country Im thinking of is a banana republic more of a pineapple or sugar republic if anything

#

It’s Hawaii btw

#

Although I’ll try and run with it for a debuff for Hawaii

timber zenith
#

I prolly can't link to it but you can google it