Resizer 0.9

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]
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.
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:
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.
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.
Required items:
Click the title to search on this site.
Harmony 2.2.2-0 (Mod Dependency) — Steam Workshop