Hearts of Iron IV

Hearts of Iron IV

Stop the AI Collaboration Government Spam
120 Comments
CSRZ  [author] 31 Mar @ 11:15am 
@Kenfa
why - is it still needed?
Kenfa 20 Mar @ 4:00pm 
Update!
AtkPlatypus 13 Mar @ 2:57pm 
For what it's worth, I think this mod is a tremendous idea. If you're willing to update it I for one would be very grateful.
CSRZ  [author] 6 Mar @ 2:43am 
Serious question: Is this mod in need of an update or should I abandon it?

I tested the newest version of the vanilla game. There were no collaboration governments via old mechanic appearing until late 1945... With all the new reichkomissariats, and now German/British/French protectorates/madates etc. from 1.16 version I think this mod is obsolete.
NoamLovesCats 14 Feb @ 4:05am 
Perfect
Reyngade 27 Oct, 2024 @ 9:36am 
Hi I created a mod compilation, your is part of it, in case you don't want, I will immediately remove it.
Admiral Welsly 17 Dec, 2023 @ 11:18pm 
not working with RT56
SturmJunger14 10 Nov, 2023 @ 5:24am 
AI still forms useless collabs
Trident 24 Oct, 2023 @ 2:14am 
i have smth wrong with france
Riekopo 14 Sep, 2023 @ 5:37pm 
Weren't there some historical collaboration govts during WW2?
freybat 16 Jul, 2023 @ 8:57pm 
@CSRZ ok guess its my problem then lmao
CSRZ  [author] 16 Jul, 2023 @ 3:18am 
@9nand
mod is up to date
freybat 14 Jul, 2023 @ 9:33pm 
yo update please
Hieronymus 19 Feb, 2023 @ 2:25am 
This mod makes hoi4 playable again
Meleko 2 Feb, 2023 @ 2:46pm 
Thank you x50 man, these popups are so annoying man.
Whili 10 Dec, 2022 @ 9:02pm 
Does not work with some puppet levels
Example the Collaboration Government
hs_anderson 29 Sep, 2022 @ 3:47am 
Have you considered adding something that stops your puppets from constantly giving you their crappy units lmao
CSRZ  [author] 24 Sep, 2022 @ 2:43am 
I will start updating all of my mods next week when the newest DLC is released.
Sarnen 23 Sep, 2022 @ 5:28pm 
please update, I need this in my life. like fuck the SPAM of shitty collab governments
CSRZ  [author] 24 Feb, 2022 @ 9:57am 
@Whili
why? is the update needed again?
Whili 24 Feb, 2022 @ 6:48am 
uptade plz
Adrian 7 Feb, 2022 @ 6:57pm 
@CSRZ
Oks good, Il´l keep looking on my end, it might be something else, I´ll let you know if I found something. Thx
CSRZ  [author] 7 Feb, 2022 @ 5:23pm 
@Adrian
I wasn't able to confirm this bug. Germany continued the division production past 480k. It's over 800k by the end of 1937 and the AI is still getting new divisions.
CSRZ  [author] 7 Feb, 2022 @ 10:54am 
@Adrian
That's weird - the only two files that were modified should not change the AI behavior when producing divisions. Also I never saw it in my test games.

I'll look into it.
Adrian 7 Feb, 2022 @ 10:08am 
@CSRZ
I believe there is a bug in this mod, Ive noticed playing as Soviet Union that German AI stops producing divisions, it stops when it reaches 480k men deployed. I tested 2 runs and the same happened on both. On my third run I disabled this mod and Germany started producing divisions normally. this is the only mod that I am using that modifies something other than GFX.
rxz 27 Jan, 2022 @ 11:29am 
Gotcha. Thanks for the explanation
CSRZ  [author] 27 Jan, 2022 @ 8:57am 
I updated the description of the mod to match the current vanilla mechanics.
CSRZ  [author] 27 Jan, 2022 @ 8:51am 
@rxz
Short answer - yes if you want to remove mechanic completely.

