Victoria 3

Victoria 3

White Peace Fix
20 Comments
Eiszett  [author] Aug 15, 2023 @ 1:42pm 
I don't think anything actually needs to be changed for it to be used with newer versions
Sh3mu3v! Aug 15, 2023 @ 10:27am 
please update the fix, we need it
Lotus Nov 11, 2022 @ 10:40am 
I have been modding AI and had discovered that it seems indeed white peace is simply not in the AI's toolbox of possibilities right now, and it is outside of modders hands to be able to fix aside from indirect workarounds like this. :( Was hoping someone had found some more direct solution.
Acrivec Nov 9, 2022 @ 3:48pm 
Yes, it makes AI capitulate on 0 support.
Mayo Nov 9, 2022 @ 10:08am 
Does this fixes ai doing endless war??
Eiszett  [author] Nov 3, 2022 @ 10:33am 
Thank you. Fixed.
Acrivec Nov 3, 2022 @ 10:18am 
There's still one missing " at the end, before the coma
Eiszett  [author] Nov 3, 2022 @ 9:25am 
Thank you. This is the first time I've ever published a steam mod (and I haven't done that much Paradox modding in general). I was aware there was a way to have a partial file, but had no idea how. Implementing the changes now
Acrivec Nov 3, 2022 @ 9:18am 
Also, your comment says 100 and not -100; if someone sets it to 100 all wars end immediately xd
Acrivec Nov 3, 2022 @ 8:24am 
Last update has broken loading of this mod, I've found the reason.
In .metadata file, the "short_description" contains steam description, which contains " ". This breaks the file structure, preventing game from reading it.

Simple fix is to remove the second part of description, as following (it also removed version, so it doesn't check for version on every game update):


{
"name" : "White Peace Fix",
"id" : "",
"version" : "",
"supported_game_version" : "",
"short_description" : "Currently, the AI will not propose a white peace. This makes automatic capitulation happen at 0 war support, but doubles the time between war support decreases to compensate.",
"tags" : [],
"relationships" : [],
"game_custom_data" : {
"multiplayer_synchronized" : true
}
}
Acrivec Nov 2, 2022 @ 9:58pm 
Oh, quote and code does not work in comments. But you get the point, ya?
Acrivec Nov 2, 2022 @ 9:57pm 
You can add in description the filename:

[quote][code]\SteamLibrary\steamapps\workshop\content\529340\2880649029\common\defines\00_defines.txt[/code][/quote]

Also, you should change the mod so it does not overwrite _all_ contents. Just edit it to be
[code]
NWar = {
AUTO_CAPITULATE_WAR_SUPPORT = 0 # When war support is this low, the country will auto capitulate #EISZETT: change this to 0, original 100
DAYS_BETWEEN_WAR_EXHAUSTION = 14 # Every this many days war support will be reduced by the war exhaustion formula #EISZETT: change this to 14, original 7
}
[/code]

This way it will only edit those values. Right now you're providing whole default 00_defines, so if your mod is loaded, for example, after the mod that changes autosave count, you'll revert it changes.
Eiszett  [author] Nov 2, 2022 @ 2:14pm 
It isn't, I just didn't realize I should be changing the metadata file for the mod rather than just selecting the version when I upload it. That'll be fixed shortly
Seek Truth From Facts Nov 2, 2022 @ 1:48pm 
V3 still thinks this is incompatible with the 1.0.4 patch. But maybe Steam has been slow in sending out the update?
Eiszett  [author] Oct 31, 2022 @ 12:24pm 
The file will be in the mod's folder. I've added the original values to my comments.
Acrivec Oct 31, 2022 @ 9:16am 
Also what are the original values even?
Acrivec Oct 31, 2022 @ 9:08am 
You could say where to find this file though. I'm at 30 year long war that has no fronts and costed both sides 20 million so far, so I _need_ to run this once, but I'd like to go back to normal after this.
jglennv1 Oct 27, 2022 @ 4:58pm 
I hope they hurry and do bug fixes
Eiszett  [author] Oct 27, 2022 @ 3:40pm 
I've now used this for a while, and the negative effect on other wars is too strong for me personally. I'm just going to switch to nations that get stuck in war, propose white peace, then switch back afterwards. No achievements, but oh well.
jglennv1 Oct 27, 2022 @ 12:11pm 
Gonna try this