#modding

1 messages · Page 60 of 1

stuck quarry
#

i made a countdown for my integration feature in my mod using missions

#

its like any other decision, but you can trigger it from another decision, or a focus, or a event

humble cedar
#

that is exactly what i was searching for, thank you, I will ask help from you in a bit

#

as of right now im currently working on the GFX of some greek ideas

#

and the focus gfx

#

@stuck quarry (srry for ping)

#

So this in theory should start the "mission"

#

and that specific mission should be located in the decisions tab right?

stuck quarry
stuck quarry
humble cedar
stuck quarry
# stuck quarry

this is the line which starts it, after the = is the mission name

humble cedar
stuck quarry
#

yea assuming that at the top is your category

humble cedar
#

well for some reason the decision isn't being activated.

#

although

humble cedar
# humble cedar

the global flag for "GRE_activate_pfw_mission" does exist here

#

it gives me this error in the logs

stuck quarry
#

i dont know then, aslong as its registered properly as a decision it should work

humble cedar
#

im just gonna get done with the gfx for my focuses and then head to sleep

fallow robin
#

I have made a mod that replaces the generals and leaders for france. it works as intended, except for the DLC leaders

#

I have no idea how to fix this

#

thats the correct directory and its the correct file type/name

bitter rover
#

Is there some easy comparison guide for what state ids have changed from 1.13 to 1.14?

orchid ruin
#

help

orchid ruin
#

collors look fine

timber zenith
#

Remove the relative position id line

timber zenith
plucky glen
humble cedar
#

the byzantine empire in italy

#

and the roman empire in bulgaria

#

historically accurate.

uneven jasper
#

I was working on my mod again when I realized that all the state names are just replaced with its numbered state like, "State_71" anyone know whats wrong?

obtuse condor
#

Does anyone have a good video to learn millennium dawn

orchid ruin
humble cedar
#

adding an new formable nation?

orchid ruin
#

new nation

#

husdon bay company

humble cedar
#

and i guess when you tried adding a color to it it just

#

happened?

orchid ruin
#

ye

#

i checked it with other mods i made and it seams fine

wheat token
#

Is it possible to assign a single province to a country?

orchid ruin
#

yes

#

find the file in the states folder and drag it to the states folder in your mod

humble cedar
#

How can I make scripted peace deals

#

example : Turkey declares war on Greece, Greece makes turkey go to 50% capitulation, Greece wins and gets specific states

summer lotus
#

make a white peace then transfer_state

humble cedar
#

Should it be like

#

common/on_state ?

summer lotus
#

Usually you just do it through an event

#

Or on_action

humble cedar
#

Yes, my events are currently underway.

#

or actually

#

they do exist.

#

but.

#

im trying to make it so like

#

if greece/turkey goes 50% capitulation

summer lotus
#

Ye just create an event with that triggers

#

Or create a mission that triggers after 50% capitulation

humble cedar
#

ah yes, about missions.

summer lotus
#

After maybe 7 days it fires an event

humble cedar
#

I've created this mission.

#

that works as a countdown when the greco-turkish war begins

#

but when I launch the game

#

in the error logs

#

i get

#

"invalid mission ID with "GRE_prepareforwar"

#

do you by any chance know why this happens? @summer lotus

#

(srry for ping)

#

im I perharps missing a nother file?

#

in order for the mission to work?

lofty plaza
#

Why are my mod's strategic regions messed up since the update, even though I haven't changed them at all?

#

Really confusing me here

humble cedar
#

they have added several new strategic regions in in South America.

#

and some new provinces

lofty plaza
#

I am aware

humble cedar
#

so wait

#

by "messed up" you mean like

#

they aren't strategic regioning?

#

like the area you want a strategic region to be in doesn't exist

lofty plaza
#

They have no localisation and it says they are missing provinces

#

Despite the fact I haven't touched strategic regions whatsoever

#

So I don't even know how they are conflicting

humble cedar
#

So wait

lofty plaza
#

[18:20:22][no_game_date][gamestate.cpp:2876]: MAP_ERROR: The province 13294 - has no strategic region assigned.
[18:20:25][no_game_date][strategicregion.cpp:560]: invalid province '13418' in Strategic region South-Eastern Pacific(32) - did you move provinces about without making sure they moved in regions?

humble cedar
#

you haven't touched the strategic regions in the slightest.

lofty plaza
#

Nope

humble cedar
#

alright so.

#

the province 13294

#

it doesn't even exist

#

i have the same province popping up

lofty plaza
#

I beleive so, its just a copy from vanilla

humble cedar
#

oh my mistake.

#

it's province 13298 for me.

#

it doesn't really affect my game, so i just guessed it doesn't exist

lofty plaza
#

That would cause map errors

humble cedar
#

Well, nothing seems to appear on the map

#

and my game runs just fine

#

so you are saying that

#

they just don't have localisation

lofty plaza
#

I found the problem

#

Thanks anyway

humble cedar
lofty plaza
#

File was saved incorrectly

#

The province was just conflicting with another file

#

Pretty simple in the end

humble cedar
#

ah.

#

could you do me a small favor?

#

I keep searching for the province 13298, but it doesn't appear anywhere.

#

or actually wait not that one

#

I am currently trying to make missions

#

for my mod

#

it says that my mission, "GRE_prepareforwar" has an invalid ID

#

i have made it exist both the decisions folder and the events folder.

#

do you know if I am missing an additional folder or smth?

lofty plaza
humble cedar
#

I will delete it whenever i start continue my work on my mod.

#

my mission is just, not loading

lofty plaza
#

Does it come before the mission is loaded or something?

humble cedar
lofty plaza
humble cedar
#

