Pearl71 Posted March 30, 2009 Report Share Posted March 30, 2009 i understand the concept of the programing and instalation of the traffic lights and all.... but, one question.... how do u set it up to make the lights turn red when the fire app. pulls out onto the ramp?.... i have working traffic lights... they just dont change when the Fire App. respondThanks,Will Link to comment Share on other sites More sharing options...
pyrothijs Posted March 30, 2009 Report Share Posted March 30, 2009 (edited) So, in theorey would it be possible to say name stop signs traffic_1_2_3 and create a virtual object to make them function the same as a traffic light?Not in that manner, else the stop sign won't work as a stopsign all the time: when the traffic lights of that set turn green, the traffic won't stop for the stop sign anymore. Creating a new script would be easier. i understand the concept of the programing and instalation of the traffic lights and all.... but, one question.... how do u set it up to make the lights turn red when the fire app. pulls out onto the ramp?.... i have working traffic lights... they just dont change when the Fire App. respondThanks,WillYou would have to adapt the alarm script. Edited March 30, 2009 by pyrothijs Link to comment Share on other sites More sharing options...
Pearl71 Posted March 30, 2009 Report Share Posted March 30, 2009 Ah.... then iam screwed lol..... dont understand the scripts... dont wanna understand the scripts lol... oh well Thanks Though ,Will Link to comment Share on other sites More sharing options...
Newfoundking Posted March 31, 2009 Report Share Posted March 31, 2009 yeah, to get it working like a spot light when the alarm went on would require scripting, but really all you need to do is set it so that object blank stops traffic while Alarm is ringing... It wouldn't be extremely hard, but it would be difficult indeed Link to comment Share on other sites More sharing options...
topfuzz Posted October 8, 2009 Report Share Posted October 8, 2009 It's in the name of the traffic light, when you open the editor you will notice all trafic lights have names like these:traffic_1_2_3 The first number (1) tells the game which set of lights it is. All sets with 1 will work at the same time. The second number (2) specifies the order in which the lights turn from green to orange to red. The light with a 1 there changes first, the ligt with a 2 changes after that etc. The last number (3) is the number of seconds each of the lights burns. So here green will burn 3 sec., then orange three sec and red 3 sec. With each traffic light a virtual object named the same is used to stop the traffic before the light.how do u get 2 traffic lights to go at the same time n/s e/w Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted October 8, 2009 Author Report Share Posted October 8, 2009 Not tested but try traffic_1_1_3 - northtraffic_1_1_3 - southtraffic_1_2_3 - easttraffic_1_2_3 - westbut if you have traffic turning this may cause problems. For example, north bound traffic tried to turn left while south bound traffic is trying to go straight, your asking for pile ups, but if you get it just right you might be able to work it out. Link to comment Share on other sites More sharing options...
topfuzz Posted October 9, 2009 Report Share Posted October 9, 2009 Not tested but try traffic_1_1_3 - northtraffic_1_1_3 - southtraffic_1_2_3 - easttraffic_1_2_3 - westbut if you have traffic turning this may cause problems. For example, north bound traffic tried to turn left while south bound traffic is trying to go straight, your asking for pile ups, but if you get it just right you might be able to work it out.i tried that and all the lights were green and cars would stop on green and wait till red like they each light was still operating on its own Link to comment Share on other sites More sharing options...
SirMoo Posted October 9, 2009 Report Share Posted October 9, 2009 Wow. I've been wondering about this for a couple days now. I've wanted to know if it's possible to click the little alarm box for about 8 seconds have the lights right infront of it switch red... Which I'm guess this is exactly what yall are discussing here.So both lights will need to be 3_2_8 ( if 3 is not already in use? ). I'm not entirely understanding what 2 does. Or can it be 3_1_8 if it's not a 4 way turn? Would anyone mind listing the files that have these properties in them so I can look and understand this? Link to comment Share on other sites More sharing options...
andrew2007 Posted October 9, 2009 Report Share Posted October 9, 2009 It's an interesting concept, will be watching the development (if any) of this.It'd be good to see it implemented at FS2 in the map as it is near a set of lights. Link to comment Share on other sites More sharing options...
Newfoundking Posted October 9, 2009 Report Share Posted October 9, 2009 It's very possible, maybe not as a traffic light control, but to have the alarm command also activate a stop command, similar to the halt vehicles command that personnel have.. Link to comment Share on other sites More sharing options...
SirMoo Posted October 9, 2009 Report Share Posted October 9, 2009 I realise now that my logic on the stop light numbers was a failure... So... How do I run an underground cord for alarm-on = redlight ---- alarm-off = greenlight... and ignore the 1_2_3_4_5_10000 To do this... What needs to happen. Name a stoplight then tie that stop light into the alarm script station... Would it be that on alarm from fire_station_controlpanel2 that stoplight_station2one and stoplight_station2two would trigger an invisible cop holding up a sign and after that the actual lights would just be for show... Or can we tie in some pretty red lights flashing on a post above the street? I'm guessing the content in this thread does not help with what I'm actually wanting to do. :/ Link to comment Share on other sites More sharing options...
Newfoundking Posted October 9, 2009 Report Share Posted October 9, 2009 I'm sure there is a complicated way to do it, but I like the KISS methodTheoretically, you could just have an object that when you press alarm, it also triggers a stop command for objects named Stopblock_1 and stopblock_2When the alarm shuts off, so does the stop command, allowing traffic to flow again Link to comment Share on other sites More sharing options...
SirMoo Posted October 9, 2009 Report Share Posted October 9, 2009 So in theory... You could set up tons of tiny boxes at every intersection and set them to when you click an action button it stops traffic going that particular way despite what the light says if you place the action zone before the lights action zone? or stop a whole intersection just by making the stop light like the control panel for the firestation? So all traffic no matter where they are at within the intersection... as long as they're in the blue zone they'll stop when the command is issued and go when it's turned off? Am I understanding how this works right? Link to comment Share on other sites More sharing options...
Newfoundking Posted October 9, 2009 Report Share Posted October 9, 2009 Well I was thining more along the lines of the halt vehicle command, that personnel have, and it orders cars in front of it to stop...This is the most simple thing I can think of... press the button, it stops traffic in front of it, press it again, it lets traffic flow again.. Have maybe so when you press on, the "special light" comes on... Link to comment Share on other sites More sharing options...
SirMoo Posted October 9, 2009 Report Share Posted October 9, 2009 Yes... well... I was just going overly happy with it. I guess this would be pretty simple... So can we get this ( http://www.mountprospect.org/services/fire...tment/fire3.jpg ) on a grander scale? Like a large red flashing light on a across the road stop light... minus the normal stop lights?Edit:Alright... I'm going to double post since it's been over an hour. ( Feel free to merge it if yall want ).So I created another fire station control panel and named it "station2stop' I also created a virtual object by the same name. Inside the editor.. I assigned the CP the stopvehicle and the alarm command already with it... So I'm guessing the question is how do I get it to trigger inside that zone... the stop command? I'm assuming this is added to a file... but I'm not understanding what I need to do script wise for this. Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted October 9, 2009 Author Report Share Posted October 9, 2009 i tried that and all the lights were green and cars would stop on green and wait till red like they each light was still operating on its ownI have no idea then. Just experiment.It's very possible, maybe not as a traffic light control, but to have the alarm command also activate a stop command, similar to the halt vehicles command that personnel have..I'm sure there is a complicated way to do it, but I like the KISS methodTheoretically, you could just have an object that when you press alarm, it also triggers a stop command for objects named Stopblock_1 and stopblock_2When the alarm shuts off, so does the stop command, allowing traffic to flow againGood ideas. I may see if I cant come up with some sort of way to make this work. Link to comment Share on other sites More sharing options...
topfuzz Posted October 9, 2009 Report Share Posted October 9, 2009 I have no idea then. Just experiment.ok thanks anywaysGood ideas. I may see if I cant come up with some sort of way to make this work. Link to comment Share on other sites More sharing options...
Superburke Posted October 10, 2009 Report Share Posted October 10, 2009 If my editor was here I could help but its not.Anyways Leeds (Where I live) has these not traffic lights 2 red lights that light up when press a button inside garage and the light make traffic stop ill try and sketch it with Paint now Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted October 10, 2009 Author Report Share Posted October 10, 2009 ^go to start menu->programs->sixteen tons(or wizard works if you have 911:FR) and the editor will be in there. Link to comment Share on other sites More sharing options...
Superburke Posted October 10, 2009 Report Share Posted October 10, 2009 Its not......... Link to comment Share on other sites More sharing options...
Guest M1n1d0u Posted October 10, 2009 Report Share Posted October 10, 2009 create a new shortcut and add at the end of the line in configuration : -editor and launch the shortcut Link to comment Share on other sites More sharing options...
SirMoo Posted October 11, 2009 Report Share Posted October 11, 2009 So is anyone able to write the script for the stop boxes ( Not actually adding them to the map just placing them in a script ) because when I looked at it and see if I knew enough... I began to beat my head against a hard surface kind of like this ----> Link to comment Share on other sites More sharing options...
Guest M1n1d0u Posted October 11, 2009 Report Share Posted October 11, 2009 i have a little idea try to reskin the lapd trailer and for a signalisation trailer and a the redirect script Link to comment Share on other sites More sharing options...
Guest Dakati Posted October 20, 2009 Report Share Posted October 20, 2009 Exactly what you want:http://forum.emergency-planet.com/index.php?showtopic=8582 Link to comment Share on other sites More sharing options...