Cities: Skylines

Cities: Skylines

172 ratings
Automatic Vehicle Numbers Adjuster
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
44.032 KB
1 Dec, 2017 @ 2:54pm
11 Dec, 2022 @ 3:27pm
6 Change Notes ( view )

Subscribe to download
Automatic Vehicle Numbers Adjuster

Description
What it does
This mod records the number of passengers that pass through each transit stop and then calculates the appropriate number of vehicles that the transit line should have. It also displays those recorded numbers.

Attention
The mod takes time to work. Since it uses the number of passengers transported the previous day to calculate the desired number of vehicles, it needs time o observe and count this number of passengers.

How it Works
It records the number of passengers passing through each station. This number is the number of passengers that the train leaving the station has.
Then, for each line, it goes through each stop and sees which ones have the most passengers and tags them as High Usage Stops and the others as Low Usage Stops.
High Usage stops record passenger data more precisely because they will be the ones determining the number of vehicles necessary in the line. They record data separately for each part of the day (the day is split into 4 intervals) and for the last 8 days.
Small Usage Stops only record the number of passengers going through in the last day and in the current one.
The mod then calculates the necessary number of vehicles to transport the maximum number of passengers in an interval recorded. I experimented with removing the extra vehicles in time of low usage but it only resulted in more chaos as the vehicles were always being added and removed from lines.

View the Number of Passengers per Stop
To view the recorded number of passengers click on the transport line to show the Public Transport World Info Panel and then click on the little circle corresponding to the stop that you want to view the data of.

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/AutomaticVehicleNumbersAdjuster

Credits
This mod uses the Harmony[github.com] library.
Popular Discussions View All (2)
12
30 Mar, 2019 @ 3:34am
Compatibility?
Sapioit
2
2 Jun, 2021 @ 10:00am
small bug in relation to the number of vehicles
popol
104 Comments
Kaiserin_Amy 29 May, 2023 @ 12:28pm 
Does this mod still work with the current version, is this mod still better than AutoLineBudget?
Chamëleon TBN 18 Dec, 2022 @ 7:26am 
I will update information in CR
StayHungryStayFoolish 12 Dec, 2022 @ 2:18am 
I have taken out this nice mod from the list of Avoid these mods!
Overhatted  [author] 11 Dec, 2022 @ 3:37pm 
I've updated the mod to the latest update.
@Sasquatch For the first day (day and night cycle) this mod just gathers data. Were those 19 trains different from the default vanilla value?
@Ranazomic Well, I didn't know it existed, it should be similar. This mods does have a UI that shows which stops are most used and their number of passengers so I would say this one is better.
Lamecius (lulu) 21 Sep, 2022 @ 9:49am 
Using this with all the DLC... am surprised it still works lol
Ranazomic 3 Aug, 2022 @ 8:33am 
Just to be clear, what is the difference between this and AutoLineBudget mod?
Sasquatch 12 Jul, 2022 @ 5:04am 
Have to agree with the other comments, this mod is broken. Set up a new metro line and it started with 19 trains for just 200 passengers. That would have broken the line trying to fit all those trains on it.
ExplosiveBadass 18 Jan, 2022 @ 10:11am 
sounds like a good mod sadly i see there is no support anymore or updates and fixes wich is sad.
BevansDesign 23 May, 2021 @ 12:56pm 
Looks like it can get stuck generating way more vehicles than are necessary, which clogs up your roads and transport lines. For example: right now I have 76 buses for 168 passengers, and 40 trams for 140 passengers.
Bodhbh Dearg 26 Nov, 2020 @ 8:06am 
162 busses on one line for 600 passengers? Something is totally wrong with this, and doesn't seem to get fixed by the complaints I am seeing... Unsubbed!