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

(EN) Idea: Different texture for junctions without zebra crossings. Collaboration with Network Skins? (DE) Idee: Andere Textur für Kreuzungen ohne Zebrastreifen. Zusammenarbeit mit NetworkSkins? #129

Closed
VictorPhilipp opened this issue Mar 3, 2019 · 4 comments
Labels
duplicate Duplicate of existing issue JUNCTION RESTRICTIONS Feature: Junction restrictions

Comments

@VictorPhilipp
Copy link
Collaborator

VictorPhilipp commented Mar 3, 2019

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

@VictorPhilipp VictorPhilipp changed the title (DE) Idee: Andere Textur für Kreuzungen ohne Zebrastreifen. Zusammenarbeit mit NetworkSkins? (EN) Idea: Different texture for junctions without zebra crossings. Collaboration with Network Skins? (DE) Idee: Andere Textur für Kreuzungen ohne Zebrastreifen. Zusammenarbeit mit NetworkSkins? Mar 3, 2019
@VictorPhilipp
Copy link
Collaborator Author

My original comment (in German)
"Ach hier hast du mich kontaktiert. :-D

Ja, so ein Feature wäre prinzipiell nicht verkehrt. Ich selbst habe mit Texturen noch nicht gearbeitet. Ich kann mir vorstellen, dass es einiges an Arbeit kosten wird, Texturen für sämtliche Straßentypen zu erstellen.

Wenn du abfragen willst, ob Fußgänger an einem Segment/Knoten die Straße überqueren können, kannst du die Methode JunctionRestrictionsManager.Instance().IsPedestrianCrossingAllowed(ushort segmentId, bool startNode) nutzen. segmentId ist die Id des Segments und startNode gibt an, ob du den Fußgängerüberweg am Startknoten (true) oder am Endknoten (false) meinst.

Wie würden die Mods denn miteinander kommunizieren können? Über Reflection oder gibt's da einen eleganteren Weg?"

@originalfoo
Copy link
Member

687474703a2f2f692e696d6775722e636f6d2f6f7958456e43752e6a7067

@originalfoo
Copy link
Member

This is duplicate of #27 I think, Can it be closed? See also note in #27 that Boformer might have found a way to hide crossing decal per segment.

@originalfoo originalfoo added the duplicate Duplicate of existing issue label Mar 29, 2019
@originalfoo
Copy link
Member

closing as duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Duplicate of existing issue JUNCTION RESTRICTIONS Feature: Junction restrictions
Projects
None yet
Development

No branches or pull requests

2 participants