Carriage Number Selector (CNS) v1.3
This mod allow you to add or remove carriages from trains, metros, monorails and trams directly from the vehicle info panel in game to make them longer or shorter and increase or reduce their passengers capacity.
How to use
• Click a passenger train, metro, monorail or tram to open it’s info panel.
• Use [ − ] to remove a carriage.
• Use [ + ] to add a carriage.
• You can also enter a number manually and press Enter to set it.
• Click [ ↩ ] to reset the vehicle to it’s default settings.
• Click [ = ] to apply the setting to all vehicles with the same model on the line.
Note
• The added wagons may behave strangely when being added (shaky movement, passing through other wagons), but they position themselves correctly quickly.
• When a new carriage is added or removed while the vehicle is running, it may not stop properly at the next station (too late or too early) due to the pathfinding not being updated, but this problem is automatically corrected at the next stop.
This is my first ever coded mod!
If you have questions, suggestions or bugs to report, don’t hesitate to leave a comment 🙂
Source code :
https://github.com/Alexgazz93/Carriage-Number-Selector
Revisions:
Old revisions of this mod are available below. Click the link to download.