#modding

1 messages · Page 81 of 1

obtuse condor
#

do you guys know any mods that say can allow me to have irregular infantry without being aussa/italy?

crisp condor
#

No

#

Oh

#

Thanks didn't know I had to do this

bright viper
#

guys how do i add divisions to my new country

void light
obtuse condor
bright viper
#

can anybody help me please

wicked echo
#

@timber zenith thanks for ur help bro im learning how to do this so fast now

wicked echo
bright viper
#

i need help adding units to my country

#

i dont know how to

wicked echo
#

ill try it right now

#

give me a moment

#

i think i know

bright viper
#

thx

wicked echo
#

so

orchid osprey
#

is OTT even a tag?

wicked echo
bright viper
wicked echo
#

this is what it should be

#

units

bright viper
#

yes

orchid osprey
#

I found this, i suspect this is OTT which stands for Ottoman empire, cant find it anywhere else but cosmetics.txt

#

Why isnt OTT fully-ingame?

#

when i try doing setowner OTT nothing happen

wicked echo
#

ill be quick

#

im unsure on how to do it properly, have you tried watching a tutorial? @bright viper

timber zenith
#

so you'd run set_cosmetic_tag = OTT_UNIFIED and your country name/flag/colour would change to reflect that country tag

#

a full list of countries can be found in common/country_tags

wicked echo
#

civil war focus latvia

snow spire
wicked echo
#

how do i change the leader of a party?

west trail
#

Do any of yall know why this code does not work and China still gets a peace deal? (I want it to be like Ethiopia and not fully capitulate)

crisp condor
#

like htis?

crisp condor
#

it works now

#

thanks

timber zenith
#

Nice, glad to see it

rose heath
#

1930's China is nationalist

#

can we just call it ultranationalism when refering to fascism and stuff like that

#

nationalism is not yet chauvinism

celest dust
rose heath
#

same thing with communist countries beign able to attack the USSR

#

i know Poland and Turkey both have the option to turn communist, and then get a war goal against communist USSR

celest dust
# rose heath but you can have non-aligned governments team up with hitler and not be fascist,...
  1. They can because it's sandbox game, nothing scripted or railed to happen they are just less likely todo so. They would probably have a common war Etc.

  2. Is a more recent trend with DLC's Poland's old focus had it to where if you play commuists you were expected to join the comminturm. But having every nation if they went communist forced to play second fidel to the soviets would be a repedtive game play decision and doesn't take into consideration anti soviet commuists moment's.

cursive heron
#

what are some of the must have mods?

ripe perch
#

does anybody have a list of combat modifier which I can use in the trigger has_combat_modifier?

wintry geode
#

adding 21 field marshals is gonna be great

#

going to need to add death events for them

nimble solar
#

With most Union generals having an attack of 2 or 3

crisp condor
nimble solar
#

Lee out here sending men across a mile of open field

#

What could go wrong, the union center is clearly weak

crisp condor
#

@timber zenith How do i make an attack bonus only apply to a certain tag?

patent linden
#

Is there a way to give a war a specific name?

timber zenith
crisp condor
#

tysm

#

appreciate it

timber zenith
timber zenith
patent linden
timber zenith
#

hope and pray that it does it automatically

patent linden
#

Do you know where the Italian-Ethiopian war gets "started"?

#

I'd assume its in the history file

crisp condor
#

random state

#

random_owned_state

#

or something

#

like that

timber zenith
#

yes

#

there is also a wiki page for scopes if that helps

crisp condor
#

focus = {
id = SOU_tax_the_cotton_farms
icon = GFX_goal_tax_the_cotton_farms
dynamic = yes
x = 30
y = 0
cost = 5
ai_will_do = {
factor = 9
}

    available_if_capitulated = no    
    }
    completion_reward = {
             add_building_construction = {
                type = industrial_complex
                level = 2
                state_id = 365
                instant_build = yes
            }
     
        }
    }
#

is this rit

#

bc

#

no effects

timber zenith
#

building construction needs to have a state scope

#

like we did for the bunkers

crisp condor
#

OH

#

RIGHT

#

thanks

timber zenith
#

no problem

crisp condor
#

completion_reward = {
365 ={
add_building_construction = {
type = industrial_complex
level = 2
instant_build = yes
}

       }
       }
#

still not appearing

timber zenith
#

did you unpause?

crisp condor
#

yes

#

chatgpt fixed it

#

@timber zenith

timber zenith
#

please don't ask chatgpt

#

it gets a lot wrong

#

your code worked for me anyway

crisp condor
#

bro

#

half of the focus tree gets deleted

#

after i remove this

#

on like 105

timber zenith
#

just needs an extra bracket at the end

crisp condor
#

line

#

yes but

#

that makes the focus not give me factories

timber zenith
#

did you check the state itself? the topbar takes a while to update

crisp condor
#

this focus breaks my whole tree

#

skul

#

i deleted it

#

dont need it

#

not now

patent linden
#

I found where the war gets triggered (Italian History file) but the localisation token isn't there

#

i fear this follows the same logic as specific country names

#

GER_SOV_communism_autonomy_puppet:0 "$OVERLORDADJ$ Occupation Zone of Germany"

#

like that shit

wicked echo
bitter apex
#

is there some sort of restriction that democratic or communist states cant have satellites as puppets because I keep setting west & eats germany as puppets of usa & sov but when I load the game they become integrated puppets

timber zenith
patent linden
#

WAR_NAME_ITA_ETH:0 "Italian War on Ethiopia"

#

I'd presume the first Tag is the aggressor and the second the defender

timber zenith
#

you can modify it inside the common/autonomous_states/satellite.txt file

bitter apex
#

omg thank you so much, I have been trying to figure out what I had been doing for an hour or 2

timber zenith
#

no worries

obtuse condor
patent linden
#

Where can I customise Industrial Concerns for a tag

stuck quarry
#

Do concerns have a “avaliable” attribute to them

#

If i remember right and they do, you just add tag = TAG in the block

patent linden
#

I cant find the file where they are defined lol

#

should've made my question cleare, sorry

bright viper
#

can somebody explain to me how to make custom division templates??

#

i want the division name to be ANT_INF_1 but it says its unknown

