#modding

1 messages ¡ Page 65 of 1

plucky crystal
#

ok

#

i can give you and you remake it?

#

or not?

proper acorn
#

A namespace must be first created before defining any events that use it. This is done with the line add_namespace = my_event which must be outside of any event. If a namespace is not defined, then the event ID will be considered a malformed token, leading it to not working in-game. The event namespace consists of word characters (e.g. letters of the English alphabet or underscores). This includes dots: add_namespace = my_event.subtopic can be used for events of the type of id = my_event.subtopic.1. The numeric ID will be taken to be everything after the last dot converted to an integer, or 0 if the conversion fails.

proper acorn
plucky crystal
#

I still don't understand it, sorry about myself

plucky crystal
#

add_namespace = ref_ref.2
add_namespace = ref_ref.2

country_event = {
id = ref_ref.2
days = 10
random = 50
random_days = 10

}

}

#

like that?

warm anvil
#

Cosmetic TAG?

plucky crystal
#

i have it

plucky crystal
proper acorn
warm anvil
#

But?

proper acorn
#

Without option

#

follow this

#

The format

plucky crystal
#

ok but i have question

#

How does the game know which country this event is for? @proper acorn

plucky crystal
warm anvil
#

Can't remove recruit line in history/countries/AUS - Austria?

warm anvil
#

I'm reading previous messages in order

proper acorn
#

In focus, decisions

proper acorn
plucky crystal
#

where is tag here?

proper acorn
#

You don't define this in the events

warm anvil
#
    country_event = { id = ref_ref.2 days = 10 random_days = 50 }
} #max time to fire 10+50=60 days | why to add random = 50? random = 0.5 is 50% to fire event or not but into the event ref_ref.2 trigger```
#

If you want the event fire always remove random

#

In this script the time to fire is between 10 and 60 days

warm anvil
#

Please, someone helps me with my question

#

@plucky crystal what is the name of the mod you showed?

#

What is the difference between any_country, every_country and all_country?

#

I come from old CK2 modding 😅

plucky crystal
#

hmm

#

i will try

#

wait

warm anvil
#

Do it with calm, I wait

plucky crystal
#

can you give a screan

#

@warm anvil

#

?

#

do you mean the folder?

warm anvil
#

I don't understand

#

Please repeat me the concept

plucky crystal
#

name

#

?

warm anvil
#

These are Scopes

plucky crystal
#

ah

#

i understand

#

Executes the contained triggers as if they are contained in an AND with a country context for each country. Returns false on the first country yielding false, true otherwise.

#

all_country =

#

any_country Executes the contained triggers as if they are contained in an AND with a country context for each country. Returns true on the first country yielding true, false otherwise.

#

every_country - Executes children effects on every country that fulfills the "limit" trigger.

#

You understand?

#

I'm sorry, but I don't know how to explain it, it seems to me

warm anvil
#

I remember in CK2 there are only two general scopes:

  • random_character for one single random character
  • any_character for all character
    We used limit for narrow the circle of the groups of results for "a random one" (limit) and "any of these" (limit)
plucky crystal
#

I see

warm anvil
#

