joaofarias / csl-traffic

A WIP mod for Cities: Skylines to improve traffic.
91 stars 30 forks source link

U-turns compendium + Filter lane idea #64

Open originalfoo opened 9 years ago

originalfoo commented 9 years ago

With the recent preview of the masshole feature, had about 20 people asking for various things relating to u-turns - summarised in 3 points below:

1. Ability to disable building exit u-turns

This is where a vehicle leaves a building and does what is effectively an immediate u-turn cutting across traffic. An example is shown in this vid where the green tractor truck makes a delivery at a factory and then turns round to go back the other way cutting up all the dumpster trucks on the 6-lane on left of vid: https://youtu.be/wPih21d8I1k?t=13s

Maybe vehicle AI could examine NetLane.CheckSpace and based on that determine where cutting across lanes is permissible or not?

2. Ability to define u-turns when editing intersections

As far as I can tell this would be limited to the inside lanes of any 2-way roads at an intersection (both normal intersections and also 'invisible' segment intersections). I saw your comment on reddit but from what I can see this specific feature request is about actually being able to define a u-turn as part of a customised intersection lane route.

Apparently this is also the missing piece of the jigsaw for enabling Michigan Left's by allowing u-turn on inside lanes of 6-lane road where it joins the 4-lane avenue: http://www.reddit.com/r/CitiesSkylines/comments/39wex5/soon_single_lane_traffic_jams_yeah_we_fixed_those/cs7o5ur

images akamai steamusercontent-1

EDIT: Hrm... actually the source would be the inside lane but destination would be any of the lanes in opposite direction.

Another case where ability to add U-turn is desired (this time on inside lanes of a 4-lane avenue): http://www.reddit.com/r/CitiesSkylines/comments/39wex5/soon_single_lane_traffic_jams_yeah_we_fixed_those/cs797lt

vzgcrtf

You just know people are going to start asking for a 5- or 6-lane avenue with median so they can have filter lanes on inside heh)

3. Ability to prevent u-turns

I think 1 and 2 above already cover this.

originalfoo commented 9 years ago

Brainwave!!

Filter lanes are just like bus stops - so they cut in to decoration/pavement/median and one end of the lane connects to nearest segment intersection while the other end connects to nearest proper intersection. Could bus stop creation code be used to make a filter lane tool? This would remove the need to have all sorts of crazy road variants for filter lanes....