Cities: Skylines

Cities: Skylines

Not enough ratings
Resizer 0.9
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
31.947 KB
Sep 27, 2022 @ 6:09pm
Jul 4, 2023 @ 10:05pm
3 Change Notes ( view )

Subscribe to download
Resizer 0.9

In 1 collection by infixo
Infixo's mods
5 items
Description

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 Comments
infixo  [author] Jan 7, 2024 @ 7:15am 
@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 Jan 6, 2024 @ 8:43pm 
My apologies for my ignorance, but how do I launch this mod in game?
infixo  [author] Jun 30, 2023 @ 2:50pm 
@alexhef It is working good. What problems do you have?
alexhef Mar 31, 2023 @ 12:50am 
The mod need update ? Because that's not working with me
Chamëleon TBN Nov 21, 2022 @ 7:11am 
@majin_kratos - it just changes at game load the size of the assets he/you have defined in the config file.
majin_kratos Oct 1, 2022 @ 4:36pm 
I did not understand if it can also change in the game as po or only in the system files
infixo  [author] Sep 30, 2022 @ 6:04pm 
@cyberdemon Thank you :)
Cyberdemon Sep 30, 2022 @ 5:59pm 
Another smart mod from you! Thumbs up again :steamthumbsup:
infixo  [author] Sep 28, 2022 @ 8:26pm 
@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 Sep 28, 2022 @ 7:42pm 
What are the differences with the procedural object?