Guest firefighter31191 Posted August 29, 2009 Report Share Posted August 29, 2009 Hi i have a quick question. When you use the chief to call an engine or what ever how would i be able to change the amount of ppl or what they are like i want to put six FF w airpacks on the engine. when i use the chief to dispatch it somewhere. I dont know what script i need to editPls help thx Quote Link to comment Share on other sites More sharing options...
Luisinho Posted August 29, 2009 Report Share Posted August 29, 2009 I'm going to show you how to add 6 firefighters with gas masks in Engine 2. Once you've done this, you should be able to do it with other units. Good luck!1. Open up:LABattalionChief.script2. Press"Ctrl + F" then search for:const char OBJ_PM[] = "mod:Prototypes/Persons/01 LA Ambulance/ff_paramedic.e4p";3. Once you found it, add this underneath it:const char OBJ_PM_SCBA[] = "mod:Prototypes/Persons/01 LA Ambulance/ff_paramedic_scba.e4p";4. Now search for:n = Game::CreateVehicle(PROTO_ENGINE02, UNNAMED);5. You should now be able to see something like this: Person p1; Person p2; Person p3; Person p4; n = Game::CreateVehicle(PROTO_ENGINE02, UNNAMED); n.SetSpeed(9.0f); p1 = Game::CreatePerson(OBJ_EMT, UNNAMED); p2 = Game::CreatePerson(OBJ_EMT, UNNAMED); p3 = Game::CreatePerson(OBJ_EMT, UNNAMED); p4 = Game::CreatePerson(OBJ_EMT, UNNAMED); n.SetPlayerMP(Caller->GetPlayerMP()); p1.SetPlayerMP(Caller->GetPlayerMP()); p2.SetPlayerMP(Caller->GetPlayerMP()); p3.SetPlayerMP(Caller->GetPlayerMP()); p4.SetPlayerMP(Caller->GetPlayerMP()); p1.SetUpgradeLevel(3); p2.SetUpgradeLevel(3); p3.SetUpgradeLevel(3); p4.SetUpgradeLevel(3); n.SetMaxPassengers(6); n.SetMaxTransports(0); n.AddPassenger(&p1); n.AddPassenger(&p2); n.AddPassenger(&p3); n.AddPassenger(&p4);6. Now replace that with this: Person p1; Person p2; Person p3; Person p4; Person p5; Person p6; n = Game::CreateVehicle(PROTO_ENGINE02, UNNAMED); n.SetSpeed(9.0f); p1 = Game::CreatePerson(OBJ_PM_SCBA, UNNAMED); p2 = Game::CreatePerson(OBJ_PM_SCBA, UNNAMED); p3 = Game::CreatePerson(OBJ_PM_SCBA, UNNAMED); p4 = Game::CreatePerson(OBJ_PM_SCBA, UNNAMED); p5 = Game::CreatePerson(OBJ_PM_SCBA, UNNAMED); p6 = Game::CreatePerson(OBJ_PM_SCBA, UNNAMED); n.SetPlayerMP(Caller->GetPlayerMP()); p1.SetPlayerMP(Caller->GetPlayerMP()); p2.SetPlayerMP(Caller->GetPlayerMP()); p3.SetPlayerMP(Caller->GetPlayerMP()); p4.SetPlayerMP(Caller->GetPlayerMP()); p5.SetPlayerMP(Caller->GetPlayerMP()); p6.SetPlayerMP(Caller->GetPlayerMP()); p1.SetUpgradeLevel(3); p2.SetUpgradeLevel(3); p3.SetUpgradeLevel(3); p4.SetUpgradeLevel(3); p5.SetUpgradeLevel(3); p6.SetUpgradeLevel(3); n.SetMaxPassengers(6); n.SetMaxTransports(0); n.AddPassenger(&p1); n.AddPassenger(&p2); n.AddPassenger(&p3); n.AddPassenger(&p4); n.AddPassenger(&p5); n.AddPassenger(&p6);Hope it helps Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted August 29, 2009 Report Share Posted August 29, 2009 You really dont even need 6 firefighters anyways. I mean to each there own but multiple engines with 4 ffs can easily get the job done and its a bit more efficent imo as you dont have to waste time hooking them up to fire hydrants. Quote Link to comment Share on other sites More sharing options...
Guest firefighter31191 Posted August 29, 2009 Report Share Posted August 29, 2009 Thank u for showing me the code i screwed it up and cant do it. If you get time mabye u could do it for me pls. if not ill just manage. Im just trying to make it look relistic because i just want 4 or 5 ff w scba on an engine. Quote Link to comment Share on other sites More sharing options...
Luisinho Posted August 30, 2009 Report Share Posted August 30, 2009 I don't get you, first you said you wanted 6 firefighters with scba gear.Could you be more specific? Quote Link to comment Share on other sites More sharing options...
Guest tjhugentobler Posted November 13, 2009 Report Share Posted November 13, 2009 I don't get you, first you said you wanted 6 firefighters with scba gear.Could you be more specific?Hey, how would I delete the medic from the ALS ambulance and just have the stretcher team ? Quote Link to comment Share on other sites More sharing options...