Tactics Posted October 3, 2009 Report Share Posted October 3, 2009 Trying to figure out how to make traffic lights or stop signs that work in freeplay. Can anyone help? Quote Link to comment Share on other sites More sharing options...
cassioeb Posted October 3, 2009 Report Share Posted October 3, 2009 Quote Link to comment Share on other sites More sharing options...
Tactics Posted October 3, 2009 Author Report Share Posted October 3, 2009 So make a virtual object with the parameters you listed, place the light and that is it? No script work needed? Quote Link to comment Share on other sites More sharing options...
Pearl71 Posted October 3, 2009 Report Share Posted October 3, 2009 how about traffic lights thats will stop traffic when the fire department responds? Quote Link to comment Share on other sites More sharing options...
cassioeb Posted October 4, 2009 Report Share Posted October 4, 2009 So make a virtual object with the parameters you listed, place the light and that is it? No script work needed?Yes, just put a virtual object to respective traffic light without the last number (seconds) traffic_1_1 traffic_1_2 traffic_1_3 traffic_1_4 .... Quote Link to comment Share on other sites More sharing options...
bennie900 Posted October 4, 2009 Report Share Posted October 4, 2009 Here try this:http://forum.emergency-planet.com/index.ph...ost&p=28283 Quote Link to comment Share on other sites More sharing options...
Guest madforce Posted October 4, 2009 Report Share Posted October 4, 2009 Here try this:http://forum.emergency-planet.com/index.ph...ost&p=28283Thats actually an incorrect guide currently. It reports the third digit as a form of sequencing, making lights work in tandem, when the third digit is actually timing, and the lights go in sequence of the 2nd digit, 1-2-3 etc.. I havn't learned of any way to make a light in Em4 work in tandem with another, as in east/west and north/south going green/red together.I'm not sure if the guide was for an earlier version, but what the posters posted above is correct.traffic_1_1_10traffic_<intersection#>_<light# in that intersection 1,2,3,4)_<timing>Along with a corresponding virtual object for each light, minus the timing Quote Link to comment Share on other sites More sharing options...
Guest madforce Posted October 4, 2009 Report Share Posted October 4, 2009 Yes, just put a virtual object to respective traffic light without the last number (seconds) traffic_1_1 traffic_1_2 traffic_1_3 traffic_1_4 ....Thats the only real question I have. I've added numerous functional and working lights, mainly dissecting what I saw and it all makes sense cept I'd like to clarify one thing for myself. How important is size and positioning in front of behind the VO for that light? I've seen maps with med sized in front, maps with right under the light, behind the light, and some with VO's that are but the smallest line right under the light. My assumption based on what I see is that the VO essential sets the stopping point for traffic at that light in the intersection, and you use it to set traffic that much farther or ahead. I'm assuming based on what I see that if a vehicle is occupying the VO at a light, usually the result of a traffic backup when a vehicle has moved beyond the light, yet is sitting on the VO will stop the timing of the lights at the intersection. So I'm assuming a fairly small VO, which be in front of the light (between the signal and the car) is optimal (as well as more realistic) as it makes it more likely to avoid a clog up at the intersection and increases the chance for it to return to more normal operation when you clear up the upstream traffic jam?Those are my assumptions on the VO's for each light atm based on what i've observed, does that sound accurate or is there a better/more efficient placement? I tend to spend alot of time correcting some traffic issues, ligthts, paths as much as I can because I prefer a seamless flow and redirecting that doesn't clog the map and can find it's way home. Just curious if my VO assumptions are correct or if i could make them a bit more efficient or proper. Quote Link to comment Share on other sites More sharing options...
pyrothijs Posted October 4, 2009 Report Share Posted October 4, 2009 Thats actually an incorrect guide currently. It reports the third digit as a form of sequencing, making lights work in tandem, when the third digit is actually timing, and the lights go in sequence of the 2nd digit, 1-2-3 etc.. I havn't learned of any way to make a light in Em4 work in tandem with another, as in east/west and north/south going green/red together.I'm not sure if the guide was for an earlier version, but what the posters posted above is correct.traffic_1_1_10traffic_<intersection#>_<light# in that intersection 1,2,3,4)_<timing>Along with a corresponding virtual object for each light, minus the timingNot entirely true, if you make the second digit the same the lights will work at the same time. But you are correct about the order and meaning of the numbers. Quote Link to comment Share on other sites More sharing options...
topfuzz Posted October 10, 2009 Report Share Posted October 10, 2009 i think some one said it but is there a way to make 2 lights going in the same direction work at the same time like in real life? Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted October 11, 2009 Report Share Posted October 11, 2009 i think some one said it but is there a way to make 2 lights going in the same direction work at the same time like in real life?Can you read the post above yours? Quote Link to comment Share on other sites More sharing options...
topfuzz Posted October 11, 2009 Report Share Posted October 11, 2009 Can you read the post above yours?actually i already tried that and it didnt work like it should do u have to rename the vo too? Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted October 12, 2009 Report Share Posted October 12, 2009 actually i already tried that and it didnt work like it should do u have to rename the vo too?http://forum.emergency-planet.com/index.ph...st&p=106158Please read. Quote Link to comment Share on other sites More sharing options...
topfuzz Posted October 13, 2009 Report Share Posted October 13, 2009 http://forum.emergency-planet.com/index.ph...st&p=106158Please read.that doesnt answer my question Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted October 14, 2009 Report Share Posted October 14, 2009 Yes, actually it does if you take the time to read it slowly. Quote Link to comment Share on other sites More sharing options...
topfuzz Posted October 15, 2009 Report Share Posted October 15, 2009 Yes, actually it does if you take the time to read it slowly.that is in reguards to setting up new traffic lights im asking about existing ones but forget it Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted October 16, 2009 Report Share Posted October 16, 2009 Well gees lets think about this...if they need to be the same when creating a new light...it doesnt hurt to use some common sense...or ya know use trial and error. All of us modders have to rely on trial and error ya know. Quote Link to comment Share on other sites More sharing options...
topfuzz Posted October 16, 2009 Report Share Posted October 16, 2009 Well gees lets think about this...if they need to be the same when creating a new light...it doesnt hurt to use some common sense...or ya know use trial and error. All of us modders have to rely on trial and error ya know.well thats what i did but had no luck so i asked if anyone else tried or would try to get lights going in the same direction at the same time Quote Link to comment Share on other sites More sharing options...