#modding
1 messages · Page 110 of 1
Be aware the recruit cannot be the last line of the file
wait wha-
so do this?
hey guys how to make own mods also the tool idk what ist the tool name
Good news, we have this guy now, bad news, my portrait isn;t working
https://www.youtube.com/playlist?list=PL6EAZcF5cWbg57Srq6BTVvguMl6YfP9pG
There's a whole series, its really good
@pale sparrow pls continue aiding
For code, visual studio code
How did you fix it?
spriteTypes not spriteType for the first one
Ah so you forgot to save it? it was right in the screenshot
Oh this was old, messed around a bit to try to fix it before coming back
are there any good mods that arent like "infinite resources" or like jokes
Sort by most downloaded instead of recent popularity
Road to 56 (since @pale sparrow doesn't want to self promo), Rise of Nations (because I will self promo), Equestria at War, Thousand Week Reich, Millennium Dawn, Novum Vexillium, Magna Europa, World Ablaze, Darkest Hour, Black Ice, Old World Blues, Kaiserredux, Kaiserreich, The Great War Redux, Red Flood, The Fire Rises, The New Order, Ultimate Mod Collection, East Showdown, Führerreich, Führerredux, End of a New Beginning, Pax Britannica
hey
where's the like construction boost mod
also where's red world 😭
what
why is you
why are you showing this to us
what is the purpose
I only put big mods I remembered in there
https://steamcommunity.com/sharedfiles/filedetails/?id=3279394255 don't think the original is still up
why?
wait
not what i meant
like
show construction boosting
like show the construction boosts and penalties
thanks
Where's Red Dusk, player led peace conferences, and toolpack?
Also Fuhrerredux is Fuhrerreich now and Fuherreich is Fuherreich Legacy i believe
Just wandering something. Is there a mod with a map only focused on Australia.
anyone know were the state of the med files are located in the TFB files
Anyone being able to find the new japanese tech for artillery GFX?
Can't find it anywhere
Did you set the right color in colors.txt?
I kinda fixed it, not ideal solution but it works
Alr.
There is an EU4 mod where all you can do is play chess
is there a way to access older versions of mods that are currently on the latest version
because i dont wanna play on 1.17 but everything is on that now
Some mods have older versions available on steam workshop or in their GitHub (or GitLab if they're weird) repositories
It's usually best to ask in the mod's discord servers, their devs are more likely to be able to guide you to the correct place than us in here (unless you want to play Rise of Nations or Road to 56)
If you hate coal that much it's also pretty easy to make a mod that makes factories cost no energy or gives each country almost infinite energy generation (or both)
I'm pretty sure multiple exist already
is there a way to check what is crashing my mod
i only change who owns what states since last time, and now it is crashing
-crash_data_log
It's by no means perfect but it does the job 90% of the time
oh thank you
it says i have like
15 or so errors
ugh
Thats because it also enables a weaker version of -debug (which you should always be running while modding)
-crash_data_log attempts to write the last read file and line at the end of meta.yml in case of a crash, but it does make the game a fair bit slower so you can't always have it active
okay
Rise of Nations has 5200 
a few
i have over 760 in vscode
no reason to worry
That extension lives false positives to the point where I'm not even using it anymore
the like paradox syntax extension?
Yep
can i just ignore the 700 errors? do any of them really matter
If you only have 15 in error.log you should be fine (although 0 would be optimal)
If you scroll up here to yesterday (I think) it was marking correct syntax as wrong and suggesting wrong one
I mean... Glory to the motherland then
That's also going to be in error.log
Should also tell you an approximate line for the other ones
i have 14 errors now
2 of them are flags
3*
i think some of them are just base game issues though
like stuff i wasnt messing around with so
i have like 6 errors
-crash_data_log results look somewhat like the last line here (although this is a catastrophic crash that is borderline impossible to fix if you don't know what you're doing)
oh
thats not what i was looking at
Meta.yml in the crash folder
It's only in the file if the crash happened with the laod option on
(also why devs like to ask for save files if their mod is crashing)
is that in the hoi4 files
Documents/Paradox Interactive/Hearts of Iron 4
You can find a lot of stuff in that folder
And if you haven't deleted saves from years ago you can do that there as well, they get pretty big sometimes
Changed one of Belgium's states?
1 sec, I have the fix somewhere in another discord server but it has to load first
Guys
Do you know if this is correct?
option = {
name = "To arms!"
declare_war_on = {
target = YEL
type = annex_everything
news_event = pur_declared
}
Hoi is spaghetti code all the way down so don't feel bad if your mod falls into that category as well
news_event =
It is in there already, comment it out
what does that mean
Never actually have had to apply this fix cause whenever I join a mod team it already has a map
the = is sticked with the news_event?
Ad a # in front of each line in the block, turns them into comments so the game ignores them
If you're in vscode you can hold down your scroll wheel and drag your mouse around, you're now typing on multiple lines at the same time
You're also missing a closing bracket for the declare_war_on effect
oh yeah i know its not the whole part
The news event has to be outside of declare_war_on
Also if you ask for advice with code send the whole thing (or at least don't introduce mistakes by copying wrong)
like this?
ill find out how to make a puppet later
Commenting it out ensures that you still have that code to work with it later
Ane yes, like that
sweet
alr
i hope it works
i know there is still some glitches with the leader and flag
but oh well
ive fixed the borders but now the leader potrait wont load
democratic but no elections 😭
That's called "Democracy but I kept on winning because my enemy doesn't exist"
You know DPRK? Yeah, that too is democratic yk 
anyone want to recruit for a mod?
Does anyone know how to make a custom country not release puppets, or disable that option altogether
My country starts with a bunch of non-core terrain, and it just puppets all of it instantly
I'd like it to stay annexed
that may be because I added it on top of sheep mod
btw
so that might complicate things
You like the Napoleonic wars iyo?
figured out how to do this through common/scripted_triggers/diplomacy_scripted_triggers
however despite a player not being able to release these nations, Ai somehow still does this
Im gonna have a stroke here
Rise of Nations always needs people so you can check it out here https://steamcommunity.com/sharedfiles/filedetails/?id=2026448968 and join the discord to apply if you think it'd be something you'd like to help with
Little bit of advice though: I'd recommend joining a team for a mod you like playing
Europe as of now
Unfortunately I meant that I was looking for people to work for the mod Im sponsoring
Mb
does anyone have a list of mods that i should download to add balance/fixes/etc. and whatnot?
is there a mod that gives all MIOs for all countries?
@meager mortar@hollow crystal
Im slightly biased but Road to 56 (for the fixes and MIOs, balance isnt that different from vanilla)
Marjin rate my new colors and map style
Hm?
"slightly"
wait did you make the toolpack mod???
the without the Errors one yes
Mate
you mean more to me
than any other person
in the entire world
i love you
❤️
New map style
👌
is this something like if germany and russia allied in ww1?
Would anyone happen to know which files NCNS changed significantly? I've got a mod from a few patches back that I'd like to update to the current patch. when I launch it I see the leader for Japan is broken, so I know leaders is included, but not which other files.
Just saw this, and yeah road to 56 looks like the best one imo
I'm considering creating a defensive focus tree branch for my country that should be available once a war is not going in your favour. How does the game calculate which side a war is going in favour of? Can it be used in modding?
Capitulation progress for just your country is probably good enough
Ah, in that case, does capitulation progress happen when you start losing occupied territories?
As a thought experiment, one could say Germany in WW2 went on the defensive in 1943 while they were still on Soviet territory, right? But would that show on the capitulation progress?
No, that is actually somewhat difficult to capture
If you wanted to check for that you could either see if Germany's controlled state count is reducing
Or maybe check either all, or a sample of Soviet states for German control
Alright, that should work nicely! Thanks 
Does someone has good map style recommendations?
Is it possible to add forts in specific provinces through decisions/focuses instead of "x random provinces in a state"?
For example, are the provinces mentioned here definite? Is it possible to mod?
You could also, simply but quite inefficiently, create a simple check for available manpower. I think countries tend to be more defensive when they cannot plan any offensive operations. Though, there must be a better way of checking for manpower, I haven't tried that yet.
You can, check how it's done through French "france.2" event. You have to define the state and then within the state the "province = x".
Ah, interesting, I was hoping to just use that "War is going X% in favour of defenders/attackers" metric to see if a war is going well for the player's side or not, but I suppose that is not possible?
Actually, there is a trigger "any_war_score [< or >] x" which checks for the favour in the side of the war. You could test that out.
I see - so I can think of it like any_war_score < 0.4 is defensive and any_war_score > 0.6 is offensive?
I haven't paid much attention for how the war score bar changes, that could be the case.
Ah, alright - that is very helpful, thank you! 
👋
<@&846894118219022336> Spam
Yes it is
exactly'
Holy tuff
mod?
Napoleonic Wars Redux (france prussia russia have focuses)
thank
You made them yourself btw?
I wanna try making one but its hard
Anyone know what files PDX changed/updated in Patch 1.17.3?
Ever since that update my mod just CTDs as soon as I click and start a country (Initializing game)
is there a mod that stops the ai from sending divisions onto the border of a country they're not at war with, I'm invading the soviets and my allies aren't helping me, they're sending all their divisions to neutrel lithuania and austria
Making a Liberia focus tree mod
For a national spirit would the “Firestone Labour Scandal” work
And it would give like recruitable population and output debuffs and some unrest things
The Fire Rises is a mod that sound cool, but then you play it, and it's like
😬
I mean, it's taken hours for anything to happen in a playthrough as Russia.
Looking at a million focus tree loading bars is not real gameplay.
And now I apparently have to start over to get a certain path I wanted, because I didn't tweak a setting in the prerequisites menu.
is there anyway for Wemod/Wand to work in multiplayer i want to do a run with my friend
Don't cheat in mp
And most cheat mods work if both players have them installed
Does anyone know if the modifier tooltips are already in the game, I did it manually...
<@&846894118219022336>
Hmn?
Oh I see
Ngl my friend told me to tell yall about my idea in here and I didn't know it was against the rules mb
(Also never seen the server rules channel until now???)
lol
We get one or two a day here
I thought it was me talking about my mod mb
Fair
Anything mod related goes in here, really
Yes they are. Just remove the tag and that's it (although some are missing for some reason, don't ask me why)
Got it
Does putting a localisation file inside "mod\localisation\english\replace" not work anymore after NCNS Patch 1.17.1.1?
" • Localization uses 64 bit hash now to reduce collision chances and resolve random localization bugs."
After the update, it doesn't replace anymore and I get an error instead in text.log
Is it fine if I just use wemod in single player?
You can do whatever you want in single player, although I'd recommend you use cheat mods combined (not that hard to find in the workshop) since it's way more powerful
The most op mods I use for single player is instant research and instant movement
And construction and infinite resources
I just use it for when I goof around
All of that can be done through the console
And to help me learn
Wait really?
Yes
Ohhh cool
- roic (or researc_on_icon_click) for research (research_all also works if you want everything at once)
- ic (or instant_construction) for construction
Don't remember the other commands
Ok thank you
You don't learn by making yourself orders of magnitude stronger than your opponents btw
do you think is that what i need?
if yes could you tell which part?
That has every single effect in the gamr, ctrl+ f isn't hard to do
As someone new to this game, it easily has one of the best modding scenes I’ve ever come across
Its one of the easiest games to mod so makes sense
Very true, workshop mods have been all I’ve been playing in this game, so good
Not ideas 😭
you designed any focus trees for rt56?
What have you done on rt56 then 😎
Overhauled alt-hist Germany before the DLC, overhauled DLC Turkey to be more fun (mostly by making it quicker), made Molotov-Ribbentrop and post-war content including polishing the Yalta conference, some other content and a LOT of bugfixes
Cool cool
you made toolpack mod?
The continuation thats now the most downloaded yeh
so not alone
I made around 4-6 new menus, 12 or so already existed but were heavily overhauled
Toolpack already had a thing where you can reorder the building options in the building spawner
Its AWFUL to maintain xD
😎
tuff
I used both of the mods
at some point
uh
havent really
played hoi4 in a while
now I am trying to mod
but dont have anything to mod
😎
😠
Just kidding :3
Holy tuff
RON is bigger and has like 3 active devs 😭
wait
is it like
you and two other people 😎
Almost
damn
There have been others
12 scenarios with 0 finished
ww2 runs well because xaelor
xd
so 1 finished
wait what years is RON?
(3 to together for victory standards)
1900-2060
A lot of pain and suffering
Can't make historical focus trees go until 2060 until we're actually in 2060 so...
In the past I saw the Germany tree was basically the same as Road from years ago
which was interesting to see
you're gonna work on this mod for uh 35 years?
We have a lot of stuff from the road
And some other mods as well
We do have a new germany tree though
what the
Do RT56 use custom?
I dont remember
Nah
I need an empty font
But Toolpack uses rarely used fonts which apparently dont work in Russian and Chinese
Thats nice 🙂
Nudge! 😃
Actually clicking it is hell though
Someone should mod it so the leave nudge button has a sad face
Nudge...
Hey Marijn
Do you know if there's dev documentation anywhere that shows what files new patches change?
I maintain a github that does that
Can you link it please?
its private because allegedly Paradox might not like it
Damn
though I could check maybe if thats the case
This new update broke my mod but I don't know what's causing it
^^^
Im not putting the DLC folder or EXE on there so I might be able to make it public
Can you maybe read off what files got changed?
run the game with -crash_data_log, if the crash happens on start_game_command(1) this should be the fix
1.17.3 right?
They definitely changed defines in case you override those improperly
I dont see much else changes
anyone got tips to get ideas for focuses
I need a focus after germany demanded reparations
from French commune
Here I'll show my defines
Looks cleanly done
Yeah after a bunch of headaches in the past, I've tried organizing better lol
What's the csv?
Just trial-errored, it doesn't seem to be defines
the map folder files have a CSV
Which one might cause it
Doesn't seem to be buildings either
It crashes here as soon as you click play after selecting a country
The bar doesn't move, it just crashes after a sec
!FIXED!
It had to do with my map edge, they were previously 1 tile wide so ports couldn't properly generate
I enlarged them a bit and after validating, work now
So yeah the new update just made the map way more sensitive
Thanks Marijin and Viktoria for the advice <3
Can someone help
I started doing a mod following the hoi4 official youtube tutorial but when I write country it says its is unexpected in ideas
Can you send an image of the idea file's code
Alr uno secondi
Think of the "country = { }" as a divider in a bookshelf
It gives a label to every idea in the brackets
Hmm
Does it give an error in the actual error log
Or is it simply false-flagging it in the editor
Yeh that gives a false error
Well for one if it isn't appearing in game, that's cause it's not saved (The white dot near the name)
The code itself seems fine, I think you just have a false-flag on the error
Here's an example of an idea
oh no
NOTE: You can have MULTIPLE ideas in inside the country = { IDEAS } bracket
i deleted it and restarted the whole scrripy
🥀
what does this do
The keybind for saving is CTRL + S btw
ah
It's a national spirit
thank you
The extension loves marking that as being incorrect, it is wrong
There isn't actually a bug there
thanks
namespace has 2 c, mean_time_to_happen is plural for some reason
that was quick
And the entire event code is inside of the trigger block
It's not a lot of code to look through, and I seem to be really good at catching typos
bravo
what does this mean?
You forgot a bracket {
So the trigger to actually start the event is actually checking for the entire event's code
Think of it like this
The trigger represents a car's ignition system
But you forgot to tell it to stop at the actual ignition key
trigger = { ... } marks the requirements for the event to fire. Putting things that aren't triggers (things that can be either true or false) in there results in it being ignored.
In your case you kept on writing the event inside of it
Now it's checking to see if your interior lights are on before turning on
Y'see how that can make it bad?
Ya
He didn't actually, if you look at the whitespace it's just in the wrong place.
Still doing it wrong
Happens to everyone
I remember when editing states was like rocket science to me
Now map editing's my best field 🥀
How long does it take to make a map
Cus Im trynna make a scenario
Where its like
These countries only
In a big map
If it's a custom map, it'll be way more complex
If you're just overwriting state owners, cores, etc on the base map, not that long
Custom
Then yeah it'd take much longer
Lord have merceh
Ill stick to scripting ts for now thwn
Ill ask more questions If Necessary
Probably will
The benefit of custom maps though is that they're much less fragile to updates
Because they get less things overrided
Devs for the biggest mods out there make dumber mistakes (and they sometimes go unnoticed for years)
Like for example
PDX is never gonna add a bunch of systems to a fictional nation called Linea
So I don't have to worry about it breaking
I once bricked my mod because I forgot to remove a singular tag
🥀
Really
Im out of words
Thank you both
np
Vichy France had no characters in Rise of Nations for the past year because the guy who added them spelled it characater every single time
🥀
Also our error log is like 5000 lines long
Half of it is missing gfx
Beat that
I have a branch where it's at around 130000
I swear 90% of the errors are just the game refusing to acknowledge the replace_path files
That or it being very picky about some random audio file
The worst errors are the ones that crash the game before you even load it
So annoying to troubleshoot
We've had duplicate event ids for the past few months, no one cares because it doesn't actually CTD
That's my mindset too lol
If it ain't bricking the game then it's not important
Until it is
-crash_data_log and pray that it happens late enough where the launch option activated
And you spend 10 decades fixing it 🥀
"literally uploads a corrupted file"
(still hasn't been fully fixed)
The best mods are the ones held together by hopes and dreams
"removes a decision vital for the mod's functioning because it can be automated"
"Proceeds to never automate it"
Truly the power move of all time
We shipped that through 2 updates and it's still missing in the steam version
If the errors are visibly not present or noticeable in game, then they don't exist 🗿
Both files are identical
Eh PDX makes a loc collision error at the slightest hint of similarities
Might as well actually give it something to scream about
text.log is 40000 lines long
Seems about right
The entire Russian focus tree's localization existed twice in the same file
Okay how does that even happen at this point 🥀
I don't know
The wind can't be blamed for this time
how do I save
I think I finished
do i send it here
for u to check?
You can just press CTRL + S and it saves
If you want you can send it here for us to check
At some point Spain had 3 communist parties
That being communism, democratic and neutrality
I was joking about the hopes and dreams thing but now it's seeming kinda plausible 🥀
It is this mod is a buggy mess
Idk if that's just the tutorial template, but it seems like the first_idea thing will just get added to every country no matter what
if = { limit = { check for stuff here } effects go here }
Yeah that too
huh
i think its cus of the tut everything he names is like my first mod my first idea
No, the event fires only for the player, if the player is at war then every enemy gets the idea, else the player gets it
alr imma test
Inside of an if you have a limit. Inside of the limit you check for whatever you want to check for (in this case, if the country getting the event is at war). If the limit is true the effects get executed. The effects have to be inside of the if but outside of the limit.
I think i understand
I did smth wrong
It didnt work
Code?
(you have about 5 minutes until my phone dies)
From the mod thing
What
That mod is so simple it shouldn't even get close to crashing
Ye idk
Lemme retry
A day passed
Nothing is happening
A month passed
Worst thing your mod can do is not work
Here wait
Ill sent u the pic
That's some mods you have downloaded from the workshop having a typo
and the file is error.log
Yale but I didnt have any mods active
The game reads the entire mod folder on startup even if you have no mods on
error.log serves for the game to tell you about any errors ot can tell exist
See that dog in the corner?
Huh
I'd assume you're on the map in debug mode
Send the code here
i did
You got error.log to show up, you should be in debug mode
its tthe one from before
Then fix the if
Shouldn't prevent the event from happening though
Do I turn debug off?
Doesn't matter, I'd leave it on for modding
Try running the event from the console
Huh
How do I get event id
There is an entry for it in the event itself, in your case it's mod_event.1
Alr
Is it required to have a democratic flag for a communist country?
[13:57:19][no_game_date][flagtextureatlas.cpp:524]: Error loading flag for country CBA : Ideology democratic : Path gfx/flags/ : File not found
[13:57:20][no_game_date][flagtextureatlas.cpp:524]: Error loading flag for country CBA : Ideology democratic : Path gfx/flags/medium/ : File not found
[13:57:20][no_game_date][flagtextureatlas.cpp:524]: Error loading flag for country CBA : Ideology democratic : Path gfx/flags/small/ : File not found
Well the country could change ideologies
But the other countries in my mod have only democratic flags and there is no error
If you don't plan on countries having other ideological flags, then remove the "_ideology", it works fine. The compiler isn't truthful.
👋
Why doesnt my propaganda gfx work?
error log says this
but those gfx files are in the mod
I was playing R56 for the first time, and took a carefull look at the Infantry tech tree. Its not hard to miss the loads and loads of buffs and new options available to you, which made me wonder if infantry is a solid option, that might even compete with tanks. Mainly asking because im playing as germany, and I am quite torn between the Prussian legacy and adopt new Panzer doctrine. (Doing communist alt history, so lots of manpower)
Are they defined in an interface/.gfx file?
yes
.gfx of what
this is the gfx files of the propaganda
Which folder is it at
gfx > interface> propaganda
The game doesn't know they exist unless they're defined in a .gfx file
Do you have interface files too
to log them
wdym?
For the game to recognize the files they have to be defined in a .gfx file in the interface folder
kinda like this
@pale sparrow your domain. Although I will say that even in vanilla a good infantry build can compete with tanks.
Meta is basically the same as vanilla but tanks are slightly weaker
are there any focus tree mods that can be added to the vanilla game for australia, indonesia, or siam?
I am trying to make myself a mod, I have no experience. I am trying to change the provinces and states a bit. I have copied the Kaiserredux map file into my own mod. This produced many a errors. What should I do to get rid of them. Sorry if this is a silly question
My advice would be to try and find out if what you’re trying to achieve requires ripping a while other mod’s map and slapping it it in. ‘Cause that is bound to be a headache.
How can I change the stability political power modifier? Right now, its a percentage (like Stability gives -11% political power gain) but I want to make it something like -0.5 gain
If you have no experience I would avoid touching the map
Expect making a new state
Because its objectively easy
RT56 if you want that Ig
hi, small issue right now
i added the states for the rheinekreis and saarland, however since then the game has been crashing upon unpausing with the lastread being "client_ping (1)"
from what i can tell, this is something related to ai_templates or buildings, but i'm unsure which and how i'd go about fixing it
thanks in advance
i've tried quite a few of these however i'll try again, thanks
How do I make a other country a puppet of an other country?
puppet = TAG
or
target = TAG
autonomous_state = autonomy_you_want
}```
Where do I add this?
What script?
In the scope of whichever country is going to be the overlord, which script depends on when (and potentially how) you want the puppeting to happen
disabled AI temporarily so i could atleast test other stuff, same sort of crash around 11 days in,
LastScript: common/decisions/CHI_decisions.txt:3944: any_country_with_original_tag_of```
has anyone elses player led peace conferences been broken? i cant give myself more score
unless im missing something
How do you add buildings onto the bomber priority list?
It doesnt automatically include new buildings like the building menu?
I got no reason to believe its broken 🤔
No, I have a bunch of new buildings it doesn't show
I assume it's an Interface > GUI file but not sure which one
You aware of gui console command?
I would assume airselectionview.gui
Q - do i need to have the DLC's to make a mod?
no, although having the ones that change technologies is very useful becuse it allows you to account for both players with and without them
is there a mod that gets rid of faction traitor slowly?
Hello, new here. Is there a good mod that will make the AI smarter?
expert ai
What is the best way to find that one? I've used paradox's in-game search and can't seem to identify which one it is
Many thanks
From the mod page:
This is not a mod for those who want a slightly better AI, a couple of fixes or a straightforward experience to jump into. This is an AI overhaul; the AI design in this mod has completely different priorities from the vanilla AI, generally geared more towards min-max gameplay for very experienced players,
Is it updated for the latest version of the game + all DLCs? (I have a subscription)
yes
Thank you for your help!
Well it's up to date with 1.17.2 so the Ai might be a bit worse because it doesn't know about the 2 new buildings
Well, I guess I'll worry about that if I even get to the later stages of the game where they matter. Usually it's too easy to win before I get there.
Fairly certain the AI will metaplay so have fun
Then I'll probably get my butt kicked because I haven't played multiplayer. That's good! I shouldn't be able to conquer USA as Aregentina
You still have an edge over the AI because iirc it's impossible to make it micromanage divisions
havent started on the 1807-1813 france layout yet
Well before i would be able to give myself score by doing a new turn or whatever but now that dont do anything
Very nice
Thanks
Before 1.12 the ai gave you their score, that's apparently not possible anymore
An entire rise of nations focus tree is probably not even that big
And we have 160 years
legit
That sucks cause i couldnt get the japanese navy even though i was the one to capitulate them and help push them out of china
should i fix layout before adding focus effects?
Get these errors what's wrong about Dalmatia
[18:23:38][no_game_date][gameitemdatabasehelper.h:149]: Error: "Unexpected token: a, near line: 26" in file: "history/states/1055 - Dalmatia.txt" near line: 26
[18:23:39][no_game_date][persistent.cpp:66]: Error: "Invalid date 7329: {, near line: 33```
```state={
id=103
name="STATE_103" # Dalmatia
manpower = 1431700
state_category = large_town
history={
owner = ITA
victory_points = { #Dubrovnik
6889 3
}
victory_points = { #Split
3924 3
}
buildings = {
infrastructure = 3
dockyard = 1
industrial_complex = 3
3924 = {
naval_base = 3
}
6889 = {
naval_base = 1
}
}
add_core_of = YUG
add_core_of = CRO
}
provinces={
984 3868 3924 3974 6889 11901
}
local_supplies=4.0
}
Yes, but it had a different name than its actual file
You can do folder search though
So what would you recommend to get perhaps? I have man the guns and no step back
Marjin could my game break because I have a state which have some provinces in one place and then its a small province inbetween and some others
Should work I think
get this error
but don't really understand why
wait my bad
got it prob
guys what does this mean
Error: "Non assign effect is not enclosed in {}: set_capital, near line: 450" in file: "events/panslavia_pan_slavia_events.txt" near line: 460
Will probably work, might be a bit annoying to work with for players (and potentially when making content there too)
yeah
mod started breaking
but tbh
might have done it for long
so yeah
just to remove and see what the error is
hmmm it only crash when I start
so it cant be the map
-crash_data_log
That set_capital is formatted wrongly https://hoi4.paradoxwikis.com/Effect#set_capital
which file is it I am supposed to look in again?
also it only happens when I press start as a country
(FYI set_capital didnt use brackets in a past version)
I feel old for knowing that
meta.yml
I know (because of fixing bugs related to whoever updated that version being lazy af)
ok
thanks
also
how do i fix this
20:35:05][no_game_date][database_scoped_variables.cpp:266]: invalid database object for effect/trigger: artillery. use var:var_name to explicitly use variables in effects/triggers
[20:35:05][no_game_date][database_scoped_variables.cpp:266]: invalid database object for effect/trigger: cat_mechanized_equipment. use var:var_name to explicitly use variables in effects/triggers
theres many more of these
and for some context my mod IS UNPLAYABLE in 1.17
-crash_data_log? If it crashes that is
where is that
ive been sending stuff from errors file
launch option
If you have it on then you'll find the last line and file in meta.yml
how do i turn it on
It's a launch option
You turn it on the same way as -debug
i just type -crash_data_log in here?
yes
also put in -debug cause it's just very usefull when modding
Separate lauch options with a space
aha alr and where should the meta.yml appear
or the file
In the crash folder
in here?
alr also
i found something odd
i js assign this province to Manchuckuo and it should fix the thing?
province without a state, put it in that manchu state it's next to and you should be fine
okay so
i got
the crash thing
which one
nvm found the error file inside the logs folder
and holy shit
the lauch option wasn't on when that particular crash happened so it's not there
Should be something like this
Anyone know of any good and up to date generic portrait (generals and leaders) mods?
has anyone else had any issues with reassigning ownership of some of the chinese states when modding
i get a dlc checksum error when trying to boot the game
well
i got
i just gave up on those provinces lol
What are you actually trying to do
Like
i was just changing the state owner to a different country
and adding core
Changing the ownership of the chinese states?
Oh thats easy
You have to like enter the states folder
And then inside there's going to be like
ive done it with some states
Oh
just not a couple ones that have dlcs attached
they break my game lol
im not worried about it at the moment i like how the country i made looks
Yeah because of the state numbers
If your state ids and paradox' state ids is same on different state that might be the reason
wdym?
Like if you made new states with new Ids
nonono
And if those id numbers are also used by the paradox
not new states
South asian countries?
all over the place
what i was doing was replacing mongolia and giving it extra states
Ohh good luck then
why does it become that little island
How do you make custom maps in modding? Like i've seen some mods confine the the map to specific areas or add new places/provinces that dont exist??
anyone know best fps mods for 1.17+
hello
hey guys, I am working on a mod and was wondering if someone could help me figure out this weird bug(I am new to modding): I was editing the country leader for belgium and luxembourg and the portraits for some reason don't work. They work for all the other countries like France and czechoslovakia, but not belgium and luxembourg for some reason! Can someone help please!
There are a few focuses that unnecessarily drop 2 spaces for no apparent reason. Also that staircase at the bottom is a bit strange but not particularly bad, just something that stands out.
Also, for the future if you want to show a whole tree without it being blurry, you could try treesnap. It makes a clear image of the tree you ask it to look through. https://github.com/malashin/hoi4treesnap
i just installed RT56 and this goofy cat appears in the doctrine menu now
that staircase is for the 1814-1815 part of the focus tree idk what else to add to that
I can't really give a suggestion of what to add there without seeing the tree more clearly and knowing some backstory. My suggestion was more about structure. People like choice, and sometimes going down a long string bums people out. I'd suggest that if there are any focuses in that chain that don't necessarily require the prior focus to be done, maybe put them next to each other first. That way the player gets a little more agency and it makes things look nicer.
This imo
is there a mod that adds diplomatic options like white peace and land trading?
or like earlier surrendering for rp?
conditional surrender is a thing in vanilla
Do you personally think that scripted peace deals are better?
For the AI at least
Are you coding too, or are you planning on dictating everything to a bunch of coders?
i dont know how to code
You should probably learn if you want to make a mod.
i was told that most modders do it for free
They do, but they don't typically volunteer to do the bidding of some random ideas guy
I don't know of many modding teams that are led by someone who can't code at least a little.
i've tried to learn and it didn't help at all
What kind of mod are you trying to make anyway? Is it some kind of total conversion that takes place in a completely different world/time than the base game?
it takes place in 2028
do you want to know the lore
When that happens it's usually that the lead stepped down and handed their role to a gfx artist
Doesn't know how to code but is still important
yeah for my mod i think of like path ideas
and the major lore
I mean this in the most constructive way possible. There are countless total conversion mods for plenty of games started by a person who just wants to be an ideas guy and delegate all the game work to other people. Very few ever get anywhere, for good reason. People who can't code don't usually understand the scope or feasibility of their ideas. Even if you don't want to code for the mod, you should do a bit of reading on it to learn how it works.
i realize that it will take a while
I'm not saying it'll take a while
and i already said i tried to learn how to code and it just didn't click
You should probably try again
Unless you somehow get a really big team, having people entirely dedicated to design is a massive waste of resources
https://hoi4.paradoxwikis.com/Modding - I'd suggest reading the wiki. Plenty of people watch a single tutorial, don't figure out how to make a .mod file and then give up.
that's what i'm trying to do, get a big team
i already have some work done on the mod but the guy who was doing the coding decided to quit
And I'm telling you that you won't get a bunch of people volunteering to commit hundreds of hours into just making your ideas while you dictate it to them
That tends to happen a lot with idea-guy led mods.
You get a big team by having a functional mod, mostly
Devs don't volunteer for random projects in early stages of development
Yo, quick question, any way i can search for pictures for National spirits fast?
Wiki doesnt seem to show me em
In modding
am i allowedto advertize here at least
Don't think any of us are server staff. #server-rules would be the place to look for that kind of thing
They should be in gfx\interface\goals. You'd need to find the national focuses file in the interface folder though to have the proper name to reference
I think i already found the Ideas Picture files
Just that it‘s a bit of a drag looking through everything when i dont rlly know how it looks like
Some dds viewer will allow you to open them
Oh you're looking for ideas, not national focus icons. Yeah, you'd want to use paint.net or some other photo editing app that's not MS Paint
And their name is usually the same as the idea they're for
Genuinely thank you so much
ideas = {
country = {
VEN_Scars_of_Mr.Juan = {
picture = POL_sanation_right_opposition_4
allowed = {
original_tag = VEN
modifier = {
political_power_gain = -0.25
stability = -0.10
war_support = -0.25
monthly_stability_gain = -0.005
}
}
}
}
}
Why is VS code underlining country
Like its a problem
Anyone know why?
The extension marks it but it's one of the many false positives it gives
So my National Spirit will work?
Yes
K
The Idea isn‘t showing up, is it cause the game thinks its a hidden idea or sum cuz i dont know-
It‘s not showing up when i make a new game
Yo
Is my cosmetic tag good?
YERRIKAN_neutrality: "Jag'rain of Yerrikan"
or something else is needed?
So
To make that work
You have to put the idea at countries file, which is at the history folder
Soooo, do i switch country and ideas?
Like in my code that i wrote
no
What do i do then
For the idea to show up you have to give it to a country, either in a history/countries file if you want it to be added on startup or in a national focus, an event, a decision or a balance of power if you want it to show up at some point during gameplay
ah
on_actions also work for both cases
So i make an history/countries file and my code there?
Like how it says in the 3rd tutorial vid of hoi4
You're gonna have to copy a basegame one, the code for the idea has to stay in common/ideas.
You just add add_ideas = { }
Ah
With the name of the idea inside the brackets
It‘s still not showing up 😭
I copy n pasted the country files of Venezuela
And added in the add_ideas = {
Scars_of_Mr.Juan
}
WHY ISNT IT SHOWING UP FAHHHHHHHH
Uhh
It doesnt have country ID
Maybe thats why
Like the tag?
OH
You mean the hashtag
After VEN
Also uh
I added localisation too
And uh for country files
I delete the country file from Venezuela that i pasted and just added add_ideas = {
Scars_of_Mr.Juan
}
Would that also work?
Cuz chatgpt said that i should do that so the national spirit can popup
Btw uh
Shouldnt i do tag instead of original_tag
?
That's just standardized naming scheme, it doesn't have to be there but everyone puts it there for organizational purposes
Venezuela will have no characters
Or army
Or navy
or airforce if they start with one
Ok well still nothing happened when i started the game with it
Every country needs a history file and there can only be one per county
Is the file in the correct place?
The idea has to be in any common/ideas .txt file
Wait hol on
Venezuela's history file has to be history/countries/VEN - Venezuela.txt
The . might be causing an issue, replace it with an _
Ok
I replaced all of em
Also delete that random txt in the first line of the file
K did that too
add_ideas has to be it's own block, move it outside of set_polpularities
I fixed that but
Now theres like 50 Problems-
Ignore that extension, it's awful most of the time
Alright
Also uh maybe it‘s important to note that im kinda working on the mod in GitHub, but in GitHub i open VS code
Which should also be ok right?
