#modding

1 messages Ā· Page 42 of 1

timber zenith
#

easier and better to do it from vanilla

#

you can use my mod as a base if you want

#

"More States"

#

It's not got accurate borders but its easier than nothing

sly basalt
#

I'd very much appreciate that, thanks.

#

Anyway, I might come back to this another day.

timber zenith
abstract burrow
#

omg

#

thank you

sly basalt
#

I have a Baldur's Gate 3 Collector's Edition box begging for me to open it.

sly basalt
abstract burrow
#

which i can edit

timber zenith
#

It's america

abstract burrow
#

OMG

#

How can i repay you

#

No BJ's

timber zenith
#

šŸ˜

abstract burrow
#

im gonna get to work]

timber zenith
#

good luck

abstract burrow
#

@timber zenith I may sound dumb here

#

but i copied all the files over

#

and it insta crashed

#

what did i do wrong

timber zenith
#

nah

abstract burrow
#

:(

timber zenith
#

you need to copy the replace_path lines into your descriptor file

#

both

abstract burrow
#

ah shi

#

forgot that

abstract burrow
timber zenith
#

did you put them in both descriptor files?

#

The one within and the one without

abstract burrow
#

theres 2?

#

I only have one

timber zenith
#

the one in the mod

#

and the one in the "mod" folder

abstract burrow
#

version="1.0"
tags={
"Alternative History"
}
name="Tormented Hell Test v1"
supported_version="1.12.14"

replace_path="common/ai_peace"
replace_path="common/ai_strategy"
replace_path="common/ai_strategy_plans"
replace_path="common/ai_equipment"
replace_path="common/ai_templates"
replace_path="common/bookmarks"
replace_path="common/decisions"
replace_path="common/decisions/categories"
replace_path="common/ideas"
replace_path="common/national_focus"
replace_path="common/on_actions"
replace_path="common/scripted_effects"
replace_path="common/scripted_localisation"
replace_path="common/units/names_divisions"
replace_path="common/units/names_ships"
replace_path="history/countries"
replace_path="history/states"
replace_path="map/strategicregions"
replace_path="map/supplyareas"
replace_path="events"
replace_path="portraits"
replace_path="country_leader"

#

this is in my descriptor file in my mod file

#

i didnt do anything to the other one

timber zenith
#

if you back out of the mod, you'll be in the folder called mod

#

the descriptor file there

abstract burrow
#

i know about that

timber zenith
#

it'll be modname.mod

abstract burrow
#

do i put the replace path there too?

timber zenith
#

Yeah

abstract burrow
#

so in both

timber zenith
#

And make the name the same if u can

abstract burrow
#

it was already in it

#

version="1.0"
tags={
"Alternative History"
}
name="Tormented Hell Test v1"
replace_path="common/ai_peace"
replace_path="common/ai_strategy"
replace_path="common/ai_strategy_plans"
replace_path="common/ai_equipment"
replace_path="common/ai_templates"
replace_path="common/bookmarks"
replace_path="common/decisions"
replace_path="common/decisions/categories"
replace_path="common/ideas"
replace_path="common/national_focus"
replace_path="common/on_actions"
replace_path="common/scripted_effects"
replace_path="common/scripted_localisation"
replace_path="common/units/names_divisions"
replace_path="common/units/names_ships"
replace_path="history/countries"
replace_path="history/states"
replace_path="map/strategicregions"
replace_path="map/supplyareas"
replace_path="events"
replace_path="portraits"
replace_path="country_leader"
supported_version="1.12.14"
path="C:/Users/ellio/Documents/Paradox Interactive/Hearts of Iron IV GamePass/mod/THT"

MOD.MOD

#

version="1.0"
tags={
"Alternative History"
}
name="Tormented Hell Test v1"
supported_version="1.12.14"

replace_path="common/ai_peace"
replace_path="common/ai_strategy"
replace_path="common/ai_strategy_plans"
replace_path="common/ai_equipment"
replace_path="common/ai_templates"
replace_path="common/bookmarks"
replace_path="common/decisions"
replace_path="common/decisions/categories"
replace_path="common/ideas"
replace_path="common/national_focus"
replace_path="common/on_actions"
replace_path="common/scripted_effects"
replace_path="common/scripted_localisation"
replace_path="common/units/names_divisions"
replace_path="common/units/names_ships"
replace_path="history/countries"
replace_path="history/states"
replace_path="map/strategicregions"
replace_path="map/supplyareas"
replace_path="events"
replace_path="portraits"
replace_path="country_leader"version="1.0"
tags={
"Alternative History"
}
name="Tormented Hell Test v1"
supported_version="1.12.14"

replace_path="common/ai_peace"
replace_path="common/ai_strategy"
replace_path="common/ai_strategy_plans"
replace_path="common/ai_equipment"
replace_path="common/ai_templates"
replace_path="common/bookmarks"
replace_path="common/decisions"
replace_path="common/decisions/categories"
replace_path="common/ideas"
replace_path="common/national_focus"
replace_path="common/on_actions"
replace_path="common/scripted_effects"
replace_path="common/scripted_localisation"
replace_path="common/units/names_divisions"
replace_path="common/units/names_ships"
replace_path="history/countries"
replace_path="history/states"
replace_path="map/strategicregions"
replace_path="map/supplyareas"
replace_path="events"
replace_path="portraits"
replace_path="country_leader"

Descriptor.mod

timber zenith
#

hmmmmm

#

what happens when you boot it?

abstract burrow
#

it crashes

timber zenith
#

did you make any changes before you added the mod I sent?

#

like states?

abstract burrow
#

nope

#

just extracted the folder

timber zenith
#

maybe in your documents/hoi4 folder

abstract burrow
#

added it to a new mod file

timber zenith
abstract burrow
#

what do i do in there

timber zenith
#

is there a folder called history or map

abstract burrow
#

im documents?

timber zenith
#

documents/pdx/hoi4

abstract burrow
#

no

#

there isnt

timber zenith
#

can you upload your error file?

abstract burrow
#

@timber zenith

timber zenith
#

4000 lines rip

abstract burrow
#

yup

timber zenith
#

ohhh yeah it's probably cause its outdated

abstract burrow
#

how to redate it?

timber zenith
#

delete common/defines folder

abstract burrow
#

in the mod file?

timber zenith
#

yeah

abstract burrow
#

done

#

should i try to reload it?

#

@timber zenith

timber zenith
#

Yeah

#

?

abstract burrow
#

it keeps stopping on flags

#

idk why

timber zenith
#

probably an issue with being outdated

#

it's not about flags dw

#

also delete bookmarks

abstract burrow
timber zenith
#

common/bookmarks

#

delete that

abstract burrow
#

done

timber zenith
#

and go into both descriptors and remove the replace_path line for bookmarks

abstract burrow
#

ok

#

done

timber zenith
#

tryrestart

abstract burrow
#

Nothing

#

Waittt

#

It worked

#

@timber zenith

#

IT WORKED

timber zenith
#

Nice

abstract burrow
#

IT TAKES A WHILE TO LOAD

#

BUT IT WORKEF

timber zenith
#

yeah lol

abstract burrow
#

Now, I need to make states

#

@timber zenith it crashes when I leave the nudge tool

#

Rip

timber zenith
#

damn idk

abstract burrow
#

prob due to no countries

timber zenith
#

nah

abstract burrow
#

ok i said it wrong

#

when i go to load a single player

#

it crashes

thin yew
bleak dragon
#

anyway to do it? or else video

earnest trail
#

Which air and naval doctirnes are the best for each majors?

obtuse condor
#

im gonna mod in new SS/WAFFEN SS units and templates

obtuse condor
#

hey guys

#

i need help

#

this came up

#

after i used nudge, and moved that into the mod folder

abstract burrow
obtuse condor
#

back into the hoi4 folder

abstract burrow
#

yeah

#

rever the changes

obtuse condor
#

why?

abstract burrow
#

because you messed it up xd

obtuse condor
#

How

#

xD

abstract burrow
#

look, that error only comes up if the nudge tool encounters an error which needs to be reverted

obtuse condor
#

oh...

#

how should i do it correctly

#

so i watched an tutorial

#

and i made the exact same thing

abstract burrow
#

my nudge tool on my custom map aint working

#

and i think the whole tool is just ass

obtuse condor
#

oh

#

how should i do states then

#

im trying to make an morroco mod

abstract burrow
#

provinence assign manually

obtuse condor
#

argh

abstract burrow
#

its better tbh

obtuse condor
#

okay ig.

#

thx for the help

abstract burrow
#

Have a good day

slate coral
#

9/11 didn’t happen even though i had historical mode on

earnest gull
#

@timber zenith whats the code to send a non agression pact

cosmic stag
#

Greetings, I'm trying to put the Portuguese units sound to another country tag, but I don't know how to do that

#

For example, put from POR to SAI

earnest trail
#

Wasn't it an inside job?

tropic ocean
#

giga chad is the real president of turkeyšŸ˜šŸ˜šŸ˜

hot jewel
#

guys i want to mod the german tree
but not from scratch
like the original one but adding stuff into it
how can i do it

cosmic stag
#

I'm building up a mod of an alternative universe where didn't happen World War I, and new events...
Where Portugal is taking over the USA's place as the house of democracy.

Which Portugal is the world's superpower taking over Iberia and colonies in Africa, having a Portuguese Central Africa.
There was a war in the Atlantic where democratic countries fought agaisnt fascist countries, which was democracy win.

Although, the situation in the world got even worse after Portuguese economy started to go down, provoking the Atlantic Depression.

I'm still building up the history from scratch, everything was normal until 1900, where a lot of events has happened.
Looking for people who are interested to code on the mod, even designers to do the GFX.
The mod will be for a community where everyone can play it.

If you're interested, send me DM.

earnest trail
#

How to counter space marines effectively?

obtuse condor
#

I want to add a trigger for an event's option to pop up. If the date is 1937, I want this option not to appear.

#

How is this possible

obtuse condor
#

guys im having an issue where whenever I set up my custom ideology's icon,its always replaced with the unknown icon. How do i fix this issue

abstract burrow
whole mango
#

by the way guys , i just finished making my mod loading screen
please give me your opinion and tell me if there is anything i can do to make it better ā¤ļø

abstract burrow
#

@whole mango I remember you

#

You blocked me just when I was trying to make a friend

whole mango
#

add him

abstract burrow
#

Then who the heck are you

whole mango
#

why do i have to tell you ?

abstract burrow
#

You don’t

#

But are you the person I know

whole mango
#

great

timber zenith
whole mango
obtuse condor
abstract burrow
#

He just moved on

#

Haha, have a good day :)

