I did, I also put jaws of life and hose in Hazmat at Station 2 and use it as a support unit as it doesn't do me any good @ sta 2 as a Hazmat. I feel that the Ladder truck should be at station 2 or something else but not a Hazmat unit.No idea, maybe the getshears command (or whatever it is called)?
How exactly did you add the jaws of life to the engines? If you checked the boxes in the traits menu of the editor, I'm not sure if that will work because hoppah's models are locked so they can't be changed.
Replacing a vehicle in one of the fire stations
#81
Posted 21 April 2010 - 05:20 AM
#82
Posted 25 April 2010 - 01:26 AM
Please DO NOT PM ME for help. Ask your questions on the forum to help others with the same issue.
Enhance your LA Mod Freeplay Experience with LA Mod 2.0 4x4 Submod.
Los Angeles Mod v2.0 4x4 W00ds Map v1 - BETA RELEASE
If you appreciate my work, then please donate. Every little bit helps!
#83 Guest_njcjedi_*
Posted 18 May 2010 - 12:35 AM
#84 Guest_njcjedi_*
Posted 18 May 2010 - 03:21 PM
#85
Posted 24 May 2010 - 11:58 AM
i have found a old script here in the forum which replace the hazmattruck with an arial ladder
i want this script work for 2.0 so i copied the auto staff files from the LAfireStation.script to the old one and let the other two ( latofirestation.script and Lafiresationstart.script ) as they were
after i replaced them i tryed to play a little bit freeplay but at the beegining i got an script error and a BTD
do i forgot something to chance? or what?
greetings
#86
Posted 23 June 2010 - 08:38 PM
#87 Guest_piromaniac101_*
Posted 23 July 2010 - 05:24 PM
Because it's one of the most asked questions on the forum I made a list of what files have to be changed when you want to replace a vehicle in one of the fire stations. This includes changing the command to call it from the fire station.
It's impossible to explain every detail in the script, so some scripting knowledge might be handy.
It's NOT adviced to make any changes to the (bays of the) engine's and ambulances, because they have a far more advanced script logic. Patience is required to do this.
Lets say you want to replace the USAR squad with the Watertender, because they have about the same size and only one of them can be parked in the bay.
-------------------------------------------------------------------------------------
Files which are necessary to change:
LAFireStationStart.script (to spawn the vehicle at start)
LAFireStation.script (for crew and gate information at fire station)
LAToFireStation.script (park command)
LABattalionChief.script (call command)
Other:
Adding the "Go to fire station" command to the new vehicle
Removing the "Go to fire station" command to the replaced vehicle
-------------------------------------------------------------------------------------
LAFireStationStart.script
First thing you can try is to let it spawn at the right spot with crew when you start a new game. LAFireStationStart.script does nothing more than that. Some analizing of LAFireStationStart.script reveals that the prototype of the USAR squad is mentioned in line 23. Changing that prototype to any other prototype is enough to spawn another object. in this case "water_tender.e4p".
You don't need to change the constants or anything else. Same thing counts for other things explained later.
When you further look for USAR, you should eventually find line 230 which should sayActorList l12 = Game::GetActors(VO_USAR);The lines below are important. They set number of passengers (and sometimes transports), speed and the crew that enters the vehicle at start. Notice the numer that is used in the crew line. The code of that line refers to another script and calls a single unit for that vehicle. The numbers refer to the certain unit (USAR firefighter in this case).
List of possible units:
1 = FF/PM with case
2 = FF/PM's with stretcher
3 = FF/EMT
4 = Battalion Chief
5 = FF HAZMAT
6 = USAR FF
7 = FF/EMT's with stretcher
-------------------------------------------------------------------------------------
Important tips: You can do millions of things with C++, it's impossible to explain everything, just compare your code with other codes in the scripts. For example: When you want to add 4 firefighters instead of 2 just look at other parts in the script. Besides that, testing is very important. If you fail first time, please try it again before going to the forum. And remember kids, it's like sex, you don't immediatly run to mommy and daddy when you can't get it up at your first date.
That's it for now. I hope most people understand this. When I have more time I will see if I can explain the other scripts.
#88 Guest_piromaniac101_*
Posted 23 July 2010 - 05:26 PM
#89
Posted 23 July 2010 - 05:52 PM
Firstly, theres an edit button.ive tried to add three vehicles in the parking lot. one at station one. and two at station two, ive gone through all the scripts im supposed to change but i cant get to work can someone give the correct scripts to make it work properly
Second you dont have to quote some huge post, as you can see, to reply.
Third how can we help you? You havent provided us the scripts. You havent told us what the exact problem is. Nor have you even told us what vehicles you want at the fire stations. You havent told us if you placed virtual objects for the new units, etc. We need some indication of what you have or havent done to help you.
Please DO NOT PM ME for help. Ask your questions on the forum to help others with the same issue.
Enhance your LA Mod Freeplay Experience with LA Mod 2.0 4x4 Submod.
Los Angeles Mod v2.0 4x4 W00ds Map v1 - BETA RELEASE
If you appreciate my work, then please donate. Every little bit helps!
#90 Guest_piromaniac101_*
Posted 24 July 2010 - 11:32 PM
#91
Posted 25 July 2010 - 01:05 AM
Please DO NOT PM ME for help. Ask your questions on the forum to help others with the same issue.
Enhance your LA Mod Freeplay Experience with LA Mod 2.0 4x4 Submod.
Los Angeles Mod v2.0 4x4 W00ds Map v1 - BETA RELEASE
If you appreciate my work, then please donate. Every little bit helps!
#92
Posted 26 August 2010 - 07:40 AM
Hmm, I still need to finish this 'tutorial', but I think it's too much work to descrive the necessary changes in the other scripts (especially the battalion chief script). I might write something down to add vehicles to the parking lot of fire station instead. Something that was already done in one of the submods.
i've been working for the past couple of days trying to understand exactly how these scripts work without too much success. i'm sure a walk through for adding vehicles to the parking lot would be more than greatly appreciated when you have time to help us.
#93
Posted 08 September 2010 - 10:23 PM
i've been working for the past couple of days trying to understand exactly how these scripts work without too much success. i'm sure a walk through for adding vehicles to the parking lot would be more than greatly appreciated when you have time to help us.
i agree, i also tried to change the really unneeded hazmat with the very needed foam tender with no luck.
it would be really nice if someone of the gurus could make a nice step-by-step walkthrough from the first step to the last.
thanx!
p.s. SOLVED!
there is a nice explanation in the second post in this thread here:
http://forum.emergen...e-water-tender/
and a zip file with changed scripts ))
#94
Posted 15 September 2010 - 09:59 PM
I made few vehicle changes and one gives me unsolved problem. I switched BLS for Brush patrol in Station 2. Everything works fine until Brush unit is send back to the station. It goes correctly via the back door (which works ok), then through the garage and parks just in front the station facing the garage.
I will be thankful if someone can give me some help. I attach 2 moded scripts which problably cause a problem - LAtoFireStation and LAFireStation.
scripts.zip 0bytes 96 downloads
#95
Posted 03 February 2011 - 12:05 AM
I'm getting confused when I go to change the staffing of the new vehicle. I've replaced the BLS ambulance with an ALS ambulance atg station 2, but when I go to the LAFireStationStart.script, I can't figure out where to change the staffing. From Hoppah's post, It seemed like you just put in the numbers for the people you wanted, but when I do that, I get a message that the script is undefined. any ideas?
i have the same issue...i have searched the forums and read everything i have found and still can not get it figured out...i am also wanting to replace the USAR with HAZMAT @ FS1 and replace HAZMAT with Aerial Ladder @ FS2
#96
Posted 03 February 2011 - 01:36 AM
@Kawu i have no idea why your brush would do that, i see nothing wrong with the scripts but i will look at them harder and see what i can come up with using my own mod and scripts.
#97
Posted 03 February 2011 - 07:35 AM
#98
Posted 10 February 2011 - 01:19 AM
#99
Posted 10 February 2011 - 06:23 AM
#100
Posted 10 February 2011 - 08:42 AM