patent linden
# bright viper i want the division name to be ANT_INF_1 but it says its unknown
division_template = {
    name = "Infanterie-Division"

    division_names_group = GER_MONINF_01

    regiments = {
        infantry = { x = 0 y = 0 }
        infantry = { x = 0 y = 1 }
        infantry = { x = 0 y = 2 }
        infantry = { x = 0 y = 3 }
        infantry = { x = 1 y = 0 }
        infantry = { x = 1 y = 1 }
        infantry = { x = 1 y = 2 }
        infantry = { x = 2 y = 0 }
        infantry = { x = 2 y = 1 }
        infantry = { x = 2 y = 2 }
    }
    
    support = {
        engineer = { x = 0 y = 0 }
        artillery = { x = 0 y = 1 }
    }
}``` First lines of the GER_1936.txt OOB which you can find in History>Units
#

look at the rest of the file, reverse engineer anything else you need

bright viper
#

but I dont want it to use another country's division name group

#

i want a custom one for my country

quartz blade
#

What mods are usually essential or basic for playing in Multiplayer with Friends? I'm sorta of new to playing Multiplayer in HOI4, so any help would be appreciated!

patent linden
bright viper
patent linden
stuck quarry
#

in common

#

i believe the non DLC ones are here aswell as the DLC stuff

crisp condor
#

guys

#

can someone tell me how do i make a country start with units

#

a custom one

#

i already have a template and everything i just need to spawn them at start

crisp condor
#

countries?

#

what do i add therer

#

@ripe perch

bright viper
#

yes in the history file

#

make a new folder called units

#

and take a file from the hoi4 game to use as an example then change it how you want

#

make sure you change the country tag for your own tag

whole siren
#

is there a mod that automatically sortifies divisions in armies for 24 divs size?

crisp condor
#

btw

#

how do i make the sieze union property required for the focus below aswell

#

and not just international relations

#

tried this doesnt work

bright viper
#

im not sure

#

im new too lol

crisp condor
#

nvm

#

its this

#

have to add focus equals aswell before the second one

patent linden
patent linden
crisp condor
#

i wanna make both required for the focus

#

and not just one

patent linden
#

then you do prerequisite = { focus = your_focus_1 } prerequisite = { focus = your_focus_2 }

crisp condor
#

thanks

bright viper
#

okay it worked i had to change it names_divisions

crisp condor
#

can somebody help

patent linden
#

restart your game

#

thats normal

crisp condor
#

thanks

#

@patent linden whats the command to declare war on a tag via focus

crisp condor
#

completion_reward = {
declare_war_on = {
target = USA
type = annex_everything
}

}
}
#

is this right

patent linden
#

in just this snippet, there is a closing bracket too much

crisp condor
#

completion_reward = {
declare_war_on = {
target = USA
type = annex_everything
}

}
#

like this

#

?

patent linden
#

yep

crisp condor
#

nope

patent linden
#

yeah i thought so, that was the focus closing bracket

crisp condor
#

okay i added it back

patent linden
#

I cant find an error in the code

#

try restarting one more time

crisp condor
#

ah

#

that works

#

ty

patent linden
#

you're welcome

crisp condor
#

how do i make a focus locked until youre at war with USA*

#

?

#

i want to make this focus locked until your at war with USA

#

tried this but doesnt work

#

nvm

#

figured it out

bright viper
#

guys

bright viper
#

how do i make a focus only available if the stability is below a certain percentage

shell hawk
#

Aliya, Queen/Queen Mother of Iraq

#

(Possible Vanilla secret regency path)

crisp condor
#

any ideas what focuses to make to continute the ree

#

tree

fallen shuttle
#

Split it into different fields, like internal affairs (government and politics), foreign affairs (buying equipment from others, securing relations and possibly volunteers) and the military tree which gives you some buffs and generals.

bitter apex
#

why is the east indies still called dutch east indies
I looked through localisation and it says that should onyl happen if they are a puppet of the dutch or else it should be indonesia

celest dust
bitter apex
#

would it be a problem if I removed the cosmetic tag of holland or british raj?

#

I thought they only worked if they were a puppet like INS_HOL or RAJ_ENG made it out to be

timber zenith
bitter apex
timber zenith
#

Yeah, exactly

bitter apex
#

alright ty

#

another question, how would I make it so if a country is a subject of a specific nation they have a different name

#

I am aware its through localisation but what do you put? I tried <tag>_<suzerein_tag>:0 "" but that didnt work

timber zenith
#

You can also remove the overlord tag, or even specify an ideology

bitter apex
#

no 0?

timber zenith
#

The zero is always useless

#

it's only for paradox's internal logic

bitter apex
timber zenith
#

looks good

bitter apex
#

ok it worked ty
I tried this a second ago & it didnt but I launched the game again & well bangladesh was named East Pakistan

timber zenith
#

Nice

#

Yeah changing cosmetic tag requires a restart, or a deliberate setting in console commands

keen adder
#

it is impossible to change month amount from 12 to 16 months (for example)?

patent linden
#

I don't know, but I would assume no

grizzled sandal
#

How can i update mods that already exist in workshop but are outdated

#

Like this one

summer pumice
#

Does anyone here know a mod that allows you to give beneficiaries puppets?

summer pumice
steady moon
# summer pumice sad

Majority of the time the good mods with gameplay mechanics like that are outdated or no longer work

grizzled sandal
steady moon
grizzled sandal
#

XD

steady moon
#

Cause you’d be correct if I was smart

steady moon
#

(Didn’t release anything)

grizzled sandal
#

Rip

shell hawk
grizzled sandal
patent linden
obtuse condor
#

I tried making a custom map, using the mapgenv2.2.0.2, and it crashes when it says its initializing in the main menu

#

do i need to do the like buildings and rocket things and all that for it to not crash?

#

because I know i have to have a state for that, but I would like to have the nudge tool to make the states

#

or is it some other thing

lofty plaza
#

You can't do buildings if there are no states

obtuse condor
#

yea

#

but doesnt the game crash because of no buildings?

lofty plaza
#

Do you have anything?

obtuse condor
#

wdym

lofty plaza
#

Provinces, states, strategic regions and whatnot

obtuse condor
#

I got provinces

#

states i guess too

#

my strategic regions have all the base game ones, without any text in them

#

and i have a test strategic region with around like 50 provinces

#

i have 1400 provinces

#

and for states i have 21 states

#

that are i guess already made

#

unless the states are the problem, and the game wont let me boot it because the states are assigned to no one

patent linden
#

How do I get rid of the generic advisors

crisp condor
#

why isnt the localisation working

timber zenith
crisp condor
timber zenith
#

You should change the name so it doesn't override the vanilla content

crisp condor
#

ohh

timber zenith
#

and what is the file path?

crisp condor
timber zenith
#

alright yeah that looks fine

wind sage
#

@crisp condor If you want, dm me all the files

#

It might be easier to spot the mistake like that

#

It must be something small

crisp condor
#

still not working

#

i renamed it to this

wind sage
#

But it works for Robert?

crisp condor
#

yeah

#

and i cant find the file that i put robert in

wind sage
#

Send me the whole mod into DMs

#

I will check

#

It is not a problem for me

crisp condor
#

because i stole czech country file

#

my divisions are named number. divizija

#

how do i change it

#

how do i change the division names group

#

how do i create my own

bright viper
#

[15:58:25][1936.06.03.21][character_manager.cpp:246]: Failed to generate a name for a character of origins Ant Republic and for country Ant Republic

#

how do i fix this??

crisp condor
night mirage
#

hello i am looking for polish people. i need someone who could explain some htings in my native language.

bright viper
orchid osprey
#

mhm found a cool way to make the map more realistic

#

this how normal vanilla looks like

stuck quarry
#

Lookin very mappy

bright viper
#

guys how do i make a focus ban political parties

rustic tusk
obtuse condor
#

Hello, trying to find which file holds the names of buildable equipment that is unlocked for a nation at the beginning of the game. I.e. "Pensacola Class" for a US Heavy Cruiser design, "Ju 87" for German CAS, etc. Been searching for a really long time and coming up dry.

#

Nevermind, looks like it is the history/countries files

limber torrent
lofty plaza
#

Bro does NOT know how this works

patent linden
#

Tell him he has to download the Thingamajig for it to work

mighty abyss
#

how do u add mods to the game?

patent linden
#

Depends on what exactly you mean

orchid osprey
mighty abyss
#

i got from steam workshop and it aint working

orchid osprey
#

send screenshot

patent linden
#

In the launcher you have a mods tab

orchid osprey
#

yeah

#

in the launcher you have playsets

patent linden
#

You have something called "playsets"

#

yeah that

orchid osprey
#

in playsets add that mod

mighty abyss
#

can u guys join helping lounge?

patent linden
#

they are bundles of downloaded mods that you can customise

mighty abyss
#

il be streamong the thing

orchid osprey
mighty abyss
#

its the loading screen

#

does it work?

#

jus taking a while

#

tytyytyt

patent linden
#

you're welcome

mighty abyss
#

do i neeed to sign in?

#

@patent linden

patent linden
#

As far as I know, no

mighty abyss
#

ok

signal tangle
#

Are there any good mods set in like the 1700’s or 1800’s?

prisma ivy
#

Anyone made a war for cybertron mod or nah

prisma marten
#

help me

#

i got map errors

final tinsel
#

now new modders should make scientist

patent linden
#

I hate DLC based business models so much

green sentinel
distant island
#

so i have a problem with events.i made an event and it works fine but the problem is the time.i want it to fire at 26 of january but the game loves to fire it 3 of january

edgy solar
#

maybe change the direction of the < to a >

#

since as it stands it'll fire anywhere between the start and 25th of Jan

final tinsel
#

"date > 1936.01.25"

distant island
#

ok ill try that

distant island
#

i even restarted

timber zenith
#

and it might be easier to set up an on_startup on action

#

have the event be delayed by 26 days from inside that on action

distant island
#

ill try that

patent linden
#

Is there an on action that can be used to track wether a certain political advisor has been hired or not?

bright viper
#

guys how do i make a focus give a country a +10 relation opinon of my country

distant island
patent linden
#

How do I assign blueprint designs to a tag? I keep getting the genric ones... I got the equipment icons to work through the graphic db files, but they dont seem to contain the Blueprints

obtuse condor
patent linden
orchid osprey
#

progress: added munich and bavaria

#

and a new state for the munich

#

wait wtf is munich doing it france

proper acorn
orchid osprey
proper acorn
stray prawn
#

how well will sheep'd mod work with rt56?

#

combine a much "better" ai with focus trees

patent linden
hybrid sapphire
#

i was trying to create an event by the paradox tutorial but i cant figure our why the text is like that

bitter apex
#

how do you get the kaiser to be the leader of germany
I tried setting germany to neutrality but that didnt work

rose heath
bitter apex
rose heath
# bitter apex do you know which

when you complete the focus called something like "return of the kaiser" there is an event chain related to it
netherlands will get an event, being able to possibly block kaiser's return
if they don't you get an event that sets kaiser as your leader i'm pretty sure

#

i don't remember exactly, but you could simply see how germany's focus tree already works

bitter apex
rose heath
#

that seems easier than playing with events

bitter apex
#

how?

#

ive no clue what the function would be for setting a character as party leader

rose heath
#

and then within that file you should be able to set it up

orchid osprey
bitter apex
patent linden
fossil cradle
#

How do scripted ai peace conferences work?

Trying to search for BT but can't understand well, even on the wiki

prisma marten
#

add the zero infront of the :

bitter rover
#

Working on a bit of my mod and this happens

#

like 5000 lines of it

#

However the event works as intended?

#

anyone know what's happening?

timber zenith
timber zenith
bitter rover
distant island
#

how do you make it so when you choose for example the right focus,the other branch gets hidden?

timber zenith
distant island
#

anywhere in the focus?

timber zenith
#

yeah

#

not inside any other scope

distant island
#

alr thx

timber zenith
#

no worries

distant island
# timber zenith no worries

how do i make it so when i do the left focus the right branch gets hidden?tried the same thing on the left focus but it doesnt work on that

timber zenith
distant island
#

ok its because i put that dirty thing on set politics thing

#

ok now it works

#

thanks for the help

timber zenith
#

cool

#

no problem

distant island
#

btw im reworking greece

timber zenith
#

oh that's cool, good luck!

distant island
#

thx

#

im doing it all from scratch

#

months ago i wanted to remake greece but i used the same assets so i had many problems

#

how do i make it so an event is triggered at exactly 13 of april?

timber zenith
#

anyway you can setup an on_action

distant island
#

the event is supposed to be a leaders death

timber zenith
#

if you use on_startup, you can put a country event and set they days delay to be 103 days

distant island
timber zenith
#

Change the file name, so it doesn't conflict with the vanilla files

#

and i'd recommend using notepad++ for modding

#

or are you using vsc?

distant island
timber zenith
#

ah cool

distant island
timber zenith
#

Yeah

distant island
#

alr

timber zenith
#

i'm not sure if the on_actions part in the name is necessary or not

#

probably not

distant island
#

something i hate doing is localization.i made an event and now its just named soviet ultimatium so ill need to change the localization

#

do i need to restart after making changes on events?

timber zenith
#

Yeah usually you do they can be finnicky

#

exiting to main menu and rejoining might be as effective

distant island
#

i hope i wont need to restart

#

it doesnt load quickly for me

bitter apex
#

hey erm how do you set a character as the leader of a ruling party

hybrid sapphire
timber zenith
bitter apex
bitter apex
timber zenith
#

so put the kaiser first

bitter apex
#

oh ok

distant island
#

hoi4 doesnt find this event

timber zenith
distant island
#

nevermind

timber zenith
#

or exit to main menu/rejoin

distant island
#

i put it inside another event

#

imma fix it

timber zenith
#

ah yeah that happens

distant island
#

ok now i fixed it

#

how do i replace him with metaxas with an event

royal sparrow
#

i made a mod thats allows the u.s to create homelander

orchid osprey
distant island
#

so demertzis is supposed to be replaced by metaxas but for some reason he is still in the party

#

ok i fixed it

willow aspen
#

helo

timber zenith
#

waitnvm

distant island
timber zenith
#

i didnt see that msg ahahha

distant island
#

lol

#

w portrait?

#

totally did not take that from the internet

distant island
#

i dont know why this happens but on my mod when it reaches 12 of april 1936 germany and uk turn non aligned

#

i think it happens 1 day before this event fires

#

ok i think i know why

#

localization really sucks

#

idk what happened but it got fixed by itself

distant island
#

dude i changed localization.why does it keep doing this

timber zenith
#

You should also use tag = GRE instead of country_exists

#

because then it will scope to greece and not other countries, which is what I think was happening

wet bronze
#

How much soviet Cities do i gotta take so they will capitulate, i took over Moscow and Stalingrad but still they wont capitulate

#

Also its road to 56 mod

#

No idea if that changes anything

#

I typed it on modding just incase

void light
#

If anybody here is trying to do a HOI4 mod or you are looking for a professional to handle that, maybe a map, mod, focus tree, portraits et.c I've got you covered. You can DM me and we get started
You can also find me here on Fiverr https://www.fiverr.com/aree_justin/create-a-top-notch-hearts-of-iron4-mod-focus-tree-vanilla-style-hoi4-portraits

timber zenith
edgy nacelle
#

I'm making a thing, and I want to know how to significantly decrease the penalty for sortie's from carriers, I think it starts stacking after 4 carriers in a fleet, gaining 20% penalty up to 80%, but does that mean that if I were to do "sortie_efficiency = 1" it would remove this penalty system entirely? or is there something i'm missing?

bitter apex
#

how to apply a cosmetic tag to a country only if they are a puppet of a specific country, Im trying to make a decentralised austrian empire

pale sparrow
#

The game will automatically apply a puppet country name if defined, I think flag too

bitter apex
#

oh ok

pale sparrow
#

Check German RK names/flags

#

I think they get applied automatically, if not, only name apparently works automatically

pine lagoon
#

A focus for some reason isnt appearing

#

even tho all brackets line up

pine lagoon
patent linden
#

How do i Put an Airwing on an aircraft carrier through the OOB

surreal stream
#

how does one upload the hoi4 code to VSC for modding'

#

🇸🇴

#

10/10 activity from the hoi4 modding community

#

will be using google for the next hour of my life

quasi saddle
honest eagle
honest eagle
honest eagle
surreal stream
#

in hindsight exactly what you said

#

myb

honest eagle
#

It’s alright

#

Have you ever modded hoi4 before?

surreal stream
honest eagle
# surreal stream hell nah

Ah ok
I recommend you watch the iron workshop’s guides, idk if they’re completely outdated yet but they helped me immensely with getting started with modding

https://youtube.com/@theironworkshop?si=dCKw9iDBzaimkH0o

#

It also helps prevent mess ups like editing the main hoi4 files :)

grand relic
#

I'm looking for interesting mods on the First World War

honest eagle
#

I don’t think there’s any other major WW1 mods

tepid notch
#

whats a good way to make good looking portaits

wicked echo
#

im getting the error "[18:01:29][1936.11.20.12][effectimplementation.cpp:1755]: common/national_focus/latvia.txt:413: add_ideas: Invalid idea: idea. If you wanted to reference a variable, you need to explicitly prefix it with var: or temp_var:."
and my game crashed

bitter rover
#

is it not possible to send multiple of the same event to a country?

#

I have an event I use to demand a certain state from a country, and I'm trying to fire two of the event at once in a focus (targetted to different states). However, it only fires once

distant island
merry marsh
#

can anyone help me my country leader is not working in the game

exotic kettle
#

I'm sorry, but how on earth do I complete this. I have tried to be successful with it TEN TIMES!! and all times i can't overthrow the government. Anyone who plays the MD mod please helpe me!

high hatch
#

Hi, I have a question.
I made a custom autonomous_state, and I want anyone (democratic include) can use that for a target country. Otherwise, the puppet option (here, I am democratic UK) isn't available. Any idea? I disable all DLC by the way, to test for a user doesn't have any DLC.

fossil cradle
#

Its EAW and the GFX artist has to have experience in GFX focus from focus tree

thin chasm
#

Does anyone know what that one minutely detailed historical China mod is called?

#

I was thinking about it the other day, but now the name escapes me

delicate edge
#

Or Hagakure? Although that's all of east Asia

thin chasm
#

Eight Years, that's the one

#

Cheers mate

proper kernel
#

hey guys

#

can someone help me put a mod into the game please?

#

it doesn't work for me for some reason

cosmic trench
distant island
#

so i made an event and it shows it like this and when i do the command it says that no event for this id found.thats the code

distant island
distant island
distant island
high hatch
distant island
#

so i want to make an event change a leader to a custom one i made but it doesnt work.

bright viper
#

has_completed_focus = {
focus = ANT_step_back
days > 175
}

#

how do i make this work

left condor
#

So uh i got a X crossing error and i can't find the provinces with the problem so can anyone fix it without removing any province?

#

anyone who has photoshop, can you use the pixel finding tool or smth?

edgy solar
#

you need to show the error log aswell

#

so it says where it can be found

left condor
#

got it

edgy solar
#

that should work now without the x crossing error

final tinsel
#

i have one question:
for better optimizing mod, which one is better: dynamic modifier or just swapping ideas?

mild spoke
#

Hey all! I just started modding yesterday. Currently working on a mod that adds a "couple" decisions. It's basically a questline where most decisions are hidden, and only shown after the decision preceeding it in my "quest line" is completed. Atm, i'm making this possible by having an idea that I keep replacing, and making the number of the idea be the thing that enables/disables a decision. So for example the second quest requires the nation to have "some_idea_1" and once completed, it replaces "some_idea_1" with "some_idea_2", and the next mission is only show if the nation has "some_idea_2" and so on. So...basically kinda overcomplicated imo

#

Is there a way to implementing the same functionality, without this much effort?

edgy solar
#

you can find a couple of good examples in the dynamic_modifier folder

mild spoke
#

Thanks for the suggestion, I'll take a look at it

#

all these ideas are making me go nuts lol

edgy solar
#

i would use the soviet ones as a basis

#

and i think you find those ones in their country file

#

I could be wrong

mild spoke
#

In any case, at least you gave me somewhere to look

#

so thanks a lot

edgy solar
#

if you ever get stuck you can always stare at the wiki and hate its design lmao

mild spoke
#

its so bad

#

and there's no dark mode 💀

edgy solar
#

you can get the dark reader extension for google

#

it forces dark mode over every site

#

makes images a nightmare sometimes but atleast you can see them

mild spoke
#

you were pretty on point with the soviets

#

now instead of having tonns of different ideas and unnecessary if else if checks, I just have a single variable that tracks which "quest item" the player is on, and some dynamic modifiers applied for the national spirit

#

looks a lot cleaner

edgy solar
mild spoke
#

Colonizing the moon is gonna be fun

#

thanks

burnt elbow
#

I created a focus which gives 4 civilian factories, but it dont works. I have this civs builded but the game says that I have 0.

#

It only works when I change the goverment or somethin else.

wintry geode
#

how do you build ports in focuses?

#

Want this province in wales to gain a port

#

add_building_construction = {
type = bunker
province = 9263
level = 3
instant_build = yes
}

obtuse condor
#

can someone help me with an issue im having?

#

i am making a ww1 hoi4 mod, i used a normal looking flag .pngs

#

and they are upsidedown and inverted

wintry geode
#

whats wrong with this 5?

lofty plaza
#

This will help you

obtuse condor
white cove
bright viper
#

how do i add a custom chief of army

quaint ether
#

can someone help me make a custom country in hoi4?

subtle plover
#

Any recommendations for portraits?

quaint ether
subtle plover
#

like the software

quaint ether
#

I think paint.net but all the downloads look skecty

final tinsel
#

is that bug?

mild spoke
#

Altho I think I read something on the wiki that flags are special in some way

wintry geode
mild spoke
#

hey all, I'm having problems setting the picture of a national spirit

#

I think I got it right in the .gfx file

    # MARK: IDEAS
    spriteType = { # THE FUTURE OF TRANSPORT IDEA ICON
        name = GFX_idea_ttm_future_of_transport
        textureFile = gfx/interface/ideas/ttm_future_of_transport.dds
    }
#

and based on the wiki, I shouldn't have to provide a picture=[something] property for the idea itself, since the name of the idea matches the name of the spriteType

#

so it looks like

        ttm_future_of_transport_1 = {
            name = ttm_future_of_transport

            modifier = {
                research_speed_factor = 0.02
                civilian_factory_use = 5
            }
        }

#

but it doesn't really matter, cause it doesn't show either way

#

can anyone see the problem?

obtuse condor
mild spoke
# mild spoke can anyone see the problem?

I kinda feel stupid, but the wiki did say name, and theres the name field of the idea itself, but I just found out its using the name ttm_future_of_transport_1 not the name=[something]

mild spoke
timber zenith
#

as the Brit said the files need to be in a .tga format else it won't work

#

you'd be saving yourself a lot of time over inverting and flipping textures which still isn't gonna work

obtuse condor
grand relic
#

Why does the Millennium Dawn mod keep crashing? Need DLC?

fossil light
#

hi, how would i add a game rule that allows every country to always create a faction?

bitter apex
#

guys how do I get rid of existing autonomous states
I thoguht just putting an empty autonomous_states file in common would do that but it didnt

left condor
#

how do i rename states in a map without changing the names of states in vanilla

#

cause i can't with this shit bro

keen adder
#

the game freezes forever

#

I clicked "Validate All States" and it freezes

#

I think there's too much states

left condor
quaint ether
mild spoke
#

Ask google

quaint ether
mild spoke
#

Or look at game files

quaint ether
#

All the tuts are outdated

mild spoke
#

You dont need 2 days straight to be askibg for how to make a country

#

Then look at game files

quaint ether
mild spoke
#

Its all in there thankfully

#

Thats whats so good about pdx games

#

So you can just look for something like FIN - Finland.txt, copy paste it into your mod, and change what you want

quaint ether
#

Should I just take some random country and fill in the blanks

mild spoke
#

If something doesnt seem to work, the wiki is there too

quaint ether
#

Alr thanks

mild spoke
#

And im not sure, but i think there are quite a few guides on the forums as well, just gotta find them

#

I cant directly help, never made a country before

#

But everything necessary is easily findable

left condor
quaint ether
bright viper
#

how do i make it so my custom country cant release other countries?

keen adder
keen adder
#

Colorado (STATE_382) keeps freezing while validating in state.

quaint ether
#

its my mod im making

obtuse condor
#

Literally me if i was scotland in ww2

subtle plover
#

Anyone have some good basic mod ideas?

#

I am still starting modding

#

and I want something fun and interesting

#

But easy enough to learn

timber zenith
#

ah i see

#

your changes are in documents/paradox interactive/hoi4/

#

drag them into your mod

timber zenith
fossil cradle
#

EAW Submod. For focus tree GFX

wheat dragon
#

Can anyone make a mod which is nerfing log strikes?

cursive atlas
#

Does anyone know how to give a custom country land units?

long helm
#

Its easy, copy and paste another nation’s oob and change the name of the file for the tag of your custom country and then in history/countries find your custom country’s file and there you choose the oob, you can look at other nation files for reference

#

From there you can edit the oob file however you want

cursive atlas
#

Alr thanks

plucky crystal
#

start_civil_war = {
ruling_party = cga
ideology = neutrality
size = 0.8
only_own_territory = no
capital = 282
states = {
554 675
+
}
keep_unit_leaders = {
750 751 752
+
}
keep_political_leader = yes
keep_political_party_members = yes
+
} how to make to player be

#

it

#

anybody can help?

bright viper
#

What part in the HOI4 code does Germany get the option to divide France into Vichy France?

plucky crystal
#

why its removing when i add this focus?

#

i have it bigger

quaint ether
left condor
#

BRO HOW DO I FIX THIS ERROR

prisma marten
#

maybe an extra }

left condor
#

HOW DO I FIX THE STATE ID CONFLICTSC VJIEGIFDIJJI

#

i'm going insane

#

where is the x crossing here

patent linden
#

Most sane Hoi4 modder

quaint ether
quaint ether
#

its doing this

left condor
dense crypt
subtle totem
#

I have noticed you can't add namelists without it preventing Ironman mode, is this intended?

distant island
#

guys are these correct?i made an event that changes the country leader but for some reason it doesnt change the leader

distant island
#

no.but another person is helping me rn

quaint ether
#

country

distant island
#

ok so i still have the problem.in the 2nd pic you can see everything that the event is supposed to do.it does everything said there except making my character as leader.the error log also has nothing that has to do with the leader

glass dagger
rose pivot
#

I'm having trouble cleaning up my focus tree. offset = { x = 30 y = 0 trigger = { has_completed_focus = SLO_unite_the_opposition has_game_rule = { rule = obsolete_focus_branches_visibility option = HIDE } } }i do set focus but the branch stays. I have the gamerule turned on

quaint ether
wintry geode
#

HOI4 effects are like a maze

#

which effects adds civ construction speed again?

#

production_speed_industrial_complex_factor = 0.05

lofty plaza
wintry geode
#

when i search for it nothing comes up

#

paradoxwiki is overrated honestly

lofty plaza
quaint ether
ornate pebble
#

whats with the sudden influx of chinese translated mods on the workshop front page?

signal tangle
#

Check in common/countries

#

I think

wind sage
#

I am doing a custom focus tree for the US, for Vanilla, so no eco changes etc

I want to hear your ideas for "Implement "Victory" plan"
I was thinking about 12-15 both military factories and dockyards, and a powerful spirit on top.

The requirements is to be in a war with at least 2 majors and the last major standing on your side.

Does someone have any other ideas I can use?

cursive atlas
#

Hey I have a problem with a mod in making. I have created a focus tree and everything but when I wanna change the completion reward of a focus, all the focuses that come after disappear

viscid depot
cursive atlas
viscid depot
grizzled sandal
#

How to change states

#

I want to make better states but updated

cursive atlas
viscid depot
cursive atlas
#

I don’t have my computer with me

viscid depot
#

O ok

#

Let me updated when ur home and have pc

balmy ravine
#

Hello, I have a issue when making a portrait mod, I made a mod with a basic test\gfx\leaders\GER\Portrait_Germany_Adolf_Hitler.dds folder for test,
I am sure I enabled the mod in launcher and I am sure that the picture is available as HOI4 leader portrait,
but it still have no changes in the game, what may be the reason orr steps I forgot?

hidden current
#

i mean the provinces look

#

you see

#

kinda bugged

hidden current
#

pls guys

#

anybody

keen geyser
#

can someone help me

#

i want to make a decision that annexes all puppets of the nation

#

i only need the thing u i need to put under complete effect = {
cause i know how to do the decisions themselves

fiery nest
#

Smart

fossil cradle
#

How do i modify fighting strenght, organization and level of units that spawn by event?

bright viper
#
start_civil_war = {
                ideology = fascism
                size = 0.9
                if = {
                    limit = { NOT = { ANT = { owns_state = 26 } } }
                    capital = 26
                    states = { 22 21 26 20 32 33 1 735 677 680 554 458 462 461 513 459 460 665 553 272 556 543 706 708 713 268 557 514 515 776 777 778 779 780 781 782 786 851 }
                    }
                else = {
                    capital = 20
                    states = { 21 20 32 33 1 735 677 680 554 458 462 461 513 459 460 665 553 272 556 543 706 708 713 268 557 514 515 776 777 778 779 780 781 782 786 851 }
                }
                states_filter = {
                    owner = { original_tag = FRA }
                    OR = {        
                        # lets not involve syria or tunisia in civil war flip if occupied by other party
                        AND = {
                            OR = {
                                state = 554
                                state = 680
                                state = 677
                                state = 458
                            }
                            controller = { # FRA not controller
                                original_tag = FRA
                            }
                        }
                        NOT = {
                            OR = {
                                state = 554
                                state = 680
                                state = 677
                                state = 458
                            }                        
                        }
                    }                    
                }
            }
#

can anybody tell me why this doesnt work

obtuse condor
#

I can't find alf landon's character name

#

please help

stone lake
#

Hi guys, I want to mess around with realisitc manpower, how many men each battalion is supposed to have. I'd appreciate any sources on german divisions

timber zenith
#

you can get rid of the OR there all together and it'll work

hard mirage
#

Im planning to do new Pictures for leaders can i sonewhat give them without creating a new country?

prisma marten
#

can yall help me what is causing my game to crash? im modding a custom map

brazen swallow
#

My Africa campaign mod has 1000 errors bruh

flint sail
#

this is quite weird, the event is not popping on startup can anyone help?

timber zenith
flint sail
fair ridge
#

`add_namespace = war_disapproval_event