whole mango
#

he might have just taken the mod and worked on it alone

#

since you gave the descriptor

abstract burrow
#

@whole mango he can have them

#

I stopped working on it the minute he left.

whole mango
#

why

abstract burrow
#

Ok allow me to rephrase

#

I had intense trust issues

#

And I had 2 folders, my beta mod folder (all important working files) and non beta mod (the public files) which yoseef had

obtuse condor
#

Okay

abstract burrow
#

I gave yoseef my unfinished work, I was going to give it after a few more days of working, he just didn’t stick around long enough to get them

whole mango
#

thats smart

abstract burrow
#

Always be 10 steps ahead

thin yew
abstract burrow
#

Wait

whole mango
#

Oh it's gonna heat up

abstract burrow
#

Hmm

#

Ok ok

thin yew
#

you said "i am putting all of them together"

#

like you dont care about anything i say

abstract burrow
#

Like I said previously

#

I had 2 folders

whole mango
#

What

abstract burrow
#

And also, @thin yew I gave you an ideology rework job, you didn’t finish it in 2 days when it would’ve taken me 4 hours. Let’s not get into the details when I worked harder, and I knew exactly what to do

whole mango
#

I don't understand

thin yew
#
  • you said "i suck at modding ideologies"
abstract burrow
#

No I didn’t lol

thin yew
#

you did

abstract burrow
#

When

whole mango
#

Mhm

thin yew
#

A : can you mod ideologies
B : nah i suck at this

abstract burrow
#

So when did I say you sucked?

thin yew
#

you didnt say i suck

#

you said you suck at ideologies so you began modding everything else

#

i knew you would go on saying "it took you 2 days"

abstract burrow
#

@thin yew

#

I was non stop supportive

abstract burrow
whole mango
#

I wish I could see this chat

abstract burrow
whole mango
#

Deleted

abstract burrow
thin yew
whole mango
abstract burrow
#

