Ga naar inhoud


Foto

Replacing a vehicle in one of the fire stations


  • Please log in to reply
255 replies to this topic

#201 jsutton

jsutton

    Battalion Chief

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

Gepost 19 juni 2011 - 08:01

Is there a program that I need in order to edit the files?


You can use Notepad which is stock on all computers or you can download Notepad 2 or any editing program like that. I prefer Notepad2 which you download from the internet.

#202 Guest_nbrown8568_*

Guest_nbrown8568_*
  • Guests

Gepost 21 juni 2011 - 02:38

I am using LA Mod 4x4. I changed out the Brush Unit for LEV at Sta. 2 I also added the topolicestation button to the Bomb Squad SUV. I would like to replace Engine 17 with the Engine that is at Sta 2 in the original LA Mod.

Norm,

#203 jsutton

jsutton

    Battalion Chief

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

Gepost 21 juni 2011 - 03:53

I am using LA Mod 4x4. I changed out the Brush Unit for LEV at Sta. 2 I also added the topolicestation button to the Bomb Squad SUV. I would like to replace Engine 17 with the Engine that is at Sta 2 in the original LA Mod.

Norm,


That's going to be a tricky one. I'll look in to it tomorrow and see if I can get you a working script.

#204 Guest_nbrown8568_*

Guest_nbrown8568_*
  • Guests

Gepost 22 juni 2011 - 03:55

That's going to be a tricky one. I'll look in to it tomorrow and see if I can get you a working script.



Thnx I really don't like Engine 17. (no offense to it's maker lol)

Norm,

#205 Guest_nbrown8568_*

Guest_nbrown8568_*
  • Guests

Gepost 22 juni 2011 - 03:59

Maybe on tomorrow I will give the bomb squad suv it's own spot.

Norm,

#206 jsutton

jsutton

    Battalion Chief

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

Gepost 22 juni 2011 - 05:46

Thnx I really don't like Engine 17. (no offense to it's maker lol)

Norm,



Maybe on tomorrow I will give the bomb squad suv it's own spot.

Norm,


1) no double posting please, just edit the first one. It helps free up space on each page.

2) I'll make the script then I want to test it a few times before I give it to you. So it will prob be Friday until I get the script to you. (I work 2 jobs and also have some personal business to attend tomorrow night or I would have it done by tomorrow.)

#207 Guest_nbrown8568_*

Guest_nbrown8568_*
  • Guests

Gepost 22 juni 2011 - 09:06

1) no double posting please, just edit the first one. It helps free up space on each page.

2) I'll make the script then I want to test it a few times before I give it to you. So it will prob be Friday until I get the script to you. (I work 2 jobs and also have some personal business to attend tomorrow night or I would have it done by tomorrow.)


oops, sorry about that.
:sorrysign:

No rush, I'm working on getting better at scripting.

#208 BlazingPuppies

BlazingPuppies

    Lieutenant

  • Members
  • 56 Posts:
  • Gender:Male

Gepost 23 juni 2011 - 10:10

i got this : Script Error (LAFireStationf8abd): Error: Symbol OBJ_USAR is not defined in current slops.
When I tried to replace the USAR with the foam tender
Signature removed due to size violation. Please see the TOS on how to correct this issue

#209 jsutton

jsutton

    Battalion Chief

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

Gepost 25 juni 2011 - 07:34

oops, sorry about that.
:sorrysign:

No rush, I'm working on getting better at scripting.


Upload your LAFIreStation, LAToFireStation, and LAFireStationStart scripts in a zip file please. You made changes to your scripts and i don't want to mess them up or overwrite them when I get done with your script.

i got this : Script Error (LAFireStationf8abd): Error: Symbol OBJ_USAR is not defined in current slops.
When I tried to replace the USAR with the foam tender


I think you may of misspelled something or forgot to add a quotation / semi colon. At the top of the script it should read this:

const char OBJ_USAR[] = "mod:Prototypes/Vehicles/02 LA Fire Department/water_tender.e4p";

If that is correct, just repeat what you did to make sure everything looks right.

#210 Guest_nbrown8568_*

Guest_nbrown8568_*
  • Guests

Gepost 25 juni 2011 - 07:41

