CitiesSkylinesMods / TMPE

Cities: Skylines Traffic Manager: President Edition
https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252
MIT License
576 stars 85 forks source link

Mod option: Exclude bends and small roads (u-turns) #365

Open originalfoo opened 5 years ago

originalfoo commented 5 years ago

In maintenance tab of mod options, there's a setting to "Vehicles may u-turn at junctions".

I think it would be useful to have an extra option, indented below the main option, to prevent default u-turns being applied to bend nodes and small roads that are not suitable for such manoeuvres.

o Vehicles may do u-turns at junctions (existing option)
    o Exclude bends and small roads (new option)

When enabled, the new option would prevent default 'allow u-turn' from being applied on small roads (including at junctions) and bend nodes.

VictorPhilipp commented 5 years ago

Some comments on this:

  1. Option text should not contain a negation ("Vehicles my do u-turns at bends")
  2. Options should be seperated (one for bends, one for small roads)
  3. How do you define a small road?
  4. There was a similar issue (https://github.com/VictorPhilipp/Cities-Skylines-Traffic-Manager-President-Edition/issues/101) where I stated that implementing such kind of feature would cause performance issues. I don't know remember why this would be the case. Default values of junction restrictions can be dependent on node properties which might have been an issue in the past.
originalfoo commented 5 years ago

How do you define a small road?

Based on UI category of the prefab - so anything in the small roads tab.

"For roads - dirt road is level 1 and the other roads have level 2 - 5 based on their UI category." -- taken from https://cslmodding.info/asset/network/#node-flags > Transition.