Crusader Kings III

Crusader Kings III

Population Control (Reduce late-game lag)
597 Comments
Aten 27 Aug @ 4:14am 
@Equanity - Oh think I've been looking at the wrong ones haha, thats not too bad.
equanimity 27 Aug @ 4:09am 
It says "suddenly vanished" for me, which helps keep track of it.

Though I think faded into obscurity feels more in line with CK3 or roleplay
Aten 26 Aug @ 4:46am 
Great mod and super helpful!

I will say, I agree with an earlier comment, it would be super thematic if instead of just dying the character had a “Faded into Obscurity” or something similar.
Osium 21 Aug @ 8:51pm 
Smoker Lung, if this is the case, you may need to do a little leg work of you own before you push the button. Identify any characters you think are essential, and then pin them. That should prevent them from the purge.
Smoker Lung 20 Aug @ 12:51am 
this mod will delete the children of foreign emperors. This is either a terrible bug or a ridiculous design oversight.
Cavve 16 Aug @ 8:25am 
I would like to give a few suggestions that will also minimize amount of characters.


1. Raise your domain limit inside game rules. The more baronies you can hold or ai rulers hold the fewer characters will be created.

2. Avoid lay clergy if you have big empire. Use theocratic faith if you have big empire. Since your court priest will rent the churches/mosques now. Ergo, no more extra barons with their families.

3. Limit amount of adventurers to lowest possible. An adventurer camp has lots and lots of characters in them.

4. Lower the amount of knights that can serve. I think this can be done in vanilla game rules, otherwise install mod More Game Rules for this setting.
Eric Cartman 16 Aug @ 7:52am 
Where should it be on the mod load order? At the bottom?
I have placed it at the bottom but it doesn't seem to do much for me. The timelapse is excruciatingly slow and I am 70 yeras into the game.
LoneStarRuaḥ 13 Aug @ 5:52pm 
It would be great to have a custom death for characters that are removed by this mod, such as "faded into obscurity." This is especially important since we often don't know the dates of when many characters die. This way, we can also keep track of who the mod has deleted.
Dax 8 Aug @ 2:16am 
'The game slows down when I turn on the button that starts killing off large parts of the population'

Did you guys even read the mod description?
same lol
Nathanッ 28 Jul @ 10:04pm 
Been noticing slowdown in my gamespeed whenever I turn on the decision for pop control
NEST-7 20 Jul @ 5:32am 
Can this be placed anywhere?
Cretinoid 17 Jul @ 6:50am 
could you make it so that followers of adventures are not affected by the mod?
Sola Fide 9 Jul @ 1:45pm 
I started this in the late medieval age. The result was... Interesting.

Time came to a standstill and I wondered why the days were not progressing, but to my surprise, after about 15 seconds on speed 5 it changed to the next day :D

At first I was confused but then I realized, the mod must be deleting THOUSANDS of characters.

Eventually after about 15 minutes, the game started to speed up again and I was back to normal speed. The lag decreased and my framerate improved.

This is a very good mod, I like it very much :)
CreamKaKao  [author] 5 Jul @ 10:58am 
Population control does **not** function while it's in the "stopped" state — it only works when it's set to "started."
Also, once it's started, population control will **automatically** activate only when the population exceeds 22,500.
So in most cases, you can just set it to "start" at the beginning and forget about it.
PiGu 5 Jul @ 8:06am 
Hi!
One question: am I correct in assuming the population control is always active (if the population reaches 22,500) and the decision to start/stop the population control is just a failsafe?
Or do I have to activate the decision at the start of each game?
Thanks in advance and great mod!
Litz 18 Jun @ 1:03am 
It works... Doesn't crash my game at all
Fizzet 21 May @ 4:02am 
i have also experienced large amounts of crashing
Butyr 21 May @ 2:22am 
crashes the game
ГРОГ 16 May @ 9:46am 
Is this what I think it is? Genocide Mod?
Garlic 14 May @ 6:25am 
Wish I could have second or third filter and tweak the value to the limit. Like multiplying it if they're a commoner, have low stats, reduced fertility due to age, no family ties, etc.
Syron 14 May @ 4:39am 
Any chance this is going to see an update for the new update?
MM 11 May @ 3:22am 
it constantly crashes when I launc it with khans of the steppe anyone know why?
The Greatest Dr McJenkins 8 May @ 1:48pm 
I've noticed that when the population is well over 22,500 (like tens of thousands above), the ability to stop a death cycle via the decision doesn't work. Starting a cycle will have it kill a bunch of character until it decides to stop, usually after a couple IRL hours or in game months. This is very frustrating due to how much the death cycles slow the game down, so if I want to reduce the population while I run the game in the background, by the time I'm ready to actively play again the game is still slow due the death cycle. The stop population control essentially feels like it doesn't do anything.
CreamKaKao  [author] 3 May @ 3:15pm 
It's fixed now.
Dinoicy 3 May @ 10:36am 
@creamKakao
Your link doesn't work btw
CreamKaKao  [author] 2 May @ 8:15pm 
It's okay to use 1.14 on 1.15 version. However, you can also get 1.15 version from the following link and use it.
https://github.com/isony10/pc-git/releases
BamaToon 2 May @ 9:27am 
I rolled back to the previous version so I had to install an older version of this mod. The only one I could find was 1.14 for the 1.15 version of CK3. Is that the correct one? Because I got the warning popup when I went to load my save.
-=Illumifant=- 1 May @ 2:25pm 
Thanks!
诸葛 1 May @ 11:24am 
很棒的创意!
shay 1 May @ 8:25am 
Question: have you checked how it deals with steppe nomads? New DLC produces a lot of new characters on the fly all the time, like shepherds and migrants, so I wonder if your mod doesn't create any problems.
CreamKaKao  [author] 1 May @ 6:19am 
Updated for 1.16
-=Illumifant=- 1 May @ 3:17am 
Does this mod need to be updated for the latest DLC?
cmdedj 29 Apr @ 2:53pm 
@Bluepavels i think you should ask question by english
Bluepavels 28 Apr @ 3:16pm 
@CreamKaKao
2025년과 챕터4도 타노스 모드와 함께 합니다!
1.16(유목 DLC) 호환되나요??
나중에 가볍게 그 런쳐에서 노랗게 뜨는거 해결되게 호환패치 해주시면 감사하겠습니다 ㅎㅎ
CreamKaKao  [author] 21 Apr @ 6:35am 
@lovelyminu74 https://gtm.steamproxy.vip/workshop/filedetails/discussion/2276469612/4842022878890069796/ 이대로 해보세요

