Cities: Skylines

Cities: Skylines

评价数不足
Resizer 0.9
   
奖励
收藏
已收藏
取消收藏
Mod
文件大小
发表于
更新日期
31.947 KB
2022 年 9 月 27 日 上午 11:09
2023 年 7 月 4 日 下午 3:05
3 项改动说明 ( 查看 )

订阅以下载
Resizer 0.9

在 infixo 的 1 个合集中
Infixo's mods
5 件物品
描述

Description
This mod changes the size of selected building prefabs. It allows to adjust buildings to your liking if you find them too big or too small. For example - the Campus DLC buildings are somewhat "bulky" or Modern Japan CCP offices are really too big imho. With this mod you can adjust them as you please - see the screenshots.

Important note. The mod reads the settings from the user directory - you need to manually place the ResizerSettings.xml file into it. The mod contains a sample version that resizes several buildings from Modern Japan CCP and Campus DLC, making them smaller by approx. 10%.

Source code at GitHub[github.com]

How it works
1. The settings are loaded when the mod gets Enabled.
2. The actual resizing takes place when the game starts or is loaded. Please note that the changes are only applied in-memory, no game files are affected. When the mod is off, the buildings will look as usual.
3. The props attached to a building are also shifted to new positions. You can choose to shift all props or only a subset that usually is "glued" to a bulding (i.e. lights, doors, roof elements, etc.)
4. Since the prefabs reside in the memory between reloads, the mod ensures that each prefab is resized only once.

Settings
1. Section "DefaultProps". A list of props that will be shifted. A prop is shifted if part of its name is found on the list.
2. Section "PrefabsToResize". Specify:
- name - letter casing doesn't matter, but names must fully match
- x, y, z - scale for each respective axis; please note that in CSL width is X, height is Y and depth is Z; these are float numbers with dot as decimal point
- props="all" - adding this will shift all props attached to a prefab
3. If there is an issue with .xml file, the mod will not resize any prefab. You can check in output_log.txt if the file was loaded correctly. There will be something like this:
Infixo.Resizer methods patched OK Infixo.Resizer ...method InitializePrefab Resizer settings: === default props === door marker|billboard|wall|logo|roof|flood light|ac box|rotating ac|light pole|solar panel|antenna|neon|organic shop 3d sign|air source heat pump|ventilation pipe|invisible helipad marker|radio mast|maru_light Resizer settings: === prefabs === Prefab: Liberal Arts Dormitory 01 Scale: (0.95, 0.85, 1.00) Props: all Prefab: Liberal Arts Laboratories 01 Scale: (0.95, 0.90, 0.95) Props: all

Compatibility
The mod adds a postfix to BuildingInfo.InitializePrefab(), so it should be compatible with everything.
No info is written into a save file. The mod can be turned on and off at any time.

Limitations
1. Sub-buildings are not supported.
2. Only props are shifted. Paths are not shifted.
3. There is some calculated data in each prefab (generatedInfo) that stays the same. I don't want to mess with it unless it will be absolutely necessary.
15 条留言
infixo  [作者] 2024 年 1 月 7 日 上午 12:15 
@stefmikhail Subscribe from Steam and enable in-game, just like any other mod. The mod works in the background, when you load a savefile. You can check the logfile, it should have entries like "Resizer: resizing prefab XXX by YYY".
stefmikhail 2024 年 1 月 6 日 下午 1:43 
My apologies for my ignorance, but how do I launch this mod in game?
infixo  [作者] 2023 年 6 月 30 日 上午 7:50 
@alexhef It is working good. What problems do you have?
alexhef 2023 年 3 月 30 日 下午 5:50 
The mod need update ? Because that's not working with me
Chamëleon TBN 2022 年 11 月 21 日 上午 12:11 
@majin_kratos - it just changes at game load the size of the assets he/you have defined in the config file.
majin_kratos 2022 年 10 月 1 日 上午 9:36 
I did not understand if it can also change in the game as po or only in the system files
infixo  [作者] 2022 年 9 月 30 日 上午 11:04 
@cyberdemon Thank you :)
Cyberdemon 2022 年 9 月 30 日 上午 10:59 
Another smart mod from you! Thumbs up again :steamthumbsup:
infixo  [作者] 2022 年 9 月 28 日 下午 1:26 
@majin_kratos I don't think they are comparable at all :) PO allows for virtually unlimited changes but you need to do it manually and in-game. It's like an 3D editor in-game. My mod is intended to "fix" the sizing without any manual work and without changing the asset or game files. It is transparent.
majin_kratos 2022 年 9 月 28 日 下午 12:42 
What are the differences with the procedural object?