is there a dedicated one for missions?

lofty plaza
#

Nope

#

All decisions and missions need to be in a category

#

You can either make a new one or use a existsing one

humble cedar
#

wait

humble cedar
#

"GRE_greek_turkish_war_decision"

#

instead of like

#

"GRE_greek_turkish_war_category" ?

lofty plaza
#

You need to make a category in a seperate folder, then scope the decision to the name of that category

humble cedar
#

OHHH

#

thanks.

#

nevermind i though i remembered something but i forgot again

#

uhh

#

ah, while searching I found the solution to one of my other problems

slender moth
#

How do I change dlc loading screen for a mod? Because I have changed the normal loadingscreens but when I play with dlc the dlc loadings screens show which is kinda annoying

#

And I can't seem to find a way to change it so if anyone knows how please share

humble cedar
#

can anyone give me the location on the map

#

of the province

#

"13298"

scenic sonnet
#

Wait, it doesn't exist

#

Oh no wait

scenic sonnet
humble cedar
#

i keep getting it in my errors

scenic sonnet
#

It doesn't exist my dear

humble cedar
#

huh

#

so it's just a false error?

scenic sonnet
scenic sonnet
humble cedar
#

though i had done something wrong

scenic sonnet
#

Mee too ahah, it's normal btw trust the process and your mod will be great

humble cedar
scenic sonnet
#

Uh, interesting

humble cedar
#

Im not that creative so most of my assets are currently from other mods.

scenic sonnet
humble cedar
#

but i will also implement my own stuff for it

#

Currently i have created 11 events.

#

1 and 2 being the "Independence Day" events that trigger every year

scenic sonnet
humble cedar
humble cedar
#

I have even made my own coutnry for my mod

scenic sonnet
humble cedar
#

International Straits Comission which starts off being guaranteed by post-entente

#

UK, France, Italy, Greece and someone else i don't remember

#

oh yeah and the USA

#

Im currently working on the "missions" decisions

#

i keep getting the error that it is an "invalid ID"

scenic sonnet
humble cedar
#

which just alerts you when the Greco-Turkish war is going to start

#

and im also trying to figure out how to make scripted peace deals.

scenic sonnet
humble cedar
scenic sonnet
humble cedar
#

Ok! I will make sure to send it to you.

scenic sonnet
#

thanks

elder adder
#

anyone know a good mod that makes cities like kiev, paris, berlin, moscow, etc have more provinces? I tried out a daniels one but it crashed before the loading ended

stuck quarry
#

Any idea why this is broken?

#

it was working earlier today

#

then it just randomly started spewing this error

#

what tha hell

#

IDK WHATS HAPPENING RN

#

i fixed it

stuck quarry
#

I was replace pathing common/units so there were no registered units or subunit types in the game

vestal ivy
thick robin
#

how do i find the position of something in the hoi4 map

plucky glen
#

WHAT MOD IS THIS

#

SEND ME LINK

#

PLZ

#

i want those unit models

stuck quarry
#

what

plucky glen
#

they bring a different feel to the game

stuck quarry
#

dude thats the models that show when shits broken

plucky glen
stuck quarry
#

add replace_path="common/units" to your mods descriptor file

#

then no units at all will work, and youll get those models instead

plucky glen
#

THANK You, i am in debt

#

i shall use these in my multiplayer campaigns

#

i shall take my leave now

vagrant aurora
#

quick question: is a flag for a country like.. a variable? for which i could use when setting whats needed for a focus or decision (not the literal flag)

stuck quarry
#

can i make these stay centered over the state and not shift to the left as i zoom out?

obtuse condor
#

Hey what mod does so I can place artillery and infantry and tanks in like the same line when making a division?

stuck quarry
#

how do i make the AI fully annex the enemy?

#

do i just have to wait, when the war starts it begins attacking but doesnt finish off the enemy

final tinsel
#

i have a question: is there anyway to remove national idea: monroe doctrine?

#

there's no USA, and there's no flag: monroe doctrine

#

BUT i don't know why still monroe_doctrine exist

timber zenith
#

and common/ideas/TOA_shared_ideas.txt

final tinsel
#

i know but even there's no USA but still monroe_doctrine exist

near minnow
#

Are there any mods that anyone knows that gives you more control over each individual battle

timber zenith
final tinsel
timber zenith
#

which is why it still gets added

final tinsel
# timber zenith The on_action and idea don't have a check to see if the USA exists or not

USA_add_monroe_doctrine_to_target = { IF = { limit = { USA = { exists = yes has_idea = USA_monroe_doctrine_enforcer } has_dlc = "Trial of Allegiance" ROOT = { NOT = { OR = { tag = USA has_idea = USA_monroe_doctrine_idea } } OR = { capital_scope = { is_on_continent = south_america } capital_scope = { is_on_continent = north_america } tag = CUB tag = DOM tag = HAI } } } add_ideas = USA_monroe_doctrine_idea } }

this is the code of monroe_doctrine_idea part

timber zenith
#

That appears to have a different ID

#

Wait nvm

#

What happens if you remove it?

final tinsel
#

is it okay to remove code of vanilla?

timber zenith
final tinsel
topaz marten
humble cedar
#

In order to make a mission you only need the decisions folder do you not?

humble cedar
#

where greece wins the Greco-Turkish war.

#

I've done all foccuses and stuff without problems.

#

the only thing that is stopping me from progressing right now are scripted peace deals and the mission.

#

the decision exists, it is in it's own category as well, but it says that it is an invalid ID

#

[14:41:29][no_game_date][effectimplementation.cpp:14195]: Invalid Decision ID for activate_mission GRE_prepare_for_war