@thin yew want to know something funny

thin yew
#

yes

abstract burrow
#

You can’t delete discord chats, you can only clear it

thin yew
#

and

#

i said

abstract burrow
#

It’s a permanent log

thin yew
#

i didnt

thin yew
abstract burrow
#

That’s why I said it’s funny

#

You couldn’t have either way

thin yew
#

why would i

abstract burrow
#

Why would you not

thin yew
#

yes but why would i

abstract burrow
#

You left me

thin yew
#

you worked on the mod like i dont exist

abstract burrow
#

So?

#

I worked and worked

#

I always checked in on you

#

I was supportive

#

I asked for constant reminders of your progress and offered to assist @thin yew

thin yew
#

i didnt want your help because you were already modding bookmark , country , states , oob armies

#

šŸ’€

abstract burrow
#

Exactly

#

I’m gonna be honest here

#

I didn’t need a dev team

#

I just wanted a friend which liked hoi4 modding

thin yew
#

good luck

abstract burrow
obtuse condor
#

how do i get the capital id

bleak dragon
#

Is there any tutorial to make custom map

sly basalt
#

God bless FBKong for introducing me to paint.net!

#

Makes painting provinces a lot easier when I can import a good layer!

#

With Paint.net, how do I export just a single layer? I'm right now just tracing Millennium Dawn's map for Israel, Palestine and Golan Heights.

#

Also how do you do comments in a .csv folder? I want to append a comment to my new provinces that basically says what it is. I've just made Gaza Strip, and wanna append a comment that says "Gaza Strip" right after my new code.

sly basalt
#

Why is it saying that my new provinces have no continent when I put a 7 at the end to make them part of the Middle East?

sly basalt
#
13258;19;189;231;land;false;desert;7
13259;117;230;9;land;false;desert;7
13260;97;152;57;land;false;desert;7```

Here are my new provinces, it has the flag 7 showing them to be part of the Middle East, yet I'm still getting errors saying they don't have a continent.
sly basalt
#

Yeah IDK what I've done but I'm getting crashes now KEKW

timber zenith
#

and is there a definition file in the hoi4 documents folder?

sly basalt
#

And I have a definition folder.

timber zenith
#

definition folder??

#

ohh wait

#

???

#

wdym by that

sly basalt
#

File.

#

I meant file.

#

I am dumb.

timber zenith
#

is that in the hoi4 documents folder?

sly basalt
#

Yes. In my mod, in my map folder.

timber zenith
#

I mean is there one in the hoi4 documents folder

sly basalt
#

No.

timber zenith
#

hmm

#

can you upload the mod?

sly basalt
#

Not right now, sorry.

#

I'm looking at the code right now.

timber zenith
#

Alright

sly basalt
#

I have a specific question for you though.

timber zenith
#

Sure

sly basalt
#

454-Israel.txt is a state already in HOI4. I have divided up the region and want to use it for my West Bank state.

#

So I renamed it to 454-West Bank.txt and put it in my states folder.

#

But it's saying there's a state ID conflict.

#
[17:17:09][statetemplate.cpp:231]: State #454 has no people living in it.
[17:17:09][statetemplate.cpp:607]: State ID conflict: Both "Palestine" ( history/states/454-West Bank.txt) and "Palestine" ( Z:\SteamLibrary\steamapps\common\Hearts of Iron IV\454-Israel.txt).```
timber zenith
#

It's still reading the original hoi4 files, as well as the files in your mod

#

Since the name is different, the game doesn't detect that it's the same file and will load both

#

causing a crash

sly basalt
#

So how do I get it to only read my mod files?

timber zenith
#

Keep the name the same as vanilla is far easier

#

The file name doesn't affect ingame anyway

sly basalt
#

So I keep it named 454-Israel.txt then?

#

Alright.

timber zenith
#

Yeah

sly basalt
#

Now how do I change it so that it's called West Bank?

#
    id=454
    name="STATE_454"
    provinces={
        7107 13260 
    }
    manpower=0
    buildings_max_level_factor=1.000
    local_supplies=0.000
}```
timber zenith
#

That's a localisation thing, you'll want to go to the hoi4 files and get the file named state_names in localisation/english

#

and copy that into your mod

sly basalt
#

Can I do...
name="West Bank"

timber zenith
#

Don't

sly basalt
timber zenith
#

you can but probably shouldn't

sly basalt
#

God I again appreciate how you actually give me help.

#

I'm getting huge info-dump overloads that don't really answer my questions from other sources.

#

Found it!

#

OK, I changed it in the localisation folder to "West Bank" so that it represents the West Bank.

timber zenith
#

Yeah

#

Nice

sly basalt
#

IT'S WORKING!

timber zenith
#

nice stuff

sly basalt
#

OK, next question.

#

The nudge tool doesn't seem to want to assign the strategic regions to my new provinces.

timber zenith
#

wdym?

sly basalt
#

I try and use the nudge tool to put these all in the Levant strategic region but it doesn't seem to work.

#

How do I assign the strategic regions in the code?

timber zenith
#

You can do it by hand

sly basalt
#

That's what I want to do.

#

OK I think I found it.

timber zenith
#

select a state in the strategic region you want then shift-click the state you want assigned to that region

sly basalt
#

OK. I have done that. What do I do next?

timber zenith
#

save

sly basalt
#

I just clicked save and it did this.

#

And they no longer have strategic regions.

#

I think I found the code.

timber zenith
#

Move the files that have now been saved in documents/hoi4 into your mod

sly basalt
#

OH MY GOD I FORGOT IT DOES THAT.

#

Legend!

#

Next question, how do I give it the AI area of being in the Middle East?

timber zenith
#

don't worry about that

sly basalt
#

So it literally doesn't matter?

#

Or does it only matter for the AI?

timber zenith
#

I've never touched that I think something else does

sly basalt
#

Fair enough then.

timber zenith
#

Might fix itself when you give it an owner

sly basalt
#

OK I'm rebooting to check my debug logs.

#
[17:32:46][statetemplate.cpp:231]: State #454 has no people living in it.
[17:32:47][statetemplate.cpp:229]: State #909 does not have a category defined.
[17:32:47][statetemplate.cpp:231]: State #909 has no people living in it.
[17:32:47][statetemplate.cpp:229]: State #910 does not have a category defined.
[17:32:47][statetemplate.cpp:231]: State #910 has no people living in it.
[17:32:47][statetemplate.cpp:229]: State #911 does not have a category defined.
[17:32:47][statetemplate.cpp:231]: State #911 has no people living in it.
[17:32:47][statetemplate.cpp:229]: State #912 does not have a category defined.
[17:32:47][statetemplate.cpp:231]: State #912 has no people living in it.
[17:32:47][statetemplate.cpp:229]: State #913 does not have a category defined.
[17:32:47][statetemplate.cpp:231]: State #913 has no people living in it.
[17:32:47][statetemplate.cpp:229]: State #914 does not have a category defined.
[17:32:47][statetemplate.cpp:231]: State #914 has no people living in it.```
OK I understand it having no people living it in, but how do I give it a category?
timber zenith
#

