Victoria 3

Victoria 3

White Peace Fix
20 kommentarer
Eiszett  [ophavsmand] 15. aug. 2023 kl. 13:42 
I don't think anything actually needs to be changed for it to be used with newer versions
Sh3mu3v! 15. aug. 2023 kl. 10:27 
please update the fix, we need it
Lotus 11. nov. 2022 kl. 10:40 
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 9. nov. 2022 kl. 15:48 
Yes, it makes AI capitulate on 0 support.
Mayo 9. nov. 2022 kl. 10:08 
Does this fixes ai doing endless war??
Eiszett  [ophavsmand] 3. nov. 2022 kl. 10:33 
Thank you. Fixed.
Acrivec 3. nov. 2022 kl. 10:18 
There's still one missing " at the end, before the coma
Eiszett  [ophavsmand] 3. nov. 2022 kl. 9:25 
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 3. nov. 2022 kl. 9:18 
Also, your comment says 100 and not -100; if someone sets it to 100 all wars end immediately xd
Acrivec 3. nov. 2022 kl. 8:24 
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 2. nov. 2022 kl. 21:58 
Oh, quote and code does not work in comments. But you get the point, ya?
Acrivec 2. nov. 2022 kl. 21:57 
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  [ophavsmand] 2. nov. 2022 kl. 14:14 
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 2. nov. 2022 kl. 13:48 
V3 still thinks this is incompatible with the 1.0.4 patch. But maybe Steam has been slow in sending out the update?
Eiszett  [ophavsmand] 31. okt. 2022 kl. 12:24 
The file will be in the mod's folder. I've added the original values to my comments.
Acrivec 31. okt. 2022 kl. 9:16 
Also what are the original values even?
Acrivec 31. okt. 2022 kl. 9:08 
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 27. okt. 2022 kl. 16:58 
I hope they hurry and do bug fixes
Eiszett  [ophavsmand] 27. okt. 2022 kl. 15:40 
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 27. okt. 2022 kl. 12:11 
Gonna try this