Cities: Skylines

Cities: Skylines

324 ratings
Vehicle Unbuncher
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
28.160 KB
Oct 7, 2015 @ 1:09pm
Dec 17, 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 May 7, 2023 @ 11:20am 
Does not work
mareksuchocki45 Feb 18, 2023 @ 5:36pm 
nie działa zaktualizuj
stephen.highfield Jan 31, 2023 @ 3:37pm 
It doesn't seem to do anything for my game? Not sure what the issue is :(
Overhatted  [author] Jan 19, 2023 @ 12:49pm 
@deptunczyk Do you use other mods?
deptunczyk Jan 17, 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 Dec 30, 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 Dec 17, 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 Dec 16, 2022 @ 7:48am 
no not really, vanilla unbunching is horrible
Overhatted  [author] Dec 11, 2022 @ 3:38pm 
I haven't updated this one since the vanilla unbunching now works pretty well, does it now?
S.Kreator Nov 30, 2022 @ 8:45am 
Me neither..... The mod doesn't work