Between

  any_country = {
    is_ai = no
  }
}```
and
```trigger = {
  all_country = {
    is_ai = no
  }
}```
what is the difference?
warm anvil
#

I solved for all_country

#

all_country is a special scope used only for trigger lines to report true if all country in the game has the conditions into his block

#

It can be limited by limit but all country narrowed by this must have the conditions into the block of all_country to report true the trigger

#

For any_country into trigger is enough that one report true

plucky crystal
#

Any is any

#

And all

#

Its all

#

Random?

#

Maube

#

Maybe

warm anvil
#

random_country is one but in trigger without limit has the same effect of any_country to report true because is enough that one exists to report true

warm anvil
#

What is the equivalent of ROOT_FROM?

#

I repeat I come from CK modding

lunar basalt
#

everythings fine

desert current
haughty bison
#

i get errors in vanilla whenever i enable debug i think it's 100% normal

crystal folio
#

Ive reuploaded the mod multiple times and still the same result. Ive checked and workshop version contains all the same files as the local version

quick phoenix
#

COMBAT_DAMAGE_STATS_MULTILPIER
what this define does? it multiplies with damage dealt on planes, or with the damage dealt on ground troops?

#

it's under NAir

warm anvil
#

I wanted to create missiles that worked with animation of launch and nuclear explosion like ICBMs

#

Maybe it can also refer to CAS

#

I don't know

brazen laurel
#

currently having the joy of state modding, the game wont load in when the mod is active but loads fine when no mod is active, and when I got to the error log it provides no information that actually relates to states

#

it just lists 3 mods that aren't active having the wrong version, then 2 localisation files don't have quotation marks where expected, then 3 errors in the common folder, one about a character and 2 about leader traits, which obv have no baring on state edits

plucky crystal
#

@proper acorn

#

wants another event to be executed by 2 event

#

but my event is here but trigger dont work

#

anybody can help?

#

maybe I'll try another way to trigger the event with a different response in the event?

proper acorn
#

Id is the id of your event, if it works and the event appears, the code is correct

plucky crystal
#

ok i will try

#

it works but when i click it then it dont work

#

I want when you click this button, an event will happen in another country

spiral comet
#

armoured stick divison

#

so real

plucky crystal
#

XD

#

but is 1768 year

#

and

proper acorn
#

then the trigger is wrong

#

Open the focus tree file

plucky crystal
#

but bro

#

event

#

i want to event triger other event

plucky crystal
#

@proper acorn

crystal folio
warm anvil
brazen laurel
#

I was able to resolve the issue thx tho

warm anvil
#

What was the problem?

warm anvil
warm anvil
#

What is the effect that changes the frame to be displayed when the mouse passes over the element?

#

effectFile = "gfx/FX/buttonstate_nodowneffect.lua"?

stray hatch
#

how do i make a graphics mod that changes the nation leaders of every nation from scratch?

#

i got paint.net and know how to make dds files already

#

ping me once you respond aswell ty

stray hatch
#

pls help

warm anvil
#

Hi, is it for vanilla game?

stray hatch
#

basically just want to change the nation leader photos to custom ones

#

want it as a mod tho since i dont want to mess my base game up

warm anvil
#

If you would change only the image and not the leaders you have two easy way

#

Create the image file into the folder of your mod gfx/leaders/[TAG]/[same title file of vanilla]

#

This way to overwrite the current image of the leaders

#

I don't know if you know how to create the mod folder

#

Alternatively you can insert your .dds file of same dimensions of other leaders images in gfx folder of your mod and write the file path of this in \interface_leader_portraits.gfx instead of what is already there in the right reference line

#

If you would create new leaders I recommend to watch the videos tutorial on YouTube

stray hatch
#

ok ty

fallow marsh
#

Hey, can somebody explain to me what the problem is here?

#

Idk why the description is saying the name of the file and not its contents

proper acorn
obtuse condor
#

after noticing several mods on workshop pertaining to paradropping tanks i decided to try to code in paradropping onto light tank divisions but no matter how many times i paste "can_be_parachuted = yes" into the units file (under #misc_abilities) and the equipment files i still cant paradrop god damn tanks.

#

i also have little clue of what im doing, i know very little programming

#

:3c:

timber zenith
#

Inside

desert current
timber zenith
#

You don't need the zero btw

desert current
#

really? i just always have

timber zenith
#

Yeah it's for some internal paradox metric i think most people just copy that

desert current
#

yeah i just do it anyway

wide lynx
#

for some reason my focus tree icons aren't appearing in game and I have no idea why only 1 of them is and there is no difference in the files, sizes, or formats.

#

interface file:

timber zenith
#

Check the focus_shine interface file

wide lynx
timber zenith
timber zenith
#

Yeah you'll need shine

wide lynx
#

oh ok

timber zenith
#

It will in most other contexts

wide lynx
#

still not working

#

when I click on one it shows it but still not in the full tree

timber zenith
#

Inside

wide lynx
#

in dms? its quite long

#

actually

#

nvm

pale sparrow
wide lynx
#

i misunderstood

#

when I upload it to discord it forces as a .txt file and removes my indents

pale sparrow
#

didnt know that

pale sparrow
# wide lynx

the name of the shine must be GFX name+_shine IIRC

wide lynx
#

just one more question, is there a way I can add bonuses like weekly manpower using national focuses without creating ideas

pale sparrow
#

no

wide lynx
#

sad

desert current
#

but you could just make an idea called "Militarizing The Army" or something

warm anvil
pale sparrow
rose heath
#

hoi4 modding:
10%: actually making the mod
90%: fixing errors because modifying ethiopia's focus tree breaks czech military organization

proper acorn
#

☠️

#

12k errors

rose heath
toxic mirage
#

Guys

#

How do i modify National ideas?

#

Like i have an ideas and want to modify it

toxic mirage
#

Help? :c

#

Gonna cry alone then c ;

thin chasm
#

Have to be a bit more specific there

#

Are you looking for the file to edit? How to actually add effects?

#

Other than that though, does anyone know of a good USA overhaul mod?

#

Vanilla's not really doing it for me, but I still haven't found one I like on the workshop

toxic mirage
#

Like

#

Focus 1= gains National idea "here"

#

Heer

#

Focus = modify National idea "heer" -5% Land doctrine cost

thin chasm
#

That's not what I asked

#

What specifically are you needing help with

toxic mirage
#

My brain: my Life Is potato

toxic mirage
timber zenith
toxic mirage
timber zenith
#

a genetic line? wdym

toxic mirage
#

But if i do the way you said

#

I have to create all differents spirits for it

#

Because

#

If i do your way

#

The spirits cant work on other lines

#

Like

#

I tried to use add_to_variable = { ideas_bonus = bonus Number }
But it wont work

timber zenith
#

check what pdx did for the italian ideas

toxic mirage
#

They did add_to_variavle

timber zenith
#

I have no idea how it works but the stuff is in the italian history file

toxic mirage
#

But It wont work

timber zenith
#

You may have to set the variable first and add a dynamic modifier

#

i dunno though

toxic mirage
#

Oh

#

Thanks for your time

timber zenith
#

the italian history file has that stuff

#

all good

timber zenith
#

that's the info you need in those files

toxic mirage
#

Damn

#

Gotta break my ass again :c

#

Noe

#

Now

#

Anybody Who knows how dynamic modifiers work?

dry knot
#

For anyone familiar with the debug console command, am I mistaken or is was there a command to clear the in game console history? I remember using it before and i think it was just “clear” but when i used it today it said it’s an unknown command.

final tinsel
#

i have question on making autonomy system:
im making system like: Colony - Princely County - Margraviate - Duchy - Grand Duchy - Personal Union - (released)

#

but my system does not work in game - in exactly saying: puppet can lower the puppet level like Duchy to Margraviate, but it cannot upgrade level like Duchy to Grand Duchy(in game: upgrade autonomy level from Duchy to Duchy)

#

is there something that i forgot to make?

distant moat
opal sparrow
#

is there a mod that lets you release some sort of custom puppets / lets you do some sort of customisation to existing one

still tangle
#

am I the only one that struggles to find working cold war mods?

pale sparrow
#

which makes sense as not as much happened

still tangle
#

not as in content

#

content looks good

#

just terribly unplayable

pale sparrow
#

why then

still tangle
#

events happening multiple times in a row, out of date or out of conditions, playing as France, I can't even do vietnam war bc, the game doesn't allow me to move into some tiles for some reason, so we're just standing there not even fighting
also France's focus tree is locked behind events, one of them is named "elections of 1951, i guess I'll wait for the 51 elections, except is 53 now, so rip this entire focus tree I guess

#

also can't buy ressources, I have permanent 0 fuel

#

it's a shame bc the focus looks good, the events historical, the tech tree marvelous

#

but like...I can't play so

#

what to do but stare at it

pale sparrow
#

I see

vestal ivy
#

someone should make a mod that lets you choose models from different countries

#

like make a tank with the tiger model as argentina

#

or the spitfire model as china

#

like that

#

is it even possible?

distant moat
final tinsel
# distant moat It is just set default wise that way Below it should infact be Grand Duchy. It i...
autonomy_state = {
    id = duchy
    
    min_freedom_level = 0.6
    manpower_influence = 0.2
    
    rule = {
        desc = "RULE_DESC_IS_A_SUBJECT"
        can_not_declare_war = yes
        can_decline_call_to_war = no
        can_be_spymaster = yes
    }
    
    modifier = {
        autonomy_manpower_share = 0.0
        extra_trade_to_overlord_factor = 0.4
        overlord_trade_cost_factor = -0.4
        peace_score_ratio_transferred_to_overlord = 0.05
        lend_lease_tension_with_overlord = -0.1
    }
    
    ai_subject_wants_higher = {
        factor = 1.0
    }
    
    ai_overlord_wants_lower = {
        factor = 0.0
    }

    ai_overlord_wants_garrison = {
        always = no
    }

    allowed_levels_filter = {
        personal_union
        grand_duchy
        duchy
        margraviate
        princely_county
        colony
    }
    
    allowed = {
        if = {
            limit = {
                AND = {
                    OVERLORD = { original_tag = IMA }
                    OVERLORD = { NOT = { has_government = fascism } }
                    OVERLORD = { NOT = { has_government = communism } }
                }
            }
        }
    }
    
    can_take_level = {
    }

    can_lose_level = {
    }
}
#

...wait is there rule that ID should not be start with capital letter?

valid apex
#

Just a lot of work

knotty tide
#

i wanna add storm battalions and companies to my HOI4 MULTI MOD

dusty flume
#

Chat HoI4 Age of Imperialism is great

dry knot
distant moat
distant moat
# vestal ivy why?

Because how I see it you would have to make copies of the skins and put in decisions only for certain countries, check each individual country has taken that decision, and make the copy skins available based on that.

final tinsel
distant moat
#

Possibly because the value is 1.0 to 0 which is like the full thing idk i dont usually add new autonomies

#

But I do with bop

#

Seems similar ebough to regards on the sides

final tinsel
distant moat
#

Did you backup an earlier save before that issue

#

Because Ids HAVE to start with all capital letters

final tinsel
#

just in autonomy system, fortunately

distant moat
#

Oh

#

Weird

final tinsel
#

i think someone should add the caution: you should make id with no capital letter when you make new autonomy system

distant moat
#

Good idea

distant moat
#

Besides its simply changibg a variable from 0 to 1

#

To enable foreign design

toxic mirage
#

anybody can help me with dyn modifiers ?

toxic mirage
#

"i am so lonely"

#

"i have nobody"

haughty bison
#

what

toxic mirage
haughty bison
#

hello

wide lynx
#

any thoughts on what I can add to this generic focus tree?

toxic mirage
#

xD

#

those icons are fire man

wide lynx
#

I use an icon pack

toxic mirage
#

please tell me the secret

wide lynx
#

this is where I got it from

#

its got pieces and backgrounds

toxic mirage
keen ruin
#

What´s the best way to start with modding ?

timber zenith
wide lynx
toxic mirage
#

or you will end up like me

#

and not knowing why title of the focus wont fix

distant moat
distant moat
distant moat
limber badger
#

Hello, i just started learning modding with some guy called "Iron workshop", but i can't seem to get past focus trees. I did everything according to the tutorial, even checked multiple wikis, but i can't seem to find the issue. I'm trying to slightly edit Czechoslovakian focus tree, but for some reason it doesn't work, i don't think that the mod even loaded in, is there any way to check?

distant moat
#

Also make sure the brackets are properly closed

limber badger
distant moat
#

And send a screenshot of thr focus tree

#

Send a ss of focus tree then

#

Ill be able to tell you if its blank between a few issues

distant moat
toxic mirage
#

pls

distant moat
#

Just do it as if you’re making a normal modifier basically

toxic mirage
#

i am getting raped by it

distant moat
#

There isnt a huge difference

#

Stop overcomplicating it then

toxic mirage
#

like

#

i copied, changed it

distant moat
toxic mirage
#

thing doesnt work

distant moat
#

Make sure brackets are closed always the first thing to check

toxic mirage
distant moat
#

Dynamic modifiers in focuses?

#

Just use a normal modifier

limber badger
limber badger
#

wdym both?

toxic mirage
distant moat
distant moat
#

Dynamic modifiers arent necessary I dont think

#

The modifier happens until the complete effect

toxic mirage
distant moat
#

What are you trting to do

#

Hold on one moment a little busy

toxic mirage
toxic mirage
limber badger
#

the focus tree loads in normally, just without the changes i made

timber zenith
limber badger
#

Yes

timber zenith
#

You can change the modifier at the beginning of the tree to a number larger than 10 it might just need to load on top of the vanilla tree

timber zenith
limber badger
#

didn't work either way

timber zenith
#

Could you upload the file then?

distant moat
#

Its like this
You have to make your national idea in a different folder
add_ideas = {
idea = IDEAIDHERE
}

limber badger
#

i use visual studio for editing, that is fine, right?

toxic mirage
#

or just "ideas" folder

#

because i have bnoth

#

both

timber zenith
# toxic mirage liek ?
if = {
  limit = { has_idea = x }
  swap_ideas = {
    remove_idea = x
    add_idea = x_1
  }
}
else_if = {
  limit = { has_idea = x_1 }
  swap_ideas = {
    remove_idea = x_1
    add_idea = x_2
  }
}
```etc.
distant moat
#

