最新消息

欢迎你!

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

现在就注册!
更合理的仓储需求 Scaled Storage Demand

功能性 更合理的仓储需求 Scaled Storage Demand 1.0.0

版权类型
原创
版权链接
#
支持版本
1.0.14f1,1.0.15f1,1.0.18f1
加载器
  1. BepInEx5 或 6

更合理的仓储需求 ScaledStorageDemand​

功能​

  • 原始游戏中,工业区生成仓储设施的概率由仓储需求决定,而仓储需求会随着相应资源吞吐量的增长而线性增长。当玩家城市颇具规模时,资源吞吐量将会达到几千上万的水平,此时再建造工业区几乎只会生成仓储设施,影响游戏体验。
  • 本mod修改工业区划建筑生成机制中仓储需求相关算法,工业区生成仓储设施的概率将根据仓储需求的对数决定。
  • 转换公式为仓储需求 = log2(仓储需求抑制系数 * 仓储需求+ 1) / 仓储需求抑制系数
    • 仓储需求抑制系数可自定义,该系数越大,工业区生成仓储设施的概率越低。

效果​

  • 测试环境:资源/产品吞吐量平均上千的城市,在距离外部连接非常近的区域划出10片6*6工业区。
  • 未启用mod时,10块区域里长出了8个仓库。
  • 启用mod且仓储需求抑制系数设置为1时,10块区域里长出了4个仓库。
  • 启用mod且仓储需求抑制系数设置为10时,10块区域里长出了1个仓库。
  • 启用mod且仓储需求抑制系数设置为100时,10块区域里长出了0个仓库。

安装

  • 适配BepInEx5的版本:ScaledStorageDemand_b5.dll。
  • 适配BepInEx6的版本:ScaledStorageDemand_b6.dll。
  • 选择适配你的BepInEx版本的文件放在...\Cities Skylines II\BepInEx\plugins\中。

在配置文件中自定义仓储需求抑制系数​

  • 加载本mod后启动一次游戏,然后立即关闭(为了生成配置文件)。
  • 打开配置文(位于..\Cities Skylines II\BepInEx\config\ScaledStorageDemand.cfg),按照该配置文件中的指示编辑并保存。
  • 加载本mod再次启动游戏即可。

声明​

  • 该mod的英文名称为 ScaledStorageDemand
  • 本mod未经完整、长时间的测试,使用者需自行承担风险

Mod Description​

Function​

  • In CS2, the likelihood of spawning a storage company in the industrial zone is determined by the city's overall storage demand, which is linear to the throughput of all resources and visible products. As the city's industry thrives, throughput of individual resources (or visible products) can easily reach thousands if not tens of thousands. In this case, newly-built industrial zones would always be completely occupied by storage companies, which is ridiculous in terms of both city simulation and gameplaying.
  • This mod modifies how storage demand affects the spawning probabilities of storage companies by performing a log transformation on the storage demand before it affects game simulation.
  • The transformation is mathmatically formalized as:
    • StorageDemand = log2(StorageDemandFactor * StorageDemand + 1) / StorageDemandFactor.
    • StorageDemandFactor is configurable. The larger this factor is, the more unlikely storage companies appear in industrial zones.

Effect​

  • Test environment: a city with an average resource/visible product throughput of thousands, with 10 newly-planned 6*6 industrial regions very close to outside connections.
  • Without this mod, 8 out of 10 regions are occupied by storage companies.
  • With the mod enabled and StorageDemandFactor set to 1, 4 out of 10 are storage companies.
  • With the mod enabled and StorageDemandFactor set to 10, 1 out of 10 are storage companies.
  • With the mod enabled and StorageDemandFactor set to 100, 0 out of 10 are storage companies.

Installation​

  • Mod file for BepInEx 5: ScaledStorageDemand_b5.dll.
  • Mod file for BepInEx 6: ScaledStorageDemand_b6.dll.
  • Choose one of them and put it into ...\Cities Skylines II\BepInEx\plugins\.

Configuring the StorageDemandFactor​

  • Launch the game with this mod loaded, and close the game (to generate the configuration file).
  • Open the configuration file (..\Cities Skylines II\BepInEx\config\ScaledStorageDemand.cfg) and modify StorageDemandFactor to the desired value.
  • Now launch the game again with this mod loaded and enjoy it!

Disclaimer​

  • This mod has not been fully tested yet. Please use at your own risk.
  • This mod does not affect game balance. It is just a quality-of-life improvement.
作者
Jimmyok
下载
1,930
查看
6,347
首次发布
最后更新
评分
5.00 星 2 个评分

Jimmyok 的其他资源

最新评价

默认设置,打开存档一切正常,但开一个新地图后,一直到7万人口,基本长不出工业区,不知为何
Jimmyok
Jimmyok
工业区地价太高了
不知道是我设置错误还是什么原因,感觉游戏里没MOD不齐作用
Jimmyok
Jimmyok
描述一下你的设置和实际效果
顶部