Cities: Skylines

Cities: Skylines

325 ratings
Vehicle Unbuncher
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
28.160 KB
7 Oct, 2015 @ 1:09pm
17 Dec, 2022 @ 6:28am
10 Change Notes ( view )

Subscribe to download
Vehicle Unbuncher

Description
What it does
This mod resolves the problem of transit vehicles bunching (when lots of vehicles stay in the same part of a line while the rest of the line is empty. You can read more here: https://en.wikipedia.org/wiki/Bus_bunching ).
It works with bus/ferry/blimp/train/metro/monorail/tram (no cable cars yet).

How it Works
It works by making vehicles keep a distance to the next vehicle equal to the length of the line divided by the number of vehicles in the line.
Vehicles check their distance when trying to leave a station and if the distance is smaller than it should be they wait until it is.
Also, there are two reasons why a vehicle might leave earlier:
  • If 26 seconds in standard speed (You can change this value, learn more in the next section) have passed since the vehicle has arrived at the station.
  • If the station is used by two lines

The first time you activate the mod, if you have huge bunching problems (like I had), you will see lots of vehicles waiting for what it seems like forever, this is normal and once the line achieves similar spacing between the vehicles it will run normally.

Change unbunching aggressiveness
To change how agressive the unbunching process is go to the Cities: Skylines folder and open VehicleUnbuncherOptions.xml (if you don't find the file create a new game and it will appear). The only variable present and the one that determine how agressive the unbunching process is is MaxWaitCounter. MaxWaitCounter can be any integer between 12 and 255 (including both). What this variable determines is the maximum amount of time vehicles will wait at a station. The default is 100 and a bigger number means more aggressive unbunching and a smaller number means a less agressive unbunching.

Bugs
To report any bug please post a comment with a link to the output_log.txt
Any comments saying the mod does not work with no link to the log file will be deleted.

Source code
https://github.com/Overhatted/VehicleUnbuncher

Credits
This mod uses the Harmony[github.com] library.
Image: https://www.flickr.com/photos/sludgeulper/4627723136/
198 Comments
Scott-ish 7 May, 2023 @ 11:20am 
Does not work
mareksuchocki45 18 Feb, 2023 @ 5:36pm 
nie działa zaktualizuj
stephen7890 31 Jan, 2023 @ 3:37pm 
It doesn't seem to do anything for my game? Not sure what the issue is :(
Overhatted  [author] 19 Jan, 2023 @ 12:49pm 
@deptunczyk Do you use other mods?
deptunczyk 17 Jan, 2023 @ 4:56pm 
This mod is not working for me. I don't know what is the reason but I really need it because the herds of trams in my city are driving me crazy.
Snowwie 30 Dec, 2022 @ 9:01am 
Is this mod better than "Transit Vehicle Spawn Delay 1.3"? They seem to do the same, and both have been updated for the latest Financial District dlc.
StayHungryStayFoolish 17 Dec, 2022 @ 4:15pm 
Thank you for the update. This mod cannot overwrite IPT2 Fix, even when IPT2 Fix has unbunching switched off. I did not try it without IPT2 Fix. Please add it to the description.
ronhalljr77 16 Dec, 2022 @ 7:48am 
no not really, vanilla unbunching is horrible
Overhatted  [author] 11 Dec, 2022 @ 3:38pm 
I haven't updated this one since the vanilla unbunching now works pretty well, does it now?
S.Kreator 30 Nov, 2022 @ 8:45am 
Me neither..... The mod doesn't work