put state_category =

sly basalt
#

Also is there a way to get it to print a new log without having to restart the game?

timber zenith
#

and then the state category

sly basalt
#

I'm sure there's a console command.

sly basalt
timber zenith
#

Yeah, along with the state category

sly basalt
#
    id=909
    name="STATE_909"
    provinces={
        13259 
    }
    manpower=0
    buildings_max_level_factor=1.000
    local_supplies=0.000
}```
This is the code for Golan Heights, where in this code would I put it?
timber zenith
#

anywhere, I normally put it below manpower

#

or above

sly basalt
#

Either works.

#

And what do I put as the state category?

timber zenith
#

These are the state categories

sly basalt
#

Ahhh, thanks.

chilly field
#

where would i find the event wtt_news.70?

timber zenith
sly basalt
# timber zenith

God I have no idea which of these to choose. They all seem kinda weird.

timber zenith
#

Probably wasteland

#

since there isn't anything there and it's small

#

It's basically about the ammount of factories you can fit there

sly basalt
#

Ahhhh.

#

Yeah OK.

#

I'm wondering what to put for Gaza Strip. It's technically an enclave, kinda. But it's also super dense so I might put large_city.

#

More accurately reflects it I think.

timber zenith
#

large_city is like

#

berlin

sly basalt
#

Oh.

#

Wow.

#

Yeah I've definitely overestimated these then.

#

I just tried to check the continent in nudge tool and it CRASHED KEKW

timber zenith
#

rip

sly basalt
#

OK let's restart and see if that fixes it.

#
[17:52:44][statetemplate.cpp:231]: State #909 has no people living in it.
[17:52:44][statetemplate.cpp:231]: State #910 has no people living in it.
[17:52:44][statetemplate.cpp:231]: State #911 has no people living in it.
[17:52:44][statetemplate.cpp:231]: State #912 has no people living in it.
[17:52:44][statetemplate.cpp:231]: State #913 has no people living in it.
[17:52:44][statetemplate.cpp:231]: State #914 has no people living in it.
[17:52:44][map.cpp:1893]: Bitmap and province definition disagree on whether or not province 4088 is coastal. Bitmap adjacency result will be prefered.
[17:52:45][persistent.cpp:48]: Error: "Unexpected token: =, near line: 26" in file: "common/national_focus/Israel_focus.txt" near line: 26
[17:52:45][nationalfocus.cpp:529]: Error in focus: ISR_ (common/national_focus/Israel_focus.txt:17 )
relative_focus_id: cost does not exist. Relative focus must be scripted before this.
[17:52:45][nationalfocus.cpp:2017]: ISR_: Couldn't find dependency  
[17:52:45][nationalfocus.cpp:2017]: ISR_: Couldn't find dependency  

My current errors.

timber zenith
#

to be expected

sly basalt
#

Yep it crashes when I go into the continents section of the nudge tool.

#

All of my provinces have their continents defined already though.

timber zenith
#

wait

sly basalt
#

Oui?

timber zenith
#

continents section?

sly basalt
#

Of the nudge tool.

timber zenith
#

where?

sly basalt
#

I'll show you.

#

In database.

#

It also crashes when I go into terrain.

timber zenith
#

i've never seen that in my life lol

sly basalt
#

Whatever.

#

Should be fine.

timber zenith
#

I wouldnt worry about it lol

sly basalt
#

OK so.

#

When I give population to a state.

#

That's "manpower" right?

#

manpower=40000

timber zenith
#

Yeah

sly basalt
#

Aight awesome.

abstract burrow
#

Hi

timber zenith
#

yo

abstract burrow
#

Remember to never add commas @sly basalt

#

Hey @timber zenith hru

sly basalt
timber zenith
#

i'm alright hbu?

abstract burrow
#

@timber zenith do you have the enclave reborn and enclave + mods on your steam?

timber zenith
#

enclave reborn redux?

abstract burrow
#

I can’t get it so I’m asking if anyone has it

#

It’s this one

timber zenith
#

that ones outdated

sly basalt
#

IDK why it's saying Golan has no population when it clearly has a population.

abstract burrow
timber zenith
#

hasn't been updated for over a year

abstract burrow
#

Is this outdated?

#

Because it’s not a mod

timber zenith
#

yeah same thing

abstract burrow
#

It’s a submod

#

To a mod

#

So I don’t think it can be outdated

timber zenith
#

it can be

#

because it makes changes that conflict with the base game

#

I'll send it over but i make no promises

abstract burrow
#

No way

#

I’ve been waiting for ages

#

And I finally have a shot to play it

timber zenith
#

ok it wont work

#

ppl saying in comments it needs to be updated

abstract burrow
#

I’ll research it

#

Into a fix

timber zenith
#

@abstract burrow

abstract burrow
#

thank you

timber zenith
#

np

sly basalt
#

Alright, I've made my states for Israel and Palestine, given them population, now I just need to assign them to land.

abstract burrow
#

ive now got to look into what this guy was saying about this sunmod to this submod

sly basalt
#

There's already an Israel and Palestine country in the data isn't there?

abstract burrow
#

there is a base game file

#

i think

sly basalt
#

I'm guessing it would be far superior for me to then use them.

abstract burrow
#

idk about palestine

abstract burrow
#

country files

#

but you can do what you need

sly basalt
#

Won't that cause clashes if they're both named Israel and Palestine though?

abstract burrow
#

nope

#

if you name it the same thing

#

it will override

sly basalt
#

@timber zenith is this correct?

abstract burrow
#

hoi4 works like:

abstract burrow
#

im not that dumb

sly basalt
#

I'm not saying you are.

abstract burrow
#

im only kmessin

#

messin*

sly basalt
#

I'm just saying that doesn't seem to make sense given how it's been nae naeing me.

#

OK where do I find the countries folder?

abstract burrow
#

the base game one is

#

wait

#

where you at

#

steam or microsoft store

sly basalt
#

Steam.

abstract burrow
#

do you know where all the files are localted for it

sly basalt
#

I think I found it.

abstract burrow
#

not the one in documents?

sly basalt
#

It's in history/countries.

abstract burrow
#

its not in documents

abstract burrow
#

thats one of them

sly basalt
#

W U T ? !

abstract burrow
#

theres also common/countries

#

common/colors

#

etc

#

all need to be edited

sly basalt
#

Is it easier to make a country from scratch or just copy over the various required stuff?

abstract burrow
#

copy over required stuff

#

and edit that

sly basalt
#

OK. What is all the required stuff?

abstract burrow
#

would you like me to send you a country file of one of my old countries

#

which is easy to edit

sly basalt
#

Ehhh. Sure.

#

But I do want to figure out how to just bring over Israel and Palestine from base game.

abstract burrow
#

i know

#

so, if you expand it you can fill it out

#

then you put the name as TAG - Country.txt

sly basalt
#

And what else do I need to do?

#

Because apparently there's more?

#

OK yeah I'm gonna copy over Israel and Palestine and go from there.

abstract burrow
#

okay

#

its usually gonna be like 1k lines of code

sly basalt
#

So, I've taken the two folders from the countries folder.

abstract burrow
#

folders or files

sly basalt
#

For now I just want the bare minimum.

sly basalt
timber zenith
abstract burrow
#

thats right

timber zenith
#

The same tags do though

sly basalt
#

I want to keep the tags.

timber zenith
#

since they arleady exist I wouldn't bother

sly basalt
#

Yeah I'd rather just import them.

abstract burrow
#

making new tags are easy dw

sly basalt
abstract burrow
#

its like 2 extra steps

sly basalt
abstract burrow
#

usually useless xd

#

in the code ofc

sly basalt
#

So this crap?

#

I have all the DLCs. Is it easier if I just keep them?

timber zenith
#

nah keep that

abstract burrow
#

nah thats a scrap

#

that is useless af

sly basalt
#

Sorry Elliot but I'm gonna prioritise what Kong is saying over you KEKW

abstract burrow
#

tbh idk what half of it is xd

timber zenith
#

You'll have to require dlc to use the mod then

abstract burrow
#

i have no dlcs

#

so i just scrap it all

timber zenith
#

or the other way around

sly basalt
abstract burrow
#

and add accordingly

sly basalt
#

I wanna have all the pieces set up before I move 'em.

abstract burrow
#

@timber zenith i havent been able to test the mod you sent

#

i had to reinstall the main mod xd

#

file corrupted or something

timber zenith
#

dam

sly basalt
#

I've moved those two .txt files, what else do I need to bring over in order to create an Israel and a Palestine?

timber zenith
#

You don't need to move anything over

sly basalt
#

So it will make the flag automatically?

timber zenith
#

base game already has them

sly basalt
#

Alright.

#

So.

#

I have the two files.

#

Now.

#

How do I go about given them the relevant states they own?

timber zenith
#

You have to designate owners in the states themselves

sly basalt
#

It doesn't seem like these .txt files actually have what they own?

timber zenith
#

like

sly basalt
#

Ahhhh.

#

So do it through the state files?

#

Awesome.

#

OK.

#

I have a new question.

timber zenith
#
history = {
  owner = ISR
  add_core_of = ISR  
  buildings = { infrastructure = 2 }  
}

sly basalt
#

Right now both have their capital set to 554. I'm guessing that's Jerusalem.

#

If they both have their capital as Jerusalem, I'm guessing that will cause problems.

#

I want Israel's to be Jerusalem and Palestine's to be Ramallah.

abstract burrow
#

now is the change to test the mod

sly basalt
#

Where do I find the list of cities?

abstract burrow
#

not cities

#

if you look at capital

sly basalt
#

But then...

abstract burrow
#

capital = "number"

#

the number is state

sly basalt
#
    id=912
    name="STATE_912"
    provinces={
        1086 
    }
    manpower=1253900
    state_category = city
    buildings_max_level_factor=1.000
    local_supplies=0.000
}```
abstract burrow
#

