#modding

1 messages · Page 24 of 1

burnt vigil
#

Kherson should be 196

strange tinsel
#

it is

burnt vigil
#

ye

strange tinsel
#

well, this didn't solve the issue, since I am trying to get control of Kherson in Ironman mode from Italy as germany, but the game detected I modified the save file

burnt vigil
#

oh

strange tinsel
#

ffs, why doesn't italy want to give it to me already

#

it switched over due to some bug

burnt vigil
#

did you already do the peace treaty>

strange tinsel
#

and now I cannot get ukraine

strange tinsel
burnt vigil
#

end the war, then you can demand for all of russia

strange tinsel
#

but I want to form the reichskommissariat

#

I know, but that will take a long time

#

I kinda need it now

#

since I am running out of manpower

burnt vigil
#

ss of the current frontline?

strange tinsel
burnt vigil
#

push to moscow

strange tinsel
#

great, now my main save file is also unironmanned

burnt vigil
#

just refresh it

strange tinsel
#

any way to fix this?

strange tinsel
#

although I didn't

burnt vigil
#

odd...

#

bc usually works for me when i load ironman

strange tinsel
#

yeah same

#

I did modify a copy of that savefile though

#

I'll see if there is a way to fix this

burnt vigil
#

but ye

#

take up to moscow

#

and from there russia pretty much caps

strange tinsel
#

yeah that can be done, but now I cannot get acheivements for no reason

burnt vigil
#

interesting

strange tinsel
#

screw it, at this point I'll at least get goddamn kherson from stupid mussolini

#

...aaaaand it doesn't work

#

no wait I do

#

hoi4 moment

burnt vigil
#

oh ye, ik why it'd work

#

your faction controls it

#

and so behind the scenes, benito and adolf can have a talk about ceding the land

lofty plaza
#

You could of also just gone into debug and hovered over it

lofty plaza
stoic ether
#

does someone know a discord server that "give/share" mods?

#

if u could send me one, thanks

quick latch
stoic ether
#

yeah, sorry bad english

quick latch
#

define "give/share mods"

stoic ether
#

sent mods?

quick latch
#

Who sends who mods?

stoic ether
#

idk

strange tinsel
#

As a matter of fact, the state was controlled by me but it still showed italy as the owner

quiet wedge
#

