Jump to content


Photo

Replacing a vehicle in one of the fire stations


  • Please log in to reply
255 replies to this topic

#141 jsutton

jsutton

    Battalion Chief

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

Posted 01 March 2011 - 10:51 PM

Knowing me, I would screw up how to change a location :machkaputt: .... Could someone PM me or just post the script to allow the USAR to spawn at Station 2 where the HAZMAT is? If you can't, it's fine. :sporty:


If I recall, there is a topic on replacing the Hazmat with the USAR somewhere if you use the search function. Either me or Texas DPS helped the person do it and we gave step by step instructions. Just need to search via the search box or just search in the alterations. If no luck, I won't be able to help you until maybe tomorrow night depending on how work goes.

#142 JimmyKid

JimmyKid

    Lieutenant

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

Posted 02 March 2011 - 01:04 AM

Thanks! I think this is the one (topic) http://forum.emergen...rhazmat-switch/ :happy: I guess I will find out!


EDIT: The only problem is that the doors don't open for replaced apparatus... ex) Bay door in FS1 won't open for replaced HAZMAT, before was USAR.
"?"

Posted Image

#143 groovybluedog

groovybluedog

    Captain

  • Members
  • 170 posts
  • Gender:Male

Posted 03 March 2011 - 11:53 PM

Modding isn't easy, you need to learn a little about it before you just do things.


I have no idea where to start learning.
LOL

#144 jsutton

jsutton

    Battalion Chief

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

Posted 04 March 2011 - 05:11 AM

Thanks! I think this is the one (topic) http://forum.emergen...rhazmat-switch/ :happy: I guess I will find out!


EDIT: The only problem is that the doors don't open for replaced apparatus... ex) Bay door in FS1 won't open for replaced HAZMAT, before was USAR.


Nope, actually that's not. It might of gotten deleted like some other good topics when they were doing forum cleaning. I know there were at least 3 posts I liked that really helped me with this stuff and I can't find them now. Put your LAToFireStation and LAFireStation scripts in a .zip or .rar file and upload them here and I'll take a quick look at them.

I have no idea where to start learning.


Well, I started out by switching the Hazmat to USAR and USAR to HES. So basically switching out different vehicles in each station. Second thing I did was added another HES to FS1 where I replaced the USAR. Thirdly, I started adding my own VO in the editor and integrating them into the scripts (Thanks to Xplorer4x4's mod I figured that out).

I just don't have the time to sit here and give you step by step tutorial on what to do for everything, scripting is easy to some and hard for others but you should be able to do basic edits. Just take a look through each page on this topic and see if there is anything you can try to do yourself (even if you don't want to or want the change) just to practice some. I'll give you a basic edit tutorial tomorrow if you want so you can practice and understand what things are but I can't really do much more than that because I simply don't have the time.

#145 JimmyKid

JimmyKid

    Lieutenant

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

Posted 04 March 2011 - 09:34 PM

Here are the Scripts! :)
Attached File  Scripts.zip   8.99KB   52 downloads
"?"

Posted Image

#146 jsutton

jsutton

    Battalion Chief

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

Posted 05 March 2011 - 05:31 AM

Here are the Scripts! :)
Attached File  Scripts.zip   8.99KB   52 downloads


Alright try that. You changed some of it you weren't suppose to down in the gates coding i think. I can't really explain what you did wrong but I can show you because I don't want you to do it again.

Let me know if it works or not and then we will go from there, either way, a code was changed that wasn't suppose to be so I will have to explain that to you tomorrow.

Attached Files



#147 JimmyKid

JimmyKid

    Lieutenant

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

Posted 05 March 2011 - 04:19 PM

Alright try that. You changed some of it you weren't suppose to down in the gates coding i think. I can't really explain what you did wrong but I can show you because I don't want you to do it again.

Let me know if it works or not and then we will go from there, either way, a code was changed that wasn't suppose to be so I will have to explain that to you tomorrow.


No, Just tried it, it doesn't work, but i will try it again later today.
"?"

Posted Image

#148 jsutton

jsutton

    Battalion Chief

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

Posted 05 March 2011 - 05:32 PM

No, Just tried it, it doesn't work, but i will try it again later today.


Any errors? Does it do the same exact thing?

#149 JimmyKid

JimmyKid

    Lieutenant

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

Posted 05 March 2011 - 09:27 PM

Any errors? Does it do the same exact thing?


Yep. USAR waits, then backs out of FS2. Same with HAZMAT.
"?"

Posted Image

#150 jsutton

jsutton

    Battalion Chief

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

