#modding

1 messages · Page 77 of 1

stuck quarry
#

Only gui modding ill touch is custom guis in the decisions tab

obtuse condor
#

Would anyone know how to fix this issue?

balmy lichen
#

We are bad at espionage because it's expensive and not tanks XD

rotund venture
#

anyone knows a good medival mod ?

silent swallow
balmy lichen
ashen mural
#

is that the only reason?

ashen mural
#

it was

#

how can i fix this tho?

north wave
#

gonna fix the modifier soon

timber zenith
ashen mural
silent swallow
# ashen mural how can i fix this tho?

Hoi4 modding den says Newly-added localisation values in 1.13 commonly omit the version number, such as STATE_111_SWE: "Nyland". The nudger interprets that as a version of negative one, and writes it as STATE_111_SWE:-1 "Nyland" instead. The game only expects numeric characters as the version number, so it breaks the rest of the file with an error of Expected quotation mark ("). If you're using the base game's localisation file that contains such values, this will break it. Make sure to remove any negative ones in the nudger's localisation outputs, preferably swapping them with any non-negative integer number. Or if you want, just delete the files in the documents> paradox interactive, and make your own files for states without nudge

obtuse condor
#

Hello, I was wondering if theres anyway to change the Main menu"s location to probably like the bottom right corner or such?

balmy lichen
#

How can I modify which menu does a button open (for example I want to make the research button open the construction menu)?

wintry geode
#

Alt history for lafayette coming into power in 1799?

#

would it make sense?

ashen mural
#

fixed it!

west shoal
#

Hello hello

silent swallow
#

how do I make a github server thing for my mod team

fossil cradle
#

capital = 684

set_research_slots = 1

Starting tech
set_technology = {
hippogriff_race = 1
melee_weapons = 1
tech_spirit_warriors = 1
tech_field_hospital = 1
tech_field_hospital2 = 1
interwar_antitank = 1
antitank1 = 1
}

add_ideas = {
NQM_anarchy_quarentine
poor_science_base
lack_of_scientists
poverty
closed_economy
disarmed_nation
}

set_popularities = {
democratic = 0
fascism = 0
communism = 0
neutrality = 100
}

set_politics = {
ruling_party = neutrality
last_election = "1001.1.1"
election_frequency = 48
elections_allowed = no
}

recruit_character = NQM_Anarchy

what is wrong here?

its from folder history/countries. It crashes when spawning the country

silent swallow
#

If you didn't send the full code, it is this

fossil cradle
silent swallow
#

Do you have a loc file for the country?

fossil cradle
silent swallow
gleaming edge
#

They hired mod developers before

silent swallow
#

Mod developers: What is the best way to maintain a modding team?

sturdy herald
#

Is there a mod that makes border movement smoother just like in steel divisions 2

silent swallow
#

I don't know, but I wanna know what you mean

stuck quarry
#

is there any way to have dynamic variable names?

#

i have this on_action here

#

and right now i check the nation tag to determine which variable to change

#

is there any way to instead do something like "{TAG}_integration_level" and have the tag change based on the nation?

wraith forum
#

Im trying to build a mod and i cant get characters that are made from the characters file to appear, i am enabling them via the country file but i cannot get them to show up in any capacity in game, pls ping or dm regarding help

eager holly
#

Does anyone know where I can download the submod of “8 years of resistance” that had the Chinese communists taking the lead

#

I couldn’t find the English translation

hardy scaffold
#

Hi, how to speed up delivery time after buy some weapon from international market 10 times faster

silent swallow
#

Modders with teams: what is the best way to keep your team alive, any tips for new team modders?

silent swallow
eager holly
#

Than give them love

silent swallow
#

(Im not insulting the idea fyi)Me casually: "I LOVE YOU MOTHERFUCKERS"

#

That makes sense though

hardy scaffold
#

plz tell me

eager holly
ashen mural
#

how can i mod it so a country starts in a civil war?

#

or easier

#

how can i do it so a country starts in a war (like italy with ethiopia)

eager holly
#

Click Italy or Ethiopia than justify war goal

ashen mural
eager holly
#

Do u wish to make a country starts a civil war at the beginning of the game?

ashen mural
eager holly
#

Uhhh

#

I don’t think I got it

#

Can u explain it more clearly

#

Sorry

ashen mural
#

how can i do that but with other countries?

eager holly
#

A easier way to do it is by entering the game immediately than give commands for having two nation on war goal

#

But if ur asking abt coding on files

ashen mural
ashen mural
eager holly
#

Oh

#

I’m not sure how to exactly but check on the initial files of heart of iron 4 might give u some clues.

#

Sorry that’s all Ik, I thought of smt else

eager holly
#

namespace = my_custom_events

country_event = {
id = my_custom_events.1
title = "Civil War in Germany and Spain"
desc = "Both Germany and Spain have descended into civil war!"
picture = "GFX_report_event_german_civil_war"

trigger = {
    GER = {
        has_government = fascism
    }
    SPR = {
        has_government = communism
    }
}

immediate = {
    GER = {
        civil_war = {
            ideology = "communism"
            size = 0.5
        }
    }
    SPR = {
        civil_war = {
            ideology = "fascism"
            size = 0.5
        }
    }
}

option = {
    name = "The world is changing..."
    ai_chance = {
        factor = 1
    }
}

}

I’m not sure if this is the file ur looking for. But good luck

wintry geode
#

are alternative leaders good for imersion?

wintry geode
#

This good for an althistory option?

tight ember
#

I'd like to see a 1 vs. 1 mod that is a recreation of the foxhole map

neat turret
#

how to delete a generic agents?

#

like this?

fervent locust
wintry geode
#

theres austrian and prussian focus trees albeit they are really incomplete

fervent locust
wintry geode
#

(focus tree is a little changed)

#

since i got my mod on

fervent locust
bitter mantle
#

Hi guys, I'm trying to make a puppet focus tree show up for the puppets of specific nations as soon as they are puppeted, but I'm forced to use reload focus to make it appears. Yet I filled in the file with the necessary effects (load_focus_tree = cartelpo_nf)

eager holly
#

I hope in the future someone can make an audio mod which include the voice of a historical person talking when there was an event

#

Like H!lter’s speech when the invasion of Poland started or the speech of Stalin . Even more play the Anthems of a nation after smt

timber zenith
#

and also the allied speeches pack DLC which activates on certain triggers/decisions iirc

radiant jewel
timber zenith
#

always worth trying it out for yourself

knotty tide
#

i wanna add new laws for conscription training and mobilization

#

aswell as new advisors

#

like a drill advisor

#

so yalls can train units faster

#

ill also add new military advisors

#

and a army chief of staff

#

@summer lotus

#

whadya think?

sacred ibex
#

is there like a hoi4 mod that if im at unhistorical the ai will only take unhistorical focuses and no coutry takes historical ones or can someone help me code such mod?

#

or like a mod

#

where in the menu where you can choose the ideology/strategy of ever coutnry there is like a button (where it says randomize) and then a random ideology gets assigned toe very country

mighty cypress
#

what mod makes a country have more provinces?

wintry geode
#

Yeah Fam Russian Hungary

analog igloo
#

Is there any mods like Spartakus that are alive because I want to start reviving that mod under my own spin

vapid shale
#

Guys is there a way I can make a hoi4 focus tree diagram

#

Or sorry not diagram

#

Template

#

Generator

#

Without code

stuck quarry
#

I dont believe so

#

There are makers but the code they generate is pretty bad

north wave
sacred ibex
#

Hey im trying to mod the focus tree of germany (the alternative Waking the tiger path) where can i find the dlc focus tree path

timber zenith
sacred ibex
#

in fact it isnt

#

my focus tree file only has the non dlc option

dull crystal
#

the logo for my upcoming mod ‘chidus’

timber zenith
sacred ibex
#

nvm i found it

#

i just had to scroll down

#

my bad

timber zenith
#

all good

sacred ibex
#

nvm

#

@timber zenith

#

i have a visual strudio plugin so it shows the focus tree

#

but i cant see the dlc one only the default can you maybe help me out with that

timber zenith
sacred ibex
#

ok

#

im gonna look for a solution online

timber zenith
#

are you opening just the file tho? if you open the whole folder it should show icons etc

#

that might help

sacred ibex
#

i opened the file in visual studio

#

nvm i found out why

#

ive been looking for a solution for almost 2 hours

#

i had the checkmark waking the tiiger off

#

💀

dull crystal
#

Do yall recommend any fonts for the countries

fossil cradle
#

it is even possible to add a custom color for text? The wiki says to add on core.gfx but the color is never right
[23:12]
uses rgb or any other type?

green sentinel
#

did anyone see the Chinese government tried to get the Cold War mod taken down

#

because they didn't show some stupid little island as a Chinese core but Japanese instead (it's Japanese territory)

