Cities: Skylines

Cities: Skylines

1,132 ratings
Auto Line Color
 
Rate  
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
0.043 MB
Apr 11, 2015 @ 10:20am
Sep 24, 2015 @ 2:42pm
13 Change Notes ( view )

Subscribe to download
Auto Line Color

Subscribed
Unsubscribe
Description
Automatically picks colors and names for bus, metro and train lines. Compatible with Extended Public Transport UI

After Dark Updates

Bug fixes and features have been pushed! Thanks to techfreek you can set the options in the regular Options dialog. There were some compatability problems that caused the game to crash, hang or just plain not work. Those seem to be ironed out with limited testing this afternoon. This release should definitely be considered beta.

Updated!

New color picking strategy and naming are now supported, plus customization of the color lists.

By default it will stick to the default line hues, but you can customize this. Settings are stored in the Cities Skylines root

After running the mod for the first time, the default settings will be placed here. Edit these and restart your game to use the new values.

AutoLineColorSettings.xml

<?xml version="1.0" encoding="utf-8"?> <Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ColorStrategy>RandomColor</ColorStrategy> <NamingStrategy>Districts</NamingStrategy> </Configuration>

Valid values for ColorStrategy are RandomColor, CategorisedColor and RandomHue. RandomColor will pick from all.txt, RandomHue will pick from the appropriate blue, orange and green text files.

Categorised Color Strategy

This strategy colorises using a deterministic sequence based on 18 base hues (3 variations on each of the primary and secondary colors). The next hue is chosen to be reasonably far away from the previous one.

Buses are pale. There are 3 levels of paleness, as I tend to have a lot of buses.
Metro are bright. There are 2 levels of brightness (full bright, and partly darkened).
Trains are dark.
Once the colors are exhausted the sequence repeats.

Valid values for NamingStragey are None, London or Districts. None will not set the names of the lines. London is a naming strategy inspired by transport naming schemes in London.

* Buses are named like: "9 Aldwych", "33 Elm Heights", "CH4 Local"
* Metro are named like: "Beech Line", "Elm & Oak Line", "Juliet Line"
* Trains are named like: "1X45 Westvalley", "2G42 Elm to Grove", "3J19 Sycamore Rail"

Source
Source is available at https://github.com/enkafan/CitiesSkylinesAutoColorMod . PR gladly accepted.

Contributors
rtbortolin for better algorithm for picking the random colors
Mark Thomas for London naming and categorized colors
Popular Discussions View All (2)
4
Mar 23, 2015 @ 11:34am
Need more variety
SHOT(by)GUN
1
Feb 24, 2016 @ 2:08am
Panel missing error
golddragon007
< >
159 Comments
Chris[BRA] Nov 25, 2017 @ 8:27pm 
doesn't work update 1.9 green cities
Scan^^ Oct 29, 2017 @ 12:17pm 
pls update
1210060701 Oct 15, 2017 @ 3:07am 
good
Ale Haim Oct 11, 2017 @ 7:13am 
It does nothing. Dont bother
krishatesworld Oct 8, 2017 @ 4:53pm 
I'm not sure my issue is part of this mod, or if it's a conflict, but I've noticed my line colors for busses are suddenly translucent to the point of being hard to distinguish among colors. Is this supposed to be a feature? Because I hate this. Anyone else having this problem?
Magic Man Oct 8, 2017 @ 2:15am 
Leaves me with a never ending load screen.
Wei Oct 4, 2017 @ 9:10pm 
让复杂的线路的变得条理清晰,非常舒服
penguin34 Sep 18, 2017 @ 8:39pm 
This works with MT.
cosmichitchiker Sep 9, 2017 @ 3:46am 
Does not work with Mass Transit, please update I loved this mod!
sonicdemon86 Jun 4, 2017 @ 10:25pm 
Mod gives error with MT update. I can't create lines without it giving an error that says nothing, it is a blank error.