summer lotus
#

send the txt file

#

lemme read it

humble cedar
#

wait let me cut only the part with the category and stuff

#

cause the rest is base-game

summer lotus
#

kay

humble cedar
summer lotus
#

wait, so where is this "activate_mission GRE_prepare_for_war"

humble cedar
#

that one is in the event.

#

wait

#

one sec

#

yeah

#

it's in the events

summer lotus
#

@humble cedar try activation = { always = no } for GRE_prepare_for_war

trigger the mission solely from activate_mission instead

#

or remove activate mission from the event

#

let mission trigger solely from flag instead

humble cedar
#

i put a hashtag infront of #activate_mission

#

so it gets disabled/ignored

#

im gonna do a quick restart real quick

#

play through the game normally

#

and tell you if it works

summer lotus
#

tbh I am not really sure why this happens lul

nothing seems wrong to me

I assume the second mission works, yes?

#

the war timer one

humble cedar
#

nope

#

that one doesn't work either

#

but it doesn't give me errors for that one

#

only for the first one

#

and I just fixed this error as well

#

it kept triggering me.

stuck quarry
#

I was overriding the units folder in common so there were no unit types registered in the game

humble cedar
stuck quarry
#

Doin good

humble cedar
#

noice

stuck quarry
#

Id send a link to the discord for it but idk if thats allowed or not

humble cedar
#

You can send an invite in dm's if you want.

humble cedar
#

is that greece on crete?

stuck quarry
#

Thats just crete

humble cedar
#

oh

#

nice

#

you've made a lot of progress since the last time I saw you

stuck quarry
#

I removed all the base nations and made it from scratch lol

stuck quarry
humble cedar
#

I have so many stuff regarding turkey in my errors.

#

just because i removed their entire focus tree

#

i should probably get rid of those errors....

#

meanwhile I just removed every event regarding Venizelos's death

stuck quarry
#

The other project lead is working on planning asia, once hes done ill add it to the mod

stuck quarry
humble cedar
#

i was about to send something

#

but it has a bad symbo-

#

hold on

#

this is the hoi4 server

#

I don't think they care do they?

stuck quarry
humble cedar
#

not exactly a swastika

#

more like an ancient greek symbol that a neo-bad people movement in greece use.

stuck quarry
#

So not the peace symbol version of the swastika

humble cedar
#

yep

stuck quarry
#

Never heard if a greek swastika

#

Funnily enough i just found a christian one lol

humble cedar
#

@summer lotus srry for ping

I no longer get an error regarding "activate_mission = GRE_prepare_for_war
but the mission still doesn't activate when the event triggers.

summer lotus
#

check visible

stuck quarry
#

Still got that activation line?

#

I doubt that would have a effect but i dont have it and my missions work

humble cedar
#

you probably saved me there

summer lotus
#

well cuz if neither mission triggerred

#

it had to be a category issue

humble cedar
#

hold up, I'll go ahead and copy it from the mod im copying these ideas from.

#

oh!, one more thing

#

The focus does have gfx but it doesn't appear in like

#

well, here

summer lotus
#

txt file?

humble cedar
#

uhhh, which file exactly

summer lotus
#

focus

#

focus tree

humble cedar
#

hold up

#

im getting lost in my own mod XD

summer lotus
#

the rest works normally?

humble cedar
#

yep the icons appear in the focus tree and such

summer lotus
#

well probably issues within gfx stuffs then

#

which I don't know much about

humble cedar
#

wait i probably just need to remove the "focus"

#

meh i'll fix that later too bored to even try and bother fix that now

humble cedar
#

@summer lotus hold up

#

srry for ping again

#

shouldn't it be "has_country_flag" and not "has_global_flag" ?

summer lotus
#

that depends on the event

#

or well

#

how you want to set it up

#

as long as you have consistency, either will do

humble cedar
#

wait no.

#

in the events it is a global flag as well

#

well this event still doesn't work.

#

or actually

#

the mission doesn't work

humble cedar
#