#

Guess all developers are losing -10000 social credits

orchid osprey
#

making an event that makes countries independent, but it takes up too much space

#

example

#

immediate = {
# Ukraine Indepence
202 = { transfer_state_to = UKR }

timber zenith
#

using the hidden_effect scope

#

and you can also use the every_state scope with a limit of regions/states to make it look neater

#

ie

#
every_state = {
  limit = {
    OR = {
      region = 11
      region = 13
      state = 111
      state = 121
    } 
  }
  transfer_state_to = TAG
}```
#

but perhaps in that specific case release_on_controlled = UKR might be easier

orchid osprey
#

Or release_on_controlled = UKR is going to do the same thing but without many lines?

timber zenith
#

they're strategic regions, so using that applies to all states within that strategic region

timber zenith
orchid osprey
timber zenith
#

potentially

#

if you do just release = UKR it should work

#

(that would include states not controlled by russia for obvious reasons, but that doesn't appear to be an issue in this case)

orchid osprey
#

However it does talk about releasing countries

timber zenith
#

could I see your event code?

orchid osprey
# timber zenith could I see your event code?

news_event = {
id = news.412
title = news.412.t
desc = news.412.d
picture = GFX_moscow_tanks

immediate = {
    # Civil War
start_civil_war = {
ideology = democratic
size = 0.5
states = all
states_filter = {
    is_on_continent = europe
    is_capital = no
}
set_country_flag = SOV_democracy
# Sets a country flag that gets used in a country tag alias.

}
# Republic Indepence
release = UKR
release = BLR
release = MOL
release = LIT
release = LAT
release = EST

    # Civil War
start_civil_war = {
ideology = democratic
size = 0.5
states = all
states_filter = {
    is_on_continent = europe
    is_capital = no
}
set_country_flag = SOV_democracy
# Sets a country flag that gets used in a country tag alias.
    }
    
major = yes

is_triggered_only = yes
option = {
    name = news.412.a
}

}

#

might bit be a little messy

#

wait

#

i accidentally put 2 civil wars

#

works this time

timber zenith
#

cool

orchid osprey
#

i gotta fix the crimea

#

it gets only worse as it goes

orchid osprey
#

i fixed it

elfin stag
#

fellas

#

are there any good ACW hoi mods

nimble solar
#

Technically 1861 I suppose

proper acorn
nimble solar
#

That is why I didn't mention it

proper acorn
#

Ok

languid stag
#

just recently started attempting to get a mod up and running (like a few hours ago) and got a custom map set up via Mapgen 2.2 and CMS per a tutorial i watched
||https://www.youtube.com/watch?v=aAr4RyxpLNA||
^ the tutorial in question.
the only problem is i am unable to get into the main menu when the mod is enabled,
(The attached File is the Error Log)

Im very new and havent had coding experience or proper modding experience in other games or in hoi4 or any other paradox game, just wondering if theres a way i can get past this point? Any help from anyone would be a huge thanks- i also dont know if this is the right chat to send this in so sorry if it isnt-

Hi, I'm still alive!

Here's an updated version of the hoi4 custom map mod series.

This video covers parts: 1, 2, and 6 of the original series.
Parts: 3, 4, and 5 should still be done to your mod after this video!

Resources:
MapGenV2.2: http://bit.ly/MapGen_V2_2
MapGenV2.2 Examples: https://drive.google.com/file/d/1gS0vABXYpDcKtwwgwGh4R_-qA0U7...

▶ Play video
#

Just to show where it crashes at i dont know how itll help though-

orchid osprey
#

Nations get released without even the event triggering, why? I used release = TAG

#

wait nvm

#

but still

#

why does it trigger by itself

#

08:58:09][1983.01.25.01][eventwindow.cpp:270]: events/NewsEvents.txt:13385: news.412: Spawned event without any allowed options

prisma marten
#

im trying to mod for a north america divided submod but the focus tree isnt appearing. Help

gritty stone
#

Does anyone know where the event lives for the US Civil War and the events surrounding it? They do not seem to be in USA.txt

gritty stone
#

Ah, I see MTG_USA now. Thank you, I'll give that a shot.

main grail
#

Anything to change to increase Stability? (At 0%)

robust rock
#

MTG_USA ok

silent swallow
#

How do I start a mod with a team? And how do I keep them active

silent swallow
slender violet
orchid osprey
#

i didnt add any tags

high hatch
#

Hi everyone. I have a little question:
I want if the operation (spy, "La Resistance") fail to kill the operative (of the ROOT country), but the game say it is incorrect the syntax. Any idea?

outcome_extra_execute = {
 # Failure
 kill_operative = PREV
}
dull crystal
#

i tried adding the west indies federation but wont let me add the leader portrait and the name

high hatch
dull crystal
#

also includes the country name for some reason not being added

high hatch
#

For first, the lines are commented #

#

Second, it is only one /

dull crystal
#

whats the correct way

high hatch
#

In a common\characters\WIF_characters.txt (or any name), you should have something like this:

characters = {
    WIF_jonas_lote = {
        name = "Jonas Lote"
        gender = male
        portraits = {
            civilian = {
                large = "gfx/leaders/WIF/Portrait_Africa_Generic_2.dds"
            }
            army = {
                large = "gfx/leaders/WIF/Portrait_Africa_Generic_2.dds"
            }
        }
        country_leader = {
            ideology = centrism
            expire = "1965.1.1"
            traits = { 
                #reluctant_interventionist
            }
        }
    }
}
dull crystal
#

okay thanks

dull crystal
#

plus this is the file

#

history/countries

upper badge
dull crystal
wintry geode
#

is there a way to make so the french ai navally invades egypt?

pale sparrow
#

probably make it like naval invasions lots while at war with Egypt

#

and make it send navy to the right places

#

I might be wrong about the specifics, but it should be possible

north wave
#

finished

wintry geode
#

Looks bang on fam

orchid osprey
#

[18:38:33][1983.01.05.01][eventwindow.cpp:270]: events/NewsEvents.txt:13385: news.412: Spawned event without any allowed options

#

how do i fix it?

wintry geode
#

Is the focus starting to look like its thriving now?

north wave
stuck quarry
#

39k is nothin i had like 300k in one of the mods i was making every time i tried to fix a error 100 more were created

obtuse condor
#

Guys, for Millennium Dawn, is more easy a war against Canada or Mexico?

stuck quarry
#

how does this look to everyone? i still need to add the mod name but overall i think it looks pretty good the AI art is a placeholder because my team currently doesnt have the budget to comission any custom art

magic bay
stuck quarry
#

theres also this

#

we couldnt really find any good existing art that fit the theme of "eternal winter"

#

so just ai generated some real quick for a placeholder

mild vault
#

hi guys

stuck quarry
#

is there just no acheivements button or way to view your acheivements from the main menu?

#

unless im incredibly stupid i cannot find a button anywhere

wintry geode
#

and stuff

prisma marten
#

help the focus is only showing one focus only

prisma marten
#

nevermind

#

i did the wrong mod

#

im dumb

wintry geode
#

uhhhh i turned off joining factions

#

but the french counter-revolutionaries joined the ottoman faction

#

how to fix so countries actually cant join factions

#

and when i make france declare war on new countries all the countries join the austrian faction

high hatch
# wintry geode

I guess it is by focus, so we can't do anything... Except to not allow the focus...

wintry geode
#

theres not any focuses for them to join an ottoman faction

prisma marten
#

also do anyone know what mods that set the timeline to the napoleonic wars?

prisma marten
wintry geode
#

albeit the mod is far from "finished"

prisma marten
#

🅰️

inland glen
#

how do i do modern map?

wintry geode
#

Why doesnt this work?

#

why dont the divisions spawn?

#

ahhh its load oob right?

warm anvil
#

Hi guys, the array in the game have only index and value or can I have/introduce a third parameter to use?

unreal goblet
#

Hello everyone, I am trying to make a mod about the 1800's. I don't have any modding experience so if someone would like to help me get started with coding I will credit you when the mod comes out

fossil cradle
#

How to add another color for text?

The wiki said to add on core.gfx but never gives the right color

stuck quarry
#

Should show all the function autocompletes

#

Tho idk if you can set a oob in a focus effect

quasi meadow
#

Mods keep crashing, depending on the mod at different times (not every mod but most my mods)

#

How do I fix?

stuck quarry
#

You can change the loading order, idk if itll fix it or not tho

twin sigil
#

been watching the iron workshop lately to practice modding

#

however, he made a template with every single nation with a missing ideology as a template for the country naming system

#

its not in his video anymore

#

and I don't know what to do

#

im on his "creating ideologies" video in his hoi4 series

quasi meadow
#

Who here makes mods and wants some fresh ideas?

#

Y'all don't got to but eh, fun?

quasi meadow
median mantle
#

Is there a tool to make OOBs easier? They’re incredibly annoying

west basin
#

Mods in general just arent working?

#

Like, i have everything on the playset, set it all up usually works

#

all of a sudden it just doesnt?

lofty plaza
#

That's vague

wintry geode
#

How to change so there are 6 scenarios per line?

#

last time edited the interface was like 1 year ago

#

ah i found

#

just space before and after 5

#

nevermind

#

ah found it

silent swallow
#

Basically, I want to know if it is possible to search and replace in files that have a specific word in it. Such as trying to replace
add_core_of = CHI
with
add_core_of = JAP
But only in files that have
owner = MAN

dull crystal
#

Flag of the Republic of Fordland loyal to the former United States in my mod “Chidus”

supple smelt
wintry geode
supple smelt
#

whats the name

wintry geode
#

"the extended timeline mod 1444-2024"

supple smelt
#

and is it fully done?

wintry geode
#

no

#

theres content for 1789

supple smelt
#

is the 1444 year done?

wintry geode
#

only the mao

supple smelt
#

ok

#

thank you anyways

dull crystal
#

Should i make the chidus timeline in 2000? I’m going to add a Zapatista led Mexico.

supple smelt
wintry geode
#

cant work on 1444 poland

supple smelt
#

yea i know

#

but when u get on to it

wintry geode
supple smelt
#

like when ur doing the 1444 focuses and nations

wintry geode
supple smelt
#

im not telling you to do that?

wintry geode
#

im not adding content to it

supple smelt
#

never>

#

?

wintry geode
#

only if someone else becomes dev

#

ill be working on 1789-1836 95%+

supple smelt
#

ok

dull crystal
#

my concept of a post-america in 2005 for my mod chidus

wintry geode
#

how did they join the austrian faction!

#

i turned off joining factions!

#

I automatically join their faction????

#

how do i stop this from happening

#

and i automatically joined the austrian faction when france declared war on me
i have turned off joining factions also
i wanted to make joining factions scripted

#

is this some bs paradox code? thats put in HOI4 for some reason?

stuck quarry
lunar moth
#

can someone that played south america rework tell me what to do if vargas gets kicked out of the office? how do i get him back if i want to turn facist

narrow lagoon
#

Ok so I declared war on the uk which had pakistan as an ally, the uk did the BCA focus so they have another faction ,and so pakistan joined the central powers since they are at war with italy which is also at war with the uk

#

lithuania declared war on poland anyways and they are in the central powers too

#

joined up the frontlines

#

germany is done for

#

another batch of troops ready

#

and germany capped

#

wtf forfeiting is bugged

#

Italy just lost it and now there's gonna be an independent austria

#

nvm it didn't happen

wintry geode
#

how do i make so the ai doesnt want to take these decisions?

#

or how do i make so only players can take them?

#

ai_will_do = {
factor = -6000000
modifier = {
add = -6000000
}
}

#

Put this and they still did it

#

how to fix

narrow lagoon
#

only took like 7 tries

proper acorn
#

Is this design good?

pale sparrow
#

theres no need to make it stairs

proper acorn
#

ok

lost geyser
#

How likely would it be used if I made a navy mod that actually fixes all the navy issues

lost geyser
#

Like, for example, CA ships not getting their appropriate bonuses as capital ships

pale sparrow
pale sparrow
#

Modifiers are applied by hull, and light and heavy cruisers share the same hull

proper acorn
pale sparrow
#

Personally I think it looks silly :xd:

lost geyser
pale sparrow
lost geyser
#

spaghetti coooooode, spaghetti coooooode~

rose heath
#

imagine hoi4 but there isn't an unpatchable exploit for everything

#

i'm pretty sure you can still get unlimited manpower can't you

lost geyser
#

I'd say probably 2028 will be hoi5

rose heath
#

hoi4 would have to fall off now for us to get a hoi5 in 2028

lost geyser
#

I feel like they'd want to develop a new engine

rose heath
lost geyser
#

I'd put money on dev cycle being 2026 to start work on the engine

rose heath
#

do all other paradox game still use the same engine

#

new engine is a very expensive thing to develop

lost geyser
#

they're probably going to ride vic3 and milk stellaris more

rose heath
#

i feel like paradox games squeeze the engine to its absolute limits

lost geyser
#

hopefully they realize that the subscription model only works if people don't realize that they can own everything in <2 years

#

if i cared about stellaris at all anymore i'd probably sub for the dlc, cause forget buying that mess at top price

pale sparrow
pale sparrow
lost geyser
pale sparrow
#

It overheated my video card also because the game is poorly designed

#

I still find it insane that your CK3 savegame will become literally bricked if you have a big lategame crusade

lost geyser
#

I feel like 12 years is good because of how popular hoi4 continues to be, they could announce dev for hoi5.

#

And do a presale bonus that includes a perpetual coupon for 50% off sub fee for hoi4

#

that will give them a revenue stream that isn't a complete rip off for the community

rose heath
#

i just want paradox games to not slow down as they progress, and work well in multiplayer

lost geyser
#

It does feel like 3 steps forward and two steps back, yeah

rose heath
#

also hoi5 is gonna be difficult to monetize

#

you'd want hoi5 to have all the stuff hoi4 has

#

but then once you do that, what else do you add

#

you aren't going to have the big NO STEP BACK epic soviet update, if they have their content from the start

#

they could add ahistorical paths with DLCs, but mods exist, and people literally could just design them themselves

quasi meadow
#

Yo someone pls help me, I'm trying to make my first mod but it is not doing what it's meant to, I asked @wintry geode but he didn't know

lost geyser
rose heath
#

TOA is 12$ for the ability to unite south america essentially

lost geyser
#

hoi5 would likely need to have MOST of hoi4 mechanics/funcitonality

#

maybe not all the same dlc content from the get go but like

#

bba, mtg, nsb, all base game functional

#

and aat

distant saddle
#

Made a Ring World map for fun

lost geyser
#

Feels like I'm looking at Factorio

rose heath
rose heath
#

imagine for 50pp you could send a letter to an Ai and it would react accordingly

#

would be insanely hard to implement, and probably very exploitable, but imagine telling hitler he's stinky

#

i'd pay 15$ for a DLC like that

#

Mr hitler if you give me all of your guns i will exchange that for multiple states of mine

#

guns get sent

#

SIKE

#

and then you invaid him, and he has no guns

#

peak gameplay

distant saddle
rose heath
#

bro did anschluss, too bad i told him that the secret operation he's planning will fail, and he'll shot himself on this exact day, and this exact hour

#

Hitler in 1943 when he realizes i was right

jade roost
#

bro whats wrong

#

why does this not work

#

nvm im stupid i got it to work

lost geyser
# rose heath peak gameplay

peak gameplay would be having the surrender button actually work as something you can offer the AI to cap to you

#

or have yesman being baseline in most games

rose heath
jade roost
#

idk what i did to make it work

#

it just randomly did

rose heath
jade roost
lost geyser
#

Me, capping all of europe, not being able to tell the USA to cut their losses and white peace out, is stupid

dull crystal
#

help why do most countries have no names

summer lotus
#

dead loc

#

I can see that only countries with a starting cosmetic tag has a name

#

but the name.DEF is still lost on British Raj

#

just go through l_english.yml for countries

dull crystal
#

ok

dull crystal
#

i did these for a country i was adding for a mod but the country name doesnt show up

summer lotus
#

try releasing WLA and see if they have a name

#

or just setowner WLA on any state

dull crystal
#

ok

summer lotus
#

or set_cosmetic_tag TAG WLA

#

first tag being your own

#

if they have name, the later section is a problem

#

idk, I don't have the full file

#

the problem could be anywhere

#

if you want to self-diagnose, just break it down

#

test section by section to identify the one that works or doesn't work

fierce siren
#

Is there a good or any mod of ww1?

dull crystal
summer lotus
#

yeah the entire loc file has a problem

#

just check from the start

#

send the file here tbh

dull crystal
#

countries_l_english.yml?

summer lotus
#

yeah just send it

dull crystal
#

k

summer lotus
#

they actually have different encoding huh, the one I downloaded from you and the one in the og folder

dull crystal
#

do i keep the og file and make a new yml file JUST for the country i added?

summer lotus
#

yea

dull crystal
#

alright

#

i named it countries modded.yml

summer lotus
#

I can't pinpoint the exact problem yet because I haven't run a debug (since I can't)

#

but just try to separate them

dull crystal
#

ok

#

didnt work

#

probably because of the yml's name

summer lotus
#

Or like

#

Removing each of them

magic bay
grizzled salmon
#

is best one

fierce siren
#

Is it just on the Steam community?

hallow shuttle
hallow shuttle
hallow shuttle
summer lotus
#

but I think the problem is elsewhere anyway

#

I don't have his folder so it is hard to diagnose

rose heath
#

idk if i ever encountered Ai willing to accept it though

#

maybe...? though this practically never happens

prisma marten
prisma marten
hallow shuttle
topaz ingot
#

how long will steam take to approve a mod i just uploaded .its my first time

sour vigil
#

how can i change the owner of the state

distant saddle
stuck quarry
#

I cant even edit the map to add in a new city without breaking things

stuck quarry
#

To change who owns it when the game starts you can find the states history file and change the owner there

#

For a effect youd use “transfer_state = TAG” in the state scope to change who owns the state

timid pine
#

Hello Guys,
For some reason all my mods are showing that they're missing a descriptor file and I don't know how to fix it.
can someone maybe help me with that? its pretty frustrating

#

thanks in advance

fervent cove
#

Hey

#

Does anyone know how can i change the nationality of every character of certain country to another?

#

i tried using the every_character

#

and set_nationality

#

but it didnt work

pale sparrow
wintry geode
#

What do i do here?

#

im trying to research for a spanish 30 day focus tree

#

i researched with the 1789-1799 in spain and spanish colonies

#

but theres still 35 empty focuses

#

do i make the later focuses 70 day focuses?

#

there were no spanish language pages for anything

#

idk what else i could look into to add stuff to 5-35 more of the 1789-1800 spanish branch

stuck quarry
#

first dual leaders for the first nation in my mod

twin sigil
#

GUYS

#

HUYS

#

GUYS

#

HOW DO YOU ADD THE RED BITS FOR HOI4 FOCUS WARNING STUFF

timber zenith
#

what does that mean

white plover
#

im prob just stupid

stuck quarry
summer lotus
#

wiki has probably covered this part

stuck quarry
#

i balkanized ireland

stuck quarry
#

is there any reason compliance and resistance would be showing on a cored state at the beginning of the game?

stuck quarry
#

nvm i fixed it, i was missing a scripted trigger

prisma marten
timber zenith
#

it's kinda trendy rn

stuck quarry
lofty plaza
timber zenith
#

this is it btw for anyone Wondering

stuck quarry
stuck quarry
prisma marten
#

also @timber zenith what is the secret stuff in the magna europa mod

timber zenith
timber zenith
prisma marten
#

i NEED to know

#

i activated it and it seems nothing happened

timber zenith
prisma marten
prisma marten
#

i will see it in the files

#

ok im confused

#

what is RULE_OPTION_SECRET_ENABLED

wooden verge
#

How do i fix this (hope you can understand it)

#

I was messing with the code a bit around the German focus tree extension (translating it for myself) and this happened

wintry geode
#

is there a clear cut answer to how much an extra 100 states in a mod will affect performance?

sand summit
#

why wont my focuses connect?

wooden verge
#

Do you have “reform_the_empire” as a prerequisite to “placeholder”?

timber zenith
#

states themselves don't really cause lag, but there is somewhat of a correlation

#

such as having more tags, releasables, factories etc

timber zenith
#

secret

wintry geode
timber zenith
#

but it might be easier to just increase the building cost instead

stuck quarry
#

almost done, so many states

sturdy herald
sturdy herald
silent swallow
sturdy herald
#

also it will take a lot of time

#

to draw

wintry geode
#

the mod is going to run like butter now imo

#

or like Wagyu beef Tallow

silent swallow
wintry geode
silent swallow
sturdy herald
#

whats the problem ?

sturdy herald
#

?

rotund cairn
#

Could someone help me here?
This is the first time I've tried to create a mod for Hoi4 and it seems like I've already started doing something wrong.
I followed the tutorial on the official Hoi4 channel, this video here: https://www.youtube.com/watch?v=BuIycVRxrO4

The game recognizes that I have my mod installed in the game, but the event never happens. I left the game running for a while because it might take a few days in the game to happen, but nothing happened.

And when I tried to use the console command to force the event, it says it can't find an event with a specific ID.

Now that you've gotten started modding it's time to learn about how to create national spirits and events in Hearts of Iron IV. What is a modifier? How do triggers work? What kind of events can I create? Your modding journey is still just getting started so try out your new skills and stay tuned for part 3!

0:00 - In this tutorial
0:17 - Effect...

▶ Play video
summer lotus
#

send me the event txt file btw

#

I mean

#

drop it here

#

I'll take a look

rotund cairn
# summer lotus have you tried to debug?

my game start with debug, but i dont know exactly how to use, on the botton right show i have some errors, but when i click on that icon, he just disappears and nothing else happens

#

here both files

#

as i said, i did 1:1 with the video tutorial

stuck quarry
#

balkanized UK

proper acorn
#

the version is on line 6 and the error is saying it is on line 9

proper acorn
#

😭

stuck quarry
proper acorn
#

👍

nimble solar
stuck quarry
nimble solar
stuck quarry
nimble solar
stuck quarry
#

adding more cringe to the UK replacement

#

i have no idea if ill actually keep this, as idk if itll make any sort of sense, i just thought it was kinda cool

kind jay
#

Idk what Im doing wrong, but i cant load the mod alongside the KR Mod

stuck quarry
#

is there a way to make minor nations show in a bookmark even if they dont have a custom focus tree

pale sparrow
sonic obsidian
#

Hi everyone, i do mod and i don't know why picture in my country of leader don't work

hasty python
#

why am I losing fuel when I dont even have a navy

#

I tried destroying my entire navy (saved game)

#

and it still goes down

#

yet there is nothing supposed to make it drop?

#

this is in MD btw

severe quartz
#

goodluck anyway

sour vigil
#

how can i add increasing party popularity growth in national spirit modifier

dull crystal
knotty tide
#

hello

#

ill be making a GIANT MOD

#

called HOI4 MULTI MOD

#

ill add a lot of new RL units templates tech and equipment

sour vigil
#

how can i trigger an event with focus but the event is triggered by another country

#

?

lofty plaza
# stuck quarry adding more cringe to the UK replacement

I'm doing the same thing in rt56. I'm just making it a US style system with the supportive and opposition MPs. Mostly due to the fact that Britain had no elections during the games period, and that the individual parties don't really matter in order to represent it

#

Even if there was an election event I will just make it so supportive and opposition are swapped

rotund cairn
tall hare
#

is it possible to make secret paths if so how?

dull crystal
#

otherwise i can give you a zip file of the folder

stuck quarry
stuck quarry
# severe quartz is it another scenario mod?

Idrk what kinda mod it counts as, but the base of it is the world is frozen, a majority of the world has collapsed with citizens flocking to large population centers (well the ones who survived)

#

And youre tryna manage your country to not collapse and die and in some cases try to expand back out to reclaim your old lands

sand locust
#

how would i modify a design company

#

specifically i want to change the amount of political power it uses

#

is that in the defines or is there a specific common/design company folder

wintry geode
#

does research significantly slow down mods?

#

i would feel like thats why EOANB and Millennium dawn are so slow

grizzled salmon
#

millenium dawns research and like everythings trees r massive

dull crystal
rotund cairn
pale sparrow
rotund cairn
#

im not

haughty crypt
#

Hello guys, i have this completion reward in my focus, but it does nothing in game, why?

rotund cairn
#

same thing, but now, from 5 errors to 26???

#

and if i click on this, like a did, he just disappears

#

i follow the same tutorial from the official hoi4 channel on yt

dull crystal
#

im creating lore for my mod, i created a flag for a ‘Trenton Pact’ established in 2007, 2 years after the Second American Civil War

#

i decided to go with the ugly flag design because why not

stuck quarry
stuck quarry
#

my mod currently has over 1500 errors at any given time

rotund cairn
rotund cairn
dull crystal
#

Are hoi4 mod tutorials from 2020 outdated?

rotund cairn
# dull crystal Are hoi4 mod tutorials from 2020 outdated?

I'm using the tutorial from the official hoi4 channel on YT, the video in question was posted 8 days ago
this one
https://www.youtube.com/watch?v=BuIycVRxrO4

Now that you've gotten started modding it's time to learn about how to create national spirits and events in Hearts of Iron IV. What is a modifier? How do triggers work? What kind of events can I create? Your modding journey is still just getting started so try out your new skills and stay tuned for part 3!

0:00 - In this tutorial
0:17 - Effect...

▶ Play video
dull crystal
shell hawk
#

Too-Much States Iraq in HOI4 isn't real, it can't hurt you
Too-Much States Iraq in HOI4:

wraith shuttle
#

no rush obviously

rotund cairn
#

i test something, my own mod dont work, but, i put the files from my mod on another mod i have here, that i downloaded from steam and now works, why works now?

stuck quarry
#

tho it could also be as simple as a typo in a folder name or incorrect file structure

obtuse condor
#

Would anyone know why my Focus tree icons keep bugging out?

wintry geode
#

Should add treaty of sevres borders

#

tbh ngl imo

timber zenith
#

for the limit

obtuse condor
#

Does anyone know how to use a mod after installing it from nexus mods?
Im not gonna use the steam workshop because I need to access an older version of a mod

summer pumice
#

Hey, I am new to modding, I am thinking of making a mod where the CSA exists, is this against the rules since it already exists as a country ingame or not?

summer pumice
#

Thanks!

timber zenith
#

np

summer pumice
#

I tried making my own country, it worked but the name isn't displaying, anyone why?

#

Nevermind, I found the error

#

Nevermind, that didn't solve it.

timber zenith
summer pumice
timber zenith
summer pumice
timber zenith
summer pumice
topaz moth
#

does anyone knows an 1800+ mod or late 1800

wintry geode
#

whats wrong with the interface?

#

i would assume it is the gfx_1700_bookmark not having the great northern wars thing?

#

should i remove the _boomark?

#

the interface doesnt show up

summer pumice
wintry geode
summer pumice
wintry geode
#

i think so too

wintry geode
#

more of a 1789-1836 mod

summer pumice
#

Oh

summer pumice
wintry geode
#

that made the problem worse

summer pumice
#

No but seriously, I am guessing your trying to add different photos for all the years?

summer pumice
#

One of them gets added right?

summer pumice
obtuse condor
#

Hi there gang is there a thing like Set_puppet_of ... TAG so that the country gets puppetet without the tag used bc Prev and ROOT and so on dosnt work

twin sigil
summer lotus
#

just google colour localisation HoI4

#

there is a page called "formatting" or sth

fossil cradle
#

Is there any rule that stops a country from giving military access to others?

final tinsel
#

first draft of economy focus on a country based on UK,
BUT does this looks like too small?

opal rune
#

can somebody send me the vanilla soviet focus tree file i accidentally broke it

summer pumice
#

Hey, since I am new, is there a way to give a country only a province of a country, not the full state, or do I need to make a new state for that?

opal rune
#

you have to make new states for that

summer pumice
#

Alrigt, probably for the best since otherwise the peace deals may look wonky

opal rune
#

but i think you can make that state not own certain provinces

#

like it shows what [provinces that state owns

summer pumice
#

Alright, was just asking for the future, gotta make other stuff before making new states

#

and just gotta learn the basics

stuck quarry
# twin sigil not working

You follow that up with the first letter of the color you want the text to be, and can follow that symbol again with a ! To reset the color

#

§Rthis text will be red§! Should make the text red

#

And then reset the color so no text after it is red

rotund cairn
honest zodiac
#

does anyone here knows how to do map modding?

summer pumice
#

It still doesn't say the name I want it to

#

and the colour for some reason is white even though I changed it to what it is supposed to be, hope I did it right.

timber zenith
summer pumice
#

forgot to say it

timber zenith
summer pumice
#

I made a file wrong in the localisation

timber zenith
#

ok cool

timber zenith
summer pumice
timber zenith
#

what's the name of that file?

summer pumice
#

with capital C

timber zenith
#

you'd have to add those lines to the file named colors.txt

#

copy it from the vanilla folder and add that bit to the end

#

it'll override vanilla colours if you don't

summer pumice
timber zenith
#

it's in that folder, just called colors.txt

summer pumice
#

found it

timber zenith
#

Yeah

summer pumice
timber zenith
#

Yeah

summer pumice
#

Alright, wil test

summer pumice
opal rune
#

is there a way i can get the original soviet national focus file back

#

i accidentally broke it

signal cave
opal rune
#

no like

#

i was trying to make a mod

#

by changing the focus tree

#

but without thinking i changed the main file

#

and now even if i dont use a mod the focus tree is broken

wraith forum
limber badger
#

Hello, any1 can help with my ideology problem? I successfully made a new one, but after meddling with the names and stuff i somehow broke the default ones and also one of the custom made ones. In the screenshot u can see the error message im getting. Ideas?

#

everything works without any problem in the 00_ideologies file

#

or well seems to work

pale sparrow
#

did you test in-game

#

the error highlighting is flawed

limber badger
#

good idea, if i didn't have to upload the mod every time i make an update i would actually do that first 😅

#

thanks man, i was trying everything and it was this trivial 😭

proper acorn
stuck quarry
#

Im pretty sure thats the name of it

#

Theres also hoi4 modding utilities which can let you view certain files so you dont have to constantly relaunch your game to view changes

opal rune
#

How do i fix this problem

#

testing the national spirit ingame it still has the underscores i put in the code

stuck quarry
#

Got it in a localisation file right?

#

the_rise_of_luxemburg:0 “The rise of Luxemburg”

opal rune
#

ah

#

i got it

#

thanks

stuck quarry
#

Np, just wanted to make sure you had it, sometimes localization files can be a pain to have work mainly i mix up I and l in the file name

plush tangle
#

i need to start making hoi4 mods

obtuse condor
#

I was wondering is there a way to have a country annex other countries from the start of the game instead of doing it by copy and pasting states and changing their controller?

sturdy herald
#

what mod make the map round ?

rose heath
wooden verge
#

Hey guys, is there any working napoleon war mod?

sturdy herald
#

well there is eu4

queen pivot
#

is there a mod that gives more useful operation to the spy agency like assisnations of generals or other in thier government

ashen mural
#

what the hell happened? i had just came back to working on my mod after 2 weeks and see this

limber badger
limber torrent
#

The dev is a nice guy too

wooden verge
proper acorn
mortal token
wintry geode
#

Uh i fired this event like 20 times

#

and nothing happen

#

why dont any of these happen?

#

i fired the events 20 times and none of the states got reduced factories or building slots

limber torrent
#

The interwar period isnt really in game

mortal token
limber torrent
mortal token
#

Yes. Goal is to have both

limber torrent
frosty kite
#

guys suggest me some tutorials for making new states and provinces and what not

#

i want to make a mod where there is a new large island continent in middle of pacific ocean and divided between existing countries (japan, usa, uk, australlia, france etc.)

#

how do i do it

frank wyvern
#

he makes em good

#

anyway guys I have a question if someone can help me

#

so , I'm making a mod that adds more realistic states

#

something like this

#

there is just one problem

#

I can't seem to figure out how the plc works

#

like , in its code there isn't written how the states get cored

#

so idk where I should add the 2 new ones I added

frosty kite
#

PLC ?

frank wyvern
frosty kite
#

ohhh ok

frank wyvern
#

because they work on the molotov ribbentrop pact

#

they work on polish focuses

#

but can't figure out how the plc works

frosty kite
frank wyvern
frosty kite
frank wyvern
#

neither decisions

#

and that seems strange

frosty kite
#

events ?

#

have u checked it

frank wyvern
#

cause in the decisions there is only the checks if the states are there

frank wyvern
#

I'll check rn

#

I also tried to check in scripted effects

#

but nothing

frosty kite
#

i found nothing

frank wyvern
#

but if u see the code for it

#

there isn't any core

#

complete_effect = {
if = {
limit = { has_cosmetic_tag = POL_KINGDOM_RUS }
set_cosmetic_tag = PLC_UNIFIED_RUS
}
else = {
set_cosmetic_tag = PLC_UNIFIED
}
POL_basic_form_commonwealth = yes
}

#

this is the effect

#

so where do the cores come from?

frosty kite
#

dont u have to get certain compliance in lithuanian states to form PLC ?

#

so it must be somewhere where the compliance is too maybe idk

frank wyvern
#

it is not in lithuanian decisions tho

#

so mmmh

#

maybe in a dlc file?

frosty kite
#

yeah

#

maybe

#

tho i fear u have checked it already

#

what lol

#

isn't id supposed to be a number

#

or is this a decision im stupid

frank wyvern
frosty kite
#

alright

#

that one has the core effect

frank wyvern
frank wyvern
#

wait fr?

frosty kite
frank wyvern
#

wait lemme check more

#

ngl ima mention u on my mod for helping me

frosty kite
#

alright then even tho i feel i did nothing

#

💀

#

@frank wyvern jackpot

#

this in this thing

#

POL_basic_form_commonwealth

#

now u may ask what is POL_basic_form_commonwealth and where it is ?
For that i have no idea

frank wyvern
#

idk where the global flag is

#

it's prob that

#

wait

#

damn I didn't notice the last thing

#

it may be the thing I'm finding

#

thank u

frosty kite
#

np

#

ur welcome

frank wyvern
#

I think to find this ima use my whole 16 gb of ram

frosty kite
#

anyways ima go now i have stuff to do

frank wyvern
wintry geode
#

988 = {
remove_building = {
type = industrial_complex
level = 1
}
}

#

use this code if you want to remove factories

#

The great war redux devs are brilliant

wintry geode
#

uhhh how to make so all the countries have this idea

#

and not just the countries in the startdate

#

i checked and northern ireland doesnt have it

wintry geode
#

is there a way to make so the french ai wants to send volunteers to ireland?

frank wyvern
#

ok maybe I found it

glacial prawn
#

hey i started modding just recently and need a little help with my mod, i want to add a new category in reaserch but idk how, i tried to find answer on internet but failed

frank wyvern
#

I didn't close the brackets cause I'm on phone

frank wyvern
#

you should check the wiki

#

oh wait

glacial prawn
frank wyvern
#

chrck technology_tag folder

#

check*

#

may be this

glacial prawn
#

alr i will check

frank wyvern
wintry geode
frank wyvern
glacial prawn
frank wyvern
glacial prawn
#

sure

frank wyvern
#

they added a category

glacial prawn
frosty kite
#

@frank wyvern did u find the core effect thingy

frank wyvern
#

only idk how to name it

frosty kite
#

Alright 💀

#

Hidden effect?

frosty kite
frosty kite
frank wyvern
frank wyvern
#

and I also used limit, so that it would apply to only Lithuania, so that Poland wouldn't core its own territories twice

frank wyvern
frosty kite
limber badger
#

Hello, i am experiencing trouble with mod making. So basically i cannot "live" edit my mod instead i have to make a change in the files and then upload the mod to the workshop, remove the files from game's mod folder and play the workshop downloaded version. There i can see the changes, but this process takes way too long and it slows down my progress. The issue starts when i place the mod files in the game's mod folder. When i look at the playsets i can see the mod there, but the icon is set to default one and when i start the game with the mod it just loads up as a vanilla game with no changes except censoring hitler. Any ideas to fix it?

frank wyvern
#

Go on the luncher

#

"Upload a mod"

#

"Create a Mod"

#

and copy the files in there

#

do not modify description

verbal zinc
#

Hi, I'm working on a mod for hoi4. Does anyone know how to make a given focus already have progress after starting the game? I saw this in kx in the Polish focus tree

frank wyvern
#

u mean like

#

a focus already completed?

verbal zinc
#

like progression is started

#

for example 1/70 days are compeleted

frank wyvern
#

ohh

#

well I think you just need to add it on the focus selection

frank wyvern
#

I mean you could take a look at their files

frank wyvern
#

I think you have to put there how much time you have saved

verbal zinc
#

can you send example?

fossil cradle
#

how do i make a nation declare war on a nation with temporary tag (D01, D02, D03, etc.)?

wintry geode
#

how to add army xp?

#

oh its jusr army_experience = 35

keen parrot
#

or anschluss

#

in the base game files

#

they give army xp

wintry geode