Jump to content


Photo

Replacing a vehicle in one of the fire stations


  • Please log in to reply
255 replies to this topic

#241 jsutton

jsutton

    Battalion Chief

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

Posted 23 June 2012 - 08:35 AM

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.

Attached Files



#242 ginger303

ginger303

    Firefighter

  • Members
  • 4 posts
  • Gender:Male
  • Location:Probably at a Fire
  • Interests:North Branch Volunteer Fire Company, LA Mod

Posted 10 July 2012 - 12:45 AM

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

#243 nbrown8568

nbrown8568

    Captain

  • Members
  • 132 posts
  • Gender:Male
  • Location:Baltimore, Maryland
  • Interests:Computers, 18 Wheels of Steel,

Posted 26 July 2012 - 01:09 AM

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

Attached Files



#244 frm03064

frm03064

    Firefighter

  • Members
  • 22 posts

Posted 20 August 2012 - 09:26 PM

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?

#245 Ginger49

Ginger49

    Firefighter

  • Members
  • 1 posts

Posted 08 December 2012 - 03:25 PM

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.
Thx
Ginger

#246 kwillis

kwillis

    Captain

  • Members
  • 160 posts
  • Gender:Male
  • Location:north carolina

Posted 16 September 2013 - 10:00 PM

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.
Thx
Ginger

1. Find your emergency 4 or 911 first responders mod folder

2. Click LA mod

3. Scripts

4. Game

5. Command

Then there will be your scripts.



#247 axeman1224

axeman1224

    Lieutenant

  • Members
  • 52 posts
  • Gender:Male
  • Location:Middle of Everywhere
  • Interests:Fire Fighting, Law Enforcement, Military, Emergency Management

Posted 23 February 2014 - 03:59 AM

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.



#248 Graffspee

Graffspee

    Lieutenant

  • Members
  • 38 posts
  • Gender:Male
  • Location:Florida
  • Interests:Many and Varied......

Posted 26 March 2014 - 01:33 PM

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

Attached Files



#249 The Loot

The Loot

    Battalion Chief

  • Members
  • 725 posts
  • Gender:Male

Posted 27 March 2014 - 08:06 AM

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.

Attached Files



#250 Graffspee

Graffspee

    Lieutenant

  • Members
  • 38 posts
  • Gender:Male
  • Location:Florida
  • Interests:Many and Varied......

Posted 27 March 2014 - 12:56 PM

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



#251 The Loot

The Loot

    Battalion Chief

  • Members
  • 725 posts
  • Gender:Male

Posted 27 March 2014 - 01:17 PM

I missed that same Ladder/Tiller issue later on in the LAToFS script. Here's the fixed, hopefully final, script.

Attached Files



#252 Graffspee

Graffspee

    Lieutenant

  • Members
  • 38 posts
  • Gender:Male
  • Location:Florida
  • Interests:Many and Varied......

Posted 27 March 2014 - 01:52 PM

I missed that same Ladder/Tiller issue later on in the LAToFS script. Here's the fixed, hopefully final, script.

That fixed it....Now I see how it all fits together . That helps me get a better understanding of it...Thanks again for the help....



#253 NGoble12

NGoble12

    Firefighter

  • Members
  • 3 posts

Posted 29 December 2014 - 07:30 AM

Hey All!

I read through the files and am still a little stumped couple questions for you not sure where to put them though, 1. I wanted to add BCFD Engine 2 from the Montana mod v2 to the LA mod (just for a personal mod) so i moved all the Model/Prototypes to the correct folders (i think) but when i load the mod the model comes up but it has no color or anything to it (looks like its made from clay), but the lights dont show up or anything. But when i use just the model and the prototypes that are in the folder already ( default la mod v2 engine 2 prototypes) it comes up with a box and thats it but you can see the custom lights, so im stuck. 2nd im trying to add a second USAR to LA mod and i got everything down except the return to station command i saw you had to add something like the engine 1 scripts but i don't know what to add, or what line to add them too! If you could help that would be great.  



#254 kwillis

kwillis

    Captain

  • Members
  • 160 posts
  • Gender:Male
  • Location:north carolina

Posted 11 March 2015 - 09:17 PM

Hey yall,

 

I am wanting to change out engine 1 at station 1 in the Mayberry County mod to one of the ones that com from off the map (engine 10). I am planning on reskinning the the engine to make it look like the other trucks. I just really don't like the way engine 1 looks. It looks like a tanker to me, but that's just my opinion.

 

Anyway I have changed the scripts to where engine 10 is sitting in the bay and staffs fine, but I can't send it back to the station.

 

I changed the scripts in Lafirestation, Lafirestationstart, and Latofirestation and added the Vcmdtofirestation to the truck but the button doesnt appear nor does the truck go back to the station. What am I missing?



#255 randomperson139

randomperson139

    Forum Ninja

  • Sub-Moderator
  • 5,404 posts
  • Gender:Not Telling
  • Location:Hiding in the shadows...

Posted 12 March 2015 - 03:02 PM

The button doesn't appear because you need to give that truck the To Fire Station command, the editor is used for this.


Owner of 295 Warning Points
Executive Director: Forum Child Watch

Think a lot. Say little. Write nothing.
-J.P. Morgan

#256 kwillis

kwillis

    Captain

  • Members
  • 160 posts
  • Gender:Male
  • Location:north carolina

Posted 12 March 2015 - 07:37 PM

The button doesn't appear because you need to give that truck the To Fire Station command, the editor is used for this.

 

I did do that, but it still didnt appear. I found another option, I moved engine 1 to station 3 and engine 3 to station 1 and reskinned the truck numbers and boom! got it.