(both missions don't work)

winged briar
humble cedar
#

Do i have to make new versions ?

#

that are simply shining?

#

If that's the case I'll just copy them once again

winged briar
#

You just need to write a simple code, let me give you an example

#

This normal one is most likely the one you've already written

#

SpriteType = {
name = "GFX_goal_USA_junta_in_command"
texturefile = "gfx/interface/goals/USA_junta_in_command.png"
}

#

And this is the shine one

#
        name = "GFX_goal_USA_junta_in_command_shine"
        texturefile = "gfx/interface/goals/USA_junta_in_command.png"
        effectFile = "gfx/FX/buttonstate.lua"

        animation = {
            animationmaskfile = "gfx/interface/goals/USA_junta_in_command.png"
            animationtexturefile = "gfx/interface/goals/shine_overlay.dds"     
            animationrotation = -90.0        
            animationlooping = no        
            animationtime = 0.75                
            animationdelay = 0            
            animationblendmode = "add"       
            animationtype = "scrolling"      
            animationrotationoffset = { x = 0.0 y = 0.0 }
            animationtexturescale = { x = 1.0 y = 1.0 } 
        }

        animation = {
            animationmaskfile = "gfx/interface/goals/USA_junta_in_command.png"
            animationtexturefile = "gfx/interface/goals/shine_overlay.dds"     
            animationrotation = 90.0        
            animationlooping = no        
            animationtime = 0.75                
            animationdelay = 0            
            animationblendmode = "add"       
            animationtype = "scrolling"      
            animationrotationoffset = { x = 0.0 y = 0.0 }
            animationtexturescale = { x = 1.0 y = 1.0 } 
        }

        legacy_lazy_load = no
    }```
#

For each focus icon you add, you need to write the shine version

#

No such requirement for Idea or other icons, only for focus

humble cedar
winged briar
#

yep

humble cedar
#

@winged briar (srry for ping)
pretty much this ?

#

welp idk it doesn't seem to work

#

i'll abandon it for now

humble cedar
humble cedar
#

i'll just fix it later ig

#

i was responding to that.

dusty flume
#

They removed Kaiserredux

humble cedar
#

wait what?

#

you are kidding right?

dusty flume
#

They removed Kaiserredux from the Steam community workshop

dusty flume
humble cedar
#

it has happened before has it not?

dusty flume
#

I don't know, only got into HOI4 recently

#

Oh yeah, it did happen before apparently

#

2 years ago

#

But why?

humble cedar
#

idk

#

@summer lotus srry for the ping yet again.

#

But I would like to Thank you for helping me.

#

huh

#

what in god's name happened here

winged briar
# humble cedar

Have you typed the file extensions correctly? If the icons are .dds, correct them accordingly, I think you typed .png right now

humble cedar
#

all that are "png" are currently "dds"

#

at least my missions work now

winged briar
humble cedar
slender moth
#

How do I make focus I'd without underscore and just a space

winged briar
winged briar
#

Yeah its fine

humble cedar
#

why isn't it working then?

ashen mural
#

why dosent gfx work?

winged briar
humble cedar
#

doing the same thing currently

ashen mural
ashen mural
humble cedar
#

spriteType = {
name = "GFX_focus_GRE_an_example_shine"
texturefile = "gfx/interface/goals/GRE_an_example.dds"
effectFile = "gfx/FX/buttonstate.lua"
animation = {
animationmaskfile = "gfx/interface/goals/GRE_an_example.dds"
animationtexturefile = "gfx/interface/goals/shine_overlay.dds"
animationrotation = -90.0
animationlooping = no
animationtime = 0.75
animationdelay = 0
animationblendmode = "add"
animationtype = "scrolling"
animationrotationoffset = { x = 0.0 y = 0.0 }
animationtexturescale = { x = 1.0 y = 1.0 }
}

animation = {
  animationmaskfile = "gfx/interface/goals/GRE_an_example.dds"
  animationtexturefile = "gfx/interface/goals/shine_overlay.dds"
  animationrotation = 90.0
  animationlooping = no
  animationtime = 0.75
  animationdelay = 0
  animationblendmode = "add"
  animationtype = "scrolling"
  animationrotationoffset = { x = 0.0 y = 0.0 }
  animationtexturescale = { x = 1.0 y = 1.0 }
}
legacy_lazy_load = no

}

#

it should work should it not?

ashen mural
#

damn, youre making custom gfx? i am using from the base game and have problems

humble cedar
#

more like

#

"borrowing"

ashen mural
winged briar
ashen mural
#

why dosent it work?

humble cedar
humble cedar
#

it should work?

ashen mural
humble cedar
#

wait

#

one sec

humble cedar
ashen mural
humble cedar
#

can you try

#

GFX_focus_rom_royal_dictatorship?

ashen mural
humble cedar
ashen mural
#

k thanks

ashen mural
#

still have a problem

humble cedar
ashen mural
humble cedar
#

uh

ashen mural
humble cedar
#

send a picture of the thing you are trying to place

humble cedar
#

idk why it isn't working

ashen mural
humble cedar
#

you aren't making custom gfx so you really don't have that problem as I do

#

the rest ones work right?

ashen mural
#

yes

#

(i only have 1 other)

humble cedar
#

oh

#

try to use an other one?

ashen mural
humble cedar
#

why did the royal dictatorship thingy work before?

humble cedar
#

@winged briar this is my last ping, It is now working as intended.

#

I just had to reset it seems.

winged briar
# ashen mural

Delete the .dds at the end and add GFX_ at the beginning

#

However, it doesn't always work to look up the focus icons in the gfx file, enter the file name and add GFX_ at the beginning because it may be written with a different name in the interface file. So you need to check the icon in interface > goal.gfx with the name in the file

humble cedar
#

how do I make it so the mission will be completed when greece is NOT at war with turkey?

#

currently the mission just automaticly succeeds when at war with turkey

winged briar
humble cedar
#

I probably will remove the "To activate timer...."
and
"Original country is "The Hellenic Republic"

winged briar
#

So whats wrong

humble cedar
#

I just have to see if the "Stalemate" event will trigger after 1 year

humble cedar
#

"Not : Is in war with Ottoman Empire"

winged briar
humble cedar
#

ah good, the event works now

#

If the war is not completed within 1 year, the war is a stalemate and Turkey wins and gets Eastern Thrace and the Anatolian Coast

humble cedar
winged briar
humble cedar
#

Thing is.

#

I want to make 2 scripted peace deals.

#

1 for a Greek Victory

#

and 1 for a Turkish victory

#

what do you think would be the easiest way for me to handle this?

#

oh and also I would like if you were able to to help me create one more scripted event that happens when greece gets constantinople

winged briar
humble cedar
#

in this case.

#

for the turks it would probably be

#

kicking the greeks out of anatolia

obtuse condor
#

I fully forgot the main reason why I even bought hoi4

#

(Mods)

humble cedar
#

and for greece i would say like

#

making turkey go below 50% capitulation

stuck quarry
#

how do i set a division icon in my template?

#

i wana make it by default have this icon instead of the default one

humble cedar
#

pretty much that yeah

stuck quarry
#

but i dont see anything on setting the icon

winged briar
humble cedar
#

I currently have 3 events regarding the Greco-Turkish war

#

Event "gre.9"
Greek Victory.

#

Currently it puppets the turks ( I will change that so it's a white peace and Greece finalizes the Megali Idea)

#

and then make the turks go into a civil war.

#

Event "gre.10"

#

Turkish Victory

#

it currently makes it so Turkey gets control of Western Thrace and the Ionian Coast

#

Plus the Ionian Islands

#

and

#

Event "gre.11"

#

A Stalemate (Turkish Victory)

#

same thing as the above happens but they don't get the ionian islands.

#

I think it is possible for me to implement all those into 1 single mission

winged briar
#

Yes it is possible

humble cedar
#

Would you reccomend me doing that?

winged briar
#

I think it's better to do whichever is easier for you

humble cedar
#

well I am still learning HOI4 modding

#

so i'll go with the seperate stuff

#

if greece gets kicked out of asia turkey wins

#

if turkey get's below 50% capitulation greece wins

winged briar
humble cedar
#

and for turkey?

#

or actualy

#

for greece*

#

wait imma go snoop around the Kaiserreich folders real quick so I can find the event for the Change capital to Constantinople event

#

found it

winged briar
# humble cedar for greece*

If the event Greek wins has is_triggered_only = yes, delete it and write

    original_tag = GRE
    has_war_with = TUR
    TUR = { surrender_progress > 0.49 }
}```
of course, you need to add the necessary flags so that it is not triggered continuously but only triggered in that specific war
humble cedar
#