In common

#

Yeah there is also swap ideas

#

To edit an existing idea

toxic mirage
#

but it needs a specific order

#

liek

distant moat
#

In game it will appear as either replace idea with or modify idea by

toxic mirage
#

i need to put precise ideas for that

distant moat
#

No order

#

Just make sure brackets are closed

toxic mirage
distant moat
#

And when you apply it to focus

#

Make sure its within the complete_effect scope

toxic mirage
#

How

limber badger
#

Also i forgot to ask, is it forbidden to remake game made focus trees?

#

I don't plan on posting it on workshop or anything

timber zenith
#

and you can still upload

distant moat
#

Focus = {
All your other code here
complete_effect = {
add_ideas = {
idea = Ideaidhere
}
}
}

limber badger
#

I'm currently checking for the brackets, but i'm not seeing anything

distant moat
#

I cant see your file on discord because I dont use discord on pc

timber zenith
timber zenith
#

brackets are fine the game just isn't detecting the mod

distant moat
#

Yeah now you gotta create scopes thatll check if you got the certain idea

limber badger
distant moat
#

Thats why I prefer decisions when it comes to that

limber badger
#

should i just try to make a new one?

#

and paste the files

timber zenith
#

make a new mod and paste

#

yeah

distant moat
#

But I got to work on japan