Posted 05 March 2011 - 10:02 PM

Yep. USAR waits, then backs out of FS2. Same with HAZMAT.


Alright. I'll take another look at the script then install it in my test mod to make sure it works before I give it to you.

#151 JimmyKid

JimmyKid

    Lieutenant

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

Posted 05 March 2011 - 11:42 PM

Alright. I'll take another look at the script then install it in my test mod to make sure it works before I give it to you.


Okay, but should I re-install the mod/game?
"?"

Posted Image

#152 jsutton

jsutton

    Battalion Chief

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

Posted 06 March 2011 - 05:43 AM

Okay, but should I re-install the mod/game?


Nope, no need to do that. Just a minor script issue. When I give you the new scripts, just delete the other 2 I gave you and just copy the new ones in there.

#153 JimmyKid

JimmyKid

    Lieutenant

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

Posted 06 March 2011 - 06:48 AM

Okay! :D
"?"

Posted Image

#154 keepachris

keepachris

    Lieutenant

  • Members
  • 87 posts
  • Gender:Male
  • Location:Leicester

Posted 06 March 2011 - 02:28 PM

i want to put mass casualty in FS1 to replace USAR and put HAZMAT in FS1 to replace Tiller How could i do this please??

#155 jsutton

jsutton

    Battalion Chief

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

Posted 06 March 2011 - 06:23 PM

I have no idea where to start learning.



i want to put mass casualty in FS1 to replace USAR and put HAZMAT in FS1 to replace Tiller How could i do this please??


Ok, here is a tutorial on how to edit the fire station in the LA Mod. The following scripts needed to be edited: LAFireStation, LAFireStationStart, LAToFireStation. You will find these in the LA Mod > Scripts > Game > Command.You may use Notepad but I like using Notepad 2 instead. When finding lines, just go to Find and type in for instance "Hazmat" or "USAR", etc. so you can quickly find the files you need to change.

To replace a single vehicle with another vehicle. In this case, we are going to replace the Hazmat truck with the USAR. JUST A TUTORIAL. So if you want to switch out something else, then just replace the hazmat or usar words to something different (ex: uSAR to HES etc.)

** Deleted due to I don't anyone copying and pasting these codes** I need to be more specific on what you need to change.

#156 BlueShark

BlueShark

    Lieutenant

  • Members
  • 28 posts

Posted 07 March 2011 - 12:28 AM

Ok so I have successfully replace the hazmat truck with the brush truck. looking through this post, i can't seem to find a successful way to put the "go back to station" command on the brush truck. the above post has help a lot, but i am still unsure how to do this. thanks.
Posted Image
Posted Image

#157 jsutton

jsutton

    Battalion Chief

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

Posted 07 March 2011 - 06:48 AM

Ok so I have successfully replace the hazmat truck with the brush truck. looking through this post, i can't seem to find a successful way to put the "go back to station" command on the brush truck. the above post has help a lot, but i am still unsure how to do this. thanks.


Go into the editor and load the mod. When it is done loading, a window will appear in the right hand side that should say Prototypes. In that window, click vehicles tab then scroll down to Brush Truck 8 or something like that and click edit. From the new window that pops up go to "Edit Commands or Commands or something like that". Once again, a new window will appear. In that window you will see on the left all available commands and on the right, the commands it currently has. So what you want to do is scroll down on the left side until you find vcmdtofirestation or something along that line and click on it. After that, you will click on the arrow pointing towards the right to allow the command to be added to the brush truck. After that, just click ok and then exit out of the editor ( It should autosave ). Load the mod and see if it's there and works.

Hope I didn't confuse you or anything. If I did, I could just quickly do something like this ... Go into Editor > Load Mod > In Protoypes window, click on vehicles tab > etc. .... if that is much easier to understand.

#158 BlueShark

BlueShark

    Lieutenant

  • Members
  • 28 posts

Posted 07 March 2011 - 12:50 PM

Nope that is pretty straight forward. Thank you very much. I will get this done after work.


Shark
Posted Image
Posted Image

#159 JimmyKid

JimmyKid

    Lieutenant

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

Posted 10 March 2011 - 03:35 AM

Not trying to rush you or anything, but did you forget about me? :D
"?"

Posted Image

#160 jsutton

jsutton

    Battalion Chief

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

Posted 10 March 2011 - 04:07 AM

Not trying to rush you or anything, but did you forget about me? :D


Nope, your files are right here on my desktop ready to be checked but I've just had no time to mess with them just yet. I was going to tonight but unexpected plans dragged me away from it. I'll try to get to it as soon as possible.