#modding

1 messages ¡ Page 101 of 1

high silo
#

the date has something maybe

velvet spear
#

Hm, maybe, in base Hoi4 the 1939 starting date has germany annex Chequia and Austria

#

Check the files for the states in Austria

#

They should have a section for that starting date.

high silo
velvet spear
#

Yeah it's probably that

#

Try getting rid of that.

high silo
#

so i can add EU countries to a faction

pale sparrow
pale sparrow
high silo
#

on setup thing

pale sparrow
#

then its add_to_faction = ROOT instead of country_event = generic.5

#

Doesnt work in the history files, so make sure to put it in on_action instead

high silo
pale sparrow
#

confused sort?

high silo
#
            array = non_eu
            value = "ENG"
        }```
high silo
pale sparrow
#

just like the example on the wiki does

#

I assume you want that array to be global also, so youd prefix the array name with global.

high silo
pale sparrow
#

false positive error afaik

high silo
#

cro

pale sparrow
#

Its wrong plenty of times

#

Why is that code in the ideas file though

high silo
pale sparrow
#

Yeh

#

Cleanest way would be uh

#
  limit = {
    OR = {
      original_tag = ENG
      original_tag = TUR
      ...
    }
   }
  add_to_array = {
      array = global.non_eu
      value = THIS.id
  }
}
high silo
#

i guess you can rename the tag SOV to RUS

pale sparrow
#

Probably better to keep it SOV so you have to replace less files

#

unless youre making a total overhaul and are doing that anyway

high silo
#

and i want to remove those two other scenarios

pale sparrow
#

You gonna have 1 or more in your mod?

#

If you plan on only one, you should have a second one off-screen to prevent a UI bug

high silo
#

2 only

#

so you make the swap file thing?

pale sparrow
#

replace_path's in the .mod and descriptor files yeh

high silo
high silo
#

can the base GFX still be used?

pale sparrow
#

No need to overwrite GFX folder

#

You only want to overwrite some interface files that load the GFX

high silo
pale sparrow
#

to replace startdates?

high silo
pale sparrow
#

to replace startdates you add the bookmarks folder to replace, and add new ones to the bookmark folder of your mod

#

Just to confirm, what sort of mod would this be?

high silo
#

and is backed up by history

rough karma
#

@velvet crag how is the Romania mod going fella?

winter void
#

I'm looking for a mod that makes it so that the AI sometimes declares random wars

lapis flame
#

I may have gotten a tad too into the horse girls, I now want an uma musume mod where all cavalry sprites are replaced by horse girls in the appropriate fatigues.

umbral karma
lapis flame
#

no, you goof. it's horses as anime girls

#

look it up, uma musume pretty derby

deft aurora
#

Is it possible to make when you complete a focus, it adds a national spirit?

pale sparrow
#

You should probably check the pins

high silo
# pale sparrow Eh? ``add_ideas = ``
GER = {
                random_owned_controlled_state = {
                    add_offsite_building = {
                        type = arms_factory
                        level = 1
                    }
                    add_offsite_building = {
                        type = arms_factory
                        level = 1
                    }
                }    
            }

is this correct?

pale sparrow
high silo
#

does add_offsite_building select a random state in germany?

pale sparrow
#

you want add_building_construction

swift dove
#

@pale sparrow where can you promote mods or cant you do this in this server?

swift dove
swift dove
vague sand
#

?

#

oh

#

okay

high silo
#

what

#

false positives

fallow forum
#

How does the game know how large a variable is? For example: AUS_habsburg_monarchyrestored_consumer_goods_factor

pale sparrow
#

its a state-level building

#

also dont need "

pale sparrow
high silo
proud swallow
#

is there any mod where it changes the entire map??

velvet crag
spice heron
covert mirage
#

guys how do i in localization make it so the name of the country is when its a puppet of ANYONE

#

?

covert mirage
velvet spear
velvet spear
#

Like this: CAN_autonomy_puppet:0 "Canadian Puppet"

proud swallow
velvet spear
#

What about hearts of minecraft? that could be fun

proud swallow
#

whats that

#

damn why is there so much popular mods that never even show up

#

like it says hearts of gambling is 3rd most popular but has 5x less subscribers tf

velvet spear
proud swallow
#

do you know if any other mods work with it??

#

like fps map

velvet spear
#

I doubt it, it has many graphical changes that may get messed up

#

But people usually do secondary mods, maybe there is an FPS map for this mod

proud swallow
#

its fine

#

but the ui

#

i can barely read it

#

😭

velvet spear
#

Yup, it uses a very Minecraft like ui

high silo
#

why it doesnt show up the factories type and stuff

high silo
velvet spear
high silo
velvet spear
#

Maybe adding a limit like:
limit = { is_core_of = GER }
Would help

#

Oh, and I think the correct syntax is:
random_owned_state

velvet spear
#

Or change the starting conscription law?

high silo
#

so change to volunteer

velvet spear
#

They are set in the country history file

#

Explore your file, it should be there

#

Although I think volunteer is the base conscription law, so just removing the extensive_conscription from the add_ideas should work.

velvet spear
#

Uh, i guess volunteer_conscription

#

But try to just remove the conscription law, see what happens

high silo
#

trying to make a civil war situation but it says the party leader if not civil war will be the democrats?

velvet spear
#

What do you mean if not civil war?

high silo
velvet spear
#

Alright, I see that, what's the problem?

high silo
velvet spear
#

Ok, have you tried changing the ruling_party to the party you want?

high silo
velvet spear
#

Ok, for the start_civil_war thing, the set ideology as far as I remember is the ideology that the rebel faction will use

#

So you are essentially saying that you have a 30 percent chance of the monarchist starting a civil war

#

Secondly, it would probably be better if you had the completion reward be an event instead of the change itself

#

Like, have an event pop up that says "The kaiser returns" if the event was successful, and have it say "The democrats rise in arms" if it doesn't

#

Lastly, leaving things like civil wars to pure luck may not be a great idea

#

People usually don't like rng

high silo
velvet spear
#

Sure, but uncertainty and not being in control are usually not very liked

#

But you do you

high silo
#

original country vs civil war country

high silo
#

im making an event for the ai and user but it just gives me that i cant program the AI

smoky bluff
#

Good morning. Is there any way to duplicate a mod? This might sound weird, but in future updates, a good mod is going to make an update I don't like, because it's making my hand crash with another good mod. Mods can't be reverted to beta versions, as the game does, but I really want to keep this version. Can someone please enlighten me?

high silo
smoky bluff
high silo
smoky bluff
smoky bluff
high silo
smoky bluff
high silo
high silo
# smoky bluff Ja

just rename the duplicated mod folder to anything then add a new mod in the launcher

smoky bluff
high silo
smoky bluff
smoky bluff
#

Still thanks for your time!

high silo
#

alr

high silo
#

also why cant i have a event id like:
GER_events.politics.1

#

it says malformed id

pale sparrow
silk ferry
#

hello guys, could you please tell how to add a national spirits to a nation so it starts the game with them

#

because i couldn't figure it out myself and ai is being weird

#

it said that i need to add this: set_national_spirit = [spirit id] into the the country's txt file

#

and it didn't work ahaha

next mango
silk ferry
ancient vapor
#

@high silo what mod are you making?

high silo
high silo
swift field
#

i got a No division limit mod for hoi4

ancient vapor
covert mirage
#

guys

#

how do i make it so in an event, a certain effect happens few days after an option was clicked

velvet spear
#

Something like D01

velvet spear
#

There is not a timer per-se, but you do have options to have a delayed effect

#

You can either have the event generate another event in a few days that will have the effect that you want

#

Or you can have the event generate a decision that will grant the effect that you want when it expires

covert mirage
#

btw

#

how do i make a national spirit have that "❌Cannot Join Factions" in it

#

like whats the modifier

velvet spear
#

I'll research it

#

It should be in the country file, try looking for something like

can_join_factions

torpid plaza
#

hey i need help i don't understand how to make a custom map for my mod can i get help.

velvet spear
#

Sure, what's the problem?

torpid plaza
lavish ledge
#

anyone got any good applications for map making?

#

the mapgen 2.2 doesnt work anymore

velvet spear
torpid plaza
#

i am trying to make a map of the 1400's for me and my friend to play

velvet spear
#

Ok, and you say the map doesn't appear?

torpid plaza
#

yes i use the ingame map make tool idk if i should use it or not bc i am new to it all

velvet spear
#

Map make as in changing states?

#

Or as in creating a whole new map?

lavish ledge
#

and to validate states etc

ancient vapor
torpid plaza
velvet spear
velvet spear
velvet spear
#

And this new country doesn't show up in-game, is that what you mean?

lavish ledge
#

how do you make it work for the newest versions

#

mine crashes when i try validating

ancient vapor
#

Suffering

torpid plaza
lavish ledge
#

/following astros tutorials

ancient vapor
#

Astros

#

That dude made an app

lavish ledge
#

astros tutorials dont work for me

ancient vapor
#

To make mapgen eork again

lavish ledge
#

yeah it dont owrk 4 me 😢

#

i mean

#

i use normal mapgen and then his program to do the rest

velvet spear
ancient vapor
#

Check the error log

lavish ledge
#

Js when i try validating all states

#

I click the button

#

And it crashes

#

I also cant run normal vanilla

ancient vapor
#

Yeah I know

ancient vapor
lavish ledge
#

So im woried it might be up 2 hoi4 base game aswell

lavish ledge
#

All mods that alter states work

ancient vapor
#

Yes exactly

#

Havent played vanilla since june

#

Look

lavish ledge
#

I see so its not a 1 person issue

torpid plaza
lavish ledge
#

I wanted to try space marines and i realised vanilla dont work at all for osme reason

velvet spear
#

Or just reinstalling the game?

ancient vapor
lavish ledge
#

Multiple times

ancient vapor
lavish ledge
#

I mean

#

Ill try again

#

Last time

ancient vapor
#

@lavish ledge look

lavish ledge
#

And check my error logs

ancient vapor
#

Check the error log

#

And then come back

lavish ledge
#

cuz the costal thing also messes up

#

after i do it

#

and pasting the first line form hoi4 to the mod

ancient vapor
lavish ledge
#

Could the issue be also that like

#

I make the mod

#

And then export the map into that

#

is ts what im meant to do or

ancient vapor
#

Maybe

#

But that wasn't a problem for me

lavish ledge
#

What was ur issue

#

Cuz i cant get past buildings

#

So if its something past buildings im listening

ancient vapor
#

Lakes

#

Made provinces too small

#

I deleted them

#

Errors went from 87 to 6

lavish ledge
#

If lakes are the issues im gonna tweak

ancient vapor
#

Yeah I know

#

It's temporary

#

Im barely making the alpha

#

When I get to the full version ill add it again

torpid plaza
# velvet spear Ok, tell me what steps you followed.

I load into the game and open the tool. I select the item I want and try to override it, but when I hit Save, it doesn’t work. For some reason, it won’t let me insert multiple states. Even if I completely reset or erase the state, it still doesn't work.
When I go through all the steps, it ends up creating multiple files inside the folder I need, and I’m not sure what’s going on.

ancient vapor
#

Go and check the error log

lavish ledge
#

Im redoing it rn cuz my mod keeps deleting itself or something

#

terrain input tweaking

#

Hooly

ancient vapor
lavish ledge
#

it might be a bit

#

odd

#

but yeah

#

screenshot since discord wont recognize bmp

#

province map

ancient vapor
#

Ok

#

Lets begin with the fact that at least 29 provinces are less than 8 pixels

lavish ledge
#

that isnt hte pixel map

#

its the size of the recommended size

#

so 5k pixels

ancient vapor
#

And those are plenty of provinces

lavish ledge
#

let me convert to png so its more visible

ancient vapor
#

In my early stages

#

I had a lot of provinces

#

Which made my game crash

#

So check that too

lavish ledge
lavish ledge
#

i could try with smaller provinces to see if thatll help

#

validation of states

ancient vapor
lavish ledge
#

i tried validating 1 by 1 and it crashed ont he first

ancient vapor
#

Ok?

lavish ledge
#

they r bigger now

ancient vapor
#

Seems better

#

Also take in count sea provinces

#

I did it with 7 provinces

#

And 8 in land

#

And it went fluently

lavish ledge
#

theres a crap ton of countries but i get ur point

#

and naval shit wont be as complicated

#

when u have to go

#

5 million provinces

ancient vapor
#

Ok

#

Have to go

lavish ledge
#

alr thanks for hte help ill try figuring out by myself via error logs

ancient vapor
#

Check the error log and mention me when you do

lavish ledge
#

ill look thru most of them

#

cuz last time i looked only for the costal stuff

#

im putting in the building stuff

#

into buildings

#

from hoi4 file

#

@ancient vapor issue again, it was 150mb before now its 102 and when i go nudge its the base hoi4 map

#

and not my own

#

not sure why

#

it complains ab provinces being too small in error log

#

ill try remaking

velvet spear
#

Sound like the problem is that your states are not loading properly

#

A state needs to have the following:
A unique state id, a state category, a manpower of at least 1, and provinces

#

These provinces must be owned only by that state, it can't be sharing them with any other state

#

And it must have all its provinces be inside the same strategic region

#

You can then add the owner of the state inside of the history bracket of the state

torpid plaza
#

ok thx

lavish ledge
#

i give up again

#

ill continue tomorrow

#

it doesnt work at all

ancient vapor
#

This thing right?

lavish ledge
#

Yup

ancient vapor
lavish ledge
#

I see

ancient vapor
#

To fix the "too small" problem

#

I went to mapgen

#

In the first generator

#

And pressed "look for small islands"

#

Do that and it should show you the small provinces

high silo
high silo
#

also why can't you use an id like:
id.subtopic.number

#

it says malformed id

velvet spear
high silo
velvet spear
#

To do that you need to release the country first

#

Try smt like this:

create_country = {
tag = PRE
civil_war = yes
ideology = neutrality
capital = state
}

#

Should work

covert mirage
#

guys question, does anyone have a guide, tutorial or ANYTHING to help me learn in making Vanilla styled assets?

covert mirage
covert mirage
covert mirage
velvet spear
#

Unfortunate

neon ledge
#

i saw an epstein mod

#

enstein*

vague sand
#

am i cooking? (going to sleep so i wont respond)

topaz abyss
#

Hey I've been trying to launch some stuff off the work shop and they aren't loading into the game I've tried unsubscribing to them uninstalling HoI and reinstalling but nothing seems to be working any idea?

high silo
#

the art

glass acorn
#

My mod's always crashing at a specific date, anyone know the most common causes of this?

glass acorn
#

Like March 23rd 2015 (2015 = 1936)

#

Not sure what's the cause though

#

Error logs aren't much help

high silo
glass acorn
#

January 1st 2015

high silo
#

sorry i was eating

glass acorn
#

Why would I wait nearly a decade 🥀

high silo
glass acorn
#

Now it's just crashing at near the same time

#

It ranges from March 24-26

high silo
#

thats weird, maybe did you program something at those dates?

glass acorn
#

Not that I know of

high silo
#

maybe turn off all mods except your mod

glass acorn
#

Mmkay

high silo
#

@pale sparrow
why cant i use topic.subtopic.number id

#

like this

glass acorn
#

Is your namespace GER_events

#

Namespaces and IDs need to be the same at the start

#

Otherwise it's invalid

high silo
glass acorn
#

I'm pretty sure the politics part can't exist

#

It can only be the namespace and number

high silo
glass acorn
#

Though you can make multiple namespaces for different event types

high silo
#

not multiple german events for each subtopic

glass acorn
#

Like this

high silo
glass acorn
#

I'm just curbing errors one by one to see what fixes it

high silo
#

maybe check the logs near the dates

pale sparrow
#

lemme check

#

no examples in vanilla but I assume thats how it works

high silo
#

also how do i overwrite germany's factories

pale sparrow
#

history/states

high silo
#

they have like 20 of them and i want to reset to a couple of them

glass acorn
#

I've narrowed down the error

#

Turning off the AI seemed to prevent it from crashing

#

So it's something the AI Does or Enables

high silo
pale sparrow
high silo
pale sparrow
#

random fires for just one

#

theres every_owned_state

high silo
#

now i dont want to remove every factory but also leave some

#

so like maybe in the limit NOT = {state = num}?

high silo
# pale sparrow theres ``every_owned_state``

okay so when i do a tech that asks the original germany whether or not to change power peacefully or do a civil war
when i do the civil war do i play as the other germany or original germany

#

or do i need to specify

swift field
#

i wanna add flamethrower infantry units

high silo
pale sparrow
high silo
pale sparrow
high silo
vague sand
high silo
vague sand
#

thanks!

obtuse condor
#

What was the mod, commonly shorted with TDM?

#

That some people mistakenly call it "Axis victory mod" , a black sun is involved.

#

It's very dark too

high silo
#

where Germany wins?

obtuse condor
#

Yes

#

maybe it is

crude narwhal
#

Does anyone have a good modern day mod?

crystal sand
high silo
#

also how do i send the event to the other germany

#

maybe i need to seperate germany it once the focus has finished

#

then send it to the other germany

#

@pale sparrow what do you think

pale sparrow
#

I already explained this before

silk ferry
#

guys hello could you help please, what do i do with this:
create_country_leader: Ideology communist not found

#

found it in error logs

#

i have created a leader for my country but it doesn't work

#

i followed the official paradox guide, but it didn't mention how to put the character in power so i had to improvise ahah

silk ferry
#

i changed communism to leninism and it worked

#

but the picture doesnt ahah

jaunty cipher
#

guys how create political advisor? i create from video (in ideas) but it didnt work

high silo
high silo
#

read the wiki for more info

lofty plaza
#

If you find the regular too confusing

nimble solar
#

Basically OG Millennium Dawn

pastel cradle
#

Nor in md

nimble solar
#

So I'm going by what I've heard

pastel cradle
#

Never heard of that one

nimble solar
#

Red Dusk is Millenium Dawn but the Soviets managed to survive the Cold War

#

Basically Cold War extends into the 2000s

pastel cradle
#

Oh

#

How good is it?

nimble solar
#

One of the better mods on the workshop

pastel cradle
#

Bc I've tried playing the iron curtain and some things don't work

nimble solar
#

America and Soviets are pretty good

#

There are also South Africa, Iraq, Yugoslavia, and British trees

#

Missing at least one

#

Iran is getting content soon

#

Lots of proxy wars to intervene in

pastel cradle
#

Is Germany still split in the mod?

nimble solar
#

Eastern Bloc collapsed

#

Though Soviets still kept all their land aside from most of the Baltics I believe

pastel cradle
#

Ahhh

#

I'll definitely try it

#

When i have all dlcs again

nimble solar
pastel cradle
lofty plaza
naive steppe
#

Any good warhammer fantasy or warhammer 40k mods?

worldly kelp
#

are there any good cold war mods in hoi4?

velvet spear
#

Not much more

velvet spear
topaz abyss
#

hey could someone help me get a mod list together for some reason i cnat get the game to load?

gloomy crescent
topaz abyss
topaz abyss
#

looking for good mods that are compatible with Rise of Nations

silk ferry
#

i mean

#

the file type is dds and it is 156 to 210 pixels as required

#

but for some reason it doesn't work

covert mirage
#

guys how do i make custom nation leader traits

high silo
#

because the goverment still handles all decisions and we will not get a simple presidential decision as the decision will impact the german government.

#

i guess ill add some trees to buff or debuff the chances

pale sparrow
covert mirage
pale sparrow
high silo
lavish ledge
#

@ancient vapor ill try it again rn

#

i did small islands and all

#

ill send error log here when it crashes

#

crashed again

#

couldnt even open it

#

it always crashes after i do building copy paste

#

it works in nudge normally before i do it

#

the only error is no mil factory

magic jungle
#

How to make everyone declare war on me through an event?

#

Anyone?

ancient vapor
lavish ledge
#

loads fine and all

velvet spear
#

See what they did

magic jungle
velvet spear
#

Good

magic jungle
#

lowk

velvet spear
#

Oof, that is going to suck

magic jungle
velvet spear
#

Sure, let me know when you publish it

#

Remember to auto complete a couple focuses when the game starts

#

Don't want to be too unfair

magic jungle
#

@velvet spear I also have one question

#

you see

#

I need tags of

#

Russia (Revolution); USSR (Right opp); Union of Soviet Socialistic Republics (Left opp)

magic jungle
#

@velvet spear

#

also I am having trouble with the date, because for Soviet Union events trigger kind of late??

velvet spear
#

Uh, I think the tags are all SOV after the revolution happens

#

Like, whoever wins get to be SOV

magic jungle
#

oh

#

during revolution still

#

hehe

velvet spear
#

I don't think it would be wise to have a civil war through the soviet tree for this kind of mod

#

By the time the civil war happens you will get obliterated by everyone

magic jungle
magic jungle
#

oh right

#

the condition is to be

#

Soviet Union (SOV)

#

basically

#

event will trigger

#

only after civil war ends

velvet spear
#

You should probably just remove those branches or make a peaceful alternative

magic jungle
velvet spear
# magic jungle whatchu mean

That there is NO WAY you will win the civil war before ragnarok and if you do, there is no way you will beat ragnarok

#

So I don't see much future to the other soviet branches

magic jungle
#

still

#

it's up to players

#

they will have

#

1 year

#

to prepare

magic jungle
velvet spear
#

What events trigger late?

magic jungle
velvet spear
#

Does an error literally appears that says "Events late"? or is your added event triggering late?

magic jungle
#

I mean like

#

If I set exact date I need

#

aka 1st of january 1937

#

it only triggers on 5th of january

#

A country that doesn't exist may still get events if fired via an effect, but any other method doesn't work. However, if there's a time delay set in the effect that fires it, the timers in each delayed_event[a] will not decrease. This effectively puts any events with a time delay onto a backlog of the country, put on hold until it gets released. For example, if BHR doesn't exist when BHR = { country_event = { id = event.0 days = 1 } } is executed, then the event will only fire a day after BHR starts existing. This also applies to the original recipient of major events.

#

found this on wiki

#

but I quite dont know if this is what I am looking for

velvet spear
#

No, that's just for unexsiting countries

#

The soviet union is very real in 1937

magic jungle
#

look at the date

#

and now mod

#

@velvet spear

velvet spear
#

Yes, I see

#

Is this delay consistent?

#

As in, is it always three days more?

magic jungle
#

now it was 3 days

#

its somewhat random for some reason

#

all though it's all good for germany

velvet spear
#

I see, how is the trigger in Germany?

magic jungle
velvet spear
#

Ok, I'll see if I find something

#

Have you checked other events that trigger by time in the Soviets?

#

I think the paranoia one was through a time check, see how that one is built

velvet spear
#

Ok, it could be something with how the game checks time

magic jungle
#

couldn't find anything in the soviet events

velvet spear
#

The game checks the trigger every 7 days or so

#

So if the event happens on day 4 it will only trigger in day 7

#

Although it's still inconsistent

#

I would recommend putting something like:
mean_time_to_happen = {
days = 365
}

#

And see what happens

magic jungle
#

already tried

#

it triggers on 12 of december

#

adding more days

#

makes it work even more weird

#

there are also years

#

but

#

lowk it triggered it one the first day

#

it works very weirdly

#

I might take a look at ragnarok date system

velvet spear
#

That's probably the best idea

magic jungle
velvet spear
#

Compare it to how the base game checks time

#

There will definitely be an answer

velvet spear
#

Odd

#

Wait, there is a file that defines how time based events are read

velvet spear
#

Is there a common folder or such in the mod?

magic jungle
#

yes there is

velvet spear
#

Go to defines

#

I think it's there

magic jungle
#

its just bunch of ai and difficulty

#

settings

velvet spear
#

Huh, wait let me download the mod, I'll screen it

#

As in scan it, not share screen

magic jungle
#

as I said

#

germany

#

DOESNT

#

have this delay

#

its exclusive to USSR and France for sure

velvet spear
#

Is it this one?

magic jungle
magic jungle
velvet spear
#

Yes yes I read that

#

I just get really stubborn with this stuff

magic jungle
velvet spear
#

Oh I can be stubborn due to lack of knowledge about modding tho

magic jungle
#

direct opposites

#

I meant lack of knowledge what resources to use and where to lookup

velvet spear
#

Ok, do you have the on_actions file?

magic jungle
velvet spear
#

Ok, check it on the actual mod

#

Maybe you'll find something interesting

magic jungle
velvet spear
#

Go to common > on_actions

magic jungle
#

its not what we need

#

it has nothing about time or delay

#

it's about german triggers

#

cant find any good use for that

velvet spear
#

Yeah, and don't you want to take the ragnarok mod to the Soviets?

magic jungle
#

as for Germany it makes survival more possible and more realistic

#

I am not striving towards that

velvet spear
#

You just want people to suffer?

velvet spear
#

Cynical

#

Still, this file sets the global flag for ragnarok and gives Germany it's first event

magic jungle
#

flag triggers

#

are interesting

#

all though

#

I have no idea how to use them

#

and

#

still

#

ragnarok starts

#

from a specific date

#

the same code as mine

velvet spear
#

Apparently not

#

Did you also say that this happens for france too?

magic jungle
#

I double checked germany

#

it's really weird

#

@velvet spear I guess I'll keep it at ~10th of January

#

as I see no solution as for now

#

I will publish it

#

and

#

yeah

#

if I

#

will figure it all out - I will update the mod

velvet spear
#

We'll find a way, don't worry

magic jungle
#

and I would appreciate your help

magic jungle
velvet spear
#

I'll test your mod

velvet spear
#

Maybe try to contact the maker of the original mod?

magic jungle
#

Don't think it will succeed, neither I don't think he'll be able to help with delays

velvet spear
#

Worth the try

#

You never know, other people usually go through the same problems we do

magic jungle
#

I will try playing it

#

maybe it also has the delay

#

@velvet spear

#

it all works good for the ragnarok...

velvet spear
#

They must be doing something right then

magic jungle
#

it's literally my script

#

its the same

velvet spear
#

Maybe the event script is the same, but the mod has more files than yours right?

#

It must be doing something else

magic jungle
velvet spear
#

Ask the mod maker, maybe he'll help, if not, we can go back to it when you feel better

magic jungle
#

@pale sparrow sorry for the ping but I see you often help people. I am having trouble of my event being delayed from 3 days up to 12, all though all other mods with the same script as mine dont have their events delayed. Could you help me?

velvet spear
#

@magic jungle Yo, your puppets dont declare war on you right?

pale sparrow
#

Keep in mind event triggers are only checked monthly by default

full echo
#

for some reason the mod take up negative space and plays base game when run , also resubscribing doesnt work
is there any way to resolve this ?

magic jungle
#

you can see a 13 day delay

pale sparrow
magic jungle
#

then

#

what could I use instead of it?

pale sparrow
#

You want this to fire the 1st of Feb 1936?

#

then you could just fire it in the history file of SOV

#

or, if you also have a 2nd scenario in your mod, fire in in on_actions instead

magic jungle
#

it was a test

pale sparrow
#

You can fire the event how I said before with 365 days delay

magic jungle
#

it does it too early

#

if I set 365 mean_time_to_happen

#

it does it 20 days earlier

#

@pale sparrow so, what's the solution?

#

and how to work with history files

pale sparrow
#

dont use mean_time_to_happen unless you want it random

#

you gotta remove it, and the trigger block, and put is_triggered_only = yes in their place

#

then you put this on game startup

#

if you have only one scenario, or it is the latest one, you can put it in the history file
Otherwise you have to do it in an on_action

magic jungle
#

deadass I am confused

#

I need it to trigger on

#

1937

#

1st of january

#

not 1936

#

a year

#

should pass

pale sparrow
#

Do you have 1 or more scenarios in the mod?

magic jungle
#

basically ragnarok for Soviet Union

pale sparrow
#

then you just put in the history file

    id = my_event.1
    days = 365
}```
magic jungle
#

