Cities: Skylines

Cities: Skylines

AutoLineColor Redux
 Acest topic a fost fixat, deci probabil este important
TaradinoC  [dezvoltator] 13 iul. 2018 la 4:16
Ideas for more name/color themes?
Here's what AutoLineColor Redux has so far:

Colors

  • CategorisedColor
  • RandomColor
  • RandomHue

Names

  • None
  • Districts
  • London
  • Roads

And what's planned:

  • Names matching the colors ("Red Line", "Yellow Line"...)

What else would you like to see?
< >
Se afișează 1-15 din 21 comentarii
I'd love to see something simular to what I manualy do, which is a 3 digit number where the first number is related to the district / hub it comes out of and the second and third number are just counting (eg 401, 402, and 403 all run in the same area).
Otherwise love the mod so much, thanks for making it!
i would like to see an option to set the color by rgb or hex
ZuluPower 11 sept. 2018 la 17:20 
Hello TaradinoC, first of all a big Thank You for your work!

If possible I would find very useful to have a plain and simple naming option with the generic name of the vehicle followed by "line" and incremental numbers with two of three digits, as in the following examples : "Train line 01" to 99 ; "Tram line 01" to 99 ; "Bus line 001" to 999.
It would be awesome if there was an option to rename stations/stops automatically.
TaradinoC  [dezvoltator] 8 dec. 2018 la 6:29 
Postat inițial de Eyalonsky:
i would like to see an option to set the color by rgb or hex
Hmm, you mean for changing lines one at a time?

If you want to change the colors used by the automatic themes, you can edit the .txt files that the mod creates in Steam\steamapps\common\Cities_Skylines.
m37_m37 29 dec. 2018 la 23:51 
Theme: Stations. Since stations have names now, choose the two stations most distant from each other - in cartesian distance, not in distance travelled. Thus, the X-Y Line. Where a line is set up to double back on itself (where most stations are served in both directions) it will find the endpoints or in rare conditions the almost-endpoints, which happens in real life too when lines are extended but it's still called by the old terminals. Where you have a real loop (no stations served both ways) it will pick the "longest diameter" pair, which is ok too.

Where the player has given a station a custom name, it will be used automatically (if it's a "naming station" based on distance)
Editat ultima dată de m37_m37; 29 dec. 2018 la 23:53
TaradinoC  [dezvoltator] 3 ian. 2019 la 5:24 
Postat inițial de m37_m37:
Since stations have names now, choose the two stations most distant from each other - in cartesian distance, not in distance travelled.

Yes! This is another one I've thought about. I actually wrote a bunch of code to find the endpoints, but I still need to port it to Unity.

I went with a different distance metric, though: the stations are joined together to form a polygon, and then I measure the shortest path between two stations that stays inside the polygon. I think it gives better results for lines that curve back on themselves, like some of these examples[imgur.com].
I'd like for a colour theme version using your endpoint distance idea. For example, having short / local routes as random hues of say green, medium length (such as neighbouring districts) as hues of blue, and long (city-wide) routes in hues of red. Ideally, there would be a config for setting the colour thresholds, so that as the city expands the config can be adjusted for larger distances and then just hitting refresh on the lines. Just a thought I had from reading the last suggestion.
Rena 4 apr. 2019 la 18:33 
Name the lines by landmarks they pass by, especially if (at the time) no other line passes them. Eg "Nuclear Plant Line" for one going by the power plant, or "Bridge Line" for one that crosses a river.

Very long lines with few stops could have "Express" added to the name as a heuristic. (You can always rename it if that's not what you wanted.)

For colors, look for colors in the street and building names. eg a line that runs down Red St would likely be colored red.
Please have a look at the Wes Anderson color palettes. They are alike enough to be pleasing on the eye and different enough so it's easy to tell them apart.

Two examples: https://wesandersonpalettes.tumblr.com/ and https://epijim.uk/code-snippets/wes-anderson/
TaradinoC  [dezvoltator] 7 nov. 2019 la 6:01 
Postat inițial de Rena:
Name the lines by landmarks they pass by, especially if (at the time) no other line passes them. Eg "Nuclear Plant Line" for one going by the power plant, or "Bridge Line" for one that crosses a river.

Love it.

Postat inițial de Rena:
Very long lines with few stops could have "Express" added to the name as a heuristic.

FWIW, this is done for some specific cases already:

Districts scheme: bus/metro lines with 2 districts and <= 4 stops become "#123 ThisDistrict / ThatDistrict Express"

London scheme: all lines with <= 4 stops have "Express" added at the end

Postat inițial de Rena:
For colors, look for colors in the street and building names. eg a line that runs down Red St would likely be colored red.

Love this too!
I'd like to see customizable prefixes/suffixes on the numbering different types of lines (e.g., "1" for tram routes, "1A" for bus routes, "M1" or "U1" for metro lines, and so on). These numbering schemes could be decoupled from line naming themes.
Template Codes for names.
codewitch 17 febr. 2021 la 23:24 
Postat inițial de TaradinoC:
Postat inițial de m37_m37:
Since stations have names now, choose the two stations most distant from each other - in cartesian distance, not in distance travelled.

Yes! This is another one I've thought about. I actually wrote a bunch of code to find the endpoints, but I still need to port it to Unity.

I went with a different distance metric, though: the stations are joined together to form a polygon, and then I measure the shortest path between two stations that stays inside the polygon. I think it gives better results for lines that curve back on themselves, like some of these examples[imgur.com].

Perhaps integrating with "addresses and names mod" in some fashion here?

Postat inițial de asterisk11231:
Template Codes for names.
Particularly

Postat inițial de TaradinoC:
Here's what AutoLineColor Redux has so far:
  • CategorisedColor
  • RandomColor
  • RandomHue
[...]

I'm not really sure why I'd use RandomHue..., but I support:
1) color-based names (based on a swatches list, I can provide if you'd like)
2) "random category color" - maybe it's already doing it and I didn't see enough lines to get it working but when I tried category color it just seemed to be the defaults. It probably should say in parenthesis or "no change - vanilla behavior"
TaradinoC  [dezvoltator] 20 febr. 2021 la 21:02 
Postat inițial de asterisk11231:
I'm not really sure why I'd use RandomHue...

The name is a bit misleading, I think. (It must have seemed like a good idea at the time...)

For RandomHue, buses are always blue, metros are always green, trains are always orange, but there's a list of possible colors for each (blues.txt, etc.) and it'll pick one randomly from that list.

Postat inițial de asterisk11231:
2) "random category color" - maybe it's already doing it and I didn't see enough lines to get it working but when I tried category color it just seemed to be the defaults. It probably should say in parenthesis or "no change - vanilla behavior"

For "CategorisedColor", what's supposed to happen is that buses are always picked from a list of pale colors, metros from a list of bright colors, and everything else from a list of dark colors. And instead of picking randomly, it basically cycles through the list.

What's it doing for you instead? The same color for all lines?
< >
Se afișează 1-15 din 21 comentarii
Per pagină: 1530 50