Ga naar inhoud


Foto

Help with Changing Vehicle Spawns! (FD)


  • Please log in to reply
2 replies to this topic

#1 KevBanks

KevBanks

    Firefighter

  • Members
  • 6 Posts:

Gepost 12 juni 2015 - 03:43

So;

 

I am trying to change the BLS Ambulance into the Fire Chief Vehicle at the second Fire Station.

I understand that the four scripts involved are LAFireStation, LAFireStationStart, LABattalionChief, and LAGoToFireStation.

 

So far, I've been able to set it so the SUV spawns in place of the BLS ambulance, though I can't quite get the staffing I want (2xFF/PPM), have it return to the station, or be able to be summoned by the Battallion Chief

 

So far my plan has been changing any all "ambulance01.e4p" into "fire_chief_vehicle.e4p", though apparently that isn't enough. 

Hoppah's guide posted some years ago only covers the first step.

 

Any help at all is appreciated.

 

(It might also be worth mentioning that I, some time ago, changed the battalion chief SUV at Station one into a Light Equipment Truck. I can't quite remember how I did that though.)



#2 The Loot

The Loot

    Battalion Chief

  • Members
  • 725 Posts:
  • Gender:Male

Gepost 12 juni 2015 - 08:18

Simply changing the filepath in the constants should be most of what you have to do. For startup staffing, changing the child numbers of the DummyCallCrew command in LAFireStationStart is how you change staffing (these are controlled under the DummyCallCrew in LAFireStation), same with the script in the LABattalionChief file and the Alarm command in LAFireStation. 

 

The issue you will run into with the change and the call script in LABattalionChief is that it's a different vehicletype. Find the line that includes VT_AMBULANCE_RTW, and change it to VT_FIREFIGHTERS_RW (check the firefighters spelling under the engine call script because I think it might have a typo in the game code), which is what your SUV should be classed as.



#3 KevBanks

KevBanks

    Firefighter

  • Members
  • 6 Posts:

Gepost 12 juni 2015 - 08:45

Thanks for the input, and though I think I understand, I'm still rather lost.
My understanding of how this all works is basic, and I really need to be told specifically what gets changed and where.

If you're up to it, I'd appreciate the help.