ohhh allrrr

#

wait

#

Do i have to touch anything here?

#

in order for the "Move capital to Constantinople" event to fire?

winged briar
#

If you are using vanilla states, Istanbul's id is 797 so you need to change that part, you don't need to do anything else

slender moth
#

How do I make focus names without underscores?

humble cedar
#

when constantinople is greek

winged briar
#

Yes

humble cedar
#

thank you!

#

Speaking of which, I'll just make it so that if greece or turkey fall below 50% capitulation, the winning side just wins

#

i think that'll be much easier

#

thank you!

winged briar
humble cedar
#

@winged briar Alright this is my last ping.

#

I've replaced all is_triggered_only

#

with the stuff you sent me to check if the country is under 50% surrender limit

#

If possible, Can you check it real quick and tell me if i have done it correctly?

winged briar
#

Yes, you did it right, but as I said, you better add the flag that comes during this battle to the trigger part, otherwise this can be triggered even in a normal war. If you want it to be triggered in normal battles, there is no need

humble cedar
#

that happens on "gre.5"

#

when the war initially starts

#

named

#

GRE_warwithturkey

#

oh i understand now

winged briar
#

You can add it to gre.9 and gre.10 with has_country_flag then

humble cedar
#

alright

#

wait

#

I don't have to do that

#

i have it set as

#

"fire_only_once = yes"

#

therefore it will only fire a single time

winged briar
#

What I am trying to explain is that gre.9 and gre.10 can be triggered even before gre.5 event is triggered. Because it is not checked whether the flag you give in gre.5 is in gre.9 and gre.10

humble cedar
#

so pretty much this ?

#

oh wait

winged briar
#

Yes, now these events will not be triggered until gre.5 is triggered

humble cedar
#

i have to give turkey the country flag

#

set_country_flag = TUR = GRE_warwithturkey

#

smth like that?

#

or this ? :

winged briar
humble cedar
#

That should work right?

winged briar
#

You can do it like this, yes

humble cedar
#

there aren't any errors in the error logs

barren oak
#

my first and only mod outputs thousands of lines into the error.txt file

#

yet it all works the way i want it work

humble cedar
#

i look specifically for the errors regarding to the stuff i make

#

any other errors regarding to the deleted turkish focus tree i don't really care

barren oak
#

because its a waste

humble cedar
#

well they ussualy appear at the very bottom of the log

barren oak
#

i said it was a waste of time to check them

humble cedar
#

welp alright then

barren oak
#

but ignoring it speeds up production and development

#

so

#

up to you

stuck quarry
#

im confused why it says this

#

FROM.FROM is supposed to be the state

vagrant aurora
stuck quarry
#

ive got the hoi4 modding utilities thing on vscode

vagrant aurora
#

let me look

#

hold on

#

it doesnt show for me tho

stuck quarry
#

is yours setup?

#

like with your hoi4 directory and your mod descriptor and everything

winged briar
# stuck quarry
FROM.FROM = { state = 00 }
SYL = {
   owns_state = FROM.FROM
}

OR

FROM.FROM = { state = 00 }
if =  {
    limit = {
         tag = SYL
    }
}