Upload your LAFIreStation, LAToFireStation, and LAFireStationStart scripts in a zip file please. You made changes to your scripts and i don't want to mess them up or overwrite them when I get done with your script.


Here is my script. Thanx, you have really been a great help to all of us. Without your help I would have never attempted to alter any script. I have seen what myself and others have done. Thank You so much.
:cheers-mate: :cheers:

Bijgesloten bestand(en)



#211 jsutton

jsutton

    Battalion Chief

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

Gepost 25 juni 2011 - 09:33

Here is my script. Thanx, you have really been a great help to all of us. Without your help I would have never attempted to alter any script. I have seen what myself and others have done. Thank You so much.
:cheers-mate: :cheers:



Alright, here is the file. Engine01 should return to both station 1 and station 2 without a problem. I tested it on my own copy and had no issues. Your LRA and SWR issue should be fixed as well.

On the engines, I used the Engine01 script I included with the files so you can see what it looks like and just deleted the engine017 codes. The only 2 files needed to be edited was FireStationStart so you can have the engine be there when you start the game instead of the engine17 and of course the ToFireStation which I showed you what I changed to make it work.

Bijgevoegd bestand  Norm\'s LA Mod 4x4.zip   14,17K   58 Aantal downloads

#212 Guest_nbrown8568_*

Guest_nbrown8568_*
  • Guests

Gepost 28 juni 2011 - 10:44

Alright, here is the file. Engine01 should return to both station 1 and station 2 without a problem. I tested it on my own copy and had no issues. Your LRA and SWR issue should be fixed as well.


Thanks a million, it works perfectly. :cheers-mate: I will also use this in my own mod that I am trying to make.

Norm,

I now have problems with Engine 3, when I send it back to the station it says it does not belong in the station.

Deze post is bewerkt door nbrown8568: 04 juli 2011 - 08:26


#213 wb135

wb135

    Firefighter

  • Members
  • 23 Posts:

Gepost 07 juli 2011 - 07:00

Hey guys, i recently moved the LEV to station 2 in place of the HAZMAT rig. Everything works fine up until the LEV returns to the station. It will arrive at the rear door and instead of opening i get a message that states "(_LaFireStation8cb4):Error: Symbol OBJ_Light_Equipment_Truck is not defined in the current scope". then i get three choices to choose from, either i can abort(end the game), retry, or ignore. I retried and i got a diffrent message that said there was an error in the 2003 line of the LaFireStation script. i hit retry again and i got a message saying something involving a dictionary rewound. i click retry again and it says error recovered and it returns to the game with the LEV pulling into the station without the door opening. the ff/pm get out and i go through the error message process one more time and then all is good until the LEV returns again. ive gone over the LaFireStation script for 3 hours now and i am stumped if anyone could help me out, it would be much appraiacted, Thanks! ps it wont let me attach my file to share so i will repost with just the file if requested

tested it again except i retuned the engine in station two to quarters and the same message appeared saying that the OBJ_light_equipment_truck is not defined in scope and none of the rear doors will open at station two if anyone might know what i have done wrong please let me know so i can fix this problem

Deze post is bewerkt door wb135: 10 juli 2011 - 05:39


#214 cheezy95

cheezy95

    Lieutenant

  • Members
  • 47 Posts:
  • Gender:Male

Gepost 17 juli 2011 - 06:04

I'm using the 4x4 mod and I replaced the engine 17 in station 2 with the large rescue ambulance. The only thing I don't know how to do is to make it return to station 2, it only goes back to station 1(Which it can't because it's full) I've got the staffing and everything done, it's in the station when I start I just need it to return there
Posted Image

#215 jsutton

jsutton

    Battalion Chief

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

Gepost 17 juli 2011 - 06:24

Thanks a million, it works perfectly. :cheers-mate: I will also use this in my own mod that I am trying to make.

Norm,

I now have problems with Engine 3, when I send it back to the station it says it does not belong in the station.


I've still got your scripts so I will take a look at them and see if I may have made a mistake. Sorry for the late response, I have been real busy and I haven't been able to check the forums as often as I want to.
** I think I have the problem fixed now. I uploaded your scripts again and just replace them if you haven't made any other changes yet. It turns out, I think I accidentally put the wrong "turnto" numbers in the second set of coding but it should be fixed now. If not, let me know. **