just copy the entire soviet file?

pale sparrow
#

youll need it in your mod if you wanna add this

magic jungle
#

I mean

#

should I just take soviet

#

history file?

#

and just put it there?

pale sparrow
#

yeh

magic jungle
#

@pale sparrow you sure I should remove trigger?

#

it checks if player is soviet union

#

or history file for soviet union

#

makes it exclusive

#

to soviet union

pale sparrow
#

Yeh you should remove the trigger

magic jungle
#

sorry for dumb question

#

xd

pale sparrow
#

Because by adding is_triggered_only = yes, it stops firing based off the trigger

#

and instead only appears by country_event =

magic jungle
#

@velvet spear are you the one who left the comment under my mod?

velvet spear
#

The one and only

magic jungle
velvet spear
#

huh

magic jungle
#

bcs

velvet spear
#

Did you update it?

magic jungle
#

I have to go and cant tell for sure if its exactly 1st of january

#

yes

#

it's updated

#

now it should be exactly 1st of january

#

@velvet spear just play as ussr

#

do basic stalin focuses

#

and it will take 10-15 minutes

#

to go thru 1 year

velvet spear
#

I tried it before the update

#

I'll try it again

magic jungle
#

@velvet spear dms

covert mirage
#

why wont my localization work

#

and also my description- (it has " at the end btw)

pale sparrow
covert mirage
#

whats wrong with it?

rugged tartan
#

Alright, so I’ve had this idea for a while, but I don’t have the time or skills to make it. I just hope someone will read this and use the idea.

What if someone made a mod that adds an endgame crisis, like all communist nations forming one big faction somewhere between 1944 and 1948, and then aggressively expanding? Or maybe South America or Africa uniting into a single power and starting to expand aggressively? Or even some kind of former empire reforming (like the Ottoman Empire or the Roman Empire) and trying to conquer the world?

Basically, just something that creates a late-game challenge and forces players to adapt.

ancient vapor
#

But people usually don't go anywhere further 1945

ancient vapor
lavish ledge
ancient vapor
#

And why?

vague zealot
#

out of the blue, my game began crashing, I at least found out when, but not to what.
It crashes when I launch the game as any nation and then let it roughly run for a second or two, even if I don't do or clock anything.
I'm gona rage quit

lavish ledge
ancient vapor
#

That's for later stages

#

You need to get the map fully working before that video

lavish ledge
#

it tells me 2 do that before i do validate all states

silver meteor
#

hey guys question I'm struggling with reducing maximum air support modifier but I can't get it to work

#

NDefines.NAir.AIR_SUPPORT_BASE = 0.15

silver meteor
#

got it to work

#

NDefines.NMilitary.AIR_SUPPORT_BASE = 0.15

ancient vapor
high silo
rugged tartan
swift field
#

im gonna make a BIG mod on hoi4 called: HOI4 MULTI MOD from 1900 till 2025

quick timber
#

Can someone guide me throw creating custom emblems and icons for armies

high hatch
#

In localisation, how I can get the value of the variable THIS.my_variable_to_check_@FROM, [?THIS.my_variable_to_check_@FROM] doesn't work.

covert mirage
high silo
#

where did it went?

covert mirage
lavish ledge
#

I mean i never tried running it

#

But when i turned singleplayer on i see the map and all

#

I dont press play cuz theres no countries ofc

high hatch
covert mirage
high silo
covert mirage
#

but it doesnt for some reason

covert mirage
#

SLR_soviet_war_decision:0 "Soviet-Slavic War"

high silo
ancient vapor
ancient vapor
high silo
ancient vapor
#

The hoi4 mod

high silo
ancient vapor
#

Yeah it's not the first time I have to clarify

lavish ledge
#

Shouldnt buildings come before countries thi

#

tho

ancient vapor
#

No idea

#

@lavish ledge what's your mod about?

lavish ledge
ancient vapor
#

What's that?

lavish ledge
#

i make map my friend makes focuses

lavish ledge
ancient vapor
#

Ok

lavish ledge
#

@ancient vapor sometimes it says states are too big

#

whats the max size if yk?

pastel cradle
lavish ledge
#

so

#

itll get worse for sure

#

theres robo hitler and shekau in the same mod

covert mirage
#

in it

high silo
covert mirage
high silo
pale sparrow
#

IIRC

covert mirage
high silo
covert mirage
high silo
ancient vapor
magic jungle
#

@pale sparrow ok so, I have two questions for my ragnarok mod:

  1. How to make it so Spain doesn't have civil war?
  2. How to make it so countries don't declare war on each other?
pale sparrow
magic jungle
pale sparrow
#

you gotta disable this mission

#

Idk if its fired automatically or by focus

magic jungle
pale sparrow
#

Im not gonna do that work for you rn but missions are in decision files

magic jungle
#

alrights thanks

lavish ledge
#

@ancient vapor thanks for helping man but i give up on map making

#

i tried multiple times

#

ts time it ried adding a country it deleted itself

#

im just gonna do it in vanilla idk

summer ocean
#

hello so in my hearts of iron mod when germany goes to war the event that gives economy of conquest doesnt fire even though they have mefos, does anyone know why this could be happenign

gilded swan
#

gg

weary meadow
#

Is there a mod to rename army generals?

nimble solar
# pale sparrow

I think it is from the Spanish election event that starts the event

#

Even when you dont do a focus, the election will force you to take a decision to start the civil war process

nova night
#

Any updates on the progress of the 1984 mod?

bronze hinge
#

Hello, I need your opinion on something. In the moment, I'm focused in a mod "Wolfenstain" and now I'm writing the mod's tech. With the addition of Gotterdamerung, there are "Special Projects." Do you think it's better to design the mod assuming players have the DLC, or not?

pale sparrow
#

Most special projects are DLC locked, but the system isnt, nukes for example are a special project even without the DLC

high silo
pale sparrow
#

Im not gonna say how because I keep just reading the wiki to you

high silo
nova night
ancient vapor
lavish ledge
ancient vapor
#

And this was an early map

#

Now it looks way better

lavish ledge
#

might be an issue for my hoi then idk

nova night
high hatch
#

Hi. It is normal the tooltip text doesn't work, but work when it is normal. And also, it is normal the message doesn't work fine for the peace treaty? Because, it's shame it doesn't work for any reason ><. Or maybe it is a bug?
It is what I put on the treaty message: DIPLOMACY_TRUE_PEACE_PROPOSAL_message:0 "Une capitulation conditionnelle a ĂŠtĂŠ signĂŠe entre $COUNTRY.GetNameDef|U$ $ROOT|U$ [ROOT.GetNameDef] et $FROM.GetNameDef|U$ [FROM.GetNameDef].\n[GetTruePeaceProposalRootEffect]" How I can made the variable work here? I mean, I want in resume "Korea made a conditional surrender with Popular Republic of Korea." in this example.

high hatch
#

A test with this also DIPLOMACY_TRUE_PEACE_PROPOSAL_message:1 "A §Yconditional surrender§! agreement has been signed between @$ACTOR_TAG$ $ACTOR_COUNTRY|Y$ and @$RECIPIENT_TAG$ $RECIPIENT_COUNTRY|Y$.", and it doesn't work also. Nothing is show between $$. I even copy from peace_l_english.yml.

vague zealot
#

How can I not add a custom name to the name section of creating a unit?, as removing "name =\ causes a crash, I just want the name to follow the namelist file I created, thanks

create_unit = {
division = "name = "<name>" division_template = "Ustroj UstaĹĄke Divizije" start_experience_factor = 0.3 start_equipment_factor = 1"
owner = ROOT
}

gaunt nebula
#

What are some good roleplaying add-on mods? I'm playing a scenario I made with friends, and some added tools for roleplay would be great. I already have the core with compliance mod, and I'm looking for other stuff in that same vein, small additions or system changes. A mod to lower ai division spamming while keeping ai competent would also be great.

nova night
nova heron
#

Yoyo have a question about making a map
Atm all I have access to is an iPad so I was wanting to make the map in Procreate, is it possible to do that and have it be able to be modded into a game (after running it through RandomParadox) or am I forced to use a different program?

vague zealot
#

Just remember to correctly paint provinces, follow all the province making rules

#

and do it slowly, as it's fairly easy to mess up

wheat egret
#

Can i somehow overwrite one specific on action without taking the whole file?

swift field
#

i wanna add a lot of prototype and experimental tech and equipment for ALL HOI4 nations from 1900 till 2025

#

like for us the xm16e1

#

as part of my HOI4 MULTI MOD

viral zodiac
#

what are some good performance mods

#

except fps map everyone has that

dense vault
#

Hey guys! I'm kinda lost and don't know what to do. While modding everything was going smooth, then suddenly the game would start crashing when it was getting booted up. I tried using CMS and do the Missing country files (although I already have them included in the mod files), as well as Fix missing states manpower and No state Category. Upon further inspection on the error log it started writing
[00:43:10][no_game_date][statetemplate.cpp:675]: State ID conflict: Both "novatorovmetroburg" ( history/states/1-State_1.txt) and "Corsica" ( C:\Program Files (x86)\Steam\steamapps\common\Hearts of Iron IV\history\states\1-France.txthistory/states/1-France.txt). (I don't have anything even written in the Corsica file, I don't even know where it is in the mod file itself)
Here is the full error log

chrome oasis
#

Was wondering if anyone here knows the process of making custom army insignia's like GDWs? And was wondering if it was possible for the rest of the Armies/Winged/Fleets?

high hatch
thin rune
inner marsh
#

is it better TGA or DDS for national spirits/ focus trees

#

i can't seem to put the national spirit with DDS

inner marsh
#

icons btw

high silo
timid crypt
#

hey everyone, im new to modding, i have a question: how do you permanently remove political paranoia? by removing in the history countries SOV - Soviet Union.txt file it seems to get removed but i still get political paranoia whenever i switch to a diff ideology

high silo
timid crypt
#

as in the mechanic from the soviets

#

stalin's political paranoia

#

yk

pale sparrow
true violet
#

hi guys does anyone know why the color doesnt work correctly on these countries (Russia Poland Ukraine Belarus etc.) it only startet happening after i made a new country

#

i already checked in the color.txt and in the countries itself and it looks correct

#

so idk where the error is

true violet
#

gfx/fonts there are diffrent font files when you look at it there is a .fnt and .dds .dds has the font as an image while .fnt shows how they are sized
A good programm is bmfont for creating this

high silo
#

this is giving too much false errors

#

i followed the docs

#

and red error

pale sparrow
#

re-read the docs

ancient vapor
#

Though I don't remember exaxtly

buoyant aspen
# high silo this is giving too much false errors

The red errors you saw (unexpected in set_variable, unexpected in on_monthly) happen because HOI4 is very strict with keyword syntax (which =, value =). Without them, the parser doesn’t know what you mean.

#

try it

    on_monthly = {
        add_to_variable = { which = covid_months value = 1 }
    }
}