Hello,
I've been struggling how I could resolve a such scenario that happened while building my tram map. It could also happen while building roads so it doesn't matter. I want my trams to stop before the red mark (so this track fragment should have [use_traffic_light] command, but I have separated phases for trams that go to the left or to the right. Is there any possibility to make one path that could use a script or whatever that will not make trams turn left while the phase let only trams go right? I tried to make two separate paths in the same place that use either first or second depening where they go, but they seem to dissapear (it's a bug where tram must go on the same track or it will dissapear, whatever). Maybe using a type 1 timetables would help this so the whole tram will go through the one and only path that tells them to stop to turn right or there's another way that I didn't figure out?
Thanks for any help, I hope it's understandable.
Here's a pic what I mean:
Traffic lights - setting different phases for one point
- kacperm
- Unerledigt
Als Gast kannst du nur Inhalte in deiner ausgewählten Sprache sehen. Registrierte Nutzer können die Sichtbarkeit anderer Sprachen in ihrem Kontrollzentrum aktivieren, weitere Infos hier.
Alle Themen sind in den Foren mit einer Sprachflagge gekennzeichnet:
-
-
-
Yes, traffic lights should be assigned to the first splitting paths. ([use_traffic_light] command, Traffic Lgts setting in Crossing Editor)
Vehicles always stop before the assigned path, there is no need for any intermediate paths.
Here is an example for car traffic - the main phase and the right turn only phase:
This way you can do what you describe.
Remember to set the Blinker, in relation to the movement and the final position. You must assign the Blinker setting from the first to the last turn path.
Appendix:
If you also want to allow traffic in two directions at the same time, you need to synchronize the phases.
For example, when implementing a traffic light with a right-turn phase, you need to include a turn phase from the main phase so that vehicles turn in both directions. -
Greetings.
We're both polish but I'll keep discussion in english so more people may overcome a problem I occured.
That's what I thought, is there any possibility of using "approachdist" function found in traffic phases file? I found such thing but I don't know how does it work, neither changed anything if I set it up for 10, 20. I need trams to stop at the line, not before the junction starts, where is pedestrian crossing but want to keep traffic lights unsynchronised. I'll try making the AI line through Type 1 track and see if it helps. Does anybody have other solutions? -
I think [approachdist] defines the vehicle detection distance for traffic light sensors.
I would like to see the paths at this point on the map.
Turn on the path preview and on the screenshot mark how the paths divide and where the boundary is between the spline and the junction object.Wydaje mi się, że [approachdist] określa odległość wykrywania pojazdów. To co jest przy Reimerweg, na mapie Spandau.
Chciałbym zobaczyć rozkład ścieżek w tym miejscu mapy. włącz podgląd ścieżek i na zrzucie ekranu zaznacz jak dzielą się ścieżki i gdzie jest granica między splinem a obiektem rozjazdu/skrzyżowania.
-
Thankfully I found a way to overcome my issue, I create a 1 meter path that has the same traffic cycle as the intersection, making AI stopping where I wanted.