Hey guys, i recently moved the LEV to station 2 in place of the HAZMAT rig. Everything works fine up until the LEV returns to the station. It will arrive at the rear door and instead of opening i get a message that states "(_LaFireStation8cb4):Error: Symbol OBJ_Light_Equipment_Truck is not defined in the current scope". then i get three choices to choose from, either i can abort(end the game), retry, or ignore. I retried and i got a diffrent message that said there was an error in the 2003 line of the LaFireStation script. i hit retry again and i got a message saying something involving a dictionary rewound. i click retry again and it says error recovered and it returns to the game with the LEV pulling into the station without the door opening. the ff/pm get out and i go through the error message process one more time and then all is good until the LEV returns again. ive gone over the LaFireStation script for 3 hours now and i am stumped if anyone could help me out, it would be much appraiacted, Thanks! ps it wont let me attach my file to share so i will repost with just the file if requested

tested it again except i retuned the engine in station two to quarters and the same message appeared saying that the OBJ_light_equipment_truck is not defined in scope and none of the rear doors will open at station two if anyone might know what i have done wrong please let me know so i can fix this problem


I think the error is saying you do not have a object listed at the top of the script. I would advise changing it to OBJ_LEV or OBJ_LET to make it a little easier to work with. At the top, you should have
const char OBJ_LET[]				= "mod:Prototypes/Vehicles/02 LA Fire Department/light_equipment_squad.e4p";
If that is present, then your problem lays in the coding. If it does, copy the short code and past it in coding brackets when you post them because its a easy fix and we kinda just need to see it to tell you exactly where the mistake lies at.

I'm using the 4x4 mod and I replaced the engine 17 in station 2 with the large rescue ambulance. The only thing I don't know how to do is to make it return to station 2, it only goes back to station 1(Which it can't because it's full) I've got the staffing and everything done, it's in the station when I start I just need it to return there


I'm assuming you didn't change the LRA coding from Station One and that is why it wants to do that? Delete the old LRA coding in all 3 scripts so it will quit going to fire station one. If you want it to return to station one and station two, that will require a little more extra work.

Bijgesloten bestand(en)



#216 cheezy95

cheezy95

    Lieutenant

  • Members
  • 47 Posts:
  • Gender:Male

Gepost 17 juli 2011 - 06:30

Yeah I wanted it to go to each station
Posted Image

#217 Guest_nbrown8568_*

Guest_nbrown8568_*
  • Guests

Gepost 18 juli 2011 - 02:08

I've still got your scripts so I will take a look at them and see if I may have made a mistake. Sorry for the late response, I have been real busy and I haven't been able to check the forums as often as I want to.
** I think I have the problem fixed now. I uploaded your scripts again and just replace them if you haven't made any other changes yet. It turns out, I think I accidentally put the wrong "turnto" numbers in the second set of coding but it should be fixed now. If not, let me know. **


Thax I will check it in the morning before I go to class. I hate summer session.

Norm,

#218 wb135

wb135

    Firefighter

  • Members
  • 23 Posts:

Gepost 18 juli 2011 - 03:32

jsutton, i changed what you said and it worked, thanks a ton!

#219 squamishfire

squamishfire

    Senior Captain

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

Gepost 19 juli 2011 - 05:48

Hey,

I have been playing around with the LA battalion script trying to get it so when you call an ambulance it responds either 2 FF (BLS) or 2 ALS FF but it seems not to be working. I believe I have edited the right code but it seems not to be working.

can someone have a look at it please and let me know or make the proper changes. Thanks.
RCMP Mod Staff Member

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

#220 jsutton

jsutton

    Battalion Chief

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

Gepost 19 juli 2011 - 10:08

Hey,

I have been playing around with the LA battalion script trying to get it so when you call an ambulance it responds either 2 FF (BLS) or 2 ALS FF but it seems not to be working. I believe I have edited the right code but it seems not to be working.

can someone have a look at it please and let me know or make the proper changes. Thanks.


I've never been able to figure out the LABattalion script yet so unfortunately I'm no help atm. From a brief look at the script of mine, I think I know what needs to be changed though and I will check it out tomorrow night. If you want people to look at it, I would put it in a .zip folder and upload it.