The best mod in the universe. (This is on russian, I know, but I am from Russia, so it's normal that I play on russian language, this is just Luxembourgish towns)

red dagger
#

hoi4 modding

spare nacelle
#

can someone make a mod where you can skip justify war goals for mp and you can use in other mods like millennium dawn i tried but failed

quick latch
burnt vigil
#

how does statenames work

burnt vigil
#

@_@ im scared

brave glade
#

or 'allow diplo' i cant remember

slender brook
#

allow diplo

#

HOI4 doesn't really use commands with . in it

#

Also he said for multiplayer

#

So taht doesn't work

brave glade
#

ah

#

well

#

im not really sure but my 8 braincells left could probably try to do it

#

also W femboys

slender brook
#

Thank you

brave glade
#

well, i know i could decrease wargoal time to ten days and like 1 pp

#

but that doesnt let you just declare

#

anyways i got a headache and i got 6 hours of sleep

#

so

#

gn

slender brook
#

Good night

red dagger
red dagger
#

the names of states are set in the indivdual state files

slender brook
#

No they aren't

#

They're defined in state_names_l_english, using the STATE_100 format

red dagger
slender brook
#

Are you talking about the name attached after the state number?

red dagger
#

state={
id=853
name="STATE_853"

slender brook
#

Alright, that's what you meant

#

I thought you were talking about the actual, real name

red dagger
slender brook
#

One is a localisation key, the other is an actual name

#

STATE_853 would be Ljubljana

#

It's done this way so names in different languages work properly

red dagger
slender brook
red dagger
#

weird

slender brook
#

Are you sure you aren't looking modded files

red dagger
fleet marten
#

Is it possible to add more custom portrait to the pool which the game use to create random generated portrait? Because today I just realize that after generated 5 - 6 portraits, the next one will be the same as one of the previous generated portrait. Now there are a lot of twins in my generals pool.

quick latch
# spare nacelle yes

I'll see what I can do about it but there should already be enough mods that let you do something similiar

past panther
#

ive reinstalled hoi4 as i am returning to it and i am met with this

#

in the mods section

quick latch
past panther
#

alr

obtuse condor
#

a little teaser

#

discord in bio, posting updates there

past zinc
#

is there any mods that add assault guns to tank designer. No total overhausl like horst or TFB

honest eagle
red dagger
#

[02:37:08][dlc.cpp:227]: Invalid supported_version in file: mod/ugc_1993141805.mod line: 7
[02:37:08][dlc.cpp:227]: Invalid supported_version in file: mod/ugc_2008958925.mod line: 7
[02:37:08][dlc.cpp:227]: Invalid supported_version in file: mod/ugc_2673259461.mod line: 10
[02:37:08][dlc.cpp:227]: Invalid supported_version in file: mod/ugc_786868637.mod line: 8

#

Does anyone know what the cause of this is

#

long time since ive modded

tight imp
quick latch
vital wharf
#

gotta love debugging a mod while having 20k errors about a german infantry man's animations not aligning with hungarian tanks

#

*Hungarian tank models

#

why are the tanks trying to walk

quick latch
#

Is it possible to make a decision only clickable if the player has clicked another one? I mean doing something like this:

decision_two = {
    available = {
        has_completed_decision = decision_one
    }
}
vital wharf
#

i could be wrong but isnt it by having the first decision unlock the second?

quick latch
#

like how?

vital wharf
#

country flags

#

such as the decisions for changing ideology use custom flags as variables to know what stage you are in the prcoess of changing

quick latch
#

makes sense

vital wharf
#

im trying to figure out why my mod keeps crashing after I scaled the map up by a factor of 2

quick latch
#

good luck fixing

vital wharf
#

its scaled from 5632x2048 to 11264x4096

#

had to put the panama canal back in panama and not in the galapagos.

#

\

stuck quarry
#

So is it possible to add a resource and have owning some of that resource be a requirement for certain research and equipment production

burnt vigil
#

Don't think so

stuck quarry
#

Damn thats a shame

burnt vigil
#

Ik you can do it for Eq. Prod

#

Like with tanks, you need x amount of steel

#

But idk about tech

stuck quarry
#

Damn, i was planning on adding a element which would require you to own some of it to do research on it basically then use it to produce stuff

burnt vigil
#

Its reasonable

#

But idk if it's possible

stuck quarry
#

I guess ill just have to do ALOT of googling

burnt vigil
#

I have an idea, where my mod has 2 pie wheels

#

One for ideologu as in fascist, monarchist, communist

#

And another for the sub ideology, like Marxist or nazist

#

Would it be possible

slender brook
#

I doubt it, although maybe with some complicated variables it might be

burnt vigil
#

so if i bust my ass, maybe?

slender brook
#

Honestly just make your own game at that point

#

Oh right, you could do something like the Senate and House, but a pie chart might be more difficult

burnt vigil
#

hardest part is making it as a sub of the main chart

burnt vigil
pallid warren
#

Why is this democratic

#

the notepad says communism

slender brook
# pallid warren

Ruling party should be something like socialism; ruling party means what subideology they are using

pallid warren
#

weird, on the other nations i put communism and it worked

slender brook
#

Oh

#

I’ll check again

#

You need to put 0 after fascism and neutrality

#

Here’s a tip for any coding; never have an equals sign without something on both sides
I don’t know any code that doesn’t cause errors with that

pallid warren
#

btw

#

how to make a faction?

#

with a member already in it

slender brook
pallid warren
slender brook
#

In the history/country file

#

The Soviets should have it somewhere

pallid warren
#

Ok i found it

pallid warren
#

how to make a nation declare war on another nation when a game starts

#

this?

#

if = {

limit = {

    has_start_date < 1936.01.02 # If the start date of the game is before 02/Jan/1936

}

declare_war_on = {

    target = TAG # Country to declare war on

    type = annex_everything # What would the AI do with the nation afterwards, annex_everything/puppet

}

}

primal tusk
#

What do you think of mod Millenium dawn: modern day?

pallid warren
#

and its slow

buoyant mortar
#

but imo the mod is boring

obtuse condor
#

like egregiously bad

quick latch
pallid warren
burnt vigil
#

Lmaoo

pallid warren
#

Which tastes better

#

Union Of Malayan Nations UOMN

United Malayan Nations Organization UMNO

Organization Of Neutral Malayan Nations ONMN

Free Malayan Nations FMN

#

Its for my mod

#

United Malayan States UMS

#

Malayan States National Organization MSNO

#

I must know

misty marsh
#

Switch UOMN to "The Union of Malayan States" Or just UOMS

#

U dont have to, just spit balling

pallid warren
#

That sounds nice

misty marsh
#

k

misty marsh
pallid warren
#

Thanks!

misty marsh
#

np

lofty plaza
#

Great!

severe knoll
#

guys, where do i see all unit roles?

severe knoll
#

i want to use build_army, but idk wat are the targets. wiki seems to be confused too, saying the target is an archetype and then saying it is a role
what is suposed to be in id = and where do i find the things dat i can put there?

obtuse condor
#

dm me if you want to help

obtuse condor
#

that is why

#

add a leader and the nation will be communist

#

nations with no leaders get... very weird

red dagger
quick latch
#

no, you can't fix that. The original dev of the mod would need to fix it
Just ignore the error

quick latch
#

oh, well how does your descriptor file look like?

red dagger
quick latch
#

the code inside the file

red dagger
quick latch
#

try to change version just to "1.0"

red dagger
#

didnt work

thin chasm
#

Are you also changing the .MOD file in the folder directly just before your actual mod folder to support the same version?

#

Documents/Hearts of Iron IV/mod (or equivalent path) to be specific

red dagger
#

ill change the other one too thanks!

#

ill let you know if it works

red dagger
#

version="1.0"
tags={
"Alternative History"
"Map"
"National Focuses"
"Ideologies"
"Historical"
"Gameplay"
"Fixes"
"Events"
}
name="Lost Chaos of 36'"
supported_version="1.12.11"
path="C:/Users/hackk/OneDrive/Dokumenter/Paradox Interactive/Hearts of Iron IV/mod/LC36"
remote_file_id="2956966402"

#

version="1.0"
tags={
"Alternative History"
"Map"
"National Focuses"
"Ideologies"
"Historical"
"Gameplay"
"Fixes"
"Events"
}
name="Lost Chaos of 36'"
supported_version="1.12.11"
remote_file_id="2956966402"

edgy solar
#

quick question

#

does anyone know how to change an icon for an agency

#

or add a new one?

pallid warren
cloud lily
#

how to mod a state that has permanant access to another?

cloud lily
#

help

#

permanent military access

vital wharf
#

give me the example you are trying to use it for

cloud lily
#

to another country

vital wharf
#

wrong msg deleted

cloud lily
#

UK Egypt

#

Egypt was semi-independent

#

Egypt controled most things but has a big influence by the british

#

in politics

vital wharf
#

add it in the history files that the uk has mil access to egpyt, but if egypt is still a puppet, theyll have access through each other's land unless youve removed access in puppet types

cloud lily
#

i'm new to modding

#

ik how to make countries

#

but not the diplomacy

#

help

vital wharf
#

In Egypt's history file add this line
give_military_access = ENG

cloud lily
#

where in the doc?

#

ohh

vital wharf
#

put beneath the capital state if its easiest for you

#

normally its put in the political section of the file but thats just for organization

cloud lily
#

thx

#

where can I find other diplomacy codes?

vital wharf
#

wdym

cloud lily
#

if I needed them?

#

like if I needed to make a puppet state, non-aggression pact etc

vital wharf
#

either look them up on the wiki or as i do, use vs code to ctrl+f for a keyword and find it elsewhere in code

#

the wiki is easier though

cloud lily
#

what is the page exactly?

cloud lily
#

thx

#

how to enable ai only mode in a mod?

vital wharf
#

what the spectate/observe command?

vital wharf
#

What can sause the nudge tool to crash when renaming states?

cloud lily
quick latch
#

When using highlight_states = { ... } directly inside a decision (and not a decision category) why does that only highlight one state and not all?

fleet marten
#

is it possible to add custom portrait to the pool which the game use for create random generated officer portrait?

burnt vigil
#

forgot how to do it exactly

honest karma
#

any docs

quick latch
slender brook
#

Because it is not impossible in singular decisions, for some reason

quick latch
#

I see

#

Sad to see that not working, would've been a nice feature for my mod

dim bronze
#

how do i give a country autonomy through a focus?

obtuse condor
#

should cuba be given a monarchist tree for non-aligned?

#

i was thinking of having a monarch path and a non-aligned despot path (historical, batista)

#

just to make it interesting

#

though im not sure

#

that would open the door to a spanish led lat-am faction that coud be fun in MP

quick latch
obtuse condor
#

which is the hist path

quick latch
#

ah

obtuse condor
#

starting 1940 there'll be an event where if the player has met certain requirements through focuses and decisions, batista will be elected president and then turn the country into a dictatorship

#

and then 1953 if the game goes on that long, if cuba remained neutral during WW2, also hist path
there'll be a civil war with the communists by default, Castro's revolution
but well before that itll give cuba some debuff stability and debuff WS ideas

#

also probably gonna be through decisions the player makes

vital wharf
#

is there a limit to how large of a loc file nudge tool will save, because ive reinstalled the game and the launcher and the nudge tool still crashes when saving state loc files

quick latch
vital wharf
#

there are no history loc or map files... when i save a state rename in nudge, the game crashes with no errors present in the log

vital wharf
#

why does the tutorial crash the game

#

apparently attempting to remove the tutorial files from my mod crashes the game

quick latch
#

how'd you even try to remove the tutorial? xd

vital wharf
#

stupidly apparently, i removed the interface and gfx files for it but forgot that my mod is set to replace path for almost every folder in the game file

#

just a few errors

#

most are the animation issue and then some for missing flags and country names under custom ideologies

#

and a few for the game deciding belgium's focus tree is not the generic one

#

most of this mod is about the addition of nearly 400 new states

#

and i have been working on it for nearly a year

vital wharf
#

What does [14:33:37][pdx_nakama_wrapper.cpp:1561]: [PDX NAKAMA] Socket onError: connect failed: set_fail_handler: 9: Timer Expired. mean?

thin chasm
#

Multiplayer-related, but I'm not sure if it's a modding problem

cloud lily
#

is it legal for me to make a mod that doesn't make the game require DLC to do certain stuff?

brisk turtle
#

As far as im aware you're allowed to make mods of pretty much anything, bar stuff obviously illegal

cloud lily
#

like I could just get No Step Back for free?

brisk turtle
#

Probably, so long as you werent ripping assets and didnt claim that it was completely original

thin chasm
#

I mean, all the NSB focus trees already exist in the game files, even if you don't own the DLC

#

So anyone could just disable the DLC check and use them

brisk turtle
#

Sure, unless theres some specific thing ive never heard about preventing that

vital wharf
#

sudetenland forts are causing graphical bugs now

#

nvm its jsut the fort model in general

burnt vigil
#

i figured out how ima do ideologies until i can figure out a system for dual ideologies

#

just make a metric shit ton, then make it so you cant change ideology

#

only through focus

vital wharf
#

just dont give the nations the political advisors to change ideology then

burnt vigil
#

thats the plan

#

what does

"FACTION_NAME_DEMOCRATIC_1"

mean

#

like, what does it do

#

and do i need it for say, absolutism or Anarchism

burnt vigil
#

but you can't enable them

#

like if Russia wanted to make the Trotskites rule, they'd need a trotskist advisor to grow the ideology into the gov

vital wharf
burnt vigil
#

figured out that faction name does

burnt vigil
#

then i gotta create icons for it

#

when i could just use people of influence in that time

#

what does it mean by "can_force_government = yes"

#

like, force a gov ideology in a treaty

#

or influence ideology

#

first ideology almost done

fleet marten
#

Is it possible to edit name and portrait of officer/generals (created by procedural generated) ?

#

like there is a generals name A, he is a random generated general, but I want to edit his portrait and also his name, is it possible?

quick latch
#

Don't think that's possible, you probably need to add your general manually

burnt vigil
#

not possible, but you can create a huge list of effectively every name in germany for example, and have it use that

neat lantern
#

how to remove pruge

pale sparrow
#

If you can get them targeted, you can apply a set_character_name and set_portraits

vital wharf
pale sparrow
#

Yup

ashen arch
#

just started modding and made a custom nation. It works but all the other nations have their rgb colours inverted does anyone know what to do?

sudden bramble
#

anyone knows how to make that few developers can "update" mod like others big mod instead of making mod alone (how to create github repository with out creating a new file if i want to put it in my mod file)

dim bronze
#

how do i add something so when i complete a focus a newspaper appears? kind of like how rhineland appears in the news

sudden bramble
sudden bramble
# dim bronze how do i add something so when i complete a focus a newspaper appears? kind of l...

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

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

▶ Play video
dim bronze
#

i want something to pop up in the news

burnt vigil
#

oh

#

yea make the event

#

and in a focus, you put in the trigger to play that event

#

like with the moscow trials

sudden bramble
burnt vigil
#

this, give or take would be the type of code you want

inner forge
#

how can i remake the mongol empire using RT56? i cant find the focus to do it

quick latch
# dim bronze i want something to pop up in the news

you probably have already figured it out but if not:

focus = {
    # all other stuff here

    completion_reward = {
        news_event = {
            hours = 6 # optional
            id = news.25 # news event to play (remilitarization of the Rhineland in the case)
        }
    }
}
obtuse condor
#

i need someone to help me solve a map issue rq

#

shouldnt take more than a few minutes

#

i enlarged Cuba but it seems that the provinces are in entirely different places

#

this is an example

#

and this weird clipping

#

it should look like this

lofty plaza
# obtuse condor

You sure those are all unique colours that aren't already used?

obtuse condor
#

yeah i had the nudge generate them

#

i used photoshop to look for the hex codes too to double check

#

im just getting provinces randomly appearing invisible in the ocean where Cuba used to be in the original map

#

and weird clipping

#

i think i missed a step

thin chasm
#

Sounds like you haven't edited the terrain and/or heightmap to account for the new province geography

#

But don't ask me about those, I still haven't figured out how to edit them

lofty plaza
#

As long as the terrain itself has not changed that is irrelevant

obtuse condor
#

i asked chatgpt and it says i mightve forgotten to update definition.csv

#

maybe

#

i havent map modded in a while

thin chasm
#

Well there's definitely that as well

#

But that's the easy part compared to provinces clipping through terrain

obtuse condor
#

then its that
its probably why the game thinks there are provinces in the ocean

lofty plaza
#

Again, the terrain does not matter unless you're changing the actual map. Though you're free to try if there even if anything.

burnt vigil
#

can i change a country flag w/o changing ideology?

#

because Stalin was in power by 1924, but didn't have Stalinism around until 1927

burnt vigil
#

actually nvm ik what to do

copper acorn
#

Any kings in here want to make a mod for usa that just adds Creighton Abrams as a general

#

Also pershing

#

Until his death

burnt vigil
#

should be easy

#

you want them generals, officers, or FMs?

#

in all reality, all 3 of them are usable for FM role with promoting

sudden bramble
honest void
#

how do I make a focus unlock a certain tech?

simple marlin
#

chg = { icon = exgeneric cost = 100 days_remove = 14 remove_effect = { if = { limit = { fascism > party_popularity@communism fascism > party_popularity@democratic fascism > party_popularity@neutrality } set_politics = { ruling_party = fascism } } } } }

#

is this ok ?

fallen mesa
#

can you make the potrait of a general change when he changes countries?

#

for example

#

the austrian generals

#

can they change

#

when

#

they join germany?

obtuse condor
#

ill be making a Mod that adds a LOT of new units and templates

#

aswell as a RL military organization

timid zephyr
#

Why does it show error?

#

Actually this one shows "add ." so I assume it's the problem

inland lodge
#

Assuming you got these from another place; you need to have the said ideas for those focuses

fallen mesa
#

i fixed this guy. he looked so bad with the generic face

#

i found the potrait online

#

i didnt make it

#

but this was my first mod

#

and im happy 😄

#

austria is a small country and he didnt matter

#

but after anchluss he became a german general

#

and that bothered me

raven oak
#

whats going on boys

neat gale
#

any one want to play a game

stuck quarry
#

is there a way i can make a music track change based on the world tension?

fallen mesa
#

why would u want to do it

stuck quarry
#

why not

fallen mesa
#

hmm

#

btw

stuck quarry
#

as world gets more chaotic so does the music

fallen mesa
#

u know how to add characters

#

who

#

appear

#

only at

#

a certain date

#

or year

stuck quarry
#

never messed with characters

fallen mesa
#

e

royal trail
fallen mesa
#

for like the generals

#

that came later

#

into armies

#

or got promoted

sudden bramble
#

need people for my mod mostly loc and gfx
im trying to make the most historical mod
started today
making focuses for major country
making economy system
operation tab (if possible) and etc...

If you want to join fill free to dm me !

burnt vigil
#

is there a mod to make the Western and Western bloc as USSR

#

like how Germany can form the Reichskos

jade talon
#

Hi, i didn't found the hoi4modding discord server so i ask this here, let me explain, i created a focus tree in hoi4modding website with 11 focus, i put the mod in the game but when i lanched the game, taked france, and click on the focus tree, only 2 of the 11 focus appears, do you know how to fix that ? (btw the mod is in french)

hollow glade
#

Idk

pale sparrow
#

map mods, retextures, music mods

hollow glade
#

Ok

pale sparrow
#

you shouldnt use the hoi4modding website

hollow glade
#

What should I use then

#

Bruh

pale sparrow
#

Anything else

#

you should be using visual studio code, maybe Notepad++ for mass searches

hollow glade
#

Bro I just want to make a focus tree for like iran

pale sparrow
#

just copy paste focuses then edit them

hollow glade
#

Ok

snow jasper
#

i made a mod

#

Independant Koreas

#

(beta

#

is it supposed to be like this

#

or

simple marlin
#

does anyone know how to cancel decisions with timer early ?

snow jasper
#

nvm fixed

simple marlin
#

I mean there is cancel_trigger but I don't know how to utilize it if I remember there were decisions that can be cancelled by clicking again

#

how do I enable that feature in my decision

obtuse condor
#

ChatGPT knows HOI4 modding

#

its a massive help

pale sparrow
#

Just look on the wiki

#

Ive never heard of this cancel trigger thing

obtuse condor
#

hey @pale sparrow can u help me w something rq

#

i messed up my map horribly no idea whats causing it

#

here are the files i edited but they dont have artifacts in them
unaware if i messed up the heightmap or something else

obtuse condor
#

Can somebody send me their amount of errors so I can show to my friend that 320 is not a lot lol

slate latch
#

does either TWR or TNO work on latest version?

lofty plaza
#

Otherwise you're going to have to be more specific

obtuse condor
#

It’s more than provinces.
I made the actual island of Cuba much larger for gameplay purposes

stuck quarry
obtuse condor
stuck quarry
#

Mostly flags being missing and missing things from gfx files

#

Random errors that are easy to fix mostly

#

And i think some relating to missing audio

warm panther
stuck quarry
#

Christ

#

How did you manage that

#

I mean ig i havnt really changed much, so far im just changing countries and the ui (got tno ui from some other mod on the workshop and it came with hella errors I’ve neglected to fix)

ruby sparrow
#

Hi I need help trying to figure out, why a mod I'm trying to use isn't working. is there anyone that can help me?

obtuse condor
slender brook
#

I get antsy when I have one error, what the hell are you guys doing

warm panther
warm panther
#

Needless to say it took a few days to get almost all of the errors fixed

burnt vigil
#

I usually have maybe 60k errors if I mess up sum

obtuse condor
#

Any modpacks with competent AI where i would have a challenge playing

quick latch
quick latch
pale sparrow
honest void
#

continuous_focus_position = { x = 400 y = 2800 }
focus = {
id = CIS_the_sith_plot
icon = GFX_CIS_the_sith_plot-57183
days = 1
x = 13
y = 0
cost = 10
available_if_capitulated = yes
ai_will_do = {
factor = 1
}
completion_reward = {
add_political_power = 66
add_war_support = 0.05
unlock_technology = {
technology = "C9979_equip"
technology = "nantex_equip"

        }
            
    }
}
#

Is this ok?

pale sparrow
snow jasper
#

hey

#

im working on a focus tree

#

but

#

i need names

#

like

#

look

obtuse condor
#

in the near future ill/i will make new units and templates for every nation

#

aswell as RL Military organization

snow jasper
#

man

#

i have

#

this

#

but

#

i cant continue it

#

cuz no names

honest void
#

reading the wiki is 100x times better

snow jasper
#

how do i make the japaneese divisions not spawn in NK?

pale sparrow
#

ChatGPT makes up parameters

honest void
# pale sparrow Yes

continuous_focus_position = { x = 400 y = 2800 }
focus = {
id = CIS_the_sith_plot
icon = GFX_CIS_the_sith_plot-57183
days = 1
x = 13
y = 0
cost = 0.2
available_if_capitulated = yes
ai_will_do = {
factor = 1
}
completion_reward = {
add_political_power = 66
add_war_support = 0.05
set_technology = {
C9979_equip = 1
nantex_equip = 1
vulture_fighter_equip = 1
diamond_equipment = 1
marauder_equipment = 1

        }
            
    }
}
#

so now It should work right?

snow jasper
iron abyss
#

aaaaaaaaaaaaaaa

pale sparrow
iron abyss
#

what is problem?

#

year? or province?

dim bronze
#

how do i replace a leader of a country?

paper blaze
#

am i correct in assuming that if i put this in the default ai strategy file, it will encourage the ai to make carrier fighters and deploy them for any nation that has carriers?

    type = unit_ratio
    id = cv_fighter
    value = 10
    enabled {
        has_navy_size = {
            unit = carrier
            size > 0
        }
    }
}
    
ai_strategy = {
    type = equipment_production_factor
    id = cv_fighter
    value = 10
    enabled {
        has_navy_size = {
            unit = carrier
            size > 0
        }
    }
}```
#

(and repeat for carrier naval bombers ofc)

quick latch
quick latch
lofty plaza
stoic scroll
#

how to add scenario

pale sparrow
#

common/bookmark folder

true tinsel
#

me rethinking my life choices after I uninstall and re-install hoi4 and the game doesn't launch

thin chasm
#

Have you cleared out your Documents/Paradox Interactive/Hearts of Iron IV/ folder of any modding-related folders (maps, history, etc.)?

#

They'll prevent the game from launching properly otherwise, and that folder isn't cleared when you uninstall the game

true tinsel
#

I got it working, dw

thin chasm
#

Oh, good stuff

quick latch
#

How do I make the Soviet AI not immediately justify on me after I annex their European states but not the rest?

past zinc
#

you dont

quick latch
vale condor
#

is there any way to change the version of the xbox game pass version?

#

got a few mods i wanna try but can't because they crash since they're made for older versions

vale condor
#

damn, that sucks

tropic isle
stuck quarry
#

Just casually spent 2 hours trying to figure out why my localization wasnt working when i put a uppercase I in the file name instead of a lowercase L, bruh momento

scenic star
#

common L

shrewd hull
#

hey

pale sparrow
noble tulip
#

I have a problem, I created an event that should run at the start of the game, and then no longer appear. I put a line in the file on_actions
here it is:
on_startup = {
effect = {
every_country = {
if = {
NOT = {
has_country_flag = opisanije_moda.1_flag
}
country_event = {
id = opisanije_moda.1
}
}
}
}
}
Also, here is the event itself:
country_event = {
id = opisanije_moda.1
title = opisanije_moda.1_t
desc = opisanije_moda.1_d
picture =
is_triggered_only = yes
trigger = {
}
option = {
name = opisanije_moda.1_opt_1
hidden_effect = {
set_country_flag = opisanije_moda.1_flag
}
}
}
The event appears at the start, but the problem is that it repeats an infinite number of times, after about 3-10 days. Please help!

quick latch
#

also pls use code blocks because just pasting your code into discord looks ugly and is harder to read

vital wharf
noble tulip
quick latch
vital wharf
#

@quick latch

hollow glade
#

He's trying to make this impossible

#

To send my 50 divisions through

digital stag
#

someone know how i make decisions?

dim bronze
#

how do i make it so i need a certain amount of manpower and political power to do a focus

pale sparrow
#

@dim bronze @digital stag check the wiki and game files

dim bronze
#

how do i make it so you can annex a state through a focus?

tropic isle
dim bronze
#

when i do it i cant add any buildings there

tropic isle
#

wdym

dim bronze
#

i cannot construct in the state i transfer

tropic isle
#

a problem with ur game than cuz thats not a problem for me

tropic isle
dim bronze
#

yes

tropic isle
#

alr

#

what country is it ur doing

#

might be no civil factorys in the state

dim bronze
#

i can construct now

tropic isle
#

alr

dim bronze
#

idk what happened before

tropic isle
#

what country ur doing though

#

i recommend making a event if it takes a state from a random country where theres refuse = war goal or accept = gives the state

dim bronze
#

how do i make it so an original countries troops are transferred to my mod countries troops? like if i put a mod country in germany how do i give germanys troops to that mod country on game start

tropic isle
#

go into the countrys file

dim bronze
#

and do what

tropic isle
#

sorry i meant go to history and then countries

#

in ur code of ur country

#

add

oob = "GER_1936"

after the set captial

dim bronze
#

what does it do

tropic isle
#

JUST DO IT

#

IT GIVES THE COUNTRY AN OOB/ ARMY

#

and also not all units will be in your land so u can make a new oob in history units and make your own army

dim bronze
#

i added the file and i dont have an army

tropic isle
#

go here

dim bronze
#

i am

#

and im in country

#

i added it after capital

tropic isle
#

than go in ur countries code

#

and do that

#

ingore the rest

#

just put the oov

#

oob

dim bronze
#

with the #?

tropic isle
#

nope

#

i was about to mention that'

#

change abk to GER

dim bronze
#

i have it there

#

oh thanks it works

#

is there a way to add even more troops?

tropic isle
#

go into the oob of the country]

#

history > units > GER 1936

#

add a line that goes like this

#

set province to province id

#

remove divison_name

#

its useless

dim bronze
#

one more thing, do you know how to change a countries ideology through a focus?

tropic isle
#

remove division_name
and every thing thats in its barracks

#

set_ruling_party = "IDEOLOGY"

#

try that

#

i forgot if it did work

dim bronze
tropic isle
#

yes

dim bronze
tropic isle
#

did u do something like this

set_ruling_party = fascism

dim bronze
#

yes

tropic isle
#

oh try this

set_politics = {
ruling_party = fascism
elections_allowed = no
}

dim bronze
#

it works now

tropic isle
#

also low party support for that ideology means a event which forces u to become to the old party or a civil war will happen

dim bronze
#

ive made it so the ideology is above 50% support

tropic isle
#

alr

dim bronze
#

is there a way to make a formable through focus?

quick latch
dim bronze
#

yes

quick latch
# dim bronze yes

hmm, the solution you want varies, for example Scandinavia would be something like this:

completion_reward = {
    set_cosmetic_tag = SCA_UNIFIED

    # Norwegian States
    110 = { add_core_of = ROOT }
    142 = { add_core_of = ROOT }
    143 = { add_core_of = ROOT }
    144 = { add_core_of = ROOT }

    # Swedish States
    38 = { add_core_of = ROOT }
    124 = { add_core_of = ROOT }
    138 = { add_core_of = ROOT }
    139 = { add_core_of = ROOT }
    140 = { add_core_of = ROOT }
    141 = { add_core_of = ROOT }
    666 = { add_core_of = ROOT }

    # Danish States
    37 = { add_core_of = ROOT }
    99 = { add_core_of = ROOT }
}

while Greater German Reich is something simple like this:

completion_reward = {
    set_cosmetic_tag = GER_greater_german_reich
    set_province_name = {
        id = 6521
        name = "Germania"
    }
}
sour sonnet
#

What do you recommend to defeat the Soviet Union using Germany?

obtuse condor
#

hi can someone help me? I need a command to change the leader of the country

quick latch
quick latch
#

for the portrait to work go into yourModName\interface, create a file called yourModName_leaders.gfx and open the new file with a text editor of your choice
add the following code:

spriteTypes = {
    spriteType = {
        name = GFX_portrait_TAG_firstname_lastname
        textureFile = gfx\leaders\TAG\portrait_TAG_firstname_lastname.dds
    }
}

A spriteType could look like this:

spriteType = {
    name = GFX_portrait_SOV_josef_stalin
    textureFile = gfx\leaders\SOV\portrait_SOV_josef_stalin.dds
}
#

but if you already have an existing character that you just want to promote to be the country leader then do this:

XXX = { # XXX is the Tag of your country
    kill_country_leader = yes
    TAG_firstname_lastname = {
        add_country_leader_role = {
            promote_leader = yes
            country_leader = {
                ideology = subideologyOfRulingParty
                expire = "1965.1.1.1" # Don't know what this does, everywhere I see this it's 1965.1.1.1
                traits = {
                    # optional
                }
            }
        }
    }
}
obtuse condor
#

so it begins.

honest eagle
lofty plaza
thick stone
obtuse condor
#

Idk if my mod idea is good but roughly this is what it would look like I guess?

slender brook
#

What is the timeline

#

What is the event that changed to cause this

obtuse condor
# slender brook What is the timeline

It’s 1960, some of the leaders might have died but I just picked em as quick as I could and if I can I’ll make an excuse as to why they’d live

slender brook
#

Oh so nothing changed, it's just set in 1960?

obtuse condor
slender brook
#

Alright, just say what the very first event that changed was

obtuse condor
#

1914:
Archduke Franz Ferdinand is assassinated by Gavrilo Princip

Austria-Hungary declares war on Serbia, Russia and Montenegro sides with Serbia, Ottoman Empire, Bulgaria and Italy sides with Austria Hungary. Germany, France and Britain refuse to get involved.

1917:
Austria-Hungary loses the war and is dissolved. Serbia takes control of all the following states (Croatia, Bosnia, Vojvodina, Slovenia, Carinthia, Bulgaria, Istanbul, Trieste). Montenegro decides to unite with Serbia. Serbia renames itself the Illyrian Federation. Russia takes Galicia. Czechiaslovakia, Hungary, and Austria become independent nations.

#

This is the first main thing that happens

#

I have more events up until 1930 if you want me to list them?

slender brook
#

If you want to list them, but I can already see that the timeline has changed quite a bit

obtuse condor
#

Actually I forgot I fixed that nvm

#

1918:
The Czechoslovakian National Socialist Party wins the first election in Czechoslovakia.

Civil Wars break out in both Russia and the Ottoman Empire. An alliance between the Socialist Revolutionaries led by Aleksandar Kerensky and the Social Democratic Party led by Vladimir Lenin is formed intending to overthrow a Tsar and bring forth Democracy (although both have disagreements over this, as Lenin wants a Communist society.)

The Turkish Revolution is led by former Field Marshal and hero of the Ottoman Empire, Mustafa Kemal. He has a populist and progressive conservative platform that unites much of the working class and intellectuals.

1920:
The Polish Peasant Republic declares independence from Russia. Due to the civil war they are met with no resistance. The Polish People’s Party win the incumbent election.

1921:
Inspired by Mustafa Kemal, Reza Khan leads a coup in Iran, becoming Shah and introducing rapid reforms. He maintains a very close relationship with the Kemalists. He later gives himself the last name “Pahlavi”

1922:
Both civil wars end, with the victory of the Reds (also known as Narodniks) in Russia and the now dubbed “Kemalists” of the Republican People’s Party in what is now known as Turkey. Both nations have a friendly relationshop, with Russia now handing over ownership of the Turkish Straits back to Turkey.

#

1922: (Continued)
Benito Mussolini leads a March on Rome with his blackshirts and other members of the Fasces of Revolutionary Action. The fascist/national syndicalist group are handed over powers by the King who they threatened with violence. They promised to be an alternative to the ever growing communism. He was later forced into exile.

Egypt is granted independence by the UK. Fuad I is proclaimed king.

1923:
Russia is renamed the “Soviet Federation.”

The IRA win the Irish War of Independence against the UK. Michael Collins is elected the leader of the newly formed Irish Free State, under the party Sinn Fein. The IRA still exists as the paramilitary wing of the party.

Illyria forms the Balkan Pact with Turkey. Turkey later declares war on Greece, with Illyria joining.

Billy Hughes’ Australian Labor Party forms a coalition with the Australian Country Party, after taking a more nationalist and agrarian stance in recent years (while maintaining socialism).

Adolf Hitler is arrested for leading a failed coup against the SPD government and is sentenced to 50 years in jail. He succeeds in committing suicide. The Strasser brothers win a power struggle to take over leadership of the NSDAP.

1924:
Vladimir Lenin passes away, lowering tensions in the Narodniks. The Menshevik Faction break a stalemate to become the majority faction. He is replaced as Deputy Premier by Leon Trotsky.

China and the Soviet Federation agree to allow Mongolia to form an independent nation, with the Mongolian People’s Party winning the elections. The Social democratic faction of the party holds a majority. All three countries remain friendly.

An coup backed by the Soviets in Estonia leads to the incorporation of Estonia into the Federation.

1925:
The Balkan Pact defeat Greece. Turkey annexes Izmir and the Greek islands. Illyria incorporates Greece into its federation. Illyria becomes a European power.

Adolf Hitler’s manifesto, Mein Kampf, is suppressed by the authorities in prison.

#

1926:
Jósef Pilsudski leads a merger of the Polish People’s Party and the Polish Socialist Party. He later becomes Prime Minister of Poland.

António de Oliveira Salazar leads a coup against the government of Portugal, bringing in a corporatist government under his newly formed party, the National Union.

Protests in Mexico lead to a constitutional reform that allows freedom of religion, stopping a possible civil war by Catholic forces. The ruling Mexican Laborist Party gains newfound support from Catholics.

Antanas Smetona becomes president of Lithuania once more after a coup led by his party, the Lithuanian Nationalist Union. The Soviet Federation launch an invasion on Lithuania citing this. The invasion comes to an end when Smetona agrees to join the Soviet Federation, under the condition that he and the Nationalist Union can maintain power in the republic. The invasion was unpopular with members of the Narodniks, however Premier Aleksandar Kerensky and Deputy Premier Leon Trotsky still maintain it was justified.

1927:
“Fascist” members of the Labour Parties begin marches around Britain, led by Sir Oswald Mosley.

Sun Yet-sen is cured from liver cancer. Despite originally being given 10 days to live back in 1925, the treatment was fully successful, and the cancer was eradicated. This can be likely attributed to him following western doctors advice and avoiding Chinese alternative medicine.

Leon Trotsky resigns from the Narodniks, due to “revisionism”, taking most remaining communists with him.

Iraq gains independence from the UK.
(To be continued)

#

1928:
Chiang Kai Shek’s NRA of the Kuomintang end all warlord resistance within China, unifying it.

Members of the People’s Radical Party, (the ruling party in Monarchist Illyria) led by President Gavrilo Princip, start a riot in parliament that eventually leads to protests in the streets, demanding the Monarchy step back and take a constitutional position. Violence reaches as far as the White Palace itself, the residence of the royal family, forcing King Alexander I to proclaim a constitutional monarchy.

Haile Selassie is proclaimed King of Ethiopia.

Stanley Bruce’s National Liberals win the elections in Australia.

1929:
The Vatican and Italy agree to establishing the Vatican as an independent nation within Rome.

An electoral deadlock in Britain, disappointment in the performance in the Irish-British War plus the recent growing popularity of Fascism due to rally’s from Labour Deputy Leader, Sir Oswald Mosley leads to a fascist revolution. Fighting quickly ends within days, with the British Union of Fascists being formed after taking control of the country. The royal family decides to flee to Scotland, who declared their independence from Britain after Mosley’s victory. The National Party of Scotland win the snap election. Remaining nations apart of the commonwealth all leave the British Empire, besides South Africa. This quickly leads to a revolution in which the African National Congress takes power, destroying apartheid. Mosley decides not to pursue or go to war with any of these nations.

Italy and the new fascist UK form the Stresa Front, a new military alliance.

The Afghan civil war ends with the Khanists winning.

The INC wins the first Indian elections, with Jawaharlal Nehru becoming Prime Minister and Subhas Chandra Bose becoming his Deputy.

1930:
A coup in Argentina committed by the Argentine Patriotic League on the Radical Civil Union (leading party of Argentina) fails.

The SPD narrowly wins government in Germany, after the 1930 elections.

#

That’s everything so far

#

Strasserists will get in power in Germany next

obtuse condor
#

does anyone know the mod used in this video

#

and some good multiplayer mods

#

historical

obtuse condor
obtuse condor
#

You have a space in the desc line between Von and Stauffenberg

#

oh shit thanks

#

No prob

#

do you know how to give him bonuses?

#

Like traits?

#

yeah

#

I assume it would be the same as the coding for Hitler’s traits, just change the Hitler’s name to von Auffenburg and then find the name of the traits you want in the traits file

#

thats it?

obtuse condor
obtuse condor
obtuse condor
#

my condolences

obtuse condor
warm panther
obtuse condor
#

when did i make a mistake?

#

first focus is working

#

but next 2 dont

quick latch
#

Do it like this

focus = {
    # all this before

    ai_will_do = {
        factor = 10
    }

    completion_reward = {
        # Your reward here
    }
}
#

Not this:

focus = {
    # all this before

    ai_will_do = {
        factor = 10
        }

        completion_reward = {
            # Your reward here
        }
}
#

Also here you're missing a "}"

obtuse condor
quick latch
#

Also also pls put prerequisite in one line and not just the ending bracket in a second one

obtuse condor
#

but i will change that

quick latch
#

Of course it works, but it's not easily readable and looks bad

obtuse condor
#

and I still have no idea why I don't see those goals except the first one

#

its works now

#

thanks dude

quick latch
#

Use relative_position = focusID and the the position to x = 0 and y = 1 to have positioning a bit easier

icy cobalt
#

@pale sparrow you work on rt56 right? ive found a bug where as you annex cuba as monarchist honduras you dont get cores besides the focus stating you do

pale sparrow
#

Im busy rn, if you dont mind report it in our server instead

icy cobalt
#

oh right you got a Server

obtuse condor
warm panther
#

Hm, interesting to see how the Lang Plan will affect Australia as a whole

humble cedar
#

What is "legacy id" ?

clear crest
#

is there any mod like primo victoria but that doesn't require the dlcs?

valid halo
#

why wont the focus show up?

quick latch
valid halo
#

So how do i fix it

quick latch
#

???
make the y coord not negative

valid halo
#

but the other one is negative and it shows

quick latch
#

then you did something wrong, focus coords are never supposed to be negative.
Positive numbers makes a focus appear lower in the focus tree and negative numbers makes one appear higher

valid halo
#

so what did i do wrong

valid halo
#

but if i go to debug mode the rhineland focus has negative

#

???

quick latch
#

show me

valid halo
#

its literally -44

#

am i doing something wrong

quick latch
#

weird, it should be just 0, give me a moment

#

In the focus' code it's 0

pale sparrow
valid halo
pale sparrow
#

afaik you can actually push focuses below 0 for the X-axis, and it pushes them all to the right, idk about y

valid halo
#

wdym the prerequisite must exist

#

?

#

uh

#

@pale sparrow

pale sparrow
#

CRU_abolish_the_monarchy must be correctly configured, as the focuses that require it will otherwise hide

pale sparrow
#

no

#

the brackets are wrong at the end

#

fix that and it might work

simple marlin
#

is it fitting to make an universal basic income law/policy (as an idea) give off communism drift ?

valid halo
pale sparrow
#

that bracket doesnt close anything new

valid halo
#

so i should remove it?

#

@pale sparrow ?

pale sparrow
#

yes

valid halo
#

and the line also or just the bracket?

#

oh thanks it works now

pale sparrow
#

lines dont matter, only brackets

#

if you wanted you could have the entire file in 1 line, its just a matter of readability

humble cedar
#

welp seems like i missed the activity

#

im still gonna ask for help tho

#

im tryna change some parts in the greek focus tree and i wanna make it so king george the 2nd of greece becomes a general

#

in theory, this should make him available.?

#

(please ping me if you find any errors or you are responding to me)

lofty plaza
#

I shan't 🧐

humble cedar
stuck quarry
#

Whats road to 56

thin chasm
#

The road just before the road to 57, but after the road to 55

humble cedar
slender brook
#

Then you take a detour onto the highway to hell

pale sparrow
#

😈

stuck quarry
#

got a link?

thin chasm
#

In all seriousness though, it's a neat mod

#

I'm not personally big on the expanded tech tree, since I personally finish most of my games before 1945

#

But different strokes and different folks and all that

#

It does a lot of things that I wish the base game did though, like have Slovakia be a releasable tag outside of Germany making it one

stuck quarry
#

Looks like alota content

digital stag
#

how do i make a focus add popularity to a specific party, like non-alligned?

stuck quarry
quick latch
digital stag
#

alright thank you

vernal hawk
#

does anyone know how to see another mod's files? so for example, if i wanted to see kaiserreich's mod files, what do i see to get a peak of that?

stuck quarry
slate latch
#

why does cold war iron curtain have so many things to research but only 4 research slots for SU?

rocky violet
#

based

snow jasper
#

version="v1.12.2.9"
tags={
"Map"
"National Focuses"
"Technologies"
"Gameplay"
}
name="Independant Koreas"
supported_version="1.12.11"
remote_file_id="2959139285"

#

what do i do with remote file id

pale sparrow
#

If you upload a mod with a remote_file_id it updates it

dim bronze
#

whats the european union color code? (rgb)

thin chasm
#

{ 0 51 153 }

dim bronze
thin chasm
#

yes

dim bronze
#

it made it black

humble cedar
#

So this in theory SHOULD make it so when "Compromise with the monarchist" focus is completed, a general by the name "George II" shall appear.

#

I made it so George II would have 2 additional portraits, one in army and one for being the byzantine emperor, yet for some reason it is not really working and George II isn't really becoming a general in the greek army.

obtuse condor
#

Whoever Wants a Modding Job or to help DM Me so my Boss/Colleagues in The Great War: AML, can Start Our Mod Process

prisma coral
#

i set yugo ai to do this

#

but it keeps doing its vanilla focus path i think

#

or random

#

i dont even know

#

i checked and all the focus tags i use are correct when i hover over each focus in debug

#

i redid a ton of ai focus orders and none of them work

#

i have no idea why

#

i put it in the ai_strategy_plans folder under common

rocky violet
obtuse condor
rocky violet
#

its j a shitty steam screenshot

rocky violet
stuck quarry
#

A screenshot being 144htz 🤔

slender brook
#

Your GPU doesn't really matter when it's a still image

tepid pollen
#

any mods to enable achievements without checks? just like Achieve It! in Cities: Skylines but HOI4 version

tepid pollen
#

:(

snow jasper
#

#Communism
focus = {
id = DPR_communism
icon = GFX_DPR_communism-426
x = 6
y = 1
cost = 5
search_filters = {
FOCUS_FILTER_POLITICAL
}
prerequisite = { focus = DPR_political_effort }
completion_reward = {
add_popularity = {
ideology = communism
popularity = +1.4
}

#

idk if it will add communism

#

is it communism or communist

#

same here

#

#Democracy
focus = {
id = DPR_democracy
icon = GFX_DPR_democracy-427
x = 8
y = 1
search_filters = {
FOCUS_FILTER_POLITICAL
}
prerequisite = { focus = DPR_political_effort }
completion_reward = {
add_popularity = {
ideology = democracy
popularity = +1.4
}

#

aaaaaaaaaaaaaaaaaaaaaaaaand these

#

#Facism
focus = {
id = DPR_facism
icon = GFX_DPR_facism-262105
x = 10
y = 1
cost = 5
search_filters = {
FOCUS_FILTER_POLITICAL
}
prerequisite = { focus = DPR_political_effort }
completion_reward = {
add_popularity = {
ideology = fascism
popularity = +1.4
}

    }
}

#Neutrality
focus = {
    id = DPR_neutrality
    icon = GFX_goal_generic_neutrality_focus
    x = 12
    y = 1
    cost = 5
    search_filters = {
        FOCUS_FILTER_POLITICAL
    }
    prerequisite = { focus = DPR_political_effort  }
    completion_reward = {
        add_popularity = {
            ideology = neutral
            popularity = +1.4
        }
#

tell me if they are correct ideology's

obtuse condor
#

i wish i knew how to code lol

valid apex
feral valve
copper salmon
#

I want to have military police add compliance gain for garrisons, can someone help me?

quick latch
quick latch
copper salmon
#

yes

#

level 1: 10%

#

level 2: 20%

#

etc

quick latch
#

Ah, haven't done anything with compliance / resistance and could only help in a day

#

sry

copper salmon
#

no worries

#

does anyone have experience with compliance modding?

spark flax
#

Hello, I am a first time modder and I am attempting to setup a shine for a new focus tree for brazil, however I keep getting this error: [17:54:18][texturehandler.cpp:216]: Couldn't find texture file: 'gfx/interface/goals/focus_BRA_keeping_our_ways' and my focus does not show up when I complete it. Thanks for the help.

#

I have this defined as it works for the base GFX. (Precompletion/Focus Active)

quick latch
spark flax
#

I have alr.

#

It still failed to work.

copper salmon
#

do you need to add file type?

quick latch
#

Damn

spark flax
#
        name = "focus_BRA_keeping_our_ways_shine"
        texturefile = "gfx/interface/goals/focus_BRA_keeping_our_ways.dds"
                effectFile = "gfx/FX/buttonstate.lua"
        animation = {
            animationmaskfile = "gfx/interface/goals/focus_BRA_keeping_our_ways.dds"
            animationtexturefile = "gfx/interface/goals/shine_overlay.dds"     # <- the animated file
            animationrotation = -90.0        # -90 clockwise 90 counterclockwise(by default)
            animationlooping = no            # yes or no ;)
            animationtime = 0.75                # in seconds
            animationdelay = 0            # in seconds
            animationblendmode = "add"       #add, multiply, overlay
            animationtype = "scrolling"      #scrolling, rotating, pulsing
            animationrotationoffset = { x = 0.0 y = 0.0 }
            animationtexturescale = { x = 1.0 y = 1.0 } 
        }

        animation = {
            animationmaskfile = "gfx/interface/goals/focus_BRA_keeping_our_ways.dds"
            animationtexturefile = "gfx/interface/goals/shine_overlay.dds"     # <- the animated file
            animationrotation = 90.0        # -90 clockwise 90 counterclockwise(by default)
            animationlooping = no            # yes or no ;)
            animationtime = 0.75                # in seconds
            animationdelay = 0            # in seconds
            animationblendmode = "add"       #add, multiply, overlay
            animationtype = "scrolling"      #scrolling, rotating, pulsing
            animationrotationoffset = { x = 0.0 y = 0.0 }
            animationtexturescale = { x = 1.0 y = 1.0 } 
        }
        legacy_lazy_load = no
    }```
#

I have all .dds defined that need defining.

quick latch
spark flax
#

Hm okay I'll try removing .dds.

quick latch
#

(if not creating custom shine)

spark flax
#

Apart from texture file.

#

It still does not want to do it.

quick latch
#

You restarted the game?

spark flax
#

I just did the reload command, I'll reboot game now.

quick latch
#

When handling textures it's advised to restart the game

spark flax
quick latch
#

I did focus trees too one time and followed The Iron Workshop's video, but didn't have this issue

spark flax
#

I don't know what it means by [18:01:01][texturehandler.cpp:216]: Couldn't find texture file: 'gfx/interface/goals/focus_BRA_keeping_our_ways'

spark flax
#

I've defined it as
gfx/interface/goals/focus_BRA_keeping_our_ways.dds'

#

this time.

spark flax
#

I've tried it with and without .dds

quick latch
#

Can't help much more sry

copper salmon
spark flax
#

Yup.

#

Found the issue

#

Invisible Character got in there somehow.

copper salmon
#

i was right

quick latch
#

Damn

rough zinc
#

Does Cold War Iron Curtain: A World Divided have JFK?

brazen lion
#

Hi, need some help

#

followed a tutorial online, and this was supose to appear

#

It didn't

#

Can anyone help me? thank you

copper salmon
#

I want to have military police add compliance gain for garrisons, can someone help me?

humble cedar
#

i keep getting an error which says that the "Character does not exist" even though i've clearly added it to my mod.

spark flax
#

Excluding icons, does this look alright?

humble cedar
spark flax
#

Does mutually exclusive not use the icon anymore?

#

Or is it half the dotted line that get's filled?

humble cedar
#

there should be an icon there

#

it should look smth like this

#

so in your instance

#

it should be in both

#

BRA_invest_in_the_civillians
and
BRA_invest_in_the_millitary

#

so basically in order for "mutually_exclusive" to work you must place it in both of your focuses

spark flax
#

ye

#

i did

humble cedar
#

oh

#

does it work now?

spark flax
#

Ill testit

#

no it doesnt

#

worl

#

weird

humble cedar
#

hm

#

have you checked for any grammar mistakes?

spark flax
#
            focus = {
        id = BRA_invest_in_the_civillians
        icon = focus_BRA_keeping_our_ways
        #prerequisite = {  }
        x = 0
        y = 1
        relative_position_id = BRA_freedom_for_the_people
        prerequisite = ( focus = BRA_freedom_for_the_people )
        mutually_exclusive = ( focus = BRA_invest_in_the_military )

        cost = 10

        ai_will_do = {
            factor = 1
            modifier = {
                has_completed = BRA_freedom_for_the_people
            }
        }

        available = {
             
        }
        
        bypass = {

        }

        cancel_if_invalid = yes
        continue_if_invalid = no
        available_if_capitulated = no

        completion_reward = {
            add_political_power = 100
}
        }
        }
        
                    focus = {
        id = BRA_invest_in_the_military
        icon = focus_BRA_keeping_our_ways
        #prerequisite = {  }
        x = 0
        y = 1
        relative_position_id = BRA_trust_in_the_citizens
        prerequisite = ( focus = BRA_trust_in_the_citizens )
        mutually_exclusive = ( focus = BRA_invest_in_the_civillians )

        cost = 10

        ai_will_do = {
            factor = 1
            modifier = {
                has_completed = BRA_trust_in_the_citizens
            }
        }

        available = {
             
        }
        
        bypass = {

        }

        cancel_if_invalid = yes
        continue_if_invalid = no
        available_if_capitulated = no

        completion_reward = {
            add_political_power = 100
}
        }
        }
            
    
    
    
    }




}        
copper salmon
#

