Jump to content

Dominic22

Members
  • Posts

    217
  • Joined

  • Last visited

Posts posted by Dominic22

  1. Hi, I was wondering how could I go about making my fires burn longer? When I respond to a fire I make sure the cannons on the Engines are shut off so that the fire does not go out quick, but once I get some water on it, it goes away. I would just like to know how to make it burn longer.

  2. Thank you very much for breaking that down for me. I have already did all of the edits that I need in the FS scripts.

    Thank you.

    EDIT: Okay, I must have done something wrong because when I request the vehicle that has the script applied to it, which is the Hazmat, then I only get 1 guy that gets into the vehicle, I even set it so that when bat. request it sends 4 hazmat and when ems request then it sends 4 medics, but it only sends 1 medic no what is requested. I don't know, I guess this is to big of a step for me.

  3. First, if you are going to play with the scripts you should have at least an elementary knowledge of programming in general and C/C++ in particular. I can give you an idea of how to do it but if you have no working knowledge at all of programming this is going to be Greek to you and you are going to have a hard time with this.

    You already have an if statement to determine what voice to play on dispatch. Should it be the voice of the battalion chief or of the EMS supervisor? That same line can be used before the CALL_CREW commands to choose which crew to dispatch.

    Alternatively you can use math and one if statement so you don't have to duplicate all the CALL_CREW actions. The CALL_CREW lines use a number to determine which unit gets called. In my version of the Xplorer4x4 submod a plain FF_EMT is 3 while a FF_EMT_SCBA is 10. (If you are not using my version you will have to edit the LAFireStation script to set up numbers for the SCBA units.) Make an integer variable and set it to 0. If the caller is a battalion chief (determined using the if statement above) you would set the variable to 7. Each time you call an EMT, instead of using 3 you would use 3 + Variable. That way if the caller was a BC if would be the equivalent of 3 + 7 which is 10. If it was the EMS supervisor it would be 3 + 0 which is 3.

    You could duplicate the entire file but that would actually be more complicated. For that to work you would have to rename all the commands in the EMS version, link those new commands with the right button graphics and assign them to the EMS Supervisor in the editor instead of the commands that are there now. That's not only a lot of work, that also leave a lot of room for mistakes that will be very hard to debug. I would stick with editing the script in one of the ways I suggested.

    If this sounds too complicated then you either want to just leave things alone or study up on your C++ before trying it. Whatever you do, don't forget to backup the script files before you make any changes so you could always put the original back if things go wrong.

    Good luck!

    Thank you very much for taking your time to explain this to me. I have a little bit of knowledge on programming, but I'm the 'learn as I go' type of person. I appreciate your help as well as Xplorer's helps, thank you.

    The only part that I am stuck on is the making a variable so I can have it pretty much say 'if 0 is calling ems then this is the crew that responds and if 7 is calling then this is the crew that responds' I'm just not sure about the how variable part, but the rest of what you are telling me I'm comprehending.

  4. Well this can be a little tricky depending on how its set up. If the BC and EMS Sup can both call for ALS Ambos, then theres no point in doing the command twice in 2 different scripts. I would suggest starting with a copy of the BC script and then only put additional medical vehicle calls in there, but aside from say the MCU I dont really see a need for calling other EMS vehicles that dont already have a command. In which case I would just add a Call MCU command to the BC script.

    Well, I'm setting it up so that whenever I dispatch a vehicle via Battalion it will send companies in SCBA of course the medics wont be have SCBA's, I use my battalion chief to send vehicles to calls and I would prefer to have it so that if I use my EMS supervisor to dispatch then the companies respond in normal gear, but if I have my battalion call then they are in SCBA's but that can only be accomplished by advanced scripting the Battalion Chief script or just erasing the EMS part from the Battalion script and adding it into it's own EMS script.

  5. Alright up untill not to long ago I would play this game with no Issues, untill sometime with in the last week I felt like playing a LA Mod mission, Forest Fire. It got the the load screen and crashed to desktop, does the same with a few missions in the LA mod. Any ideas? Btw I dont gewtnany error messages

    I too am having crashing problems and after multiple attempts I got no where, I will try to help but if I can't help myself I can't say that I will able to help you. Please upload your logfile.

  6. Where is the LEV parked at, in the station or outside?

    It's from ShaneGreen's submod, it's parked outside, but I also attempted to replace the battalion script with the LEV and the battalion is parked outside, so I'm not thinking that it being from a scrip that has a vehicle inside or out matters much.
  7. Hello, I have made a change into the battalion script so that it will call the LEV, well I'm having a problem when I assign the command to let's say the battalion so that they can request the battalion, the button is the same button used to change command menu. But I also decided to change VO_USAR to VO_LEV to see if that would work and it did. So now I just need to know how to make the request LEV a solid button. I have attached a few screen shots I hope it helps. If any additional information or anything is needed please let me know, thank you.

    post-2168-066070900 1281751339.jpg

    post-2168-027208200 1281751378.jpg

    LABattalionChief.rar

  8. I know, I would like it to be a bit harder as well. For MVA's I select a person and make the health drain like 40 and the medicine gain like 42 and they'd have low heath. Sometimes I give them a decent amount of health like 40 health drain and 30 medicine gain.

×
×
  • Create New...