im not sure if you can with provinences

sly basalt
#

I changed a few provinces.

sly basalt
#

But what if I do want to change Palestine's capital to Ramallah?

timber zenith
#

is that a different state?

sly basalt
#

Yes.

#

In fact so is Jerusalem KEKW

timber zenith
#

You can change the state to ramallah state then

sly basalt
#

How do I do that?

abstract burrow
#

@timber zenith It works the mod

#

buttt i need another submod

sly basalt
#

tl;dr I used the old "454-Israel.txt" file as West Bank and made Jerusalem into a state using province 1086.

#

So yeah how do I make cities?

sly basalt
#

While I wait for an answer on that, I will go about having all these states set up with claims, cores and stuff.

abstract burrow
#

can anyone install this and send it me

abstract burrow
sly basalt
#

I will cross that bridge later then.

abstract burrow
#

alright

#

@sly basalt i need your help

timber zenith
abstract burrow
#

you cant send .zip files over 500mbs?

sly basalt
abstract burrow
#

okay

#

np

sly basalt
#

Sorry cuz.

abstract burrow
#

@timber zenith if someone split it into 2 parts and i joined it together, would that work

sly basalt
#

Why don't you have access to the Steam workshop? Did you buy it on the Microsoft store?

abstract burrow
#

yep

#

i bought it on microsoft

#

