BJHawk Posted August 6, 2011 Report Share Posted August 6, 2011 Hey guys,First of all, I'm newbie in scripting, but this tutorial helped me a lot. I Managed to switch USAR with 3x HES, including VO, but I cannot manage to get all three to return to FS, only one goes there and 2 others goes to HQ. Second i changed HAZMAT for Brush, but i cannot manage to get BC to call Brush from FS2 insted of buying from HQ.Both vehicles, HES and Brush, have RTFS command, HES have even patrol command (Couldn't help it, had to try ). Brush returns fine. Quote Link to comment Share on other sites More sharing options...
bmxchamp4 Posted August 25, 2011 Report Share Posted August 25, 2011 Hey guys whats up. Not to barge in here and make my own questions more important or anything, but I figured this one was the perfect one to ask my question in. I am currently adding things to freeplay on my game. I am taking all of the civilian cars out of the police station, spawning police cars there, adding a spawn point to the police station, and would very much like to spawn police officers at the station and have them auto staff the police cars. It's pretty much the same scripting as the fire stations just for the police station and I already am working on it and have ideas on how to do it... it may work it may not who knows but so far everything i've done has worked and i now have a ton of police cars ready to go rather than having to spawn my own. I am working on the spawn point as we speak putting it in the station and scripting it. also am going to add a control panel to the police station. The dilemma I'm facing though is how exactly to spawn the police officers. you know how for the firefighters it's like 1 for a paramedic, 3 for a basic FF 6 for the HAZMAT FFs. My question to you all is....................................... what number is associated with police officers if any at all??? and how do you find out these numbers?? is it merely a process of cycling through numbers and loading up the game until you find the one you want?? or is there a way to assign these numbers to the personnel and if so how?? any and all help is very much appreciated. please reply to this message ASAP thanks!! Quote Link to comment Share on other sites More sharing options...
JimmyKid Posted August 26, 2011 Report Share Posted August 26, 2011 Could someone tell me how I would change the HazMat in FS2, to a LACoFD Squad, with the ability to be called by the batt. Chief or EMS super, because I just can't seem to figure it out. Quote Link to comment Share on other sites More sharing options...
crsmedic30 Posted January 28, 2012 Report Share Posted January 28, 2012 Hey everyone i've been playing la mod since it first came out. I have recently decided to try to mess with the scripts and replace some vehicles so far i have been able to replace the Hazmat for the HES and have 4 usar ff start in the truck but i can't get it to go back to the fire station i followed the instructions in the post as well as the step by step that someone left for chris on here every time i tell the HES to go back to FS it states this unit does not belong in the FS included is a copy of my scripts thanks for any help you can provideScripts.zip Quote Link to comment Share on other sites More sharing options...
Lt GMFD Posted February 5, 2012 Report Share Posted February 5, 2012 One problem I ran into was when I go into the Editor and add the To Fire Station Command to the truck I want... it does not stay there. If you get another one of the same truck it is not there. How doy ou save the command into the truck? Quote Link to comment Share on other sites More sharing options...
Tevion2GO Posted March 31, 2012 Report Share Posted March 31, 2012 Okey, so far so good....I managed to get the Hazmat replaced with the Arial Ladder. When the game starts everything worked properly.The truck spawns in the right position and with the right personal but when I tried to send the truck back to the firestationit says: "no place at firestation[...]" allthough the bay at FS2 is empty.My question is how do I have to manage/change the scriptsfiles that the Arial Ladder returns to FS2?I would appreciate any help thanks. Quote Link to comment Share on other sites More sharing options...
Guest Firefighter85 Posted April 7, 2012 Report Share Posted April 7, 2012 I'm also having the same issue. I'm using the LA 4x4 mod, and attempted to replace the tiller with a 2nd aerial. Everything works great, but for some reason the original aerial from station 2 now attempts to park at station 1. I've checked the scripts and can't seem to find an error, and any help with the issue would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
jsutton Posted April 13, 2012 Report Share Posted April 13, 2012 Hey everyone i've been playing la mod since it first came out. I have recently decided to try to mess with the scripts and replace some vehicles so far i have been able to replace the Hazmat for the HES and have 4 usar ff start in the truck but i can't get it to go back to the fire station i followed the instructions in the post as well as the step by step that someone left for chris on here every time i tell the HES to go back to FS it states this unit does not belong in the FS included is a copy of my scripts thanks for any help you can provideNot sure if you have it fixed or not, but the only problem I see in your scripts in in the LAToFireStation script at the top, you forgot to add a "p" at the end of the line. Just add that letter at the end so it reads .e4p and should work because I checked everything else and it looked good.One problem I ran into was when I go into the Editor and add the To Fire Station Command to the truck I want... it does not stay there. If you get another one of the same truck it is not there. How doy ou save the command into the truck?Make sure at the bottom it is autosaved. Any changes made will automatically save if it is checked. Only thing I can think of at the moment.Okey, so far so good....I managed to get the Hazmat replaced with the Arial Ladder. When the game starts everything worked properly.The truck spawns in the right position and with the right personal but when I tried to send the truck back to the firestationit says: "no place at firestation[...]" allthough the bay at FS2 is empty.My question is how do I have to manage/change the scriptsfiles that the Arial Ladder returns to FS2?I would appreciate any help thanks.In order to even send the ladder back to FS2, you must of made changes to the script. You have a error in your scripts somewhere. Just double check everything you did and make sure they are correct and if you need something to compare it with, crsmedic's script is good except for missing that letter. Just search for Hazmat in the find button and you should be able to compare them and see if you accidentally forgot something.I'm also having the same issue. I'm using the LA 4x4 mod, and attempted to replace the tiller with a 2nd aerial. Everything works great, but for some reason the original aerial from station 2 now attempts to park at station 1. I've checked the scripts and can't seem to find an error, and any help with the issue would be greatly appreciated.That's complicated and I already made a working script for someone on this in the past. I would look through this forum and see if you can locate me posting it. I will also look in my folder to see if I still have it. Basically, you have to set up the script like engine 1 is in the original LA Mod. Just copy engine 1's script and remove the second engine and change the virtual objects and object names and should work. It was a pain at first when I atttempted it but it was too difficult once I figured it out. Remember, trial and error is the key so just before asking for help, try to find the mistakes or what could be causing the issue you may have with it. Quote Link to comment Share on other sites More sharing options...
Wkboy714 Posted April 13, 2012 Report Share Posted April 13, 2012 One problem I ran into was when I go into the Editor and add the To Fire Station Command to the truck I want... it does not stay there. If you get another one of the same truck it is not there. How doy ou save the command into the truck?When you add that command, click on the "Apply to all of this prototype" button, or something like that Quote Link to comment Share on other sites More sharing options...
Tevion2GO Posted April 14, 2012 Report Share Posted April 14, 2012 I was successfull! Thanks jsutton for the little hint you gave me. I took crsmedic's script and an old one by Shane Green I guess and compared them to my version. During this process I found the mistake I made.I was so motivate that after that I also did some minor changes in the staffing for example added scubagear to the BSL Engines ( see first page of this tread) etc.All files are fully campatible with LA MOd 2.1. I will attach them so you can use them.I also made a second Version where I replaced the Abulance in FS2 with the Heavy Equipment Squad. Be sure to add the GoToFirestation command to the vehicle in the Editor if you use this version.All files are fully campatible with LA Mod 2.1. I will attach them so you can use them if that is not a problem. grettingsScript with Ladder.rarScript with Ladder and HES.rar Quote Link to comment Share on other sites More sharing options...
frm03064 Posted May 10, 2012 Report Share Posted May 10, 2012 i was still wondering if anyone knew how to replace the engine at station 2 with the water tender...basically what i want is:Station 1: Engine 1x2 Engine 2x2 Heavy Rescue Quint Ambulance x3Station 2: Ambulance Water Tender SquadIve managed to get the squad and ambulance in station 2, the only thing im having problems with is replacing the engine with the tender without messing up the engines at station 1 as well. Quote Link to comment Share on other sites More sharing options...
Justin2595 Posted May 28, 2012 Report Share Posted May 28, 2012 Hello,I am looking for some assistance about changing some station set-ups. I have the LA Mod 1.0.9 4x4 and what I would like to do is, in fire station 2 I would like to take out engine 17 and put in another engine 2. I have gotten the correct engine to spawn in the correct place but when I try to make the engine return to the fire station. It says that there is no room and it returns to base. I am not sure what I have done wrong but if someone would be so kind to tell me what I did wrong and how to fix it or fix the file and send it back to me I would very much appreciate it. Please let me know if you have any questions or if you have an answer for me. I have attached the files that I think needed to be changed.Thank you for your time.Scripts.rar Quote Link to comment Share on other sites More sharing options...
jsutton Posted June 17, 2012 Report Share Posted June 17, 2012 i was still wondering if anyone knew how to replace the engine at station 2 with the water tender...basically what i want is:Station 1: Engine 1x2 Engine 2x2 Heavy Rescue Quint Ambulance x3Station 2: Ambulance Water Tender SquadIve managed to get the squad and ambulance in station 2, the only thing im having problems with is replacing the engine with the tender without messing up the engines at station 1 as well.I'll make a tutorial for you sometime today unless you already have figured it out.Hello,I am looking for some assistance about changing some station set-ups. I have the LA Mod 1.0.9 4x4 and what I would like to do is, in fire station 2 I would like to take out engine 17 and put in another engine 2. I have gotten the correct engine to spawn in the correct place but when I try to make the engine return to the fire station. It says that there is no room and it returns to base. I am not sure what I have done wrong but if someone would be so kind to tell me what I did wrong and how to fix it or fix the file and send it back to me I would very much appreciate it. Please let me know if you have any questions or if you have an answer for me. I have attached the files that I think needed to be changed.Thank you for your time.Well Justin, A for effort for sure. Of course, LAtoFireStation script is your problem. Anytime you have returning to station issues, this is the script you look at. The way you edited your script, your confusing the script. Right now, your telling the script, you want to send engine02 to station one and you want to send engine04 to station one and station two. The script is only equipped to send one engine to one virtual object so engine04 can't go to two virtual objects. That's why in the engine01 coding, you seen engine01, engine03, engine05. Engine05 was the engine being sent to the second station. You may experience problems returning engine 1 to station as well because your missing a piece for that.So your problem with the script is, you removed engine05 from code. This is a medium fix. I'll have it fixed tomorrow for you unless someone else has already fixed it for you. Quote Link to comment Share on other sites More sharing options...
Justin2595 Posted June 20, 2012 Report Share Posted June 20, 2012 Well Justin, A for effort for sure. Of course, LAtoFireStation script is your problem. Anytime you have returning to station issues, this is the script you look at. The way you edited your script, your confusing the script. Right now, your telling the script, you want to send engine02 to station one and you want to send engine04 to station one and station two. The script is only equipped to send one engine to one virtual object so engine04 can't go to two virtual objects. That's why in the engine01 coding, you seen engine01, engine03, engine05. Engine05 was the engine being sent to the second station. You may experience problems returning engine 1 to station as well because your missing a piece for that.So your problem with the script is, you removed engine05 from code. This is a medium fix. I'll have it fixed tomorrow for you unless someone else has already fixed it for you.Thank you very much! Quote Link to comment Share on other sites More sharing options...
jsutton Posted June 22, 2012 Report Share Posted June 22, 2012 **Delete Please** Quote Link to comment Share on other sites More sharing options...
jsutton Posted June 23, 2012 Report Share Posted June 23, 2012 Thank you very much!Here is the files. I've reviewed it twice and it looked functional. This is always trial and error so if you receive any errors, let me know by PM and we'll get it fixed.Scripts.zip Quote Link to comment Share on other sites More sharing options...
ginger303 Posted July 9, 2012 Report Share Posted July 9, 2012 I changed the hazmat truck for the brush tuck. I made sure that it spawned at fs2, which works. I added the tofirestation code to the brushtruck and removed it from the hazmat truck and changed the code to what jsutton told someone else to do. When I tell the brush truck to go to go to station it says "This vehical doesn't belong in the fire station!" Can you help me!ThanksGinger303 Quote Link to comment Share on other sites More sharing options...
nbrown8568 Posted July 26, 2012 Report Share Posted July 26, 2012 I'm using Explorer 4x4 submod. I have replaced the brush truck with the LEV. It returns to station 2 but it will not stay.***FIXED***Norm's 4x4 Fire Station Scripts.zip Quote Link to comment Share on other sites More sharing options...
frm03064 Posted August 20, 2012 Report Share Posted August 20, 2012 So ive managed to replace the engine at FS2 with the water tender... The water tender spawns there with proper crew.... I went into the editor and added the "return to firestation" command to the water tender...I also added a section to the ToFireStation script that should of made the tender return to FS2... Yet for some reason when i click on return to firestation, it still says "Vehicle Does not belong at firestation"...Can anyone help me out with a ToFireStation script that gets the water tender to return to FS2? Quote Link to comment Share on other sites More sharing options...
Ginger49 Posted December 8, 2012 Report Share Posted December 8, 2012 I want to have another fire engine in the place of the hazmat truck in fire station 2. I have a lot of programimng knowledge, but i dont know where to look for the files. If you give the location of where the files are I will be very happy. ThxGinger Quote Link to comment Share on other sites More sharing options...
kwillis Posted September 16, 2013 Report Share Posted September 16, 2013 I want to have another fire engine in the place of the hazmat truck in fire station 2. I have a lot of programimng knowledge, but i dont know where to look for the files. If you give the location of where the files are I will be very happy.ThxGinger1. Find your emergency 4 or 911 first responders mod folder2. Click LA mod3. Scripts4. Game5. CommandThen there will be your scripts. Quote Link to comment Share on other sites More sharing options...
axeman1224 Posted February 23, 2014 Report Share Posted February 23, 2014 So ive managed to replace the engine at FS2 with the water tender... The water tender spawns there with proper crew.... I went into the editor and added the "return to firestation" command to the water tender...I also added a section to the ToFireStation script that should of made the tender return to FS2... Yet for some reason when i click on return to firestation, it still says "Vehicle Does not belong at firestation"...Can anyone help me out with a ToFireStation script that gets the water tender to return to FS2?You need to relate the virtual object to the prototype in ToFireStation script just like the FireStationStart script. Â Make sure it matches the prototype file and not the model. Quote Link to comment Share on other sites More sharing options...
Graffspee Posted March 26, 2014 Report Share Posted March 26, 2014 Ok. I have been playing around with replacing the Ladder at Station 1 with the Tiller and the HAZMAT at Station 2 with the Ladder in LA v2.1. I have sucessfully made the Tiller and the Ladder to Spawn at the two stations but have not been able to get the Ladder to return to station 2. I have spent days playing with the scripts and can not figure it out. I have attached the scripts in the hope that maybe someone can take a look and point me in the right direction............LA2.1 Script.zip Quote Link to comment Share on other sites More sharing options...
The Loot Posted March 27, 2014 Report Share Posted March 27, 2014 You had duplicated constants for the Ladder prototype in your scripts. I made sure to replace all HAZMAT references with Ladder and removed any duplicates. You also had Ladder and the Tiller in the same spot in LAToFireStation, before the replaced HAZMAT lines, so it would still try to send the ladder to FS1 instead, so I fixed that. Hopefully the issue will be sorted out.LA2.1 Script.rar Quote Link to comment Share on other sites More sharing options...
Graffspee Posted March 27, 2014 Report Share Posted March 27, 2014 Ok....Thanks for looking at it..... I appreciate the help..... However, when the Ladder returns to Station 2 and goes to enter the station it pulls up the the rear gate and the gate fails to open and says "There is no room in the station" the Ladder then drives off map. I looked through the LAFireStation script but did not see anything the stood out that would be causing it The gate information looks good to me .I assume that is were the information is that tells if the bay is occupied or not... Quote Link to comment Share on other sites More sharing options...