Paradox Interactive updated the "compliance_modifiers.txt" file in 1.11.5 yet again partially blocking the AI from releasing collaboration governments by the majority of nations BUT they allowed the AI to release nations when one of the three situations occur:
- the country releasing collab government is communist (I don't know why - maybe they are anti-colonialist/anti-imperialist by ideology which would actually make some sense),
OR
- the country is not a major nation (so minor nations can release collaboration puppets, but countries like Japan, France, UK and so on won't be able to)
- the game year is past 1948.

Again - I think someone thought this through, but I'm not sure if this partial block will work as intended yet.
rxz 27 Jan, 2022 @ 1:32am 
Is this needed for 1.11.5?
CSRZ  [author] 26 Jan, 2022 @ 2:30am 
@didi
YES - thank you. You've found it. I've already uploaded a fix. Please let me know if it works.
didi 26 Jan, 2022 @ 1:31am 
I forgot to mention the decision you want to modify is called "instantiate_collaboration"
didi 26 Jan, 2022 @ 1:29am 
Seems to me that the AI is using the "Foreign Influence" decisions to form the collaboration governments instead of the actual event that fires (which you disabled from triggering for AIs).

Just go into common/decisions/foreign_influence.txt and just add
"is_ai = no" under the "available" condition check thing, w.e you call it.

Something like this:
available = {
has_core_occupation_modifier = {
occupied_country_tag = FROM
modifier = compliance_80
}
is_ai = no
}

Seems to have fixed the Japanese Micronesia issue for me while I was testing it out and I assume it should fix all the other AI collab issues as well.
CSRZ  [author] 31 Dec, 2021 @ 5:46am 
As long as "compliance_modifiers.txt" file wasn't modified in RT56 it should work.
Riekopo 30 Dec, 2021 @ 9:09pm 
Does this work with RT56?
CSRZ  [author] 28 Dec, 2021 @ 12:57pm 
@Riekopo
Thank you, but currently I don't know what's broken and why Japanese Polynesia appeared in the newest patch. I can't revert to 1.11.2 anymore, so I can't check which files were edited anymore.
Riekopo 28 Dec, 2021 @ 12:48pm 
If you make Bug Report threads on the forum we can all upvote them.
GoatMutt 24 Dec, 2021 @ 10:15am 
Never thought I'd have to reinstall this, thanks mate
CSRZ  [author] 23 Dec, 2021 @ 7:59pm 
I feel pretty stupid because Arheo wrote that these files weren't changed in 1.11.4 and yet I can confirm both of the bugs. I don't know what happened in 1.11.4 then.
CSRZ  [author] 23 Dec, 2021 @ 1:24pm 
@Riekopo
I don't know why, but some of the files in the 1.11.4 patch are from the older versions of the game.

Vichy French focus tree is locked and unusable in 1.11.4, even when in 1.11.2 it was working normally. It seems like they somehow mixed up the files and brought back the Vichy French focus tree file from the 1.9.0.

New compliance_modifiers.txt file that was working fine in 1.11.1 patch (which I praised by the way) was removed and replaced with 1.10 version of it, which causes the stuff like Japanese Micronesia to appear on the map again, etc.

I don't know why or how these things happen. Why would Paradox Interacitve replace the newer, patched files of the game with older, more buggy versions of these files? I don't know why...
Riekopo 23 Dec, 2021 @ 1:03pm 
Please elaborate about the "restored bugs" if you can.
CSRZ  [author] 22 Dec, 2021 @ 6:39pm 
Fortunately I've found what was wrong - false alarm. I've mixed up the vanilla and modified files - the mod should work correctly after the hotfix.
Krasna Merah 22 Dec, 2021 @ 5:49pm 
Mein Gott
CSRZ  [author] 22 Dec, 2021 @ 5:15pm 
For some reason Japan released Micronesia despite my block implemented in this mod... I'll look into this issue later, but that's worrying...

It looks like some kind of event or script does that.
Riekopo 22 Dec, 2021 @ 3:43am 
Please make a thread about this on the Paradox forum so we can highlight it and upvote it good sir.
CSRZ  [author] 20 Dec, 2021 @ 6:37pm 
I updated the mod, but I'm not happy about the current state of the vanilla game :(

The newest patch fixes almost nothing of the most important issues - it actually restored some of the bugs from 1.10...
Borklund 20 Dec, 2021 @ 4:55pm 
Japan released Micronesia as a collab govt in early '43 in my 1.11.4 release game. They didn't fix it.
CSRZ  [author] 12 Dec, 2021 @ 5:07am 
I advise against using this mod in 1.11.2 as the structure of the vanilla file responsible for the colab governments did change since 1.10. It may cause unexpected bugs...
donald.grape 12 Dec, 2021 @ 2:21am 
I read some comments. The collab governments are still being created by dictatorships. However, your mod is not outdated as it works in 1.11. I had multiple test games until 1945, not even one collab government was created when your mod was active.
Borklund 11 Dec, 2021 @ 5:06am 
Also playing 1.11.4 beta 3 patch, Portuguese Angola, Japanese Marianas etc in 43-44. Why are Paradox like this smh. Eagerly awaiting your sorting out their mess (again).