#

So cant talk now

#

Bye

timber zenith
#

yeah there's no real clean way to do that

limber badger
#

Welp that also didn't work

timber zenith
limber badger
#

Documents\Paradox Interactive\Hearts of Iron IV\mod\czechoslovakia\common\national_focus

timber zenith
limber badger
#

just a sec, i'll get it all

timber zenith
#

just something

limber badger
#

completion_reward = {
add_political_power = 200
add_ideas = CZE_democratic_bastion
add_trait = {
character = CZE_edvard_benesh
ideology = conservatism
trait = little_churchill
}

#

the add_trait part

#

forgot one bracket, but its in the code

timber zenith
#

works for me

limber badger
#

that's great, now just to fix it for myself :D

#

one step to success

timber zenith
#

something is broken tho

limber badger
#

hmm, maybe i corrupted my gamefiles somehow?

timber zenith
#

extra lines

#

likely an issue with prerequisites somewhere? idk tho

limber badger
#

That's weird

#

question

#

is there something like a live server?

#

so i don't have to turn off and on the game every time i update something in the mod

#

(in case i managed to make it work somehow)

timber zenith
#

right click the game in the list of the steam library, click properties, under launch options type -debug

limber badger
#

got it, thanks!

#

Could i ask you to try the whole code?

timber zenith
#

wdym

limber badger
#

You added the add_trait only, right?

timber zenith
#

nah i put in your whole focus tree file

limber badger
#

oh

#

Then it's 100% fault on my side

timber zenith
#

strange

#

are you launching the game with the right playset?

limber badger
#

Yes i checked multiple times

#

Other mods work just fine

#

Is there anything else i should have in the common folder?

#

or in the mod folder itself

timber zenith
#

nope

#

your path is fine

limber badger
#

I'm actually going insane, i tried everything and nothing worked

toxic mirage
limber badger
toxic mirage
limber badger
#

I can't get past loading the mod, so maybe i'll never know >:3

toxic mirage
limber badger
#

I want to revamp central europe + balkans a bit

#

So that slovakia is playable, czechoslovakia as a whole would get expansion of their focus tree and probably better experience for releasables in yugoslavia

#

and also rework hungary, cuz commie branch is boring

#

wbu?

toxic mirage
#

For now Just germany

#

192 focuses 💀

limber badger
#

Will you also make a generic one?

limber badger
toxic mirage
#

For now i Will Just think to finish it

#

Its been 2 weeks

#

And i still have a lot tondo

#

To do

limber badger
#

Pheew thats a dedication

#

Hopefully i can get to making stuff on your level once i get through my biggest issue :D

toxic mirage
#

Just

#

Putted more time

#

Now i am making wallpapers

#

Than i Will go to sleep

#

Its 2 a.m. now 💀 and i have school tomorrow

proper acorn
#

I deleted the German focus tree:

toxic mirage
limber badger
toxic mirage
#

You yoo

#

Too

limber badger
#

Hello i still can't get past my problem. As i already mentioned, i tried making my "own" mod, but it's not even loading into the game. I checked if i had the correct path and everything. Other mods work just fine. I also sent the code to someone on this server and the mod worked for them, so it's most likely me-sided issue. Any ideas as of what could be wrong?

distant moat
distant moat
proper acorn
distant moat
#

It doesnt need fixed

#

Its just ai strategy

proper acorn
#

ok

limber badger
proper acorn
limber badger
proper acorn
#

how do I fix it?

desert current
wise sundial
#

Is there a way to make variable which will count players in each faction? Tried different things, but doesn't work that way

rose heath
desert current
dry sandal
#

Best HOI4 mods ranking?

On my opinion:

  1. Player-Led Peace Conferences
  2. Europe in Flames
  3. Military Topographic Map / Supreme Graphics Collection
  4. MI2 / MI3
warm anvil
warm anvil
dry knot
merry trout
#

does anyone know why factories from focuses spawn the factories but still I cannot use them in my mod

toxic mirage
#

Still havent

#

I Will try again when i go back home

merry trout
#

@tepid notch yo bro

#

ty for trying to help

#

but it isnt working idk why

tepid notch
#

was passiert

merry trout
#

falls ich land tag switche

#

kommen die factories

#

oder econonomy law änder

#

aber normal nicht

tepid notch
#

ah I see

#

so probably there is a problem in your consumer goods

merry trout
#

i dont think so

#

because when the factories spawn there in the state

#

but the factory count on top doesnt change

tepid notch
#

ah

#

I am not that good in modding lol

merry trout
#

thast fine

#

thank you tho

#

can anyone help pls.
In my mod I have focuses that spawn factories, in the state the factories do spawn after the focus is done, however the factory count on top doesn't go up/change and the factory isn't useable even though it exists in the state where it should spawn, if I change economy law or tag switch to a country and tag switch back, the factories work normally, I think its because how factories refresh, does anyone have an idea on how to fix this please?

final tinsel
warm anvil
#

And search video tutorial on YouTube

merry trout
#

😭😭

timber zenith
#

lol

merry trout
#

Anyone pls 🙏

timber zenith
#

im not joking

merry trout
#

Im gonna quit modding Inna sec

merry trout
#

And wait

#

Nothing happened

#

Im not that dumb

warm anvil
warm anvil
tepid notch
warm anvil
#

Send the text of these factories adding

#

Extra factories maybe doesn't count

merry trout
#

no i found the problem

#

its the order of battle thing

#

but idrk what that i

#

s

timber zenith
#

oob? that's units

#

history/units

merry trout
#

yes

merry trout
timber zenith
#

Did you make a new country?

merry trout
#

yeah

timber zenith
#

and delete the actual units, keep the templates and stuff

merry trout
#

ill try

#

thank you

timber zenith
#

no problem

merry trout
#

idk whast wrong w the file but nothing in it works

tepid notch
#

bit of a wierd question, but how do I make good looking idea pictures/ leader pictures

merry trout
tepid notch
#

yes ik

#

I just use irl pictures rn

#

but it looks cursed

merry trout
#

Yes I used to do that too but it looks bad

tepid notch
#

yes

merry trout
#

I just stole my leader from rt 56

#

They have many leaders

tepid notch
#

same o.O

#

I copy from other mods

merry trout
#

Even for irrelevant countries

#

LOL

#

ye me too

#

Greece reworked also has some fire stuff

#

We needa make a red dead redemption 2 mod

#

Best game

tepid notch
#

o.O

#

I only have rdr2 on pc

#

but my pc is a potato

#

so the graphics are trash

merry trout
#

😭

#

Better than nothing

tepid notch
#

I will buy ps :/

merry trout
#

Buy ps 5 Xbox series

#

Don’t get 4

tepid notch
#

but my parents said they will kick me out of the house if I buy one

merry trout
#

LOL

tepid notch
#

yes ik

#

hard life

merry trout
#

Js Save up

tepid notch
#

I have enough money :/

#

but I dont want to get kicked out

merry trout
#

Beg them till they give up

#

Always works

tepid notch
#

they said it will ruin my life

merry trout
#

Nah tell them ur doing the same thing on a bad pc and it didn’t ruin ur life

tepid notch
#

its my mom

#

she like hates games

#

my dad doesnt care

#

if I do anything wrong she says its bc of games :/

merry trout
#

Nahhh

#

Convince her wrong

tepid notch
#

and like my sister can do anything

#

she never gets critic

merry trout
#

Move out 🔥🔥

tepid notch
#

where can I move to

#

I dont want to live in a trash can bruh

merry trout
#

😭

#

Poor u bro

tepid notch
#

is this a good leader picture lol

merry trout
#

Looks 🔥

hybrid coyote
#

I am developing a mod with my friends and there is a need to straight up remove a few large features. How could i remove a large feature like for example the whole of trading?

sand parcel
#

any 1v1 mod recommendations?

obtuse condor
#

This would make for a good HOI4 focus icon

vagrant aurora
#

how do you change the loading screen background? i have images, but i want to set one of them exactly to be the background once the game loads

flat fox
#

arturd morgan?

tall ferry
tepid notch
stoic briar
#

There should be a mod which gives Germany a debuff called "one ball" and gives -0.001% population growth debuff.

grim onyx
#

gawd damn, its been only a week

stoic briar
#

I wonder if there's a mod that allows you to make claims on land, or even one that allows joint controll of a state

#

That'd be pretty dang cool tbh

primal mantle
#

Hey, is someone here that know how to use variables in national ideas like :

#

add_dynamic_modifier = { modifier = SOV_the_politburo_good_dynamic_modifier }

#

custom_effect_tooltip = SOV_the_centre_ns_tt

toxic mirage
primal mantle
#

i only found were the variables are

gritty wigeon
#

A new MOD, currently only do the UI, the plot has not yet figured out, I hope there are coder and writers can join

toxic mirage
#

Thats a bit i know

#

Write in that file the modifier

#

And shit

primal mantle
#

ok

#

thx

toxic mirage
#

But still

#

Mines doesnt work

primal mantle
#

someone else know something?

merry trout
#

Does anyone know what this

#

Is

#

Its been a problem in my mod and idk what I need to do

primal mantle
#

what is this about?

primal mantle
#

like this

#

completion_reward = {
add_ideas = MPL_unions
if = {
limit = {
has_idea = MPL_two_people_union_1
}
swap_ideas = {
add_idea = MPL_two_people_union_2
remove_idea = MPL_two_people_union_1
}
}
else_if = {
limit = {
has_idea = MPL_two_people_union_2
}
swap_ideas = {
add_idea = MPL_two_people_union_3
remove_idea = MPL_two_people_union_2
}
}
else_if = {
limit = {
has_idea = MPL_two_people_union_3
}
swap_ideas = {
add_idea = MPL_two_people_union_4
remove_idea = MPL_two_people_union_3
}
}
else = {
effect_tooltip = {
swap_ideas = {
add_idea = MPL_two_people_union_2
remove_idea = MPL_two_people_union_1
}
}
}

#

checking if you have one of the ideas

torpid reef
#

I was making a mod for a custom national focus for Sweden but it didn't work in the mods folder. I put it into the vanilla file and it worked perfectly. its put into all the right folders and has been turned on in the launcher any idea what's going wrong?

primal mantle
#

maybe you miss something in other folder

#

or file

#

@torpid reef

torpid reef
#

wdym?

primal mantle
#

for example when you make idea for focus tree and make mistake or forget to add something in this idea

#

something like that

torpid reef
#

Ah okay

#

I'll look around

primal mantle
#

or you can send me piece of focus so i can check it

primal mantle
#

@torpid reef and you founded something?

merry trout
toxic mirage
toxic mirage
merry trout
#

No factories

#

No focuses

merry trout
#

Thats the problem

#

I think

toxic mirage
#

show the code

merry trout
#

I can’t rn

toxic mirage
#

dayum >:c

merry trout
#

But pretty sure the code is right

toxic mirage
#

hava

#

nagila hava

#

nagila hava something in jewish

#

ddint saw the varialble video on YT 💀 spent days to beg someoen for lessons and its the only video on yt

#

ironworkshop the best?

toxic mirage
merry trout
#

Yes

#

This is the problem tho

primal mantle
#

you want factories from focuses?

merry trout
primal mantle
#

random_core_state = {
add_extra_state_shared_building_slots = 2
add_building_construction = {
type = industrial_complex
level = 1
instant_build = yes
}
add_building_construction = {
type = industrial_complex
level = 1
instant_build = yes
}
}

#

here you go my friend

#

and for military

#

random_core_state = {
add_extra_state_shared_building_slots = 1
add_building_construction = {
type = arms_factory
level = 1
instant_build = yes
}

        }
#

"random_core_state" you can change to id of state

limber badger
#

Reposting my still on-going problem
Hello i still can't get past my problem. As i already mentioned, i tried making my "own" mod, but it's not even loading into the game. I checked if i had the correct path and everything. Other mods work just fine. I also sent the code to someone on this server and the mod worked for them, so it's most likely me-sided issue. Any ideas as of what could be wrong?

merry trout
#

Or the mods path

primal mantle
#

@merry trout did you see code for factories that i sended you?

merry trout
#

Oh I just did

#

Thanks you bro

#

I’ll try it out rn

#

And tell u

limber badger
merry trout
limber badger
#

i don't think there is a way to start it from the mod one

merry trout
#

Wait lemme see

primal mantle
#

where do you have your mod folder?

#

localization

limber badger
#

\Documents\Paradox Interactive\Hearts of Iron IV\mod\

#

and then the folder of the mod (inside mod folder)

primal mantle
#

what do you see when you open hoi4 with mod?

limber badger
#

default game

#

with no changes

primal mantle
#

no

#

with this mod enabled

#

in launcher

limber badger
#

ye i said that

#

default game shows up

#

no changes i made

#

while its on

#

the mod is not registered by the game

#

but other mods work just fine

primal mantle
#

you created mod in launcher?

limber badger
#

Yes

primal mantle
#

hmm

#

i don't really know wtf

limber badger
#

I did everything shown in Iron workshop's tutorial

primal mantle
#

what about dlc?

limber badger
#

What about those?

#

I have them on

primal mantle
#

ok

merry trout
#

@limber badger

#

this is what i meant

#

one is from steam

#

and other from the mods path

primal mantle
#

?

#

waht do you mean?

limber badger
# merry trout

I am a little confused, but i have it in the launcher if thats what you meant

merry trout
#

u can start ur mod

limber badger
#

One

merry trout
#

ohh

#

then i dont know

#

but dissabling the one from the steam path worked for me

#

i had the same issue

primal mantle
#

maybe you don't see changes because you do something wrong in code (national focus etc.)

limber badger
#

No the code was checked

merry trout
#

no he said it works for others

limber badger
#

As i said, one person tried the code

merry trout
#

i had teh same issue

#

the*

primal mantle
#

so there is one solution

limber badger
#

aw man, i have been trying to fix it for three days now :D

merry trout
#

is ur mod up on steam

primal mantle
#

make new one and copy code

limber badger
limber badger
primal mantle
#

wtf

limber badger
#

like uploaded?

#

or

merry trout
#

yes

limber badger
#

its not

#

Its only for me

merry trout
#

hmm

#

so is it

#

in the steam workshop files

#

or not

limber badger
#

no

#

its in the documents mod folder

merry trout
#

oh alr

limber badger
#

that paradox created automatically

merry trout
#

then idk

#

sorry

limber badger
#

No worries, thanks for the help anyways

merry trout
#

are u in modding den server

#

maybe they can help

primal mantle
#

what is this server?

merry trout
#

i dmed u it

limber badger
#

I am not, i'll join it if i don't fix it today

merry trout
primal mantle
#

can u send me on priv?

merry trout
#

sure

meager epoch
#

hey I was making my mod but I accidentally got rid of the remote file id, is there any way to get it back cuz now the game says its missing a descriptor file

meager epoch
#

how do I do this?

merry trout
#

In mod folder

#

It should be ur mods name

#

The directory to ur mod folder isn’t right

meager epoch
#

the remote file id should be the mod name?

#

or the mod folder?

merry trout
#

What’s the remote file id

#

Never heard of that

#

There should be a notepad file in ur mod folder

#

Named after ur mod

meager epoch
#

this is what I have in my mod folder

meager epoch
limber badger
#

Any kind soul that could help me swap country leader traits?
current code:
completion_reward = {
swap_ideas = { remove_idea = CZE_democratic_bastion add_idea = CZE_beacon_of_liberty }
if{ limit = { country_leader = CZE_edvard_benesh}
swap_country_leader_traits = {
remove = indecisive
add = SWI_conservative_democrat
ideology = conservatism
}
}
}

timber zenith
# meager epoch is it this?

remote file id is the steam workshop ID for your mod. inside the folder with the directory documents/paradox interactive/hearts of iron IV/mod there will be a file named yourmodname.mod or whatever you named your mod (likely the mod's folder name)

#

if that file doesn't exist you should copy-paste an existing one from the same area and modify it for the information of your mod

meager epoch
#

ok

#

are there any guides or tutorials you guys would reccomend for learning how to mod

limber badger
#

iron workshop

#

on youtube

#

its even in the pinned here on discord

limber badger
#

@timber zenith

#

Sorry for pinging you like this, but would you happen to know where i can assign leaders to political parties?

#

I can't use wiki atm for some reason

pastel crater
#

Is there a mod that lets you change your flag without making a formable

obtuse condor
#

I need help with the GFX

lofty plaza
obtuse condor
lofty plaza
#

I don't think hoi4 takes PNG

#

At least for focuses

limber badger
#

it should be dds form, right?

lofty plaza
#

Yep

obtuse condor
#

Ok, wait a minute

lofty plaza
lofty plaza
#

Have you checked the error log?

obtuse condor
#

Oh

lofty plaza
#

Hm yes

obtuse condor
#

What I can do?

obtuse condor
#

@lofty plaza ?

gaunt merlin
#

I have this two problems in my mod, the first one is the name of Nestor Makhno, which is "MAK_nestor_makhno_army", and I want to be just "Nestor Maknho". The other problem is the name of nation doesn't appears in diplomatic actions. Could anyone help me? Sorry for my bad english.

meager epoch
#

I followed the Iron workshop guide on how to make new states, so I started with a state for the american side of the mexican border. Currently it just doesnt show up

bronze trellis
#

for some reason, it spews both "Partido Liberal" and PCCh as the ruling party, even though I have never put the Partido Liberal group into the code.

#

fixed

median hollow
#

guy can anybody help me

#

my mod is on but when i start the game
vanila version starts

bronze trellis
#

leave it as a folder plainly.

#

not a zip file.

merry marsh
#

Hey, I'm looking for 5 people who want to create a mod with me. If you feel like it, contact me 😄

bronze trellis
#

check.

median hollow
bronze trellis
#

i can already see you have the wrong version installed for your launcher

#

should look like this

#

if you hover over the

#

warning sign

median hollow
bronze trellis
#

the version should be in the "Home" tab

#

on the right side of your screen

#

okay so hold on

#

is this YOUR mod.

#

or is this a mod you installed

median hollow
#

yup i can see it

median hollow
#

not my mod

bronze trellis
# median hollow i installed it

try to find a version that is basically up to date with the version of your HOI4 instance, if you can't find one try scrolling through

Steam - Hearts of Iron IV - Properties - Betas and you should be able to enroll into the older versions, if you can't then get yourself a private beta key.

#

which should give you a list of more versions you can update your launcher too.

#

In this brief tutorial, we'll show you the fastest and simplest method to change your Hearts of Iron IV (HOI4) game version in less than a minute! Whether you're looking to switch between different game versions for mods, compatibility, or other reasons, we've got you covered. Say goodbye to the hassle of manually modifying game files, as we gui...

▶ Play video
thorny cypress
#

I litteraly joined the serv for a simple issue... THIS

Im creatung my first mod as a test, and I have a national focus that remplace the italian leader by an assembly. Everything is working, except the image. I've searched but didn't find anything, does anyone know what's happening?

thorny cypress
# obtuse condor What I can do?

I don't know much, but you should check the brackets, sometimes they're not closing the right line and it messes up everything

thorny cypress
# toxic mirage Pixels?

No, I checked many times, even tried with an untouched portrait and it's still the same bug

toxic mirage
thorny cypress
#

Nope

toxic mirage
#

Dayum

#

Cant help ;c

thorny cypress
#

Rip, u tried atleast so still thanks .-.

merry trout
#

Is the imagine png?

thorny cypress
#

No, .dds

merry trout
#

Image

#

Oh

#

Maybe u need to make it bigger

thorny cypress
#

It's shown correctly everywhere BUT ingame

merry trout
thorny cypress
#

Yea

merry trout
#

Maybe take another portrait and see if there the same size

#

Because I had something fimiliar

thorny cypress
#

That's what I said, I checked with an original portrait and the same thing happens

merry trout
#

And that did it for me

thorny cypress
#

Np, but still thanks

merry trout
#

If this server doesn’t help ask in Hoi 4 modding server

#

I can send u an invite

thorny cypress
#

I'll see

primal mantle
#

hey, anyone know how can i gei character as leader by focus?

lofty plaza
primal mantle
#

i have but still is previous leader

lofty plaza
#

That's if they have a leader already defined

#

If not then you'll have to do it there

primal mantle
#

how can i define them?

merry marsh
#

Hey, I'm looking for 5 people who want to create a mod with me. If you feel like it, contact me 😄 all are welcome

merry marsh
primal mantle
#

i could help but i have a problem with coutry leader

merry marsh
thorny cypress
toxic mirage
scenic sonnet
lucid stag
#

does anyone know a mod similar to GDW's army insignias but for Field Armies

#

And maybe more army insignias

#

i love having larpy options

obtuse condor
#

Hello i'd like to ask if anyone could help me with a problem. I've recently tried giving focuses in my mod a name. for some it works for some not really
in those pictures the slovakian one works but the ''nert'' one doesn't would anyone know the cause?

wicked birch
#

does someone know how to add image to description?

dry knot
#

Stumped on trying to change the cosmetic tag from British Malaya to British East Indies, but aside from that I’m cooking something

mossy delta
#

does somebody know a good mod for time period between ww1 and ww2?

pseudo python
#

I have a modding question? Is it ok to ask it here?

pseudo python
# merry trout Yes

Ok then, I am using this mod for vanilla with Kaiserredux which adds advisors via a decision but it doesn’t always show the advisors when I do the decision.

toxic mirage
#

And recruit them

#

And make them avaiable via decision

pseudo python
#

I might be able to fix it because if I click the decision before starting the clock it works.

wanton slate
#

Hey! Would anyone here happen to be good at making models/reskins?

timber zenith
#

the regular indonesia has a specific line of localisation that makes subjects change their name to fit the overlord

#

INS_subject: "$OVERLORDADJ$ East Indies"

#

basically whenever INS is a subject it will use that loc

#

So you could just slap that into one of your loc files and change the INS to MAL instead

valid apex
gritty dragon
errant mural
#

What is the most common reason for the nudge tool to crash?

#

I am trying to update my map mod to the newest version of the game

#

but my game crashes whenever I click on the state option of the nudge tool

haughty bison
#

that's just the great war mod

#

great war redux only has 1910 and 1914

obtuse condor
subtle plover
#

My map isn't working

#

I got a balkans map

#

and the game wont open

thorn barn
dry knot
wide lynx
dry knot
wide lynx
dry knot
wide lynx
#

when occupied by british malaya?

dry knot
#

Still undecided, it’s either early during Colonisation era or when the Dutch gets invaded by Napoleon

obtuse condor
#

Would anyone know what could cause some focus names not to work at all even tho they are written in the localisation file for it to work and the other focuses have names with the same naming format as the ones that don't work?

#

i keep getting that some focuses have names and some dont at all and it doesn't work when i try to assign them names.

hard mirage
#

idk why but pictures in events kinda broke after some editing do somone know why?

#

i made this event to work with my new country

#

here too

late vector
#

ive been having problems too, my leader portrait doesnt show up and it just says "no commander", could anyone just list potential reasons for this happening? i'll see where it goes wrong

hard mirage
#

This Hearts of Iron IV modding lesson you will learn how to create the two main types of events in Hearts of Iron 4... Country events and News events, along with their graphics and localization.

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...

▶ Play video
#

this guy helped me much

late vector
#

yep

#

my only beef is he's a bit verbose with his explanation

hard mirage
late vector
#

using needlessly large amounts of words

hard mirage
#

ah

#

kinda ye

#

but when i did the leader exactly as him it worked

late vector
#

mh i guess i'll try again from the start

hard mirage
#

maybe check for these {}

toxic mirage
#

Guys

#

How do i link the dynamic modifiers and the custom effects so i can activate the bariable?

#

Variable

pure scaffold
#

is there console command to reload state files

toxic mirage
#

You mean literally the states?

#

Ike

#

Territories?

lofty plaza
plucky crystal
#

what is the code to make an event trigger another event in another country?

#

pls help me

pure scaffold
plucky crystal
#

like that?

#

CER = {
country_event = {
id = res_res.1
days = 10
}

}

#

but it dont work

#

@lofty plaza

lofty plaza
#

Yep

plucky crystal
#

hmm

#

but is dont work

#

it is here but it is not triggered in that country

proper acorn
plucky crystal
#

but with another country? Is it about changing it and seeing if the event occurred?

#

@proper acorn

proper acorn
plucky crystal
#

yes

#

It doesn't arrive, I guess