最新消息

欢迎你!

在这里获取丰富的资源,并与社区其他成员分享你的游戏体验!

现在就注册!
资源图标

bug修复 人口过剩小控件及修复 Overpopulated Gizmo and Fix 1.2.0

版权类型
转载
原作者
Infixo
支持版本
1.1.2f1
加载器
  1. 官方模组
This mod is deeply technical. Please read carefully what it does before enabling it.

Patches game systems to prevent buildings becoming overpopulated when loading. Adds a gizmo showing buildings that have more households than their capacity.

Features​

  • Overpopulated gizmo. Adds a gizmo showing buildings that have more households than their capacity. The Gizmo can be enabled in the Developer Tools -> Gizmos -> Overpopulated. (v1.2) The gizmo shows also free properties as green bars.
  • Dump to log. The mods also lists all buildings to a log file when the savefile is loaded.
  • Loading fix. When the savefile is loaded, the game does not check the building capacity when attaching households and companies to it. This leads to the overpopulation. This fix adds such a check and prevents the issue. The mod registers in the log all cases when it prevented the overpopulation.
  • Renter fix. The household and citizen removal process does not detach the property renter from the property and this is the root cause of the overpopulation issue. It is a rare case that is more visible in bigger cities and in cities with more deaths as they trigger more removal events. The mod patches this process. The patch can be applied in two versions - to the merged process (as it is now) or to separated processes (as it was before patch 1.0.13).

Backgroud: homeless cims​

I developed this mod to deal with the increasing number of homeless cims. I noticed that some of my savefiles have buildings that house more families than their capacity. Those families are evicted pretty quickly after the game loads, however they do not find a new property. They are somehow stuck because, even after you save the game again and again, they are still in that very same building.

This issue is very hard to notice because the game evicts them very quickly when running. I recommend using start game paused option and toggling the gizmo while the game is still paused. The mod also logs such cases just after the game is loaded. You can then check in the log file if this problem exists in your city at all.

Disclaimers​

  1. With the two fixes that the mod does, the homeless issue should be solved. Please note however, that there still might be rare cases when singular buildings would become problematic.
  2. In big cities, with lots of overpopulated buildings, you will get a lot of actual homeless when you load the savefile for the first time with the mod active. It will take some time for them to either find them a property or leave the city.

Technical​

  • The mod does not modify savefiles.
  • Modified systems: RenterSystem, HouseholdAndCitizenRemoveSystem.
机翻:
这个模组技术含量很高。启用前请仔细阅读它的作用。
修补游戏系统,以防止建筑物在加载时人口过多。添加一个小控件,显示家庭数量超过其容量的建筑。
特征
小控件过多。添加一个小控件,显示家庭数量超过其容量的建筑。Gizmo可以在“开发者模式”->“Gizmo”->“Overpopulated”中启用。(v1.2)gizmo还将自由特性显示为绿色条。
转储到日志。加载保存文件时,mods还会将所有建筑列在日志文件中。
正在加载修复程序。当加载保存文件时,游戏在连接家庭和公司时不会检查建筑容量。这导致了人口过剩。此修复程序添加了这样的检查并防止了此问题。当mod防止人口过多时,它会在日志中注册所有情况。
租房者解决方案。家庭和公民迁移过程并没有将租房者与房产分离,这是人口过剩问题的根本原因。这是一种罕见的情况,在大城市和死亡人数较多的城市更为明显,因为它们引发了更多的搬迁事件。国防部修补了这个过程。该补丁可以应用于两个版本——合并的进程(现在是这样)或分离的进程(在补丁1.0.13之前是这样)。
背景:无家可归者cims
我开发这个模块是为了应对日益增多的无家可归者cims。我注意到,我的一些保存文件中的建筑容纳的家庭数量超过了它们的容量。这些家庭在游戏加载后很快就会被驱逐,但他们没有找到新的房产。他们不知何故被卡住了,因为即使你一次又一次地拯救了游戏,他们仍然在同一栋楼里。
这个问题很难注意到,因为游戏在运行时会很快驱逐它们。我建议使用开始游戏暂停选项,并在游戏仍然暂停时切换gizmo。mod也会在游戏加载后立即记录此类情况。然后,如果您所在的城市存在此问题,您可以在日志文件中进行检查。
免责声明
通过mod所做的两个修复,无家可归者的问题应该得到解决。然而,请注意,在极少数情况下,单个建筑可能会出现问题。
在大城市,有很多人口过多的建筑,当你第一次在mod激活的情况下加载保存文件时,你会遇到很多真正的无家可归者。他们要么找房子,要么离开这座城市,还需要一段时间。
技术的
mod不会修改保存文件。
修改后的系统:RenterSystem, HouseholdAndCitizenRemoveSystem

经我个人实测,该MOD完美解决后期城市中大量无家可归人口的问题,在官方修补该BUG前,推荐作为必备MOD。
作者
zhaominzhang
下载
159
查看
556
首次发布
最后更新
评分
0.00 星 0 个评分

zhaominzhang 的其他资源

顶部