Features:
- Adds a dedicated traffic density setting to the game options menu
- Adjust the number of active AI vehicles from 15 to 150
- Map creators can assign trafficDensity or density user attributes to traffic splines
- Example density values range from 0 (blocked traffic) to 1 (normal traffic)
- Splines without custom attributes keep their default map behavior
- Includes a manual reload function to refresh AI traffic in singleplayer
- Supports custom AI traffic on mod maps
- In multiplayer, only the host or an admin can change the vehicle count
- Server must be saved and restarted once for changes to take effect
- Improved pathfinding for custom traffic system vehicles
- Fixed collision detection at railroad crossings and traffic lights
Traffic Density Control is a gameplay script that gives players direct control over how much AI traffic appears on the road. Instead of relying on fixed map settings, you can fine-tune the number of active vehicles to match your preferred pace of play.
The mod adds a new settings section where the traffic density can be adjusted between 15 and 150 vehicles. Map creators also gain extra flexibility, since individual traffic splines can be tagged with trafficDensity or density attributes to control specific routes separately from the rest of the map.
A manual reload option lets singleplayer users refresh AI traffic on demand, which is useful if vehicles get stuck or start behaving oddly. In multiplayer sessions, traffic density can only be changed by the host or an admin, and the server needs a save and restart for the new setting to apply.
This tool is aimed at players who want more control over road traffic realism and performance balance, as well as map creators looking to customize AI vehicle behavior on specific routes.