@Paul That is intentional and not an error.
Paul 20 Apr @ 5:50pm 
Seeing the following errors in error.log, using no other mods:

[01:47:53][E][jomini_script_system.cpp:284]: Script system error!
Error: has_trait trigger [ Cannot find dragon in trait database ]
Script location: file: common/on_action/PopulationControl_on_actions.txt line: 258 (Population_Control_death:trigger)

Error: has_trait trigger [ Cannot find dragonrider in trait database ]
Script location: file: common/on_action/PopulationControl_on_actions.txt line: 259

Error: has_trait trigger [ Cannot find dragonless_dragonrider in trait database ]
Script location: file: common/on_action/PopulationControl_on_actions.txt line: 260

Error: has_trait trigger [ Cannot find dragonwidowed in trait database ]
Script location: file: common/on_action/PopulationControl_on_actions.txt line: 261

Error: has_trait trigger [ Cannot find dragonslayer in trait database ]
Script location: file: common/on_action/PopulationControl_on_actions.txt line: 262
lovelyminu74 20 Apr @ 3:18am 
결단에 아무것도 안뜨는데요 ㅠㅠ 이것때문에 다른 모드도 다 지워보고 구독 삭제했다가 다시 구독도 해보고, 이 모드만 활성화해봐도 결단에 안뜨네요 ㅠ
근데 저장된 파일에 보면 빨간느낌표 표시 드면서 모드가 설치되어 있지 않다고 뜨는데요.
혹시 모드 설치된 경로를 따로 지정해줘야하나요?ㅠㅠ
부탁드려요 ㅠㅠ 엔딩 보고 싶은데 후반렉때문에 미치겠어요 ㅠㅠ
sagiluv1 11 Apr @ 3:19am 
@CreamKakao
Is there a specific place in the load order this mod should be? I am currently using the Elf destiny mod in conjunction with Character Body Overhaul and Carnalitas mods. The mod seems to struggle since I have only applied it as of yesterday. I was using the other population control mod, was not satisfied with the results. I decided to give this mod a try. So far, it seems to make the game runs even slower and I am guessing it is trying to do massive calculation.
CreamKaKao  [author] 24 Mar @ 7:16am 
I just tested it and the mod is working fine. And even if you lower the minimum population, the game will still generate characters so the population will not decrease below a certain level. Check the error.log.
G-man 23 Mar @ 2:47pm 
I don't think this mod works after the 1.15 update. I've tried to edit the "Steam\steamapps\workshop\content\1158310\2276469612\common\script_values\PopulationControl_basic_values.txt" text file but it doesn't really do anything. I've tried lowering min and max population to as low as 10000-12500 but it never goes lower than 20000. I've tried increasing "death_chance_base" but I can't see any difference. I've tried this multiple times and waiting for 3 years each time but I get the same result
Sweetpotato 23 Mar @ 1:28pm 
did nothing, dont understand
sejin0243 22 Mar @ 6:47pm 
아 인구통제시작이거인가요? 생각해보니; 한국분이 만드신건데 당연히 영어로 찾고있었네요..
sejin0243 22 Mar @ 6:36pm 
결단에 떠야하는거죠? 입문자인데 결단에 안떠요..
notHarvog 22 Mar @ 5:29pm 
Does this still work? I've set the limits at 12.5k/15k and increased the chance to 50 but no one is dying, just sitting at 25k worldwide.
CreamKaKao  [author] 21 Mar @ 9:17am 
Try increasing 'death_chance_base' to 50-100.
Mr Tibbs 21 Mar @ 2:01am 
Love it! But it only seems to kill 1k then stops.


I've got 32k people in the world (10k just my dynasty).

But the mod only goes to 29k before the pop starts quickly going back up to 32.

Any ideas?
Voleres 13 Mar @ 8:13am 
thank you, you're a saint :steamthumbsup:
CreamKaKao  [author] 13 Mar @ 6:50am 
Updated for 1.15
Rutars 13 Mar @ 2:56am 
I wrote about this way back but I'm putting it here again for visibility:

I've edited the files to exclude all highborn characters from being culled by adding a trigger that checks for a characters dynasties level of splendor. I've set it to be able to cull lowborn characters and those with the lowest level of splendor but not higher. To do this you need to edit two files:

I've added "Highborn_safe = 1" at the bottom of the "PopulationControl_basic_values.txt" file, right below "m_isimprisoned = 1".

Then I've added the following to right after the "AGOT Dragons safe" trigger in the "Population_Control_death" function in the "PopulationControl_on_actions.txt" file, just before
"trigger_else = { always = yes }"

trigger_if = { #Highborn safe
limit = { Highborn_safe = 1 }
OR = {
NOT = {
root.dynasty = {
dynasty_prestige_level > 1
}
is_lowborn = yes
}
}
}