Victoria 3

Victoria 3

White Peace Fix
20 条留言
Eiszett  [作者] 2023 年 8 月 15 日 下午 1:42 
I don't think anything actually needs to be changed for it to be used with newer versions
Sh3mu3v! 2023 年 8 月 15 日 上午 10:27 
please update the fix, we need it
Lotus 2022 年 11 月 11 日 上午 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 2022 年 11 月 9 日 下午 3:48 
Yes, it makes AI capitulate on 0 support.
Mayo 2022 年 11 月 9 日 上午 10:08 
Does this fixes ai doing endless war??
Eiszett  [作者] 2022 年 11 月 3 日 上午 10:33 
Thank you. Fixed.
Acrivec 2022 年 11 月 3 日 上午 10:18 
There's still one missing " at the end, before the coma
Eiszett  [作者] 2022 年 11 月 3 日 上午 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 2022 年 11 月 3 日 上午 9:18 
Also, your comment says 100 and not -100; if someone sets it to 100 all wars end immediately xd
Acrivec 2022 年 11 月 3 日 上午 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 2022 年 11 月 2 日 下午 9:58 
Oh, quote and code does not work in comments. But you get the point, ya?
Acrivec 2022 年 11 月 2 日 下午 9: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  [作者] 2022 年 11 月 2 日 下午 2: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 2022 年 11 月 2 日 下午 1: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  [作者] 2022 年 10 月 31 日 下午 12:24 
The file will be in the mod's folder. I've added the original values to my comments.
Acrivec 2022 年 10 月 31 日 上午 9:16 
Also what are the original values even?
Acrivec 2022 年 10 月 31 日 上午 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 2022 年 10 月 27 日 下午 4:58 
I hope they hurry and do bug fixes
Eiszett  [作者] 2022 年 10 月 27 日 下午 3: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 2022 年 10 月 27 日 下午 12:11 
Gonna try this