whichever works
``` You can try these, maybe it will work
stuck quarry
winged briar
#

You are using on_state_control_changed right? then you can set the state

stuck quarry
#

yes

#

so FROM.FROM is supposed to already be set to the state id

#

this is a pain the top if statement NEVER TRIGGERS

#

its so weird because it sets the state variable correctly

#

but when i try to do state scope based checks it doesnt work

vagrant aurora
#

does it need to be?

stuck quarry
#

for error checking yea

vagrant aurora
#

ahh

#

thank you very much

#

so this?

stuck quarry
#

i dont know for sure

#

i think you just set it to your hoi4 root folder

stuck quarry
#

its so simple i hate it

#

but it works

slender moth
#

Dose anyone know how I can change the dlc loadingscreens and how I make focus names without_ like for example "defend_your_country"

stuck quarry
#

The dlc loading screens instead of having a number will have a name like “loading_lar” (la resistance)

#

Idk the name for the others but its the same as replacing the non dlc loading screens, you just add your own file with the same name

vagrant aurora
#

any reason as of why the first focuses have no icon? only things for icons i added were my own

timber zenith
#

and a shine file

#

copy code from interface/goals.gfx and interface/goals_shine.gfx and put your own stuff there

ashen mural
#

why isnt it working?

maiden ruin
#

Anyone want to test out a mod? It's not finished but I want to know if it might be fun later on. DM me for it

proper acorn
ashen mural
#

But you can choose Which one

proper acorn
#

Prerequisite = { Focus = a_workers_paradise}

Prerequisite= { Focus= countain_the_wnagchuck}

proper acorn
#

do the following, go to the game and see a focus like this, it's better

stuck quarry
#

like this:
prerequisite = {
focus = focus_1
focus = focus_2

    }
vagrant aurora
#

the top icons arent custom ones, they are the normal one hoi4 provides

vast meadow
#

@summer lotus is ai controlled republican spain a disaster save?

#

I'm gonna try it lol

vagrant aurora
ashen mural
vagrant aurora
ashen mural
vagrant aurora
#

prerequisite = { focus = a_workers_paradise focus = contain_the_wangchuck }

#

try that

ashen mural
#

Ok thanks : )

vagrant aurora
#

np

rose heath
thick robin
#

anyone know where i can find dds for conscription laws? like not the folder but the file for it where i can replace it

#

nvm got it

dense vigil
#

i made a map mod

#

but

#

every time i click the validate all button

#

in nudge tool

#

my game freezes and i have to close it

#

so i cant fix the broken buildings unless i spend 20 years manually fixing each state

vestal ivy
#

What happened to Stalin in tno?

summer lotus
#

who haHaa?

humble cedar
#

idk why or how but alr.

upper dock
deft pond
#

Hey uhm i have a problem soo i want to make a national Spirit wich gives you A 0.4 Communism Drift each day soo i got to ideas and made this:

AFK_explanatoryidea_II = {
picture = chi_army_corruption

      available = {

        }

removal_cost = -1

        modifier = {
            communism_drift = 0.04
        }

It shows in the focus tho when i finish it nothing really happens no picture in national spirits no change in the Communism Drift, Nothing.

slender moth
deft pond
slender moth
#

Oh my bad I didn't see💀

bitter rover
#

Is there a way to delay execution of an effect until after an on_action?

#

I want to add compliance to states after a puppet is annexed, but it doesn't seem to work

slender moth
ashen mural
ashen mural
slender brook
#

Roars should be capitalised but that’s a nitpick

vagrant aurora
#

for the country with the custom focus icons for whatever reason the first focus of the path js doesnt load

#

even if its a base game focus, really weird

stuck quarry
#

LMAO

pale bridge
#

how

#

what

ebon rapids
#

please keep things appropriate for all ages

stuck quarry
#

Sorry lol

ebon rapids
#

thats ok, the new poll feature is an interesting addition to discord

#

just remember the rules when using it

humble cedar
#

Alright, How do I make it so a new custom tag that I created has color?

#

This is supposed to be Purpleish but for some reason it's not

#

And I have added it here as well

bitter rover
#

What's the closest color you can get to a completely transparent country?

stuck quarry
#

How does one make a transparency using rgb

winged briar
# humble cedar

Could it be that you misspelled a letter because if you wrote the cosmetic tag correctly, it is not possible for this to happen

dreamy matrix
vagrant aurora
#

how do you change the ideology after doing a focus? do you just do

#
set_ruling_party = n
``` or is it different
#

nvm, found it

humble cedar
#

nope

#

it's the same as the formable

vagrant aurora
#

how do you turn a country into a puppet?

languid elk
#

hai

#

im having a problem with National_Spirit GFX

#

for some reason all National Spirit Icons (even those with an already existing Idea icon that is in the Game files itself) ain't showing up

#

even with the code and format being as it should be

#

and with them being .dds, being 60x68 etc

grizzled sandal
#

Must have mods??

languid elk
#

i do

#

infact

#

have mods

#

a tho, im pretty sure only 2 or 1 have something to do with NI

#

ill check if it changes something if i disable those mods

languid elk
grizzled sandal
#

nah brother

#

i wasn't answering to you

#

i was just asking for any must-have mods so I can add them 😭

#

sorry man, dont know how to help u

languid elk
#

god dammit 😭

#

actually

#

i have some mods in mind

#

Cores / Claims Map Mode : i think its obvious

Get Rid of Annoying Puppet's Troops : Puppets dont give their divisions to you, which can be annoying as hell sometimes

Radiant Flags: Historical and Realistic (Censord or Not, still works) : Historical and nice looking flags

Yugoslav Partisans (Personal fav) : Adds the Yugoslav Partisans

scenic sonnet
timber zenith
grizzled sandal
#

I dont want mods that completely change the game.

#

I want must-have mods, AKA quality of life mods or mods that enhance vanilla

timber zenith
#

Magna Europa Reloaded

#

Must have

grizzled sandal
#

no

#

ew

#

How would I play Mexico

#

Disgusting mod

timber zenith
grizzled sandal
#

No im a lover

timber zenith
#

Magna Europa Reloaded solos

#

Mexico bad

frigid scaffold
grizzled sandal
#

Thanks! If you have any more ill be even more thankful ^^

grizzled sandal
frigid scaffold
#

i would also recommend playing with rt56. Imho its just a vanilla hoi4 but better in almost every way

#

(not ironman compatible)

#

i heard mexicans got better coke and better coke

grizzled sandal
timber zenith
#

I put a lotta effort into making that

grizzled sandal
#

Ayoo you made the mod congrats man

cerulean trench
#

How can i make a language mod?

#

that changes the language

bitter rover
#

is there any way to get a province id WITHIN the mod? Such as getting the id of a country's capital city

