Cities: Skylines

Cities: Skylines

Holstebro double-track Passenger Trainstation After Dark Update
Orchid  [developer] 18 May, 2015 @ 8:07pm
Transport Stations: Guide to Connector Paths
Notice
Please redirect yourself to this page for discussion and more up-to-date information:
https://steamhost.cn/steamcommunity_com/workshop/filedetails/discussion/442957897/613958868352039116/
The following article might contain out-of-date info.


Introduction
First of all, transport stations use hidden paths to define how Cims can move in them.
For example, the passenger train station uses them to create a connection between the sidewalks and the platforms, otherwise the platforms are inaccessible to your cims.

These paths are by default inherited from the template that your asset uses. The tracks, the platforms, and the connection paths are ready-made, so you just need to follow the specifications to make your custom model and it will always work.

But this restricts our creativity. Why can't we move the tracks, platforms, and connection paths around to fit our styles? In fact we can, but we need some tools.

There is a mod that allows you to place anything, the Advanced Building mod [1]. We can use it to place a second station track, for example, or the connection paths required for the station to function. However, many objects placed using this tool are not removable with the bulldozer, which you should be very careful with.

The other tool is the HxD [2], or any hex editor. We can use it to edit the existing tracks, connections, roads, and anything that is stored as a path. However, we must not change the file size or structure because the file has to be validated against checksums.

[1]: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=422797220
[2]: http://mh-nexus.de/en/hxd/

Table 1: Default connection paths of the transport assets
Name
Used in
Characteristics
PC*
Harbor and Airport
PC* Inside
Train station
Cims are hidden when they walk on this path.
PC* Surface
Metro entrance
PC* Underground
Metro entrance
* PC = Pedestrian Connection

Removing default connection paths
To demonstrate how to remove the default connection paths from a transport asset, we take the train station as an example.

The train station has some PC Inside paths inherited from the template. They hide your cims when they walk on them. It appears as if your cims are teleported from the entrance to the platforms. We want to replace them with either PC or PC Surface to avoid this quirk.

But remember, we must not change the file size or structure or the file will fail to validate.
That is to say, in the hex editor, we cannot directly replace the PC Inside with PC or PC Surface, since their names have different lengths. We have to replace it with something that matches it in the length. Fortunately, we've found one -

To remove the PC Inside paths, open your file with the HxD hex editor and use the Replace All function to execute the following conversion:
Pedestrian Connection Inside -> Medium Road Decoration Grass Both are 28 characters long.
After you save the file, return to the asset editor to bulldoze them.

Here is a table listing other possible conversions:

Table 2: Possible conversions from Transport connection paths
Full name
Length
Possible matches
Pedestrian Connection
21
Large Oneway Elevated
Pedestrian Connection Inside
28
Oneway Road Decoration Grass
Oneway Road Decoration Trees
Medium Road Decoration Grass
Medium Road Decoration Trees
Pedestrian Connection Surface
29
Large Oneway Decoration Grass
Large Oneway Decoration Trees
Pedestrian Connection Underground
33
None*
* Therefore, the PC Underground paths is not removable.

Connecting to the platforms
For your connector paths to function normally, you must hook it to the sides of the station track, where the conceptual platforms are located. To do so correctly, end the connector paths within 1-cell's distance from the center line of the station track. Technically, the platforms are pedestrian "lanes" of the station track, similar to the sidewalks of a road.

Important: if you are going to lay out your connector paths in a line, like what I have done for this asset, please branch it at the platforms to prevent the paths from merging into one. You need at least one connector path ending at each platform for it to be accessible.

Connecting to the sidewalks
This is a bit different. Your connector paths can start from as much as 1 cell away from the sidewalks.

Trobleshooting
Any further questions you want to ask? Please reply below.
Last edited by Orchid; 27 May, 2015 @ 9:54am