news_event = {
id = war_disapproval_event.1
title = war_disapproval_event.1.title
desc = war_disapproval_event.1.desc
picture = GFX_news_event_generic_parliament
is_triggered_only = yes

major = yes
is_triggered_only = yes

option = { #ally disapproves war
    name = war_disapproval_event.1.a
    trigger = {
        FROM = {
            is_in_faction_with = ROOT
        }
    }
}
option = { #major disapproves war
    name = war_disapproval_event.1.b
    trigger = {
        FROM = {
            is_major = yes
            NOT = { is_in_faction_with = ROOT }
        }
    }
}
option = { #minor disapproves war
    name = war_disapproval_event.1.c
    trigger = {
        FROM = {
            is_major = no
            NOT = { is_in_faction_with = ROOT }
        }
    }
}

}`

#

Hello I want the news event to show up like 1 Day after the diplomatic action has been taken, currently it shows up at the moment the action is triggered, what should I do?

wind bison
#

i have the millenium dawn mod but its really buggy atm, mainly because when i try to invite a friend after he leaves/encounters a bug where he has to exit the server he can no longer rejoin because it doesnt let him ready up as any nation after i accept him into the server, can anyone help

final tinsel
#

is there anyone who is good at making scripted gui?

#

i'm making parliament diagram for democratic countries in my mod like:

#

but if i copy this code to another democratic country(with variable changed onto the code), then this system does not work

#

but the country with pasted code is working:

#

is there something that i forgot to add on code?

subtle totem
#

I have noticed you can't add namelists without it preventing Ironman mode, is this intended?

cosmic trench
final tinsel
#

🤔

final tinsel
cosmic trench
final tinsel
#

uh just my taste

final tinsel
cosmic trench
final tinsel
#

im not modder in millenium dawn

cosmic trench
#

I tried to mod a few days ago but it went really bad

light token
#

How do I remove Stalin's Paranoia from the game?

grave hazel
#

are you trying to stay historic or are you trying to overthrow him?

light token
grave hazel
#

I want to say its the focus The bloc of rights and troyskyites that take care of it, i'd use the search function in the focus tree and type in something like paranoia to help highlight the ones you need

light token
#

I mean, how I mod the mechanic out of the game?

grave hazel
sly hawk
#

Can someone help me out? How do I generally find the stupid f*ing chances for events like these happening in the code?

#

Which folder do I look in?

#

I'm so sick of save scumming this shit.

fossil cradle
#

Mod: Eaw

GFX for focus tree

orchid osprey
#

i need help, i changed the provinces and terrain map, but still it somehow even only ruined all of the provinces

blazing adder
#

Is there a mod where it adds (and overhauls) the building and economy?

#

To add more depth

#

And some peacetime/neutrality content would be cool too

pine lagoon
#

Is there a good tutorial on how to make a custom interface

#

Or one of those that are usually in the decisions tab

smoky wolf
#

.

summer pumice
#

Does anyone have a list for the things a idea can effect, and what to write to make it effect them?

hard mirage
#

guys where i can change the leader photo ? before it was here

#

Cuz bufore there was create_country_leader

summer pumice
hard mirage
summer pumice
#

That didn't really help with my question

#

I was wondering if I would set a minus before to decrease the factor or a plus

hard mirage
summer pumice
hard mirage
#

and i want to change leader photos but i forgot where

summer pumice
summer pumice
hard mirage
#

well i know that

#

but to change in the files to use the photo

edgy solar
hard mirage
summer pumice
edgy solar
# hard mirage

if you wanna change the portrait itself go to gfx, if you want to change which portrait is used if you add a new one go to common/characters and then the country you want to change

hard mirage
#

thanks

summer pumice
edgy solar
#

your guess is as good as mine lmao

summer pumice
#

just gotta try to decrease by 20

edgy solar
#

but to add 1.5% you would set it a value of 0.015

summer pumice
#

oh yeah

#

nvm

#

I am dumb

#

saw it now

summer pumice
edgy solar
#

not sure but this is what the wiki says about it

summer pumice
#

alright

#

I still don't understand it lol

edgy solar
#

me neither

#

i just know which ever one is yellow coloured is better kinda

summer pumice
#

is one like, for percentage and one for like nu,ers

edgy solar
#

since its overall manpower

summer pumice
#

thanks!

edgy solar
#

np

spice meteor
#

What mods do you guys use for singleplayer?

orchid osprey
#

Does anyone know where the capital star gfx is located at? ive been looking for it for so long, couldn't find it.

light token
#

How do I add more than three Political Advisors?

#

Take this from the 1930 start date mod as an example.

left condor
#

guys where do i change how do borders and the map looks like?

#

found it

balmy ravine
#

Hello, I have a issue when making a portrait mod, I made a mod with a basic test\gfx\leaders\GER\Portrait_Germany_Adolf_Hitler.dds folder for test,
I am sure I enabled the mod in launcher and I am sure that the picture is available as HOI4 leader portrait,
but it still have no changes in the game, what may be the reason orr steps I forgot?

timber zenith
supple aspen
#

hi does someone have a 2024 mod

balmy ravine
wind bison
#

i have the millenium dawn mod but its really buggy atm, mainly because when i try to invite a friend after he leaves/encounters a bug where he has to exit the server he can no longer rejoin because it doesnt let him ready up as any nation after i accept him into the server, can anyone help

hard mirage
#

hearts of cats 4

magic bay
# hard mirage

Would be better if the Japanese, American, French cats weren't AI generated

jagged tide
magic bay
#

Soviet cat is a bit suspicious

#

Italy and UK are real

#

100%

jagged tide
#

why doesnt the english cat have like beans on toast or something

#

why doesnt he have anything

#

why is he just a cat

magic bay
jagged tide
#

the american cat is just a patriot

#

and so is the french cat clearly

patent linden
flint sail
covert crater
#

Hi i have question how do I add trade opinions between two specific countries for a national spirit

latent kestrel
#

Does anyone know how to edit the starting compliance/ resistance of a state at the game's start?

cosmic trench
hard mirage
#

and i need to change one more guy

magic bay
hard mirage
#

but i cant find him

hard mirage
hard mirage
#

if someone know where i can change the leder picture for south africa and sułtanate of aussa it would be helpfull

languid mortar
#

23 hours left

round ermine
#

Logo I made reccently for a Project im working on :)

buoyant wharf
#

Guys Should I indtall road to 56 cuz im getting bored of the vanila game

hard mirage
patent sage
#

This is driving me up the wall lol. I've changed countries_l_english.yml, ive propperly defined maoism as a new ideology in 00_ideologies.txt but it isn't showing the People's Republic of China. 😦

PRC_maoism:0 "Peoples Republic of China" PRC_maoism_DEF:0 "the Peoples Republic of China"

`# - Maoism
maoism = {

    types = {

        Maoism = {
        }
        Marxist–Leninist–Maoism = {
        }
        Prachanda-Path = {
        }
        Dengism = {
        }
    }

}`

Anyone have an idea? 😦

timber zenith
patent sage
#

Okay that worked, sucks cause I have to go back into a bunch of other countries now to fix that aswell LOL. Cheers.

final tinsel
#

Question:

#

i am modding equipment production line but tank production line does not work

#

i read wiki pages so many time but i didn't find what is problem

#

is there any tips for solving error:
Country "IMA" does not have any equipment variant for type "light_tank_equipment_1" version_name "4호 경전차" created by "IMA"

edgy fjord
#

anyone has made some focus gfxs they share publicly pls

covert crater
keen adder
#

impossible to use this tool

#

because "Start" button is still unavailable, even I filled text fields (or smth like that)

#

this tool is broken

cosmic trench
sly hawk
edgy solar
#

I can dm the link if you want it

covert crater
covert crater
flint sail
#

so somehow this is getting recognized as a variable than a national spirit?

cosmic trench
covert crater
obtuse condor
#

annoying moment with player led peace conferences mod, my ally UK declared war on Iraq, but because i had 0 war participation i can't do anything, and because of the way the mod works AI won't take any land or decisions either

#

so unless you have at least some war participation, it's gonna be a white peace

#

there should be a way to allow AI to do it's shit

brazen swallow
#

Imagine needing allies

#

just annex them, puppet them or not call theminto the war

#

never need player led peace conference, the cheating mod to steal ai credit

obtuse condor
#

ight bud

#

idc about what happens in a war, i just want the borders to look pretty

#

hurr durr cheating mod

brazen swallow
#

use a smarter ai mod i guess

glad lynx
#

HOI4 BlackICE, why does this thing doesn't work? When I click it it stays the same, it has happened me some times before and it forced me to start again, do you know how to fix it? I've tried everything, restarting the game and restarting the PC

coral barn
#

hello fellas
i'm having troubles(like the one in ireland) with creating a formable nation. The coreing of the land works flawlessly but the cosmetic changes are just not applying at all and i have no idea how to do it. ive tried looking through the files of other formable nation mods but i can't make heads or tails of it.

languid mortar
#

2 HOURS

hard bison
#

Can you put two mods in the same playset together
I got this additional factories mod but I’m also wanting to add it to another playset

#

Will it crash my game

glad lynx
#

HOI4 BlackICE, why does this thing doesn't work? When I click it it stays the same, it has happened me some times before and it forced me to start again, do you know how to fix it? I've tried everything, restarting the game and restarting the PC

wintry geode
#

every_country={
if={
limit={
is_on_continent = europe
NOT={original_tag=HOL}
NOT={original_tag=FRA}
NOT={original_tag=ENG}
NOT={is_subject_of=HOL}
NOT={is_subject_of=FRA}
NOT={is_subject_of=ENG}
}
}
add_political_power=-150
}

#

how to make this valid?

#

uhhhh the code doesnt work

#

it still removes the pp of the non-european countries

wintry geode
#

Would it make sense to have this as the Oldenburg Kingdom of Germany Flag?

#

or just better to have it be the black red yellow flag

#

or is it better to have the oldenburg coat of arms?

#

Ohmaygot

timber zenith
wintry geode
#

ill do that then

timber zenith
#

and don't use the if scope, just limit

#

you can use if inside trigger scopes, but not inside effect scopes

#

(ie all_state vs every_state)

mint oar
#

so im really really new to modding infact i started a coupleof hours ago and i cant launch my mod (no other mods enabled btw) and i get these error as an explonasion but they seem pretty irrelevant and i dont know what to do

[23:28:40][no_game_date][dlc.cpp:227]: Invalid supported_version in file: mod/ugc_1913968458.mod line: 8
[23:28:40][no_game_date][dlc.cpp:227]: Invalid supported_version in file: mod/ugc_2404689961.mod line: 8
[23:28:40][no_game_date][dlc.cpp:227]: Invalid supported_version in file: mod/ugc_2910757018.mod line: 9
[23:28:47][no_game_date][pdx_entity.cpp:324]: Failed to find entity "ITA_mechanized_vehicle_1_entity" for attachment in vehicle
[23:28:49][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "GER_super_heavy_armor_entity", associated with GER super_heavy_tank_chassis
[23:28:49][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "SOV_modern_armor_entity", associated with SOV modern_tank_chassis
[23:28:49][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "SOV_super_heavy_armor_entity", associated with SOV super_heavy_tank_chassis
[23:28:49][no_game_date][equipment_graphic_database.cpp:57]: Entity referenced in equipment graphic database does not exist: "FRA_light_armor_2_entity", associated with FRA light_tank_chassis_3

please help me

timber zenith
#

What changes did you make right before the crash?

mint oar
#

well i added a new state

#

but i checked it for errors but couldnt fin any

timber zenith
#

Could you also upload the error file?

#

the log

mint oar
#

a ok wait a sec

#

here u go

timber zenith
#

Could you upload the one located inside the most recent crash folder? That one looks like it's been reset by the game

timber zenith
#

inside the crashes folder, there's another error.log file

#

they're sorted by date/time, send the most recent one

mint oar
#

the crashes folder is empty

timber zenith
#

Hm, strange

mint oar
#

its not a crash btw its when i load up the game

timber zenith
#

Could you get the game to crash again and upload the error file again? it should regenerate the entries

mint oar
#

wait a sec

#

the crashes folder is still empty and the error.log is the same as befor but with new timestamps

mint oar
timber zenith
#

Could you zip and upload the mod so I can see what might be causing the error?