TagsEvery logical traffic light can control a node or street tile in the part of the crossing (Street Crossing Component), with which it is linked by the Traffic Light Section Timer. Nodes are responsible for vehicles and street tiles for pedestrians.
You should tag the node / street tile with the same ID, which is used by the logical traffic light. A node or street tile which is tagged with 0, won't be controlled. Even a traffic light tagged with 0 doesn't control anything. The assignment has to be clear.
There can't be two traffic lights with the same tag or two elements in the same crossing (node or street tile) with the same tag. Every tag on each traffic light should have one tagged element in the crossing and vice versa. If you don't need a traffic light, the value 0 should be used. Very vehicle and civil person will stop before the node or the blocked street tile. You should watch this by choosing the right nodes and tiles.
GroupsThe tags tell you, which traffic light controls which node. The change of status of every traffic light (switching red and green) is given by the combination of groups and the schedule. Groups are useful to help keeping the schedules clear.
There can be many traffic lights at one crossing. The schedule tells every single traffic light what to show. In many cases, a lot of traffic lights show the same state. You can make it more clear, if you collect the traffic lights in groups, which should show the same state at the same time. If you don't want to use this feature, you can assign every traffic light it's own group.
ScheduleA schedule controls every traffic light on the crossing and tells them in time steps, which group should switch in a certain moment. It doesn't matter, if the schedule controls group, that don't exist on the crossing. Vice versa it's a problem, if there are groups on a crossing which are not controlled by the schedule. In this case, the traffic lights will remain stuck in the original state.
It makes sense to comment the schedule and give hints how to edit the groups. The best workflow is, to search a suitable schedule and edit the crossing by following the hints in the comments of the schedule.
Schedules are JSON files which can be edited by text editors. They have to be imported with the asset type "ai_traffic_light_schedule".
754 times viewed