shouldn't it be focus_BRA_invest_in_the_military

spark flax
#

no

copper salmon
#

i have no idea what i'm talking about

spark flax
#

they all follow the format of

#

BRA_

#

focus_BRA

#

is for the icons

late echo
#

im bored and i wanna do portraits and icons for mod makers

humble cedar
#

can i have the prerequisite codes for both of your 2 stuff?

humble cedar
#

cause im broke

late echo
#

yeah

humble cedar
# late echo yeah

can you make an advisor icon with a specific portrait i can send you?

late echo
#

ok

spark flax
#

the ```

#

is where i tried putting it in a discord fgormat

humble cedar
#

could you by any chance

#

send me the like

#

focusses ?

#

in the game

spark flax
#

an image?

humble cedar
#

ye

spark flax
humble cedar
spark flax
#

those graphics are sick ngl

humble cedar
# spark flax

the freedom for the people is like
"freedom_for_the_people" right?

limpid comet
spark flax
#

yes

humble cedar
#

and "trust_in_the_citizens" is the same?

spark flax
#

the syntax corrolates

#

yes

limpid comet
#

Make brazil huge

spark flax
#

the syntax and name corrolate

spark flax
#

not OP'ing them.

#

im making them fun to play

#

not op

limpid comet
#

Oh ok that's fun too!

spark flax
#

:D

limpid comet
#

Are you going to do that for the other south american countries?

humble cedar
spark flax
#

ye

humble cedar
#

uhhh, try this?

#

i added the prerequisites.

spark flax
#

invest in the milt

#

just dont show up

humble cedar
#

one minute

spark flax
#

it wants to load

#

but doesnt

humble cedar
#

did you place the } at the very end?

#

the end probably looks smth like this

spark flax
#

ye

#

it still dont load

humble cedar
#

can you send me the entire .txt file?

#

so i can take a look into it

spark flax
humble cedar
#

@spark flax i think i have found your little problem

spark flax
#

m?

humble cedar
#

it was a random }

#

between the code

#

and it was confusing your mod with thinking that was the end

spark flax
#

oh weird

humble cedar
#

this SHOULD work

#

if it doesn't you can shoot me

spark flax
#

ok

#

ill test

#

nah

#

it just broke it even more

humble cedar
#

aaaaaa

#

you can shoot me

spark flax
#

shoots