Ga naar inhoud


Foto

Replacing a vehicle in one of the fire stations


  • Please log in to reply
255 replies to this topic

#221 squamishfire

squamishfire

    Senior Captain

  • Members
  • 322 Posts:
  • Gender:Male
  • Location:Canada

Gepost 20 juli 2011 - 12:11

I thought that I had the zip file in it... I guess I was wrong. hmmm on another thought it won't let me load it so I am gonna copy and paste where it is.
RCMP Mod Staff Member

Former Fire Fighter (2006-2011)
Squamish Fire Resuce
Hall one Company 41 (on call 24-7)

#222 jsutton

jsutton

    Battalion Chief

  • Members
  • 540 Posts:
  • Gender:Male
  • Location:Taylorville, Illinois, USA
  • Interests:Tractor Pulling, Emergency Vehicles, Gaming

Gepost 20 juli 2011 - 05:40

I thought that I had the zip file in it... I guess I was wrong. hmmm on another thought it won't let me load it so I am gonna copy and paste where it is.


Ok, here is what I think. The battalion script is a call script which just calls the units. It doesn't control the personnel who is called to the unit because when it calls for let's say the ALS ambulance, the battalion script tells the LAFireStation script that it wants Ambulance01 and will use it's personnel that its assigned to. So pretty much, you would just edit the LAFireStation script instead of the Battalion script.

Does that make sense?

#223 squamishfire

squamishfire

    Senior Captain

  • Members
  • 322 Posts:
  • Gender:Male
  • Location:Canada

Gepost 22 juli 2011 - 09:47

actually it does. I will play around with that and see what happens.

Thanks again man.
RCMP Mod Staff Member

Former Fire Fighter (2006-2011)
Squamish Fire Resuce
Hall one Company 41 (on call 24-7)

#224 frm03064

frm03064

    Firefighter

  • Members
  • 22 Posts:

Gepost 25 juli 2011 - 07:42

Soo ive managed to replace my HAZMAT squad at FS2 with the Light equipment truck and the BLS ambulance there with the large rescue ambulance... I was wondering if theres anyway to replace the Engine at FS2 with a Water Tender??? Ive messed around with the scripts quite a bit but i cant seem to change the scripts for the engines at all.

#225 frm03064

frm03064

    Firefighter

  • Members
  • 22 Posts:

Gepost 27 juli 2011 - 04:07

actuallly.... i wanna figure out a way to switch out engine #5 (the engine at FS2) with any other unit like you can with the other trucks at FS2... it seems its coded in with the other engines at FS1 so if you change the engine at FS2 its going to change them at FS1 too...

Basically what i want is

Firestation 1:
3 ambulance
1 USAR
1 ladder
2 engine 1
2 engine 2

Firestation 2:
1 Large rescue ambulance
1 Water Tender
1 ladder

Does anyone know how this can be scripted for??? ive tried and tried but keep messing something up on the Tofirestation script.

#226 BJHawk

BJHawk

    Firefighter

  • Members
  • 15 Posts:
  • Gender:Male

Gepost 06 augustus 2011 - 04:18

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.

#227 bmxchamp4

bmxchamp4

    Lieutenant

  • Members
  • 65 Posts:
  • Gender:Male
  • Location:Pacifica, CA
  • Interests:Sports (Football, Basketball, BMX, Skating etc.), Emergency Services (Fire Department, EMS, Police Department). Currently a Founder of an independent game development company named Forbidden Gravity. I like playing video games when I have some free time. I like long walks in the park and pina coladas LOL jk.

Gepost 25 augustus 2011 - 06:28

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!!

The revival of Joint Emergency Responders has officially begun - 9/25/2013

 

http://jer.enjin.com/


#228 JimmyKid

JimmyKid

    Lieutenant

  • Members
  • 97 Posts:
  • Gender:Male
  • Location:Liverpool, NY
  • Interests:Firefighting, computers, Aviation

Gepost 26 augustus 2011 - 05:42

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.
"?"

Posted Image

#229 crsmedic30

crsmedic30

    Firefighter

  • Members
  • 14 Posts:
  • Gender:Male
  • Location:Louisville, KY

Gepost 28 januari 2012 - 10:06

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 provide

Bijgesloten bestand(en)



#230 Lt GMFD

Lt GMFD

    Lieutenant

  • Members
  • 46 Posts:
  • Gender:Male
  • Location:USA

Gepost 05 februari 2012 - 05:12

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?

#231 Tevion2GO

Tevion2GO

    Captain

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

Gepost 31 maart 2012 - 09:15

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 firestation
it 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.

#232 Guest_Firefighter85_*

Guest_Firefighter85_*
  • Guests

Gepost 07 april 2012 - 06:55

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.

#233 jsutton

jsutton

    Battalion Chief

  • Members
  • 540 Posts:
  • Gender:Male
  • Location:Taylorville, Illinois, USA
  • Interests:Tractor Pulling, Emergency Vehicles, Gaming

Gepost 13 april 2012 - 07:00

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 provide


Not 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 firestation
it 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.

#234 Wkboy714

Wkboy714

    Senior Captain

  • Members
  • 489 Posts:
  • Gender:Male
  • Location:England, UK

Gepost 13 april 2012 - 07:17

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 :)

#235 Tevion2GO

Tevion2GO

    Captain

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

Gepost 14 april 2012 - 05:28

I was successfull! :cheers:

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. :happy:

grettings

Bijgesloten bestand(en)



#236 frm03064

frm03064

    Firefighter

  • Members
  • 22 Posts:

Gepost 10 mei 2012 - 11:16

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 x3

Station 2: Ambulance
Water Tender
Squad

Ive 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.

#237 Justin2595

Justin2595

    Firefighter

  • Members
  • 8 Posts:

Gepost 28 mei 2012 - 08:04

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.

Bijgesloten bestand(en)



#238 jsutton

jsutton

    Battalion Chief

  • Members
  • 540 Posts:
  • Gender:Male
  • Location:Taylorville, Illinois, USA
  • Interests:Tractor Pulling, Emergency Vehicles, Gaming

Gepost 17 juni 2012 - 10:13

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 x3

Station 2: Ambulance
Water Tender
Squad

Ive 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.

#239 Justin2595

Justin2595

    Firefighter

  • Members
  • 8 Posts:

Gepost 20 juni 2012 - 11:57

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!

#240 jsutton

jsutton

    Battalion Chief

  • Members
  • 540 Posts:
  • Gender:Male
  • Location:Taylorville, Illinois, USA
  • Interests:Tractor Pulling, Emergency Vehicles, Gaming

Gepost 22 juni 2012 - 08:44

**Delete Please**