Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/17/2018 in all areas

  1. 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 say ActorList 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.
    1 point
  2. Me too. Nice one by the way http://www.emergency-planet.com/uploads/emoticons/default_wink.png
    1 point
  3. The mod is alive. If it were inactive, I'd have told everyone about it. Unfortunately, posting in all caps about how you want the mod wont make it progress faster.
    1 point
  4. The station is not finished yet and is still being worked on. We will look into that but because there is a lack of 3d models from old cars there will be modern cars too. Here is the first screenshot of one of the battalion chief vehicles you can buy ingame: Authors: NNICO, RD_Saarland, Fire Dept. Boston, RK-1000 There will be multiple designs available that you can choose for your vehicles.
    1 point
  5. 7,928 downloads

    São Paulo Modification------------------------------------------------------------------------------------------ version: Alpha v0.1------------------------------------------------------------------------------------------ produced by: Emergency-Brasil.com Modding Team - Rafael (Rafael) - Luisinho (Luis) - Fabio101 (Fabio) - rockerboy (Juliano)------------------------------------------------------------------------------------------ our website: http://spmod.emergency-brasil.com/------------------------------------------------------------------------------------------ credits: - Hoppah (Scripts: Warning Lights, Flashing Lights, Sirens, etc...) - Newfoundking (Light editing) - Conror (Light editing) - Woltep (Armed Arrest Script) If by any chances you have contibuted in the making of this mod somehow, and I forgot to include your name in the list above. Please let us know by contacting us on the email displayed below.------------------------------------------------------------------------------------------ contact: spmod@emergency-brasil.com If you wish to contact us regarding this mod, please don't hesistate to do so. ------------------------------------------------------------------------------------------
    1 point
×
×
  • Create New...