:(

sly basalt
#

RIP.

timber zenith
abstract burrow
#

im gonna use a dodgy website

#

@timber zenith

timber zenith
abstract burrow
#

i just saw 10 pairs of cherries

#

in ONE picture

timber zenith
sly basalt
#

OK for the Golan Heights, I have it set to Israel as the owner because they own it right now. Should I also add an Israeli claim to it?

abstract burrow
#

GREATTT

#

I NOW HAVE A TROJAN IN MY PC

#

WWW

sly basalt
#

šŸ…±ļøruh.

#

Did Windows Defender detect it?

abstract burrow
#

i turned it off

#

and forgot to re turn it on

#

...

timber zenith
sly basalt
timber zenith
#

alright

sly basalt
#

If they lose it, they should still claim it.

timber zenith
#

add_claim_by

sly basalt
#

Cheers.

#

This is a far more political question than modding question, but I'm wondering if I should give Palestine claims on the states of Israel.

#

But Israel and Palestine have cores on Jerusalem.

abstract burrow
#

MY PC IS FINE GUYS

#

LETS GO

#

My pc is fine, my eyes arent

sly basalt
#

Nice.

timber zenith
sly basalt
abstract burrow
#

Broken again

#

nice

sly basalt
#

I'm a pretty hardcore ML and don't like Israel because of the ethnic cleansing, but I'm wondering if Palestine actually claims Israeli territory beyond what is de jure occupied?

#

I might leave it for now and give Palestine a focus to get claims or something.

gritty cave
#

hey just wondering, why is my focus' cost not updating the length of the focus? When I remove the focuses underneath, it fixes but idk what else to do :/

#

it also doesnt show the mutually exclusive focuses in the focus description either

timber zenith
gritty cave
#

oh that actually might be it

#

ill check

#

ohmygod thank you so myuch i accidentally had a second version of it

#

minimized too

timber zenith
#

Nice

#

glad that was it lol

sly basalt
#

OK I've made my states time to relaunch and see if they work in the Nudge.

#

FIRST TIME WHERE THE ONLY ERRORS ARE THE FOCUS TREES!

#

YOOOOOOOOOOOOOOOOOOOO

#

OK. I'm gonna temporarily move the files in the Israel focus tree so I can see if it defaults to the generic and I can actually play as them.

#

Apparently there are errors but the log isn't making them.

#

OK I commented it out but I'm gonna move it.

gritty cave
#

if i wanted to make like an election minigame through decisions how would i go by doing that?

sly basalt
sly basalt
#

THANK GOD.

gritty cave
#

it comes with the prerequisite function(?)

#

idk what to call it

#

but prerequisite = { focus = [insert focus here] } puts the lines in

sly basalt
#

Legend.

#

GOD DAMMIT WHAT IS WRONG WITH THE MAP DEFINITION!?

gritty cave
#

if u want dotted lines for optional focuses do
prerequisite = { focus = [focus_1] focus = [focus_2]}

gritty cave
#

like some states sharing provinces

#

and along with that check the strategic regions

#

cuz usually new states dont have any assigned

sly basalt
#

It's not printing which states are causing problems.

gritty cave
#

yeah uh

#

u kinda just

#

have to go into the state files themselves

#

and do that

sly basalt
#

Oh dear f@cking God...

gritty cave
#

atleast thats what i had to do

sly basalt
#

What the hell does any of this crap mean?!

gritty cave
#

ok so

#

most of that is just buildings

obtuse condor
#

how do i make "leader is (insert here) as a prereuqisite for a focus?

gritty cave
#

nudge tool has a buildings option

sly basalt
#

And yeah I clearly have messed up where Jerusalem is.

sly basalt
#

Should I just nuke 'em all?

gritty cave
#

yeah that mightve done it

sly basalt
#

Did that. Restarting.

#

I did "clear state".

sly basalt
#

I'm honestly thinking it's some shit to do with the continents since opening that in the nudger crashed.

gritty cave
#

yeah state mnodding was hell for me too

sly basalt
#

Oh yeah I need to figure out which state is Jerusalem as well KEKW

gritty cave
#

just to make eupen malmady, a 1 province state, i nuked my mod entirely 3 times

#

until finally on the 4th try i got it

sly basalt
#

Yeah IDK what it overwrites to make the buildings go away.

gritty cave
#

hmm

#

odd

sly basalt
#

I'm in the folder trying to find out what to copypaste from the documents system to delete all the buildings.

#

WHAT has it changed here?

gritty cave
#

it should be under [mod_file]/map/buildings

#

i think

#

buildings is a txt file

sly basalt
#

So if I delete buildings.txt here it'll save me from this specific agony?

#

I purged that file.

#

And hopefully fixed the capital thing.

#

I want to be able to load the map from single player.

#
[19:13:39][strategicair.cpp:5018]: MAP_ERROR: (rocketsites.txt) no rocket site defined for state 454
[19:13:39][strategicair.cpp:4997]: MAP_ERROR: (airports.txt) no air base site defined for state 909
[19:13:39][strategicair.cpp:5018]: MAP_ERROR: (rocketsites.txt) no rocket site defined for state 909
[19:13:39][strategicair.cpp:4997]: MAP_ERROR: (airports.txt) no air base site defined for state 910
[19:13:39][strategicair.cpp:5018]: MAP_ERROR: (rocketsites.txt) no rocket site defined for state 910
[19:13:39][strategicair.cpp:4997]: MAP_ERROR: (airports.txt) no air base site defined for state 911
[19:13:39][strategicair.cpp:5018]: MAP_ERROR: (rocketsites.txt) no rocket site defined for state 911
[19:13:39][strategicair.cpp:4997]: MAP_ERROR: (airports.txt) no air base site defined for state 912
[19:13:39][strategicair.cpp:5018]: MAP_ERROR: (rocketsites.txt) no rocket site defined for state 912
[19:13:39][strategicair.cpp:4997]: MAP_ERROR: (airports.txt) no air base site defined for state 913
[19:13:39][strategicair.cpp:5018]: MAP_ERROR: (rocketsites.txt) no rocket site defined for state 913
[19:13:39][strategicair.cpp:4997]: MAP_ERROR: (airports.txt) no air base site defined for state 914
[19:13:39][strategicair.cpp:5018]: MAP_ERROR: (rocketsites.txt) no rocket site defined for state 914
[19:13:39][country.cpp:6716]: Attempting to set captial state #912 for Palestine, they dont own it!
#

What the hell does it mean?!

#

I CAN START A GAME AS ISRAEL.

#

I don't know why Jerusalem is down there or why what I want to be called Ramallah is called West Bank but those are problems for later.

#

Here are my current logs. No idea how to fix them, might save that for later.

#

šŸ…±ļøruh it's calling this West Bank when I called it Southern Israel.

#

Yeah I know why.

timber zenith
#

RIP

sly basalt
#

From when 910 was West Bank I had it defined as that still.

#

So I changed the name in definitions.

#

OK now it's not letting me load a game.

#

OK apparently I just have to wait a bit.

#

This is a good start. IDK why Jerusalem is shown in the borders of West Bank but I think that's because it's so tiny.

#

OK, I now wanna change the name of those victory points.

#

Tel Aviv is good.

#

But I want Gaza Strip to be renamed Gaza City and West Bank to be renamed Ramallah.

#

How do I do that?

abstract burrow
#

whats up

sly basalt
#

I changed Palestine's starting ideology to non-aligned moderatism. How do I change the country's name back to Palestine? Right now it's calling itself the Free Mandate of Palestine.

#

I did it myself!

#

OK, how do I add modifiers to a country? I wanna make it so that Israel is embargod by Saudi Arabia, Yemen, Oman, Iraq and Afghanistan right from the start.

frank panther
#

Hey guys. How do i change my general's name or country leader's name?

timber zenith
#

there's a victory points loc file

sly basalt
#

I'll find it all out later.

#

@timber zenith what's the name of the localisation file that lets me change party names?

#

I wanna change non-aligned to Fatah.

timber zenith
#

localisation file names don't matter, you can put it anywhere

#

but

sly basalt
#

I don't know how to change the name of the non-aligned party in Palestine.

timber zenith
#

i'll have to find it for you

sly basalt
#

Thanks ā¤ļø

timber zenith
sly basalt
#

Thanks!

timber zenith
#

np

timber zenith
sly basalt
#

Nah I found it.

#

The PAL tag.

timber zenith
#

ok maybe it does lol

sly basalt
#

OK I have finally set up the starting conditions at least somewhat required for the focus tree.

#

NOW TO START WORKING ON THE FOCUS TREE!

#

Let's start with 3 basic focuses.

timber zenith
#

nice stuff

sly basalt
#

I'm gonna do them tomorrow.

bleak dragon
#

nudger file wont save

abstract burrow
#

@timber zenith you gotta play enclave reborn submod

#

It’s actually sick

timber zenith
#

can't say i'm a fan of owb

timber zenith
abstract burrow
#

I like to know everyone’s views

#

Not gonna judge

timber zenith
#

i dunno, I played it and just wasn't a fan of the style

abstract burrow
#

Fair enough

#

It’s not the most realistic

bleak dragon
timber zenith
#

What happens when you save?

bleak dragon
#

nothing

bleak dragon
timber zenith
#

check the hoi4 folder in documents, changes are saved there

bleak dragon
#

wow thank a lot

frank panther
#

Is it ok to directly change a general's name through HOI4/common-characters folder then save it? Does it make any changes in the game?

timber zenith
#

it'll be in localisation

fiery owl
#

Hey guys, I’ve encountered a problem. The leader portrait that shows up for a country isn’t right although I have put everything as it is

#

I want to change my country leader from generic to Trotsky, I took his portrait from Soviet files and assigned him to my country but instead of Trotsky all the time shows up some random guy

abstract burrow
#

how is it "not right"

#

does it show up as generic?

fiery owl
abstract burrow
#

did you do some code?

fiery owl
#

I’ve done the same for Bukharin and it works fine

abstract burrow
#

check for any wrong punctuation

frank panther
timber zenith
fiery owl
fiery owl
frank panther
#

sorry i'm just new to this. I just found the folder and saw the generals name. I was wondering if i could just rename them to a historical general for example in germany but don't really know exactly how

timber zenith
#

the name in the character file isn't the one shown in game (demonstrated by the "_" instead of spaces), it instead links to a localisation line, in this case one of the characters files in the localisation folder

bleak dragon
#

anyway to remove original country from history so i coul remove this errror

#

TUR - is missing a history file.

#

like this

frank panther
timber zenith
#

Why remove the country tho?

timber zenith
#

localisation/english

#

which character are you changing

frank panther
#

someone named erich

#

germany general

timber zenith
#

It's in the nsb_characters_l_english.yml file

bleak dragon
timber zenith
#

and it will be fine

frank panther
#

oh yeah i found it. Should i write the same name inside the dollar sign?

frank panther
#

Thanks! I'll try it

bleak dragon
timber zenith
#

what does the error log say?

bleak dragon
#

[19:53:16][country.cpp:6704]: Attempting to set captial state #64 for German Republic, it is not a valid state!
[19:53:16][country.cpp:6704]: Attempting to set captial state #126 for United Kingdom, it is not a valid state!
[19:53:16][country.cpp:6704]: Attempting to set captial state #219 for Russian Federation, it is not a valid state!
[19:53:16][country.cpp:6704]: Attempting to set captial state #141 for Sweden, it is not a valid state!

bleak dragon
timber zenith
#

that's unrelated tho

#

and no way that's the whole thing

bleak dragon
#

lets me try to change and see if it still valid

bleak dragon
#

i think i will empty all history file

timber zenith
#

what are you trying to do lol

bleak dragon
#

delete the history file and replace it with the blank one

#

that help

frank panther
#

@timber zenith hey again, i actually tried it but the result ended with "GER erich_von_manstein" instead of the name i wanted to. Do u have any idea how to fix it?

abstract burrow
#

you havent given it a path

#

@frank panther

#

you need to make a characters_l_english file and copy GER erich_von_manstein:0 "Erich Von Menstein"

#

or something on those lines

frank panther
#

uhmmm where and how? do u mean in the same localisation folder?

abstract burrow
#

localisation -> characters_l_english

#

@frank panther

#

l_english:
SCO_Leader_General_John_Eagle:0 "General John Eagle"

#

my old one^

frank panther
#

you mean the nsb one?

abstract burrow
#

what?

frank panther
#

if so, i changed it there. the name.

#

it's called nsb character l english on mine

abstract burrow
#

send me a picture of what you mean

frank panther
#

nsb_character_l_english. I changed his name there but in the game. it resulted to that

abstract burrow
#

try characters_l_english

timber zenith
#

it's all in nsb

frank panther
#

yeah

abstract burrow
#

nsb is?

#

the dlc?

frank panther
abstract burrow
#

ohhh

#

i get it

#

try nsb_characters_l_english

#

not character

#

nvm you did that

#

hmm

#

@frank panther are you making a mod?

#

or editing the base game files

frank panther
#

editing base game files

abstract burrow
#

just making sure

dim steeple
abstract burrow
#

its probably due to a non specified link

abstract burrow
#

need any help?

frank panther
#

hmm so there's no any way?

abstract burrow
#

there is a way

#

but i dont know what your missing

#

as i dont have the files in front of me

frank panther
#

ahh i see.

#

How about changing also the name in common folder. There's a character folder in it right? is it just a notepad thingy?

abstract burrow
#

let me check

frank panther
#

this is the changed one

#

surprisingly, the general disappeard in game lol

timber zenith
#

You have to restart your game

timber zenith
frank panther
#

i did. came back and then he gone

timber zenith
#

which is why you should change in localisation

#

and make your own mod instead of modifying vanilla files

frank panther
#

yeah, i might do just that. Thanks for the help by the way. elliot too. I appreciate it.

timber zenith
#

šŸ’Æ

abstract burrow
#

@frank panther

#

send me the character file code which you modded

#

the characters_l_english

obtuse condor
#

Can someone explain me how can I modify a mod in particular.
I want to change some flags from a mod but when I replaced the archives with another mod's the flag I've changed dissapears in game

earnest gull
#

someone know the code how to create a country leader

#

i tried create_country_leader = {
name = AFG_mohammed_zahir_shah
desc = "POLITICS_MOHAMMED_ZAHIR_SHAH_DESC"
picture = GFX_AFG_mohammed_zahir_shah
expire = "1965.1.1"
ideology = despotism
traits = {
}
} in hoi4 wiki but it didnt work

#

its maybe beacuse of the } idk

