#modding

1 messages · Page 70 of 1

tulip vapor
#

wdym

left condor
#

wtf i uninstalled and installed hoi4 and nothing changed

#

alr i did

#

also how do i know it's my mod

tulip vapor
#

buss can you help me

left condor
#

in vc?

#

alr

#

helping lounge 1?

#

help for players category

tulip vapor
#

no

left condor
#

the problem is that the states' names are missing

cinder hedge
#

YAY IT WORKED

tulip vapor
#

try deliting the statefolder

#

and reveryfing it in steam

left condor
tulip vapor
#

ayo

#

buss

#

where is the model folder

left condor
#

i know

#

i am in the debug mode

#

tf you mean

#

then what is

tulip vapor
#

that is nuge

left condor
#

nudge

tulip vapor
#

or smt like that

#

@obtuse condor where is the model folder

left condor
#

nudge mode is in the debug version of hoi4

#

what is the normal debug

tulip vapor
#

i use it verry often in fact

left condor
#

how do you get it

tulip vapor
#

he is in debug

left condor
#

bro that is exactly what i did to get to that version of hoi4

tulip vapor
#

you have to have it on

left condor
#

also this is the error i got

[19:49:28][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
[19:49:28][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
[19:49:34][no_game_date][triggerimplementation.cpp:9350]: common/scripted_effects/BLT_scripted_effects.txt:77: has_game_rule: game rule LIT_ai_behavior does not exist
[19:49:34][no_game_date][trigger.cpp:114]: Trigger failed to validate: common/scripted_effects/BLT_scripted_effects.txt:77: has_game_rule
[19:49:34][no_game_date][triggerimplementation.cpp:9350]: common/scripted_effects/BLT_scripted_effects.txt:83: has_game_rule: game rule LIT_ai_behavior does not exist
[19:49:34][no_game_date][trigger.cpp:114]: Trigger failed to validate: common/scripted_effects/BLT_scripted_effects.txt:83: has_game_rule
[19:49:34][no_game_date][triggerimplementation.cpp:9350]: common/scripted_effects/BLT_scripted_effects.txt:213: has_game_rule: game rule EST_ai_behavior does not exist
[19:49:34][no_game_date][trigger.cpp:114]: Trigger failed to validate: common/scripted_effects/BLT_scripted_effects.txt:213: has_game_rule
[19:49:34][no_game_date][triggerimplementation.cpp:9350]: common/scripted_effects/BLT_scripted_effects.txt:219: has_game_rule: game rule EST_ai_behavior does not exist
[19:49:34][no_game_date][trigger.cpp:114]: Trigger failed to validate: common/scripted_effects/BLT_scripted_effects.txt:219: has_game_rule
left condor
#

gave vilnius to lithuania

tulip vapor
#

i meant

#

[19:49:28][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

left condor
#

i didn't do anything

#

except give vilnius to lithuania

tulip vapor
#

can you not give em and give it the owner back and see waht happens

left condor
#

OH GOD WHAT HAVE I DONE

#

I ACCIDENTALLY MODDED THE VANILLA VERSION

tulip vapor
#

with lithuu

#

and the gfx

#

shit

left condor
#

how do i enable the new mod in debug mode

tulip vapor
left condor
#

cause i modded vanilla

#

and i wanna mod my mod

tulip vapor
#

i have bad news

static spoke
#

are we allowed to share mods here?

tulip vapor
#

i have no clue

static spoke
#

got a nice mod i wanna share

tulip vapor
#

wait

#

clue

#

clue

#

clue

static spoke
#

what

tulip vapor
#

can you fix this

#

+[20:00:52][no_game_date][dlc.cpp:227]: Invalid supported_version in file: mod/ugc_3152802756.mod line: 6
+[20:00:55][no_game_date][pdx_entity.cpp:324]: Failed to find entity "ITA_mechanized_vehicle_1_entity" for attachment in vehicle
+[20:00:55][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
+[20:00:55][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
+[20:00:55][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

static spoke
#

i dont code,

#

no clue how to do that

tulip vapor
#

so how did you make your mod

static spoke
#

i didn't , i just found a mod that i think is really nice. and wanted to share it somewhere

obtuse condor
#

finally found a suitable loading screen for my mod

#

logo time

tulip vapor
obtuse condor
#

im modding

tulip vapor
obtuse condor
#

maybe, im pretty inexperienced

left condor
obtuse condor
#

error log is just to locate issues when they show up

obtuse condor
left condor
#

it has nothing in it though

#

except a notepad++ file

obtuse condor
# left condor yeah

yeah, you have to make folders and put stuff in there. let me send you a solid tutorial series to watch

left condor
#

can't i just copy and paste?

obtuse condor
#

This Hearts of Iron IV modding lesson will explain the basics of modding the game.

If you found this video helpful and want to help the channel grow you can use the super thanks button above, any amount helps the Iron Workshop improve and continue to make more videos like this one.

Useful links:
Iron Workshop Discord server: https://discord.gg...

▶ Play video
obtuse condor
obtuse condor
#

its a lot of learning to begin with, but dont let it deswade you, learn as u go

obtuse condor
tulip vapor
#

chrash on startup

left condor
obtuse condor
# tulip vapor chrash on startup

+[20:00:52][no_game_date][dlc.cpp:227]: Invalid supported_version in file: mod/ugc_3152802756.mod line: 6 is probably your issue

obtuse condor
left condor
obtuse condor
#

will make your mod MASSIVE, and add nothing new, you really want to only add what you have to

tulip vapor
tulip vapor
obtuse condor
#

but ultimatly up to u

left condor
tulip vapor
left condor
#

imma make 2 side mods where bulgaria wins and loses ww2

cinder hedge
#

guys how do I modify an existing GUI?

left condor
obtuse condor
cinder hedge
tulip vapor
cinder hedge
#

I know where the GUI file is

#

nvm the crash was out of memory

tulip vapor
#

[20:14:44][no_game_date][pdx_entity.cpp:324]: Failed to find entity "ITA_mechanized_vehicle_1_entity" for attachment in vehicle
[20:14:45][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
[20:14:45][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
[20:14:45][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

#

not fixed x(

#

wait

#

i fixed it

#

anyway

#

now i am stuck at flags

#

pls

#

somone help

cinder hedge
#

no idea

#

what's wrong with it

tulip vapor
#

i am stuck at creating flags

cinder hedge
#

what flags have you modified

tulip vapor
#

i just made my own nation

#

can somone help me

pallid pendant
#

I've got an idea for a mod inspired by @fallow abyss 's style of gameplay. Here's the premise:
Cannot train more than 5 divisions
You can only build civilian factories
You will only be ready for war after the game ends

pallid pendant
#

Ask @fallow abyss

proper acorn
#

needs a very large code

#

When I go to the PC I will send it

wintry geode
#

Ahhhh

#

ah global flags and country flags are not the same thing

#

Great now i can connect specific wars with focuses and events

#

Need to add this for the partions of poland

#

So satsifying conencting the dots

proper acorn
#

you use country flags and global flags for custom requirements

#

like "WW2 won" "The communist threat was eradicated"

wintry geode
#

if france austria and russia are at war with prussia at the same time

#

if has country flag fra rus aus pre war

#

set rus aus fra pre war country flag

#

so scripted peace would work

proper acorn
#

Yes

wintry geode
#

Hmm wondering if Yedisan kiev and mykolaiv oblast should be ukrainian cores in 1789

#

i made polish-lithuanian lands in ukraine ukrainian cores

obtuse condor
#

finally got my mod logo in

#

needs some reformatting tho

wintry geode
#

remove_country_flag = treaty_jassy_flag

#

Does this remove a country flag?

#

or can you remove them

proper acorn
#

what's it about?

proper acorn
obtuse condor
# proper acorn interesting

its a little complicated: in simple terms, it is what if everything went right for the soviet union and they were able assist the spartacus revolt and bavarian soviet republic, but after the death of lenin, trotsky takes over and the whole thing collapses.

proper acorn
#

random_owned_controlled_state = { limit = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } OR = { is_in_home_area = yes NOT = { owner = { any_owned_state = { free_building_slots = { building = industrial_complex size > 0 include_locked = yes } is_in_home_area = yes } } } } } add_extra_state_shared_building_slots = 1 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } }

#

put this

proper acorn
obtuse condor
#

also

#

fixed

proper acorn
#

i see

#

the lore is very creative, I don't remember seeing one like it

obtuse condor
obtuse condor
proper acorn
#

good luck with the project

obtuse condor
#

thanks! I hope to get some more people (with a little more experiance than myself) to assist with the project, its pretty much just me atm

proper acorn
#

ok

proper acorn
obtuse condor
proper acorn
#

common/characters/TAG.txt

#

GER_ludwig_beck={ name=GER_ludwig_beck portraits={ army={ small="GFX_idea_ludwig_beck" } } advisor={ slot = army_chief idea_token = ludwig_beck allowed = { original_tag = GER } traits = { army_chief_organizational_2 } cost = 100 ai_will_do = { factor = 1.000 } } }

proper acorn
#

in GER

#

you're doing something wrong, the game itself does it

slender brook
#

Remove the extraneous closing bracket

#

Sure

#

I'd also consider that since you're just directly copying it, you might have some sort of overwriting error

magic bay
obtuse condor
#

(or when it's at least playable)

slow kestrel
#

I am making a mod that adds new support companies into the game with different types of recon companies for example how do i make it so the companies in the recon category are mutually exclusive so i cant have more than 1 of the recon companies at a time in the division?

knotty tide
#

i wanna add new units and templates to my HOI4 MULTI MOD

#

like RL units and templates

frank crow
#

where do i change a generals name

spring ibex
#

how do i make a mod where i can put a map of a city as the whole maps

#

like a city and all the gangs are countries

#

like that mod would be so good

#

hearts of aluminum 4

tulip vapor
#

ayo

#

how do i give a country mode states in the nudge thing

proven sable
#

can anyone help me with making straits?

dreamy matrix
proven sable
dreamy matrix
#

are making a mod now

proven sable
#

I also had to split 2 sea zones in half and when I added it to the adjacencies table I got these errors

dreamy matrix
#

#Bohai Strait
adjacency_rule =
{
name = "BOHAI_STRAIT"

contested =
{
    army = yes
    navy = yes
    submarine = yes
    trade = yes
}
enemy =
{
    army = no
    navy = no
    submarine = yes
    trade = no
}
friend =
{
    army = yes
    navy = yes
    submarine = yes
    trade = yes
}
neutral =
{
    army = yes
    navy = yes
    submarine = yes
    trade = yes
}

required_provinces = { 1104 1150 }
    
icon = 8445
offset = { 9 0 6 }

}

#

my code

#

8445;2734;;-1;-1;-1;-1;-1;BOHAI_STRAIT;Bohai Strait

proven sable
dreamy matrix
proven sable
#

#Bab-el-Mandeb
adjacency_rule =
{
name = "Bab-el-Mandeb"

contested =
{
    army = no
    navy = no
    submarine = yes
    trade = no
}
enemy =
{
    army = no
    navy = no
    submarine = yes
    trade = no
}
friend =
{
    army = yes
    navy = yes
    submarine = yes
    trade = yes
}
neutral =
{
    army = yes
    navy = yes
    submarine = yes
    trade = yes
}

required_provinces = { 4985 5074 }

icon = 2776    
offset = { -17.0 00.0 15.0 }

}

left condor
#

i feel like making a hoi4 focus tree mod

proven sable
dreamy matrix
proven sable
#

oh my god

#

it changed everything to commas

#

yep working now

tulip vapor
#

how make contested regions

tulip vapor
#

ik

#

i had that issue

#

i think i know how to fix it

#

you have to change party leader

tulip vapor
#

bus

#

you can change the leader in focus tree or the desicion tap or in events

#

but how do i make contested arears

#

but i hope my advice helps

#

there is some funcion that creats the leader in the focus / etc

wintry geode
#

ai_call_ally_desire_factor = 0

#

do i put this in the ai stragery plan?

pale sparrow
#

typically

wintry geode
tulip vapor
#

i need some help

pale sparrow
tulip vapor
#

how tf do i make boarder conflicts

#

@pale sparrow

#

can you help me

pale sparrow
tulip vapor
pale sparrow
#

its literally a category on that page

#

use ctrl f

wintry geode
tulip vapor
#

nvm i found it

pale sparrow
#

you could also just link the AI strategy to having the idea

tulip vapor
#

how cann i make a border conflict at the start of a game

pale sparrow
tulip vapor
tulip vapor
tulip vapor
pale sparrow
#

Please read the wiki well

tulip vapor
#

what wiki the fan one or the paradox one

#

i cannot find it

pale sparrow
#

its pinned here

#

PDX one

tulip vapor
#

but it is not there

tulip vapor
proven sable
#

Does anyone know how "justifying on us" notification works? I want it to pop up for a focus which isn't actually a justification

pale sparrow
#

see national focus modding wiki page

wide lynx
#

I forgot I'll try to make it today

plain aurora
#

what am i doing wrong?

haughty bison
#

something something localisation errors is all i know that could be wrong

plain aurora
#

you suck

haughty bison
#

i only look here like once a week don't bully me

plain aurora
obtuse condor
#

i had a similiar problem but im not sure what i did to fix it if no one else does before me ill let you know when im on my computer again

haughty bison
obtuse condor
#

are you sure its the right localisation file

plain aurora
obtuse condor
#

im trying to remember

inland brook
#

When I try to run a mod other than the road to 56 either i get an immediate crash, i get a later crash or the mod just doesnt work i dont what causes this, but ive talked to many people and none of them could figure it out. I'm on the right version i the followed instructions that there were online and all of these things still happen.

inland brook
#

yes

#

that i have installed

#

The mods that I have are: millenium dawn, kaiserreich and the great war. (This is not including: Road to 56).

#

To be fair I just saw that I have installed all of these mods before and im installing them again in a newer version. Could that be the issue?

#

When I try to play the millenium dawn mod I load the game and crash immediately

#

When I play the kaiserreich (I have only played russia so far) I crash when i click attack ukraine or smthn like that

#

or even earlier

vagrant tartan
#

So... I'm going to start this game as a minor nation (Philippines) and I plan to go for a communist route. How do I go about it to succeed? I am running the Road to 56 mod.

tall hare
#

What mod should I make?

left condor
#

how do i expand a country's focus tree?

left condor
#

i know but
do i just edit it?

#

oh alr
thanks

indigo dagger
#

so like yk how italy and ethiopia are at war with each other at the start of the game how do i replicate that for germany and SOV

#

k

#

thanks

worn moth
#

how do I make a country unreleasable for a specific country ? (like Silesia for Poland)

wintry geode
#

oto_hidden_ai_idea = {
allowed_civil_war = {
always = yes
}
removal_cost = -1
modifier = {
ai_call_ally_desire_factor = -1000
}
}

#

1444.11.11 = {
add_ideas = {
oto_hidden_ai_idea
}
}
1836.11.11 = {
remove_ideas = {
oto_hidden_ai_idea
}
}

#

Uh why did ottomans call in their allies

#

i want them to not call in their puppets

#

how do i do tha

kindred axle
#

guys

#

how do you gfive names to rpovinces

#

for the ones with VP

plain aurora
#

He’s my friend I was being sarcastic

balmy rapids
#

Can I somehow change the speed buff/debuff the unit gets by having a low/high infrastructure in a state?

kindred axle
#

thx

proven sable
#

I'm trying to make a focus which turns vichy france into a puppet but I have no idea how to get the correct tag?

solar seal
#

make a mod about 1444

#

with unique mechanics

#

pls

worn moth
proven sable
#

But now when they become a puppet they just automatically join the faction and go to war with everyone and I have no clue why

opaque wharf
#

how do i get the same mod on two playsets

turbid geyser
#

does somebody know where the files are for dynamic versioning to completely disable it or enable it for other windows like the infantry equipment designer window?

kindred axle
solar seal
#

i dont have to be a painter to say if a painting is good

wintry geode
#

How to make so a country doesnt call in its puppets in wars?

tulip vapor
#

annyone wanna help me with my mod?

round void
#

uh character no working

proper acorn
round void
#

yeah it was that

#

im a bozo

proper acorn
wintry geode
#

uh the ottomans called me into a war

#

oto_hidden_ai_idea = {
allowed_civil_war = {
always = yes
}
removal_cost = -1
modifier = {
ai_call_ally_desire_factor = 0
}
}

#

Do i make it -1000?

#

instead of zero

#

How do i make so they dont call in puppets???

#

or so that moldavia and wallachia can refuse calls to war from the ottoman

#

where is the file for puppets so i can change so dominions can refuse calls to war?

#

HOI4 ai is so frustrating

#

Might change so that they arent puppets as a place holder

round void
proper acorn
outer jacinth
#

i need help

#

path="C:/Program Files (x86)/Steam/steamapps/workshop/content/394360/3090753549"
remote_file_id="3090753549"

#

is this correct in the descriptor????

obtuse condor
#

Mod idea since I can't code

#

A sub mod for millennium dawn which add Eurovision

proper acorn
outer jacinth
#

It doesn't work

proper acorn
outer jacinth
#

Can you help me please?

proper acorn
#

C:/Documents/paradox/hoi4/mod/your mod

#

Test this

outer jacinth
#

Ok, gimme some minutes

#

Can i DM you?

proper acorn
proven sable
#

I'm making a focus to puppet vichy but it causes them to join the axis and go to war with everyone. Does anyone know how to stop this?

proper acorn
proven sable
#

Basically just copied the code from the Denmark one.

proper acorn
#

Ok

proven sable
#

It even happens if I kill ai

jolly torrent
#

Does anyone know why my ironman mods arent working anymore?

errant otter
#

Where I can download the mod from guys

stiff coral
#

I need help with mods

wintry geode
#

france_1793_1799_focus_7:0 "The Reign of Terror"
france_1793_1799_focus_7_desc:0 "Death to Kings Counter-Revolutionaries Regionalists the Clergy"

#

are there any other groups i could add to this focus?

#

the focuses themselves will only kill louis and marie

#

is it fine to have these sayings?

tulip vapor
#

i need some help with my mod (technical issue)

wintry geode
#

Is there a way to make so the french ai specifically attacks these states?

#

adding state modifers to ukraine that make non-core divisions slower?

kindred axle
kindred axle
#

there is one i rememebr

tulip vapor
kindred axle
tulip vapor
kindred axle
#

in the localisation, you need to copy and paste a file called "state names"

kindred axle
#

if you completely removed it than you may have deleted in the gamefile

#

like me

#

for 2 times

#

the game continues to crash and it wont open

#

if that happens

#

you need to reinstall the whole hoi4

tulip vapor
#

it is working fin ebut it is anoying

kindred axle
#

because its that the file to give states names

#

if you wont add it, the game will just call them by state number

#

and not actual name

wintry geode
#

enemy_army_speed_factor ah great

kindred axle
tulip vapor
#

it was i nthe launcher folder

kindred axle
tulip vapor
#

is it normal for hoi4 in nudge to make railways look buggy as hell?

kindred axle
#

i never used nudge

#

i mean

#

i used it

tulip vapor
kindred axle
#

but not for that

#

i only created new provinces

#

because thos are easy

#

but i never created states or added buildings

#

have too much PTSD for that

tulip vapor
#

how tf do i make boarder disputes

wintry geode
#

every_country = {
limit = {
has_war_with = OTO
OR = {
original_tag = AUS
original_tag = RUS
}
}
white_peace = OTO
}

#

Will this make so austria and russia peace out with ottomans?

tulip vapor
kindred axle
#

But you can check in Japan

tulip vapor
#

aw

kindred axle
#

Decision or events

#

They have the border conflitct with ussr

#

Check it

tulip vapor
#

where

#

in focus?

kindred atlas
#

please, can someone help me?
i was making a new state (for the city of alexandria only) when suddenly all the states became random numbers and now i cant play at all, it keeps crashing.

kindred axle
#

And look for them

#

:/

kindred axle
#

Check It in history states files

#

If its in the gamefile

#

Than you Need to delete It

#

And if It still keeps crashing

#

Reinstall the whole hoi4

tulip vapor
#

how do i make it on the start of a round

kindred axle
tulip vapor
kindred axle
#

Start date?

tulip vapor
kindred axle
#

:/

tulip vapor
#

with start i mean when you get control off the said country

kindred axle
#

I think you Need an event

#

Wait

#

Just look up like

#

Events in rt56

#

Or blackice

#

Where they explain the game

#

Copy that

#

And change it

kindred atlas
#

it should be province number 970

valid apex
kindred atlas
valid apex
kindred atlas
#

I hate having to delete the game and downloading it again

valid apex
#

No no that thing is easy to fix

valid apex
kindred atlas
#

thanks a lot

valid apex
kindred atlas
#

it looks like the state was added to the base game not the mod

#

im just gonna have to redownload the game

valid apex
kindred atlas
#

I just added bunkers and military factories

valid apex
rocky drift
#

New Fantasy Mod i am about to start working on, heres the map

quartz reef
#

how do I work on a mod with a friend

#

I know theirs a way to have multiple devs

kindred atlas
#

idk how to do that hold on

#

i'm going to see a tutorial

valid apex
errant mural
#

HELP

#

for some reason my map mod works perfectly on my pc but it crashes after uploading to steam workshop

lofty plaza
quartz reef
lofty plaza
#

For the mod

#

Allows multipule people to work on it without conflicts

quartz reef
#

ok

quartz reef
quartz reef
#

nvm i got it

wintry geode
#

Does this look good so far?

#

the structure of these 11 focuses

quartz reef
round void
wintry geode
#

the focus currently just goes to january 1794

#

and that is without ahistorical focuses

quartz reef
wintry geode
#

Thanks

rugged crater
#

Does anyone know of any mods that expand Great Britain

quartz reef
#

how do i set up a GitHub for a Hoi4 mod

timber zenith
timber zenith
#

and set the path to be your mod location

quartz reef
#

Literal*

timber zenith
#

your mod's folder

#

the mod itself

quartz reef
#

ok

timber zenith
#

yeah that's always a confusing distinction lmao

quartz reef
#

how do i set a path?

timber zenith
dark rampart
#

Hello, i have a little problem and i want to know if can help me

timber zenith
proper acorn
quartz reef
#

so like now whenever i make a change to the code does it just save their?

timber zenith
#

You can then select your changes and commit them to github

quartz reef
timber zenith
quartz reef
#

Thanks for the help

timber zenith
#

No worries 🙂

verbal echo
#

yo what is the command for adding party popularity?

#

i did "add_party_popularity" but forgor how to add to a specific party

quartz reef
verbal echo
#

can i just use the letters?

#

like D for democratic?

#

caus thats what i tried

#

is this right

#

got to get rid of the cap but other than that

timber zenith
#
    ideology = fascism
    popularity = -0.5
}```
#

0.5 is 50%

verbal echo
#

alr thanks

#

bouta remake my mod though bcause all the focuses are kinda broken lol

timber zenith
#

no worries

#

lmk if you need any other help

verbal echo
#

alr

night mirage
#

@slim raptor

slim raptor
#

Thank you for the random ping

zealous path
#

I'm getting "Unexpected token: NOT",

Specifically for this availability check in this focus.

"
available = {
has_army_manpower = {
size > 400000
NOT = {
has_idea = ROM_anti_war_sentiment
}
}
}
"

any1 know why?

kindred axle
#

Dude

#

}

#

On the NoT

#

You Need to close that

#

Put the idea name foward

#

And adjust has army and not

pale sparrow
#

Unexpected token error is almost always a misplaced bracket

zealous path
zealous path
rose heath
#

you know like places to put your ships, planes

#

making sure rivers allign with provinces

zealous path
#

im so confused as to why this doesnt work

every_country = {
    limit = {
        is_in_faction_with = ROM
        OR = {
            original_tag = HUN
            original_tag = BUL
            original_tag = ALB
            original_tag = GRE
            original_tag = YUG
        }
    }
    add_ideas = {
        ROM_balkan_joint_military_cooperation_plan
    }
}

pretty much: you have to be in faction with and have one of the tags to get the idea

#

i've tried tag and original_tag, both don't work, so im definitely screwing up syntax somehow

#

maybe I need an and? i dunno

#

^^ Solved, no need to respond. I was missing an "AND = { }"

ionic frigate
#

So, there's an issue with the background of "research_slot_entry". The "quadTextureSprite" is rendered useless because the game always defaults to "GFX_research_line_bg", even though it has already been commented out with "#". Does anyone know the reason for this🤔 ?

wind stone
#

whats the best, most broken country in mod named europa in flames agora?

ocean pewter
#

Can I use the console to see which national focus path a country is set to take? ie whether France is set to take either the historical, little entente or communist path?

jaunty holly
#

found this interesting thing

#

maybe one of yall could update idk

safe jasper
#

Hi

rose heath
#

i didn't even know this was possible

#

i thought about something like this

jaunty holly
#

ye unfortunately the mod isnt updated anymore

#

dont know where the owner went

safe jasper
#

anyone knows how to fix this?

ashen mural
#

whats better? big puppets or many small puppets?

zealous path
jaunty holly
#

if ye then remove it

worn moth
zealous path
# worn moth did you fix it?

if you used nudger: C:\Users[Name]\Documents\Paradox Interactive\Hearts of Iron IV: delete the history, states and map.

if you didn't use nudger, its a problem with localisation files, so verify integrity of data ig, never seen that.

wintry geode
#

what is the effect for civ and infrastructure construction speed?

ashen mural
wintry geode
safe jasper
heavy gorge
#

need modders in 1870

#

we are in need of unit models focus treees

#

bouta be 1#

#

dm me fr

wintry geode
#

hoi4 should honestly combine the orleanist and bourbon branches

#
  • maybe even the fascists
rapid copper
#

my venzo rp mod does not want to load

#

any tipes

bronze crystal
#

how do i mod..? (also im not that good at coding so thats a big problem too)

sharp prism
#

Hey I'm trying to make this decision, and the variables (Italian Power and Russian Power) visible globally too. But it resets to 0 every time I observe another country. Any help?

wintry geode
#

is it possible to make so the venetian ai doesnt want to have an army bigger than 25k?

#

has_army_manpower = { size > 25000?

kindred axle
#

Or add max division mechanics

wintry geode
kindred axle
#

Vanilla Just pit low recruitable

#

OR

#

@wintry geode

#

Put their leader -100% desidered division

#

That works

wintry geode
#

what about the spanish divisions you cant delete?

kindred axle
#

Stops ai from creating

wintry geode
#

and the soviet ones

kindred axle
timber zenith
#

you can unlock them by putting no

wintry geode
timber zenith
#

It's an effect so anywhere that triggers an effect

wintry geode
#

i just put it in the history/countries file?

timber zenith
#

You can yeah

wintry geode
#

thx

timber zenith
#

No worries

wintry geode
#

attack_bonus_against = 0.5 = SPR

#

Does attack_bouns_against work like this?

#

will the country with this idea have an attack bonus against spain?

timber zenith
#

it's a seperate scope in the idea, not inside the normal modifier scope

wintry geode
#

THX Now the focus will do what its supposed to do

halcyon sky
#

90199223481132052

wintry geode
obtuse condor
#

amazing

magic bay
# wintry geode

Strange for you to assume Marie Antoinette would actually serve in the military

lofty plaza
#

Why would you even do a focus like that

wintry geode
#

its not allowed to have historical one off instances like?

pale sparrow
#

Brit just means the focus does nothing useful

wintry geode
#

i will make so it does something more

#

-25 relations with austria maybe some added stability

#

and a news event

pale bridge
#

would be funnier if it removed 1 person from somewhere not manpower

obtuse condor
#

How can i reduce puppet annex cost. Please tag me while answer

wintry geode
#

how to make so countries dont change/add new unit templates?

#

All the countries add artillery to their divisions even tho they dont have 1 bit of artillery...

kindred axle
#

And search for it

wintry geode
#

Did france declare war on the states west of the rhine on a specific date?

#

or what was the situation back then

obtuse condor
wintry geode
obtuse condor
#

I don't know

#

Maybe the whole hre got into the war at the same time

obtuse condor
wintry geode
#

Im adding the Kingdom of France as a seperate country

#

even with this idea france still invades them really easily

obtuse condor
#

That's pretty cool

modest quail
jaunty holly
#

where do i change stuff like how fast division moves, the speed the focus gets completed (not days), and some other timer things

rose heath
#

how do i make my country have working templates and units i can't figure it out
this is the code i have

#

but neither templates or units appear in game

#

my game starts in 2009 so maybe that does something

ancient vale
#

hey I got a question, why is there 2 colors in Germany.txt and none of them is the actual germany color?

#

(i'm new in modding)

kindred axle
#

QUESTION
does a country Need a 3 name tag or It can be 4 too?

rose heath
meager epoch
#

for some reason, despite having all its provinces gone, theres a state thats still collides with the ones that have taken all its provinces

#

how do I fix this?

#

also could yall send me the state data for state 96

plucky crystal
#

hello

#

does anyone know what the expression is for changing the name of a country? And all_finnish_states

#

?

plucky crystal
#

but code

#

to rename in game

#

with decision

obtuse condor
#

Japan ai is not producing torpedo cruiser, how to fix it ?

plucky crystal
cursive temple
#

Can divisional insignia be modded atm? Would like to do some historical ones for flavour.

kindred axle
#

Do custom divisions

#

And give them custom insignas

wintry geode
#

[01:10:43][1789.01.01.12][country.h:1783]: Asking if SER is a neighbor of AUS before the latter country is initialized (or otherwise has no neighbors).

#

What does this error mean?

ocean pewter
#

I made a small personal mod that just changes the % chance of various countries being flagged for historical/alternate national focus paths. To make the mod I just copied the on_action_00 file and path and changed the weighted values. I was wondering, is there a way to just overwrite just the part of the file which I want to change, to allow for greater mod compatibily?

#

rather than the whole on_action_00 file

proper acorn
proper acorn
torn meadow
#

I’m surprised there no mad max themed mod

wintry geode
#

declare_war_on = {
target = BEL
type = puppet_wargoal_focus
}

#

do i put in this twice? if i want a country to declare war on both sides of a civilwar

full raft
#

Yes, those two sides of the Civilwar are now considerd as seperate Countries

wintry geode
#

Can you hide this?

#

"country is not"

wintry geode
#

doesnt seem like it

full raft
#

No. To do that you need to somehow remember, which the two belgiums are (tip: there are two ways here. You can keep an event:target on the uprising Belgium or you can use original_tag) In any case, France will need to declare war on both belgiums seperately

spice cradle
#

how do i add more factories in a state using the files?

kindred axle
#

File

#

Add starting civilian factories?

#

I think

#

Like

#

How you add infrastrufrure

#

You do the same with that

spice cradle
kindred axle
spice cradle
#

ah alr

spice cradle
kindred axle
#

You Will see

#

When you look into it

#

Its eqsy

spice cradle
#

is it these ones?

#

]

#

]

kindred axle
spice cradle
#

yeah

kindred axle
#

Without the railways ??

#

Than its good

spice cradle
#

im tryna edit bice-

#

xd

kindred axle
#

50 mil 💀

#

Dayum

#

Thats a bit

#

Xd

spice cradle
#

wait what

#

50mil

#

how is it 50 mil?

kindred axle
#

Why there Is 50 xd

#

Wtf

spice cradle
#

Wait

#

So thats 50m

#

not 50?

kindred axle
#

50?

#

What?

spice cradle
proper acorn
#

☠️

kindred axle
#

The amount of factories

#

Xd

spice cradle
#

I mean like why not

kindred axle
#

I mesn

spice cradle
#

Xd

kindred axle
#

You for whole urals there xd

#

For= got

spice cradle
#

Damn

#

Bet

kindred axle
#

I think that would crash xd

#

Because i dont think you can have more than max amount per state xd

spice cradle
#

20?

spice cradle
kindred axle
kindred axle
spice cradle
#

oh

proper acorn
spice cradle
#

thats in which file?

kindred axle
proper acorn
spice cradle
#

theres 50 files-

proper acorn
#

which state do you want to edit?

spice cradle
#

oh nvm

#

okay now im in it

#

So what do i put

#

instead of town or smthn

proper acorn
#

any of these

spice cradle
#

the heck

#

I dont see that

#

all i see is

#

1-France

#

2-Lazio

#

3-Switzerland

proper acorn
#

this is inside any of these files

#

in history/states

spice cradle
#

you mean common/state_category?

#

@proper acorn

proper acorn
#

you want to change the maximum number of factories in a state, right?

spice cradle
#

yes

proper acorn
#

open the file you want in history/states and change state_category

wintry geode
#

goddamn hoi4...

kindred axle
wintry geode
#

units always get stuck after peace deals and such

spice cradle
#

didn't work

wintry geode
#

i dont get why you cant move back units in neutral countries

#

and the ai doesnt delete those units

#

they just stay there forever

#

paradox needs to fix this

inner badger
#

anyone making a hoi4 mod

chilly field
#

why wont this work

full raft
#

it's "set_capital", not "move_capital"

chilly field
#

oh

ancient vale
wintry geode
#

is it possible to give a hidden idea to all countries that gives -100% air base construction?

#

ai_strategy = {
type = alliance
id = "SER"
value = -1000
}

#

i gave austria this in their ai strategy plan

#

Yet serbia joined their faction...

#

do i make it -10000?

full raft
#

What you are doing, is telling the Austrian AI, that it really, really, really should not seek an Alliance with Serbia. But that's it. You are not telling it to NOT ALLY WITH SERBIA, just that under no circumstances is that something, they should pursue. A different Strategy type will likely serve you far better.

#

"ignore" might fit you well

wintry geode
#

just this?

full raft
#

well, the value must now be positive, but yes

wintry geode
#

Austria gets wayyyy to overpowered and push the ottomans to sofia and plovdiv when serbia is in their faction

full raft
#

Then maybe Serbia is overpowered? Or they are well balanced and Serbia is the Kingmaker

wintry geode
#

austria has 10 or so

#

albeit hungary bohemia galicia bukovina have 30 combined

#

and they flood their divisions to serbia

wintry geode
#

even tho i added this idea to the monarchists

#

they still surrender (within a month)

#

what should i add to strengthen them?

full raft
#

Maybe have them not be a one time thing but give them occasional Events, where they pop up again and Republican France needs to do some stuff to slow to downright prevent such events. Sure the Monarchists wouldn't really be playable, but hey, better than nuthin

wintry geode
full raft
#

good, then they need some sort of Capitulation Prevention. Check out the Code for Vanilla Ethiopia, they should have something along those lines.

wintry geode
#

I could change the states a little

#

so the vendee has the defense of the river

#

and making the provinces that border the vendee thinner

midnight steeple
#

Can anyone help me with mod?

midnight steeple
pale sparrow
midnight steeple
plucky crystal
full raft
#

The answer of "Localization" was correct, albeit unhelpful.
At first glance, I would suggest you add a cosmetic_tag to the Files, copying the base Nation and only changing the Name. Then set the cosmetic tag for the Nation you want to rename to be the one just created. https://hoi4.paradoxwikis.com/Cosmetic_tag_modding relevant wiki

dry plinth
#

yo guys i wanted to make a mod but i got one prroblem i can't pick the country

#

coyld anyone help me with it?

full raft
#

as in in the bookmark?

dry plinth
#

it toke land but can't pick it

#

i am cliclking the blank place and nothing happens

full raft
#

Yeah, something went wrong here. Possibly a broken Tag. Is it three Letters?
Otherwise I would like see the error.log

full raft
#

Okay, the Tag must be three Letters. More isn't possible

#

Less also not

dry plinth
#

i could make a mistake in one file

#

in what file you think it can be the mistake

full raft
#

the Problem is, that the Tag must be three letter, so like GKO
So replace every instance of the Tag currently "GKOT" with "GKO"

dry plinth
#

ohh ty

#

i changed everywhere i thinked of and nothing happend

full raft
#

oh, it probably did, but you just haven't checked the relevant Info yet. That being, what is in the error.log?

dry plinth
#

its my first time modding the game

#

what did i do wrong with the leader

#

okay i see i have one folder named gkot

#

mabye that's the problem

#

still

full raft
#

Well, then let's error-stomp. remove all those recruit_characters

dry plinth
#

h-how

#

i only added leader

full raft
#

By removing them from the history file. There should be recruit_character [...] in there. remove all those

dry plinth
#

OHH THIS GUYS

full raft
#

jep

dry plinth
#

so like this

full raft
#

yep

wintry geode
#

SERBIA IS STILL JOINING reeeeeeeeeeee

dry plinth
#

i got still some errors and country not work still

wintry geode
#

ai_strategy = {
type = ignore
id = "AUS"
value = 10000 ai_strategy = {
type = ignore
id = "SER"
value = 10000
}
}

full raft
full raft
full raft
#

Right, then the Checklist. I know you have the history file, do you have the relevant common/countries file? Have you added the Tag to the country_tags file?

dry plinth
#

here

full raft
#

Right and I suspect "Great Kingdom of Tea.txt" also exists in the common/countries folder?

dry plinth
#

yep

full raft
#

And apparently no relevant Errormessages, hmmm.
Try launching a game and clicking on the empty area + afterwards get the error.log

dry plinth
#

okay

full raft
#

(clicking on empty Area to check if state is broken)

dry plinth
#

okay

#

clicking nothing happens

full raft
#

Yea, select a different Nation, say belgium and start the Game. Once you are in Game, check if clicking on it yields a highlighted Province/State Border.

Also did you ever use nudge?

full raft
#

Hang on a sec, how does the File for that State look?

dry plinth
#

give me a sec

#

ermm

#

i forgor

#

to change there

#

one thing

#

you know which one

full raft
#

Well than that will likely be the solution. But I am also quite surprised, that the error.log doesn't catch that-

dry plinth
#

YES SIR

#

and do you know why the flag is not working/

full raft
#

Is the Tag correct/ did you get Flags for all sizes (large, medium, small)?

dry plinth
#

large?

#

wait

full raft
#

wait large is default

dry plinth
full raft
#

been a while since i did flags

dry plinth
#

chill no problem

full raft
#

Are those .tga Files?

dry plinth
#

tga

#

yep

pale sparrow
dry plinth
pale sparrow
#

you just throw in a PNG and it makes the 3 files for you

dry plinth
#

yoo ty for info

#

last question how do i get more profinces for my modded country

full raft
#

Actual Provinces or states like Greater London Area?
States are the same as with Greater London Area, Provinces are a bit more involved and not quite my area of expertise

wintry geode
#

country_event = {
id = fra_1789_event.9
title = ""
desc = fra_1789_event.9.d
picture = GFX_idi_amin_india
#is_triggered_only = yes
trigger = {
original_tag = VND
country_exists = VND
date > 1789.1.1 date < 1800.1.1
}
fire_only_once = yes
option = { #
name = "Declare Independence"
ai_chance = { factor = 100 }
FRA = {
country_event = { days = 30 id = fra_1789_event.10 }
}
}
}

#

Will the 10th french event be trigged?

#

with this

dry plinth
#

i just wanted to give this terrain to the modded country

full raft
wintry geode
full raft
#

If you fire the Event via the Console, it will tell you, which of the conditions are met. This could be a good Test to see if they work

proper acorn
#

[20:30:25][1948.01.01.12][country.h:1783]: Asking if SWI is a neighbor of SOV before the latter country is initialized (or otherwise has no neighbors).
[20:30:25][1948.01.01.12][country.h:1783]: Asking if SWI is a neighbor of ENG before the latter country is initialized (or otherwise has no neighbors).

#

how do i fix it?

pale sparrow
dry plinth
#

Can i just add here more files to get more terrain for country

rose ingot
#

I did a funny

lofty plaza
#

Geeza

obtuse condor
#

just export the image into a tga file and put it into the gfx folder

obtuse condor
#

My PC is potato as shit. Are there small-scale mods like Europe Only (maybe Old World Blues) that could lower my CPU load?

timber zenith
obtuse condor
#

kinda useful if you're having around 130 countries in your mod files

short kayak
#

Is there a way to restore nudger to default settings? I think I messed up

#

it causes error.log map error and tells me to nudge when I start in debug

zealous path
#

Anyone knows how to load a focus tree while still keeping some parts of the old one?

For example keeping the industry and army path the same but loading a new political one?

timber zenith
timber zenith
zealous path
zealous path
timber zenith
#

Not necessarily

zealous path
#

okay, so lets say I made a new file with those sections

#

how would I load the new focus while still keeping those sections

#

from my knowledge load_focus_tree completely removes everything and then adds the new focus

#

im tryna keep this little industry path from deloading when the new section is loaded

ancient vale
zealous path
#

nvm, I just realized how to do it, never worked with shared focuses before

ancient vale
#

and to add a core to the state you have to add add_core_of = [country tag]

pale sparrow
ancient vale
pale sparrow
#

A few percent IIRC

wintry geode
#

Why wasnt the event triggered?

dry plinth
#

how do i add that if country change from idk democratic to comunism that then my leader from comunism is showing up

zealous path
# dry plinth how do i add that if country change from idk democratic to comunism that then my...

How has nobody responded to this lad? anyway

Lets say you are making a character. (Im taking this romanian character for example), the country_leader "Ideology" is what makes them show up. "conservatism" is a sub ideology for democracy.

characters = {

ROM_gheorghe_tatarescu= {
    name=ROM_gheorghe_tatarescu
    portraits={
        civilian={
            large="GFX_Portrait_romania_gheorghe_tatarescu"
        }
    }
    country_leader={
        ideology=conservatism
        expire="1965.1.1.1"
        id=-1
    }
}

}

This is how ideologies are defined:

"
democratic = {

    types = {

        conservatism = {
        }

        liberalism = {
        }

        socialism = {
        }

        populism = {
        }
    }

"

It will automatically change to the character when the ruling party is changed. you can use set_ruling_party command to quickly change the ruling party

dry plinth
#

what did i do wrong?

#

error log

full raft
#

Characters = {} isn't something that exists. You recruit Characters with, well "recruit_character ="
You can check Vanilla history files for Refrence

zealous path
full raft
#

So, yeah characters = {} is used in a different File, I believe

zealous path
#

nah i use characters = {}

#

in my characters file for my mod

#

it works fine

#

this is how I did my file

#

no errors, works fine

full raft
#

Yes, but the posted File was history country file

zealous path
#

yea, for history you need to recruit characters defined in characters file

zealous path
# dry plinth what did i do wrong?

so yea, as pokewars stated, you have to do "recruit_character = [NAME]"

and in common>characters>(...).txt you define it with characters = { } and put the names in there.

#

this is how it would look in practice

cedar ledge
#

can anyone help me?

#

my fonts aint fonting

full raft
paper burrow
#

hi,
i wanna make a submod that prevents the AI from making divisions with names like "infantry template 5" or similar
the wiki doesn't tell me whether this is governed by localization or unit files (or both)
where do i have to start looking?

dry plinth
#

yoo pokewars are you able soon to help me out with the leader thing

full raft
dry plinth
#

i mean its to complicated for my small brain

full raft
#

Okay, sooooo.
Characters are Entities, like Units, Nations, States, whatever. So they have their own File, where they are created, with the Characters = {} block you added to the history File of your Nation here. That doesn't belong there, it belongs in its own dedicated file in common/characters
In the history File, add the recruit_character effect for every Character you wish to add, just like shown in many Vanilla files or the example given by oofioznis (last picture)

full raft
#

If adaption is not necessary, that seems easy enough

paper burrow
dry plinth
#

So did i make this first thing good?

full raft
#

I don't believe changing the procedural Names is possible? Would guess it to be in Localization if anywhere, though I would have to dig there

full raft
paper burrow
#

guess i have to dig deeper myself then, thanks anyway

full raft
#

A Character is like a National Spirit, it needs its own entry in a .txt file in the folder common/characters
Typically all characters of one Nation are collected in one .txt File. Check Vanilla Files for Refrence

paper burrow
#

i think i found it, just need to make new files in common\units\names_divisions for each tag

full raft
#

Nah, that is for individual units, not the templates, as far as i can see

dry plinth
#

Why this guy is showing up not mine

full raft
#

error.log?

dry plinth
#

wait a sec

full raft
dry plinth
#

ermm complicated ngl

#

is it just beacuse i don't have folder portraits