CitiesSkylinesMods / TMPE

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

Mini roundabouts #73

Open originalfoo opened 5 years ago

originalfoo commented 5 years ago

This is where a junction between small roads (specifically: 2-lane 2-way roads) is treated as a roundabout.

Usually there will be a white circle painted in the middle, and applicable street signs, to convey this to drivers.

download

Drivers must drive around the circle, in the normal direction of traffic as depicted by the arrows painted on the road (which match the arrows on the road sign).

This greatly reduces the number of conflict points (see #4) at the junction, and helps improve traffic flow.

In addition, large trucks and busses can drive over the white circle, as if making a normal turn, making their route across the junction simpler and safer.

There is an additional configuration in cases where 4 or more roads need to be connected; two mini roundabout junctions can be used side by side (this is all about conflict point reduction):

download

At some point in the future, I think ability to turn small junctions in to mini roundabouts would be a nice feature to implement.

Strdate commented 5 years ago

You can do it already with this mod ;) https://steamcommunity.com/sharedfiles/filedetails/?id=1625704117 Set the radius to five units and it will work similarly. Unfortunately the roads appear buggy.

originalfoo commented 5 years ago

You can do it already with this mod ;) https://steamcommunity.com/sharedfiles/filedetails/?id=1625704117

No, that's very different, as it is conventional roundabout builder.

Specifically: A mini-roundabout exists in the junction. In other words, the lane routing within the junction would be circular (like a virtual circular lane with a node near each exit).

There are some decal assets to do the road marking for this, but currently all cars just drive over them because they see it as normal junction.

Strdate commented 5 years ago

If you build it really small then it is of a size of standard intersection but there is a roundabout inside (use highway ramp roads, they are small enuf). It looks hideous, but it is somehow working.

Can you send me a link to the decal assets please? I will try to make it work with Move It.

originalfoo commented 5 years ago

The decal I use is in this pack: https://steamcommunity.com/sharedfiles/filedetails/?id=1611818494

Strdate commented 5 years ago

@aubergine10 There it is: https://imgur.com/a/Hf6FBim

kianzarrin commented 4 years ago

@aubergine10 should we close this issue? If not please explain what is lacking by roundabout builder? You did say you want to turn the junction intro roundabout but using roundabout with very small radius in roundabout builder has the same functional/visual influence.

originalfoo commented 4 years ago

No, this is different thing entirely. Specifically, it's changing the paths vehicles take through the junction node.

While roundabout builder with small radius might come close, it's not the same thing. Roundabout builder would likely have at least 2 or maybe more segments to represent the roundabout.

What this issue describes is changing the vehicle AI (I assume that's best place to do it) so that on a 'roundabout' node they'll drive round in a circular motion until they reach their exit, rather than cutting across other traffic. It's specifically for junctions of small roads (3-4 roads, 2-lane 2-way usually, but some 1-lane 1-way roads could be present too).

image

image

image

image

The key benefit is that it takes almost zero extra space, because the roundabout is in the node.

It would mean any junction with 3-4 small roads could be turned in to a roundabout without altering the road layout.

It could be further embelished with your road blender mod, for example to widen the road as it enters the roundabout.

kianzarrin commented 4 years ago

@aubergine10 if you looked at @Strdate image the roundabout was not bigger than the junction so I still don't see what is the advantage of doing it your way. BTW I am surprised segments so small in @Strdate image cause no problem!

originalfoo commented 4 years ago

Segments that small did cause issue hence the paved decal placed over the road.

The vehicle AI already has to handle path a vehicle takes across a node; the idea for mini roundabout is that it's just an alternate bit of code for sending vehicle across the node.

In other words, user doesn't need to alter their road network at all - they just set a flag "this junction is a mini roundabout". And to remove the mini roundabout they'd unset the flag.

There are potentially several "junction modes" we could consider:

So the user could try all those things (or combinations in most cases) without "physical" alterations to their roads. For me that's one of the best things about TMPE - I can change how traffic works, in most cases, without needing to alter roads or at least be able to minimise alterations to roads (eg. to add an extra lane to facilitate turning lane at junction).

originalfoo commented 4 years ago

BTW, I'm not seeing small roundabouts as a replacement for roundabout builder. When I want a larger roundabout, I'll head straight for roundabout builder.

The mini roundabouts are more of a "let's try alternate flow of traffic through this small road junction first, before I start altering my road network".

originalfoo commented 4 years ago

Another reason for not making mini roundabouts out of tiny road segments is that those segments/lanes/nodes all count towards game limit. If we could have the vehicle AIs treat a normal node as mini roundabout, that does not consume net limits.

kianzarrin commented 4 years ago

@thebugfixnet said in https://github.com/kianzarrin/RoadTransitionManager/issues/3

https://github.com/kianzarrin/RoadTransitionManager/issues/3

While testing the Road Transition Manager (and i must say that i already love this mod!) the normal (and correct) behaviour is that the vehicles drive straight over this junctions:

image

But at a very large - very smoothed - node it would be great to have an option to manipulate the lanes in a way that they act somehowe like a road with an middle island (not really like a roundabout, as there should be no full turns possible).

Maybe to have it easier w/o left turns: image

Option 1 with left turns: image

Option 2 with left turns: image

Why should be such an option a nice to have?

Just because of possibilities like this: image

or: image

😄

I don't know at all if lanes could be manipulated / bend in this way - but want just to share my thoughts :)

And maybe... some dreams come true....

kianzarrin commented 4 years ago

And maybe... some dreams come true....

It certainly brings @aubergine10 's dream true. while I like the idea I think we can spend the time to do more important stuff. Particularly when you can achieve similar results by using roundabout builder https://imgur.com/a/Hf6FBim . just set the radius to very small and then paint over it like the picture.

EDIT: I am mesmerized by your roundabouts! BTW @aubergine10 Also thought my node controller should be of help with this:

It could be further embelished with your road blender mod, for example to widen the road as it enters the roundabout.

chameleon-tbn commented 4 years ago

Particularly when you can achieve similar results by using roundabout builder https://imgur.com/a/Hf6FBim . just set the radius to very small and then paint over it like the picture.

This is a way to do - but at the moment with such tiny roundabounts i would not able use the road transition manager to smoothen the nodes - at least as long as it struggles with such short distances i showed you the last days...

EDIT: I am mesmerized by your roundabouts! Thanks :)

originalfoo commented 4 years ago

@kianzarrin These are exactly the sort of stuff I was thinking of - increased corner radius, and traffic flowing through the node as if there is an obstacle in middle of node:

images from @thebugfixnet ![ex2](https://user-images.githubusercontent.com/37211016/81299777-06558f80-9077-11ea-88de-b923ca765946.png) ![ex1](https://user-images.githubusercontent.com/37211016/81301720-b3c9a280-9079-11ea-93b0-518a66e2214e.png)

User would be responsible for detailing the center of roundabout, road markings, etc. The main thing is ability to get traffic going through the node as if there is an obstacle in the middle (circular paths; clockwise or anticlockwise depending on traffic driving side).