fallow forum
#

Hello, I'm currently in the process of creating a communist focus path for Germany and am modifying an existing mod. The only problem is that the AI ​​decision does not appear in the selection of AI for Germany. I rewrote the attached file as in the associated modding wiki and put it in the correct folders with correct names. But the option just does not want to appear.

gleaming flame
#

interesting

stark pewter
south folio
bitter rover
south folio
bitter rover
south folio
bitter rover
south folio
bitter rover
#

like, within the effect get the provinces in a state scope

south folio
south folio
# bitter rover I'm asking for a way to get the id dynamically

After testing, I don't think it is possible to dynamically check for a province much less change its victory points. As far as I can tell adding victory points would need the specific id. Depending on what you're doing you might be able to increase it manually.

bitter rover
#

Damn

south folio
languid elk
#

no

#

its its own file

#

ModName_ideas

#

but it dosent matter, got around it anyways

upper bobcat
#

hey, does anyone play on Mac. Im trying to get a mod externally for Hoi4 from skymods and ive been following some tutorials, yet none of these seem to work

#

the mod cant be found in the official steam store btw, thats why I am asking

oak arch
#

bros yapping

#

💀

humble cedar
#

Hey does anyone know how I can make a specific general that is locked behind a focus tree available at game-start ?

humble cedar
#

there are specific greek generals that are locked behind the base-game focus tree and I want them to make them available at game-start

timber zenith
dusty hinge
timber zenith
humble jay
#

I think this game with cyberpunk mod will be fire

gleaming flame
#

how do i get the conference? just wait?

obtuse condor
obtuse condor
#

any good
modding guides?

tiny vessel
#

Anyone that could help in make mod I will pay

#

the mod needs to use the existing unassigned aces and assign them to squadrons that do not have aces or have dead aces.
Aces should be matched up to their correct plane type
Decision or event needs to be repeatable since aces die on a regular basis

vagrant aurora
solar schooner
gleaming flame
#

ummm so i guess the mod wasn't on

obtuse condor
#

I hate germany

vagrant aurora
obtuse condor
#

road to 56

vagrant aurora
#

ah

obtuse condor
#

''historical focuses'' btw

vagrant aurora
#

never is ever truly historical in rt56

obtuse condor
#

damn

obtuse condor
#

Thinking bout adding Liechtenstein albeit making it 7 times bigger than irl

timber zenith
solar schooner
#

does nudger tool break state localisation?

#

i got an error saying expected quotation mark

#

when making a nanzig state

thick robin
#

how do you rescale images for national ideas without losing that much quality

topaz ice
#

are there any mods that span ww1 @ ww2 with focuses and techs

humble cedar
vestal ivy
#

any good optimization mods?

pale sparrow
vestal ivy
#

thanks

cerulean trench
cerulean trench
#

not n.

dire rain
#

.

granite pivot
#

hello guys, im looking for a romanian that has some modding esperience, even if you have little, it's ok, which is intrested in makeing a mod with me and my friend, and along the way more can join, because we are thinking of a big project about the interwar period, and what germany could have done right on armistice day 11 november 1918 (that is the start date), again, if you are intrested in helping don't be afraid to DM me

obtuse condor
#

Are these dorpat Ösel wiek riga Kurland and Pskov borders good enough?

#

(only colour left to add)

fickle fox
# obtuse condor

Yo are you making 1444 mod? If u do make a focus tree for byzantium🥰

obtuse condor
#

Albeit this is a one man job at least for now tbh

fickle fox
#

Hoi4 needs more medieval mods

#

If i knew how to mod i would make a medieval mod fr

high hatch
#

If anyone else have a idea to save in a variable the distance. Because even with multiple triggers, AI nation with a costal state surprise me 😄

high hatch
warm trout
#

[18:33:13][no_game_date][gamestate.cpp:2869]: MAP_ERROR: The land province 13313 - has no state.

#

how can I fix that

obtuse condor
#

Eng 18 usa 19 fra 3 fkf 2 raj 5 swi 4 rus 1 hol 1 por 1 pre 1 swe 1 ham 2 nap 1 can 1 clg 1

#

I'm thinking about making a section of the british and American focuses for establishing banks

distant saddle
#

Some improvements
It is a light spell effective against evil creatures such as undead, fiends, and Dutch people

fervent sedge
#

90195591815350296

fresh swallow
#

Hi ! Is there a way to build mods on top of other mods? I would need certain states for my new country that are only included in another mod (Novum Vexillium)

#

also the nudge tool is ass and crashes on basically every click

gleaming flame
obsidian acorn
#

it makes the willhelm in restore the kaiser an anime girl

gleaming flame
#

Who likes my after Great War World??!??

obsidian acorn
#

bc old stinky man aint that good lokin

obsidian acorn
#

?

gleaming flame
#

Great war redux

obsidian acorn
#

link pls

gleaming flame
#

Spent whole today and 2 last days

gleaming flame
obsidian acorn
gleaming flame
#

Just look it up

obsidian acorn
#

np ill try to find it

#

check ur dms

gleaming flame
#

It's 5 Star rated

dreamy matrix
#

Is anyone know how many ship in the bulgarian navy in 1918 and their name(in English)

proper acorn
#

Bulgaria had very little so it must be between 5 and 7

#

Light cruiser : Nadezhda and Podgoritsa
Heavy cruiser : SMS Radetzky and SMS Zrínyi

#

and 2 or 3 destroyers with no registered name

obtuse condor
#

hey does anyone know an mac alternative for notepad cuz ima try to make a mod that revolves around a zombie takeover

obtuse condor
#