abstract burrow
#

you need to link it to files

earnest gull
#

@abstract burrow do you know whats the code to change ideology?

abstract burrow
earnest gull
abstract burrow
#

i cant change it xf

#

im actually realistically an ass dev

earnest gull
earnest gull
edgy solar
earnest gull
abstract burrow
edgy solar
#

I cant remember it off the top of my head but I think that works

edgy solar
# earnest gull ill try

My bad its this
set_politics = {
ruling_party = democratic
last_election = "1932.5.1"
election_frequency = 48
elections_allowed = yes
}
set_popularities = { #This MUST add up to 100 otherwise the ideologies break
democratic = 69
fascism = 1
communism = 30
}

#

Taken from the wiki so it should work just fine

abstract burrow
#

I thought they wanted it to change due to a focus

#

XD

earnest gull
#

@edgy solar what is election frequency?

edgy solar
#

Based on months I believe

#

So 48 is 4 years

earnest gull
#

k

abstract burrow
#

@edgy solar your correct

earnest gull
#

@edgy solar also do you know whats the code to make a different person a leader

#

for example

#

lev trotsky will take power

#

and stalin will retire

edgy solar
#

Believe it this code

#

create_country_leader = {
name = "Ɖdouard Daladier"
desc = "POLITICS_ƉDOUARD_DALADIER_DESC"
picture = "Portrait_France_Edouard_Daladier.dds"
expire = "1965.1.1"
ideology = socialism
traits = {
stout_defender
}
}

