Ga naar inhoud


Foto

Emergency 4 traffic lights


  • Please log in to reply
4 replies to this topic

#1 Rudy529

Rudy529

    Firefighter

  • Members
  • 12 Posts:

Gepost 23 oktober 2012 - 09:30

Hey. I've got problem with creating traffic lights. I used double traffic lights on higway and two short on east and west side
I do for south light
traffic_1_1_1
North
traffic_1_2_1
East
traffic_1_3_2
West
traffic_1_4_2

And
South all time lighting with green light,East all time changing on red, yellow and green in 2 sec without stoped. West still light on red and North the same.
I create virtual object traffic_1_1, _1_2 etc.

It's not working :/ I try do it like on video posted in some topic but when I try create more, others traffic light working like a creazy, changing lights from red to green. Any idea how to fix it?

#2 rettungstier

rettungstier

    Senior Captain

  • Members
  • 368 Posts:
  • Gender:Male
  • Location:Germany

Gepost 23 oktober 2012 - 08:45

try to increase the times for every traffic light!

1 second REAAAALLY isn't much. imagine that once in real life !!?!
i think even in em4 a traffic needs more than one second to actually switch from red - over - yellow and then back again.
try it with 5 and 10 or so!
like:
traffic_1_1_5
traffic_1_2_5
traffic_1_3_10
traffic_1_4_10

HpFA7Aj.png


#3 Rudy529

Rudy529

    Firefighter

  • Members
  • 12 Posts:

Gepost 25 oktober 2012 - 02:12

Okey I try and I show results soon, so first number is number of traffic lights, next is numebr current traffic light and last is seconds for change signal from red to green?

#4 rettungstier

rettungstier

    Senior Captain

  • Members
  • 368 Posts:
  • Gender:Male
  • Location:Germany

Gepost 25 oktober 2012 - 09:25

yeah correct
traffic_1_x_x
-> number of traffic light system at an intersection
traffic_x_1_x
-> number of traffic light within that system
traffic_x_x_5
-> time in seconds how long it's gonna be green

good luck ;)

HpFA7Aj.png


#5 Rudy529

Rudy529

    Firefighter

  • Members
  • 12 Posts:

Gepost 05 januari 2013 - 03:19

Okey , how its working


How i made it

traffic_1_2_5
traffic_1_3_10 traffic_1_4_10
traffic_1_1_5


next

traffic_2_1_2 traffic_2_2_2
traffic_2_3_2