Cities: Skylines

Cities: Skylines

1,372 ratings
[BETA] Parallel Road Tool
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
679.708 KB
Jun 2, 2018 @ 2:17am
May 29, 2023 @ 2:44pm
51 Change Notes ( view )

Subscribe to download
[BETA] Parallel Road Tool

Description
[BETA] Parallel Road Tool
helps you easily drawing parallel and stacked networks.Main features are:
  • Limitless parallel/stacked configurations: you can choose any network (not only roads!) and distances (both horizontal and vertical) to easily create every layout that you want
  • Visual overlay guidelines to help you visualizing what you're going to build before actually building
  • One-way networks support: you can reverse the direction of any one-way network, so that you can easily build highways without needing to manually upgrade direction later
  • Left-hand drive support
  • Upgrade mode: you can add parallel/stacked segments to already existing networks
  • Save/load presets
Stable version is here.
The beta version is meant for testing only and it can be unstable.
Tested on C:S version 1.16.0-f3
Current version: 3.0.3-dev
  • Moved mod core to Harmony for better compatibility with other mods
  • Completely rewritten mod's core logic/engine
  • Fully redesigned and faster UI
  • Improved logic used to enable/disable the mod for a more consistent behavior
  • Added button to sort networks based on their horizontal distance
  • Added button to enable/disable automatic horizontal offset adjusting when changing the main selected network (parallel networks will be shifted to match new network's width)
  • Added button to enable/disable automatic angle compensation: building straight networks with sharp angles can now cause nodes to be moved to produce more pleasing results
  • Added scrollwheel support to horizontal/vertical offsets texts
  • Pressing ALT will now switch building side (use this if upgrading curves produces unexpected results)
  • Fixed a bug preventing trees to be applied to parallel/stacked segments
Source code: GitHub[github.com]
Main buttons
Button
Description
Saves the current configuration as a preset that can be loaded at a different time.
Loads a saved preset into your current configuration.
Sorts the selected networks by using the horizontal offset in a descending order.
Toggles the angle compensation feature on/off. This feature prevents segments from overlapping when creating straight roads connected using sharp angles.This works by moving the previous node in order to have a better angle for your parallel segments.
Toggles the auto width adjustment feature on/off. This feature automatically adjusts the horizontal offset from the main selected network everytime this changes.The final result is to preserve the relative distance between the original sements and the parallel ones, avoiding overlapping when selecting a larger main network.
Toggles the snapping feature on/off. This feature allows parallel segments to snap to existing nodes that were not created by this mod.
Recommended additional mods
Supported languages (% translated)
  • English (100 %)

Translations
If you want to help improve existing translations or you want to translate into your own language (ask to add it to the translation project).[crowdin.com]
Support my work
Star the project on GitHub:[github.com]
Donate using PayPal:[paypal.me]
How to contribute
If you find an issue, please search here[github.com] to see if someone already reported it and, eventually, comment on the already reported one.If you can't find any issue similar to yours, please click here[github.com] and provide all the informations that you can (screenshots and logs are welcome).If you're interested in helping with development, choose an issue and ask to be assigned. I'll create a branch for that issue and you'll be able to work there.If there's no issue for the thing you'd like to work on, feel free to open a new one.
(v3.*) Thanks to
  • algernon for his awesome Commons library
  • Chamëleon TBN for being so helpful during testing
  • macsergey for his dark magic on how to fix some annoying issues
  • Mbyron26 for the fantastic preview images on the Workshop

(v2.*) Thanks to
  • reasonably1[community.simtropolis.com] for his work on the UI
  • SamsamTS for his FineRoadAnarchy mod, which provided me the basics for this one
  • LinuxFan for his pointers on how to fix snapping
  • BadiBasso[github.com] for his Network Skins patch and general help
Popular Discussions View All (1)
1
Jan 25, 2021 @ 12:01am
Problem with train tracks
Lost Nomad
401 Comments
MarkJohnson 4 hours ago 
I found the, "Network Multitool (1.3.5)" mod that does parallel roads too:
https://steamcommunity.com/sharedfiles/filedetails/?id=2560782729
graham Jan 19 @ 2:16pm 
This doent work, CS disables it as it is not compatible with latest version
Lilithvia Nov 2, 2024 @ 10:18am 
when update
QueenPixxa Dec 29, 2023 @ 10:45am 
What are the differences, in terms of functionality, between stable and beta? I always try to use the beta version if it brings something new,
The Pyrobear May 23, 2023 @ 3:13am 
Unfortunately, NM can't replace PRT. Try to make multiple copies of the same network and you will see how edgy it gets with each step.
StayHungryStayFoolish May 1, 2023 @ 12:41pm 
Parallel Road Tool is also part of the Hubs & Transport compatible modlist, however, I prefer the functions of Network Multitool.
MarkShot9 May 1, 2023 @ 12:10pm 
@S__T ... I have been cleaning up my mods and getting ready to embark on a new city soon.

I just wanted to say thank you for patching this so it works. You are right. This has some nice features like turning multiple networks into one, and allowing you to save the definition. I am a retire software engineer, and know exactly how much effort goes into coding for users. Again, thank you for your valuable time.
Caek Mar 23, 2023 @ 6:38pm 
Gonna mess around with Load Order and see what happens, but I'm super hoping this is a simple fix because PRT has been part of my mod install since it released back in the day - this thing's mandatory for me :P
Caek Mar 23, 2023 @ 6:36pm 
Man, I'm having the strangest bug with this thing - I enable the beta version because the stable one doesn't work, but the stable one at least gives me an error. This one doesn't pop up any errors in the game, but gives this little mystery problem in the output log:

NullReferenceException: Object reference not set to an instance of an object
at ParallelRoadTool.UI.UIController.OnGUI () [0x00000] in <filename unknown>:0

Whatever it is, the whole mod becomes completely nonfunctional - there's not just no button in game, there's no selections in its tab in the options screen, but a Harmony report says that PRT is patchin the files like it should, and prints zero conflicts.