Zum Inhalt wechseln


Foto

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 Beiträge:
  • Gender:Male
  • Location:Taylorville, Illinois, USA
  • Interests:Tractor Pulling, Emergency Vehicles, Gaming

Geschrieben 23 Juni 2012 - 08:35

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.

Angehängte Datei(en)

  • Angehängte Datei  Scripts.zip   18,12K   113 Anzahl der Downloads


#242 ginger303

ginger303

    Firefighter

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

Geschrieben 10 Juli 2012 - 12:45

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 Beiträge:
  • Gender:Male
  • Location:Baltimore, Maryland
  • Interests:Computers, 18 Wheels of Steel,

Geschrieben 26 Juli 2012 - 01:09

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

Angehängte Datei(en)



#244 frm03064

frm03064

    Firefighter

  • Members
  • 22 Beiträge:

Geschrieben 20 August 2012 - 09:26

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 Beiträge:

Geschrieben 08 Dezember 2012 - 03:25

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 Beiträge:
  • Gender:Male
  • Location:north carolina

Geschrieben 16 September 2013 - 10:00

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 Beiträge:
  • Gender:Male
  • Location:Middle of Everywhere
  • Interests:Fire Fighting, Law Enforcement, Military, Emergency Management

Geschrieben 23 Februar 2014 - 03:59

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 Beiträge:
  • Gender:Male
  • Location:Florida
  • Interests:Many and Varied......

Geschrieben 26 März 2014 - 01:33

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

Angehängte Datei(en)



#249 The Loot

The Loot

    Battalion Chief

  • Members
  • 725 Beiträge:
  • Gender:Male

Geschrieben 27 März 2014 - 08:06

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.

Angehängte Datei(en)



#250 Graffspee

Graffspee

    Lieutenant

  • Members
  • 38 Beiträge:
  • Gender:Male
  • Location:Florida
  • Interests:Many and Varied......

Geschrieben 27 März 2014 - 12:56

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 Beiträge:
  • Gender:Male

Geschrieben 27 März 2014 - 01:17

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

Angehängte Datei(en)



#252 Graffspee

Graffspee

    Lieutenant

  • Members
  • 38 Beiträge:
  • Gender:Male
  • Location:Florida
  • Interests:Many and Varied......

Geschrieben 27 März 2014 - 01:52

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 Beiträge:

Geschrieben 29 Dezember 2014 - 07:30

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 Beiträge:
  • Gender:Male
  • Location:north carolina

Geschrieben 11 März 2015 - 09:17

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 Beiträge:
  • Gender:Not Telling
  • Location:Hiding in the shadows...

Geschrieben 12 März 2015 - 03:02

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 Beiträge:
  • Gender:Male
  • Location:north carolina

Geschrieben 12 März 2015 - 07:37

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.