Cities: Skylines

Cities: Skylines

531 ratings
District Styles Plus
3
5
3
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
339.747 KB
22 Aug, 2022 @ 1:57pm
24 Jan, 2023 @ 4:44pm
9 Change Notes ( view )

Subscribe to download
District Styles Plus

Description
BE AWARE - THIS IS STILL quite ALPHA version

Note: As you can see there is no progress with new features I thought I would add to this mod - simply, because I don't have any time to do that. Therefore I am looking for somebody who would like to take over. If interested, just be-friend/message me here on Steam. Anyway - I will at least try to keep this mod updated for any upcoming game update.




Description
Heavily inspired by Building Themes by Boformer (well, GUI is basically dissected from his mod). All the credit is going to Boformer as he came up with the main idea of Building Themes mod.

Many modders will probably find snippets of their code in source of DSP - so I would like to thank them for a great inspiration and I hope they don't mind :)

You can check code at GitHub and write your notes, founded bugs, ideas there too. But be aware - code is super unpolished (aka messy as hell).
GitHub[github.com]

Simple guide how to use this mod can be found here

HOW TO Import Building Themes
It is possible to import Building Themes now (though implementation is rather crude). It can be done by following guide here

Current Features
  • added DSE (District Style Editor) panel which can be open by "DSE" button
  • it is possible to create or delete district styles - this will create/delete the style package file. So far tested only with local styles.
  • it is possible to add vanilla buildings to style but to load these styles properly, this mod is needed (they won't work without this mod)
  • it is possible to filter buildings in DSE
  • it is possible to set if DSP (District Styles Plus) should restrict building variations based on zone type only or zone type and level (vanilla behaviour)
  • it is possible to set styles for whole city so it will behave like a default style for un-districted parts of
  • all the zoning stuff is vanilla (the way how buildings are chosen for given zoning block etc.)
  • it is possible to pick multiple styles for a district

IMPORTANT NOTES
Mod is working fine but it still need quite some polishing - hence still in "alpha". Here is a list of known shortcomings...
  • when using District Style Editor, it can sometimes freeze for a few seconds (especially when creating/editing style first time after game load). Just wait it out :) It is nothing game breaking but I want to investigate why it's happening.
  • I recommend to pause game when you working with styles in the Editor because all the changes have effect immediately! (I am planning to improve Editor to be more user friendly in this part)
  • If you are using Ploppable RICO Revisited mod, you can use its option "Prevent styles from deleting building" to prevent district styles functionality from deleting unfitting buildings automatically. Then they will change appearance according style only on level change.
  • If you are using Find It 2, newly created styles will be available in its filter only after next game load. That is because Find It mod does not count with possibility that new style can be created during a running game.
  • If you are using Loading Order Mod and its profiling functionality, do remember to save profile in LOM app when you create a new style in the game! Otherwise that style won't be included in load order if you re-load profile in LOM app. (It is same like when new mod or asset is subscribed)
  • If you run to some issue, please provide an output.log file! And if you reproduce issue with a debug logging enabled, you are my hero! ...
  • ... but do not have debug logging enabled all the time - it writes out quite a lot of data to log
  • It is not compatible with Building Themes mod which - I suppose - is pretty clear :)

ZONING AND BUILDING SPAWNING (simplified)
I see a lot of questions and comments that buildings are not spawning on zoned lots so I've decided to put together a (simplified) description how spawning works in vanilla game in few points.
  • First and most important - this mod does not change any zoning and spawning logic of game. This mod is only about district styles and their in-game configuration
  • There are some specific rules for corner buildings but basically, game tries to spawn a biggest building as possible. Game is processing zoned blocks for each 8u width (I think).
  • if there is a free zoned lot of width from 6u to 8u, game will try to spawn 4u wide building or 2u wide building AND NOTHING ELSE.
  • if there is a free zoned lot of width 5u, game will try to spawn 3u wide building or 2u wide building AND NOTHING ELSE.
  • if there is a free zoned lot of width 4u, game will try to spawn 4u wide building or 2u wide building AND NOTHING ELSE.
  • if there is a free zoned lot of width 3u, game will try to spawn 3u wide building or 2u wide building AND NOTHING ELSE.
  • if there is a free zoned lot of width 2u, game will try to spawn 2u wide building AND NOTHING ELSE.
  • and finally - ONLY when free zoned lot is of width 1u, game will try to spawn 1u wide building.
  • also - building CANNOT change its width on level up.
It is important to these spawn rules when working with styles, which are "incomplete" (does not contain buildings of all sizes and levels). Also remember that some corner buildings won't grow anywhere else than corner lots only.

Other notes
I haven't tested it properly with styles downloaded from steam - only few basic cases. But it is something I want to focus in next step of development.

It can be added / removed any time. When removed, styles which contains a vanilla buildings (including CCP) won't load. Also districts will be set to use a "default" style.

Some information about picked styles for districts is saved into save game but if mod is removed, it will be just ignored.
Popular Discussions View All (7)
9
29 Jun @ 7:58am
PINNED: Simple guide how to import Building Themes configuration
meda22
5
22 Feb, 2023 @ 10:14pm
Can anyone explain how is it different from OOTB District Themes?
_APA [~sudo]
2
1 Feb, 2023 @ 1:33pm
How to change name of Style or reset from imported Building Themes xml
Syd Bat
454 Comments
jk2l 8 Aug, 2023 @ 6:24am 
@bhoughton818 atm there is a bug that it don't clear district style. that maybe the reason
bhoughton818 8 Aug, 2023 @ 5:39am 
i have 1 district that automatically turns on the Brooklyn theme then starts deleting every building that isn't in that theme iv never selected that theme for that district iv deleted the district and re-drawn it but every time i load my save its selected
luisgreg 15 Jul, 2023 @ 6:43am 
I created a district style with only residential, commercial and office custom assets but when I do office zoning nothing grows. can anyone tell me why this is happening?
jk2l 4 Jun, 2023 @ 12:43am 
@richardhughes65 the district style name issue have been fixed under my mod https://steamproxy.net/sharedfiles/filedetails/?id=2982163898

as the mod description mention, meda22 no longer continue working on this mod
richardhughes65 3 Jun, 2023 @ 7:06pm 
Great mod, however for me, all the built-in District Styles only come up as code/serial numbers, so I can't tell which ones they are. The user-designed District Styles's names appear correctly. Is there any way to fix this, please?
jk2l 28 May, 2023 @ 11:34pm 
To who may want to use my fix. i need to reupload it into new workshop id https://steamproxy.net/sharedfiles/filedetails/?id=2982163898
Marquillotuca89 28 May, 2023 @ 10:29am 
Awwesome, thank you really much!
jk2l 28 May, 2023 @ 9:33am 
@Marquillotuca89

I done some patching to fix district name loading https://steamproxy.net/sharedfiles/filedetails/?id=2981865112 however as I mentioned previously I have done modding for Cities Skylines also I never used C# until yesterday. So this will be like experimental patch and probably use at your own risk for now

https://github.com/jk2l/DistrictStylesPlusFix/tree/develop
Marquillotuca89 27 May, 2023 @ 9:59am 
@jk2l It would be really appreciated. We already received the last update for the game, I think the only thing that needs to be solved are some bugs, but that's about it.
jk2l 27 May, 2023 @ 6:12am 
lol oh right. i never done coding for Cities Skylines but i am a programmer myself. so i will see can i give a try. hope it is not too hard to adapt