Crusader Kings III

Crusader Kings III

Population Control (Reduce late-game lag)
588 kommentarer
Sola Fide 9. juli kl. 13:45 
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  [ophavsmand] 5. juli kl. 10:58 
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. juli kl. 8:06 
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. juni kl. 1:03 
It works... Doesn't crash my game at all
Fizzet 21. maj kl. 4:02 
i have also experienced large amounts of crashing
Butyr 21. maj kl. 2:22 
crashes the game
Is this what I think it is? Genocide Mod?
Garlic 14. maj kl. 6:25 
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. maj kl. 4:39 
Any chance this is going to see an update for the new update?
MM 11. maj kl. 3:22 
it constantly crashes when I launc it with khans of the steppe anyone know why?
The Greatest Dr McJenkins 8. maj kl. 13:48 
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  [ophavsmand] 3. maj kl. 15:15 
It's fixed now.
Dinoicy 3. maj kl. 10:36 
@creamKakao
Your link doesn't work btw
CreamKaKao  [ophavsmand] 2. maj kl. 20:15 
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. maj kl. 9:27 
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. maj kl. 14:25 
Thanks!
诸葛 1. maj kl. 11:24 
很棒的创意!
shay 1. maj kl. 8:25 
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  [ophavsmand] 1. maj kl. 6:19 
Updated for 1.16
-=Illumifant=- 1. maj kl. 3:17 
Does this mod need to be updated for the latest DLC?
cmdedj 29. apr. kl. 14:53 
@Bluepavels i think you should ask question by english
Bluepavels 28. apr. kl. 15:16 
@CreamKaKao
2025년과 챕터4도 타노스 모드와 함께 합니다!
1.16(유목 DLC) 호환되나요??
나중에 가볍게 그 런쳐에서 노랗게 뜨는거 해결되게 호환패치 해주시면 감사하겠습니다 ㅎㅎ
CreamKaKao  [ophavsmand] 21. apr. kl. 6:35 
@lovelyminu74 https://cs2bus.com/workshop/filedetails/discussion/2276469612/4842022878890069796/ 이대로 해보세요

@Paul That is intentional and not an error.
Paul 20. apr. kl. 17:50 
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. kl. 3:18 
결단에 아무것도 안뜨는데요 ㅠㅠ 이것때문에 다른 모드도 다 지워보고 구독 삭제했다가 다시 구독도 해보고, 이 모드만 활성화해봐도 결단에 안뜨네요 ㅠ
근데 저장된 파일에 보면 빨간느낌표 표시 드면서 모드가 설치되어 있지 않다고 뜨는데요.
혹시 모드 설치된 경로를 따로 지정해줘야하나요?ㅠㅠ
부탁드려요 ㅠㅠ 엔딩 보고 싶은데 후반렉때문에 미치겠어요 ㅠㅠ
sagiluv1 11. apr. kl. 3:19 
@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  [ophavsmand] 24. mar. kl. 7:16 
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. kl. 14:47 
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
Yotasss✙ 23. mar. kl. 13:28 
did nothing, dont understand
sejin0243 22. mar. kl. 18:47 
아 인구통제시작이거인가요? 생각해보니; 한국분이 만드신건데 당연히 영어로 찾고있었네요..
sejin0243 22. mar. kl. 18:36 
결단에 떠야하는거죠? 입문자인데 결단에 안떠요..
notHarvog 22. mar. kl. 17:29 
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  [ophavsmand] 21. mar. kl. 9:17 
Try increasing 'death_chance_base' to 50-100.
Mr Tibbs 21. mar. kl. 2:01 
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. kl. 8:13 
thank you, you're a saint :steamthumbsup:
CreamKaKao  [ophavsmand] 13. mar. kl. 6:50 
Updated for 1.15
Rutars 13. mar. kl. 2:56 
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
}
}
}
Voleres 12. mar. kl. 14:10 
Any info if the mod will/would work in the released 1.15 version? :)
Silentreflection 11. mar. kl. 22:28 
Does this work with total overhaul mods (e.g. Elder Kings)?
yeegoreng 11. mar. kl. 12:19 
anyone using this on steam deck? trying to find the sweet spot for the number of min-max population
CreamKaKao  [ophavsmand] 28. feb. kl. 2:30 
Lag may be worse for the first few minutes.
Xueyou 27. feb. kl. 7:58 
For some reason my game starts to lag even more once i take the decision. Why could that be?
Chezire 20. feb. kl. 5:44 
does this work with elder kings?
donut 6. feb. kl. 2:24 
Also this mod breaks a save if it's removed. Tons of illegal marriages suddendly crop up.
donut 6. feb. kl. 2:14 
So i guess this mod is supposed to be run once and then removed? While it's running it has removed fps lag entirely, however now each day takes 20-25 seconds to process.
Theo 5. feb. kl. 11:25 
Does this mod work with The Fallen Eagle?
kapsellola 4. feb. kl. 3:41 
Hello, creator of this mod. Would you add compatibility for PoD?
PahlavanPikeachu 2. feb. kl. 1:52 
Is there any way to spare an NPC with inheritable traits, other than Pure-Blooded? I don’t seem to see any settings for it in the txt.
almiju 23. jan. kl. 18:49 
Running with AGOT (and some others) and I think it's targeting dragons for me, two times within a decade three dragons "vanished without a trace" each time. The dragon pop was still ten under the limit so I pinned all the dragons and none have vanished since on that save or my new one. Are there any known load order issues or mod conflicts that would cause it to target dragons anyway?
Marco Serra 23. jan. kl. 12:37 
Tried to change the .txt archive to allow even lower population alive (default 20.000~22.500, tried to change to 10.000~12.500), but isn't applying the effect ingame (still locking in the default values). Any suggestions?