#

I'm just getting these all from the wiki

#

So if its outdated or wrong you can always look for an example in the base game itself

earnest gull
#

k

#

awh it didnt work

earnest gull
#

wait it works now ig

chilly field
#

How would I make a decision that when clicked cores all, (sounds broken ik but I’m tryna do debug things)

west fable
#

Any good mods for historical that don’t need every country to have a player?

modern oar
#

How can I make a superevent?

earnest gull
#

@edgy solar @abstract burrow how to create a civil factory in modding

#

i already know military factories "arms factory"

#

but idk civilian factory

abstract burrow
#

and have you tried using the nudge tool

edgy solar
earnest gull
earnest gull
obtuse condor
#

@earnest gull

earnest gull
#

,

earnest gull
obtuse condor
#

How can i get arms against tyrrany

earnest gull
#

im not a expert but ask other people

#

like @timber zenith and @abstract burrow or @edgy solar

abstract burrow
edgy solar
#

Yeah you've gotta buy it

abstract burrow
#

which you can buy

obtuse condor
#

@abstract burrow

#

I don't have money on my account

abstract burrow
#

then you cant buy it

edgy solar
#

Well thats not something we can fix, sorry bud

abstract burrow
#

tbh i havent bought a single hoi4 dlc

#

if i want a feature, i code it

obtuse condor
#

Hmmm

abstract burrow
#

@edgy solar Am I your homie?

#

šŸ˜

edgy solar
#

Well sure but I'm not financially smart if that's what you're asking lol

edgy solar
#

Oh

earnest gull
abstract burrow
#

XD

edgy solar
#

I forgot about that

abstract burrow
#

🤣

#

this guy looks gang

earnest gull
#

anyone has ideas for focus tree names

#

im rn making a mod which ussr has a different focus tree

abstract burrow
earnest gull
#

maybe

#

any more?

abstract burrow
#

The lords choice

#

Trouble in little moscow

#

Arming the new recruits

earnest gull
#

k

#

thx

abstract burrow
#

lol

earnest gull
#

@abstract burrow is there any code to get more factory output

abstract burrow
#

idk sorry

earnest gull
#

k

edgy solar
#

It would be a National Spirit you would make

obtuse condor
#

arts for japan , pls rate 0-10

#

@obtuse condor

#

Based

#

But

obtuse condor
obtuse condor
#

Japan focus tree needs update

obtuse condor
toxic bane
obtuse condor
#

@obtuse condor

obtuse condor
obtuse condor
#

Are you working at paradox

#

no

#

also i have arts for my country named georgia

edgy solar
#

Good work bud

obtuse condor
toxic bane
edgy solar
toxic bane
#

But good

toxic bane
#

I know but you almost can't see it

edgy solar
#

For the icons you should make it bigger

obtuse condor
#

yea i try make it bigger but the land cross the frame , so i dont any other way

lone pelican
#

why do none of my leader or general portraits work?

#

im doing exactly the same stuff as vanilla hoi4

#

and its just a generic guy

#

every single time

earnest gull
#

@edgy solar do you know how to get more factory output

#

from modding

#

code

obtuse condor
obtuse condor
lone pelican
#

it makes no sense for fascism to be a swastika

#

there are many fascist ideologies

#

nazism was only one of them