Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Hold [ALT;CTRL;SHIFT;whatever] during street/crossing creation to disable left turn #148

Closed
VictorPhilipp opened this issue Mar 3, 2019 · 7 comments
Labels
duplicate Duplicate of existing issue feature A new distinct feature JUNCTION RESTRICTIONS Feature: Junction restrictions LANE ROUTING Feature: Lane arrows / connectors TRAFFIC LIGHTS Feature: Traffic lights - toggle, timed, etc
Milestone

Comments

@VictorPhilipp
Copy link
Collaborator

VictorPhilipp commented Mar 3, 2019

Hi there,

awesome mod, i mainly use it's arrow tool to disallow left turns on highway mergers. I think it would be an awesome addition to have that feature on a (configurable) hotkey.

What do you guys think?

PS: Sorry, I am not (yet) able to provide a PR. Although i do have modding expirience with unity (Kerbal Space Program), i never did a C:S mod.

VictorPhilipp/Cities-Skylines-Traffic-Manager-President-Edition#84

@VictorPhilipp VictorPhilipp added the feature A new distinct feature label Mar 3, 2019
@VictorPhilipp
Copy link
Collaborator Author

+1 Here in Brazil you can't turn left at almost every junction with traffic lights.

@VictorPhilipp
Copy link
Collaborator Author

Would this be better as a mod option instead of modifying the build tool?

So you could default all new junctions to prevent left or right turn (depending on game RHD or LHD setting), with the option to override on junction-by-junction basis using the lane connector or lane arrow tools...?

@originalfoo originalfoo added TRAFFIC LIGHTS Feature: Traffic lights - toggle, timed, etc JUNCTION RESTRICTIONS Feature: Junction restrictions LANE ROUTING Feature: Lane arrows / connectors labels Aug 11, 2019
@kianzarrin
Copy link
Collaborator

kianzarrin commented Nov 21, 2019

This is related to #537 and #541.
in #541 Left turn is can already be banned using quick editing (although I have not committed my code yet).
in #537 I will soon create a state machine so that I we can ban left turn after creation of the junction( I plan to do it after completing #547)
@VictorPhilipp Does that satisfy your needs?

@originalfoo
Copy link
Member

originalfoo commented Nov 21, 2019

I think this could potentially be viable for automation via a setting in mod options.

However, we'd need some way to detect medians - see #504

For example, small roads would usually allow far-side turns ("left turn" in context of conversation above), but this small 2-lane 2-way road has a median:

image

The m_canCrossLanes flag (I think that's what it's called?) could be checked by default, but can't be relied upon - especially for workshop roads where authors forget to set the flag correctly.

@originalfoo
Copy link
Member

VictorPhilipp Does that satisfy your needs?

Victor didn't raise the original issue, he just copied it here when we changed github repos (there wasn't a bulk move feature on github at the time).

You can find original issue here: VictorPhilipp/Cities-Skylines-Traffic-Manager-President-Edition#84

@kianzarrin
Copy link
Collaborator

duplicates #541

@kianzarrin kianzarrin added the duplicate Duplicate of existing issue label May 12, 2020
@originalfoo
Copy link
Member

#148 is about applying the customisation during road placement.

#541 is about applying customisations to existing roads.

That being said, I'm not sure what is proposed in #148 is viable - all potential modifiers (Shift/Ctrl/Alt) are already consumed during road placement by mods such as Precision Engineering.

image

@originalfoo originalfoo modified the milestones: 11.5.0, 11.1.0 May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Duplicate of existing issue feature A new distinct feature JUNCTION RESTRICTIONS Feature: Junction restrictions LANE ROUTING Feature: Lane arrows / connectors TRAFFIC LIGHTS Feature: Traffic lights - toggle, timed, etc
Projects
None yet
Development

No branches or pull requests

3 participants