How do I make a nation spirit which gives +5 mutual opinion bonus with all nations who also have the spirit?

#

For example, the "House of Wettin" spirit for UK, Belgium, Bulgaria and the formable country Saxony, to simulate dynastic relationships.

hexed shard
#

Guys can anyone make me a 2024 mod

#

with borders

astral wyvern
#

Is there any mod (ironman) that rehauls the vanilla portraits to real black and white portraits? Kinda like the portraits from DH

rose heath
#

Hannover citizens watching 2 giant red rings start rotating over their city

humble cedar
#

How can I edit this so the ideas it shows and stuff change?

#

and as well as the brief history

winged briar
#

from bookmarks

humble cedar
winged briar
#

common>bookmarks

humble cedar
#

ty

humble cedar
#

for the brief history?

#

nvm found it

#

thank you anyway

nocturne karma
#

hi im trying to make a mod where if the CZE take a Breslau it will change name to Vratislava but it doesn't works can i ask what im doing wrong?

sand sky
#

hi there, im trying to make a mod where the 1848 Revolutions succeeded, anyone interested?

#

if so, add me or ping me

humble cedar
#

I have removed the Requirement for Greece to do the crack down on foreign monopolies focus yet the game still wants that focus to be completed.

#

I have changed it in common\ideas and i do not know if I have to change it anywhere else.

timber zenith
humble cedar
#

I had changed it for a while now, rechanged it again today.

#

it still doesn't work

timber zenith
#

It'll be an on_state_control_changed on_action that you're looking for

nocturne karma
#

thanks bro

timber zenith
#

Np

humble cedar
#

I've only touched the common\ideas\GRE folder

#

is there any other folder I have to edit?

timber zenith
#

I'm not sure unfortunately, I've never done work on support companies before

#

Manufacturers I mean

humble cedar
#

Welp I'll fix it some other time

proper acorn
sand sky
#

im not really deep into it

humble cedar
#

probably in a txt file?

nocturne karma
#

ok

humble cedar
#

search it there, maybe it works

timber zenith
# obtuse condor For example, the "House of Wettin" spirit for UK, Belgium, Bulgaria and the form...

Found this spirit from the wiki:

    country = {
        idea_opinion_modifier = {
            on_add = { # Note: Doesn't work if the idea is added within country history or a bookmark's effect.
                every_other_country = { # If it's added in country history, then replicate the effects there as well.
                    limit = {
                        has_idea = idea_opinion_modifier
                    }
                    add_opinion_modifier = {
                        target = ROOT
                        modifier = test_diplomatic_modifier
                    }
                    reverse_add_opinion_modifier = {
                        target = ROOT
                        modifier = test_diplomatic_modifier 
                    }
                }
            }
            on_remove = {
                every_other_country = {
                    limit = {
                        has_idea = idea_opinion_modifier
                    }
                    remove_opinion_modifier = {
                        target = ROOT
                        modifier = test_diplomatic_modifier
                    }
                    ROOT = {
                        remove_opinion_modifier = {
                            target = PREV
                            modifier = test_diplomatic_modifier 
                        }
                    }
                }
            }
            modifier = {
                custom_modifier_tooltip = add_opinion_modifier_tt # Since on_add/on_remove aren't shown to the player
            }
        }
    }
}```
proper acorn
timber zenith
sand sky
#

just havent started modding at all yet

nocturne karma
#

can rename city to Piery

proper acorn
humble cedar
proper acorn
#

Or didn't it even start?

humble cedar
#

it's something like

#

"STATE_###_SWE"

#

or

#

"STATE_###_FIN"

nocturne karma
humble cedar
#

I've noticed some of those in the files.

sand sky
#

as again ideas and all layed out just need someone who actually knows how to mod

#

spotted that there isnt really any 1848 mod despite being a major influential year

nocturne karma
#

i did it same as finland did it with leningrat

#

than i changet owner to me

#

but it doesnt work

timber zenith
#

Does it change automatically?

#

In vanilla

nocturne karma
#

yes

#

Finland yes

#

but Breslau not

timber zenith
#

Check the AAT on_action file then it should be In there

nocturne karma
#

ok

proper acorn
sand sky
nocturne karma
#

i cant find it

#

but newermind i l try it tommorow

timber zenith
winged briar
# humble cedar

The company you show in the game is the military industrial organizations(MIO) that come with the AAT, their file is different. The ones you edited are the old companies that those who don't have the AAT dlc see

nocturne karma
#

can i write to u tomorrow if i couldnt fix it?

timber zenith
#

Sure

winged briar
humble cedar
winged briar
humble cedar
humble cedar
#

screw it I'll just try to fix it tommorow

#

nevermind, it was a grammar mistake

#

xD

limber torrent
#

Is there a load order for hoi4 mods

grizzled sandal
#

i dont think so last time ive heard of that was in skyrim lol

#

what a pain is to add mods in that game.

#

smh.

#

having to "clean" the mods, put their load order, the plugins and everything. Jeez I spent more time adding mods than playing.

grizzled tide
wet herald
#

my good people, can you explain to me how to download a mod from outside Steam into my game. I have it on Steam, and i wanted to revert the Age of Imperialism mod back to the last patch so i can finish my game, any clue?

#

there is the state transfer mod as well as the toolpack mod for that

distant saddle
obtuse condor
#

does anyone know any good up to date hoi4 modding tutorials, the iron workshop ones are getting outdated

coarse mason
#

how to get the senior hitler achievement

sand sky
sage arrow
#

Hi, could someone teach me how to make mods myself. Flags, names, leaders, spawn more divs, set time. For example, like making a great war redux yourself, just generally modding

#

it's best to have a German one

proper acorn
#