Jump to content

rgalante

Members
  • Posts

    113
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by rgalante

  1. Update All PSP Units Patrol - Traffic Division - Personnel Transport - Riot Police - K9 - GOE (Swat) Unmarked Van - EPRI (See first post) - Rapid Response - Bomb Squad - Prisoners Transport - Unmarked Cars -
  2. Light Demo Seixal FD - Pumper 02 and Pumper 03. Amora FD - Pumper 01 Red Cross Ambulance 01 PSP Patrol 2 and 3 INEM Ambulance 02 and VMER Almada Hope you like it (Are the closest to reality i could do)
  3. Check the link above They are mainly used on our Wildland and Rural pumpers, that need to go to forest and mountains in the summer due to the big fires. With those white bars on the cabin, she's protected and the personnal is not badly injured. In the picture its a crashed Wildland Pumper from Algés VFD. As u see, the cabin that have the bars, it wasn't very affected, unlike the rest of the apparatus. Update. All Seixal FD Ambulances and Rescue Squad .
  4. Like it said . Some of the units of Seixal Municipality Mixed Fire Department Units. Command and Communications Vehicle (codename: Dolphin) and Batallion 3. They'il both transport the fire chief, that will have commands to call units (didnt cared of that yet, is the only scripting missing yet) (Real pics - http://www.bombeiros.pt/galeria/data/media/276/Imagem15325.jpg https://scontent-a-lax.xx.fbcdn.net/hphotos-xaf1/t1.0-9/1714_268428426626537_1754561404_n.jpg Aerial Ladder (Real Pic - https://scontent-a-lax.xx.fbcdn.net/hphotos-xaf1/t1.0-9/149240_268428276626552_1239666725_n.jpg) Wildland Engines (01, 02, and 03 (codename Leopard) - real pics - https://scontent-a-lax.xx.fbcdn.net/hphotos-xpa1/t1.0-9/p417x417/6606_265183216951058_58188150_n.jpg , https://fbcdn-sphotos-c-a.akamaihd.net/hphotos-ak-ash2/t1.0-9/523531_268427229959990_709351235_n.jpg , https://fbcdn-sphotos-f-a.akamaihd.net/hphotos-ak-xfp1/t1.0-9/10441220_740999609296449_2828912107795738183_n.jpg ) + Personnel (Team chief and normal FF) Light Pumper 02 (2 Conectors + Extraction Gear), Urban Pumper 01 ( with Extraction Gear), Urban Pumper 02 and Urban Pumper 03 (Also with Extraction Gear) + Personnel (Team Chief and normal FF) I'il post more unit and personnel picturs later
  5. Ok guys thanks for the advices. First Post edited with the improved pictures. At the night i will post all units from Seixal Fire Department and their function
  6. By: Rgalante Based on real life Portuguese Municipality Seixal. Release Date: Somewhere in the Summer. Official FB - https://www.emergency-planet.com/pages/Seixal-Almada-Mod/506146336098414?ref_type=bookmark Official YT Channel - https://www.youtube.com/user/TheRfog PROGRESS: - Vehicles - 100 % Personnel - 100 % Map - 100 % Scripts - 100 % Lights - 100 % Other - 85 % It features Water Supply script by Hoppah. *ALL AUTHORS WILL BE IDENTIFIED IN THE FINAL README* I'il post in the next days all agencies whith all the respective vehicles and functions, as well ligth-demo videos and possibly gameplay videos. Downloand link (with bugs) - https://mega.co.nz/#!ggMyRRJJ!6bj8pXrAdlYjAtls6LCA25E83ybdZbJD2tG2Q3ok2wA Check the FB Page for further information
  7. It works now. THANK YOU GUYS
  8. Here´s the error. I'il check the number of { now There ya go - http://www.4shared.com/rar/S1g4GvDpba/LASiren.html? (*Sorry for the double post )
  9. I Checked the commands on the editor. Two vehicles on the script didnt had them. I add them but i still dont have sirens. BTW it gives me a script error when i move an unit. I'il see if i can which error is gave.
  10. I ediited the LASiren Script for my mod. I add new prototypes and changed some sirens. I Checked everything, i think, and went to the game. But the scripts isn't working, and i the vehicles dont have sirens :c . I Tried twice. Here's the script. const char CMD_AUTOSIREN_OFF[] = "VcmdAutoSirenOff";const char EACTION_FINDPATH[] = "EActionFindPath";const char EACTION_EXTINGUISH[] = "EActionExtinguish";const char DUMMY_HASSIREN[] = "DummyHasSiren";const char DUMMY_UPDATEPOS[] = "DummyUpdatePos";const char DUMMY_FINDPATH[] = "DummyFindPath";const char DUMMY_HOSESON[] = "DummyHosesAreOn";const char NAME_DUMMYOBJECT[] = "HelpingObjekt_Hoppah";const char DUMMY_GETTIL[] = "DummyGetTiller";const char PROTO_SQUAD1[] = "mod:Prototypes/Vehicles/02 LA Fire Department/f550.e4p";const char PROTO_SQUAD2[] = "mod:Prototypes/Vehicles/02 LA Fire Department/f5502.e4p";const char PROTO_ENGINE01[] = "mod:Prototypes/Vehicles/02 LA Fire Department/fire_engine21.e4p";const char PROTO_ENGINE02[] = "mod:Prototypes/Vehicles/02 LA Fire Department/fire_engine2.e4p";const char PROTO_ENGINE03[] = "mod:Prototypes/Vehicles/02 LA Fire Department/fire_engine3.e4p";const char PROTO_ENGINE04[] = "mod:Prototypes/Vehicles/02 LA Fire Department/fire_engine4.e4p";const char PROTO_ENGINE05[] = "mod:Prototypes/Vehicles/02 LA Fire Department/fire_engine5.e4p";const char PROTO_ENGINE06[] = "mod:Prototypes/Vehicles/02 LA Fire Department/fire_engine1.e4p";const char PROTO_WATERTENDER[] = "mod:Prototypes/Vehicles/02 LA Fire Department/water_tender.e4p";const char PROTO_LADDER[] = "mod:Prototypes/Vehicles/02 LA Fire Department/aerial_ladder5.e4p";const char PROTO_LADDER2[] = "mod:Prototypes/Vehicles/02 LA Fire Department/aerial_ladder2.e4p";const char PROTO_VTTU01[] = "mod:Prototypes/Vehicles/02 LA Fire Department/aerial_ladder.e4p";const char PROTO_HAZMAT[] = "mod:Prototypes/Vehicles/02 LA Fire Department/hazmat_squad.e4p";const char PROTO_VTTU02[] = "mod:Prototypes/Vehicles/02 LA Fire Department/vttu02.e4p";const char PROTO_CRASHTENDER[] = "mod:Prototypes/Vehicles/02 LA Fire Department/crashtender.e4p";const char PROTO_USAR[] = "mod:Prototypes/Vehicles/02 LA Fire Department/usar_squad.e4p";const char PROTO_MCU01[] = "mod:Prototypes/Vehicles/01 LA Ambulance/mass_casualty_unit.e4p";const char PROTO_BCV[] = "mod:Prototypes/Vehicles/02 LA Fire Department/battalion_chief_vehicle.e4p";const char PROTO_BCV2[] = "mod:Prototypes/Vehicles/02 LA Fire Department/battalion_chief_vehicle2.e4p";const char PROTO_LEV[] = "mod:Prototypes/Vehicles/02 LA Fire Department/light_equipment_truck.e4p";const char PROTO_LEV2[] = "mod:Prototypes/Vehicles/02 LA Fire Department/light_equipment_truck2.e4p";const char PROTO_HES[] = "mod:Prototypes/Vehicles/02 LA Fire Department/heavy_equipment_squad.e4p";const char PROTO_BRUSH[] = "mod:Prototypes/Vehicles/02 LA Fire Department/brush_truck.e4p";const char PROTO_BRUSH2[] = "mod:Prototypes/Vehicles/02 LA Fire Department/brush_truck2.e4p";const char PROTO_BRUSH3[] = "mod:Prototypes/Vehicles/02 LA Fire Department/brush_truck3.e4p";const char PROTO_USFS01[] = "mod:Prototypes/Vehicles/02 LA Fire Department/usfs_utility.e4p";const char PROTO_USFS02[] = "mod:Prototypes/Vehicles/02 LA Fire Department/usfs_engine.e4p";const char PROTO_EMS[] = "mod:Prototypes/Vehicles/01 LA Ambulance/emssup_model.e4p";const char PROTO_AMBULANCE01[] = "mod:Prototypes/Vehicles/01 LA Ambulance/ambulance01.e4p";const char PROTO_AMBULANCE02[] = "mod:Prototypes/Vehicles/01 LA Ambulance/ambulance02.e4p";const char PROTO_AMBULANCE03[] = "mod:Prototypes/Vehicles/01 LA Ambulance/ambulance03.e4p";const char PROTO_AMBULANCE04[] = "mod:Prototypes/Vehicles/01 LA Ambulance/ambulance04.e4p";const char PROTO_AMBULANCE05[] = "mod:Prototypes/Vehicles/01 LA Ambulance/ambulance05.e4p";const char PROTO_AMBULANCE06[] = "mod:Prototypes/Vehicles/01 LA Ambulance/ambulance06.e4p";const char PROTO_AMBULANCE07[] = "mod:Prototypes/Vehicles/01 LA Ambulance/ambulance07.e4p";const char PROTO_AMRAMBULANCE01[] = "mod:Prototypes/Vehicles/01 LA Ambulance/amrambulance01.e4p";const char PROTO_AMRAMBULANCE02[] = "mod:Prototypes/Vehicles/01 LA Ambulance/amrambulance02.e4p";const char PROTO_VMER[] = "mod:Prototypes/Vehicles/01 LA Ambulance/suv_rescue_dog.e4p";const char PROTO_MOTORCYCLE[] = "mod:Prototypes/Vehicles/03 LA Police/motorcycle_lapd.e4p";const char PROTO_CV_LAPD[] = "mod:Prototypes/Vehicles/03 LA Police/cv_lapd.e4p";const char PROTO_CV_LAPD2[] = "mod:Prototypes/Vehicles/03 LA Police/cv_lapd2.e4p";const char PROTO_CV_LAPD3[] = "mod:Prototypes/Vehicles/03 LA Police/cv_lapd3.e4p";const char PROTO_CV_LAPD4[] = "mod:Prototypes/Vehicles/03 LA Police/cv_lapd4.e4p";const char PROTO_CV_LAPD5[] = "mod:Prototypes/Vehicles/03 LA Police/cv_lapd5.e4p";const char PROTO_CV_LAPD_ST[] = "mod:Prototypes/Vehicles/03 LA Police/cv_lapd_slicktop.e4p";const char PROTO_CV_LAAP[] = "mod:Prototypes/Vehicles/03 LA Police/cv_laap.e4p";const char PROTO_CV_LAPP[] = "mod:Prototypes/Vehicles/03 LA Police/cv_lapp.e4p";const char PROTO_CV_UMPC[] = "mod:Prototypes/Vehicles/03 LA Police/cv_umpc.e4p";const char PROTO_CV_UMPC_WHITE[] = "mod:Prototypes/Vehicles/03 LA Police/cv_umpc_white.e4p";const char PROTO_DC_UMPC[] = "mod:Prototypes/Vehicles/03 LA Police/dodge_charger_umpc.e4p";const char PROTO_DC_UMPC_BURGUNDY[] = "mod:Prototypes/Vehicles/03 LA Police/dodge_charger_umpc_burgundy.e4p";const char PROTO_DC_UMPC_NAVY[] = "mod:Prototypes/Vehicles/03 LA Police/dodge_charger_umpc_navy.e4p";const char PROTO_DC_UMPC_WHITE[] = "mod:Prototypes/Vehicles/03 LA Police/dodge_charger_umpc_white.e4p";const char PROTO_CV_CHP[] = "mod:Prototypes/Vehicles/03 LA Police/cv_chp.e4p";const char PROTO_CV_LASD[] = "mod:Prototypes/Vehicles/03 LA Police/cv_lasd.e4p";const char PROTO_LASD_VAN[] = "mod:Prototypes/Vehicles/03 LA Police/lasd_van.e4p";const char PROTO_CHARGER_CHP[] = "mod:Prototypes/Vehicles/03 LA Police/dodge_charger_chp.e4p";const char PROTO_CHARGER_LAPD[] = "mod:Prototypes/Vehicles/03 LA Police/dodge_charger_lapd.e4p";const char PROTO_SUV_LAPD[] = "mod:Prototypes/Vehicles/03 LA Police/suv_lapd.e4p";const char PROTO_SWAT_SUV[] = "mod:Prototypes/Vehicles/03 LA Police/swat_suv.e4p";const char PROTO_RESCUE01[] = "mod:Prototypes/Vehicles/03 LA Police/rescue_truck01_lapd.e4p";const char PROTO_RESCUE02[] = "mod:Prototypes/Vehicles/03 LA Police/rescue_truck02_lapd.e4p";const char PROTO_SWAT_TRUCK[] = "mod:Prototypes/Vehicles/03 LA Police/swat_truck.e4p";const char PROTO_WATERCANNON[] = "mod:Prototypes/Vehicles/03 LA Police/swat_armoured_vehicle.e4p";const char PROTO_HUMMERH2_LASD[] = "mod:Prototypes/Vehicles/03 LA Police/hummerh2_lasd.e4p";const char PROTO_BOMB_SQUAD[] = "mod:Prototypes/Vehicles/03 LA Police/suv_bomb_squad.e4p";const char PROTO_FBI_SUV[] = "mod:Prototypes/Vehicles/09 Government/fbi_suv.e4p";const char PROTO_FBI_COMMAND[] = "mod:Prototypes/Vehicles/09 Government/fbi_command.e4p";const char PROTO_HEAVY_RESCUE[] = "mod:Prototypes/Vehicles/02 LA Fire Department/heavy_rescue_crane.e4p";const char PROTO_AEM1[] = "mod:Prototypes/Vehicles/01 LA Ambulance/ambu_inem_01.e4p";const char PROTO_AEM3[] = "mod:Prototypes/Vehicles/01 LA Ambulance/ambu_inem_03.e4p";const char PROTO_VMER_SFX[] = "mod:Prototypes/Vehicles/01 LA Ambulance/hummerh2_rc.e4p";const char PROTO_ABSC1[] = "mod:Prototypes/Vehicles/01 LA Ambulance/amora_ambulance01.e4p";const char PROTO_ABSC2[] = "mod:Prototypes/Vehicles/01 LA Ambulance/ems_sup.e4p";const char PROTO_ABSC3[] = "mod:Prototypes/Vehicles/01 LA Ambulance/amora_ambulance03.e4p";const char PROTO_ABSC_03[] = "mod:Prototypes/Vehicles/01 LA Ambulance/ambu03.e4p";const char PROTO_ABSC_02[] = "mod:Prototypes/Vehicles/01 LA Ambulance/amrambulance03.e4p";const char PROTO_CVP1[] = "mod:Prototypes/Vehicles/01 LA Ambulance/ambulance02.e4p";const char PROTO_CVP2[] = "mod:Prototypes/Vehicles/01 LA Ambulance/ambulance03.e4p";const char PROTO_ABSC_07[] = "mod:Prototypes/Vehicles/01 LA Ambulance/amrambulance07.e4p";const char PROTO_VCOC[] = "mod:Prototypes/Vehicles/02 LA Fire Department/aerial_ladder3.e4p";const char PROTO_VTGC[] = "mod:Prototypes/Vehicles/02 LA Fire Department/water_tanker.e4p";int DummyGroup = 23;object VcmdSiren : CommandScript{VcmdSiren(){SetIcon("sirenson");SetCursor("sirens");SetRestrictions(RESTRICT_SELFEXECUTE);SetPossibleCallers(ACTOR_VEHICLE); SetGroupID(DummyGroup); SetGroupLeader(true);}bool CheckPossible(GameObject *Caller){if (!Caller->IsValid())return false;if (Caller->HasCommand(DUMMY_HASSIREN))SetIcon("sirensoff");elseSetIcon("sirenson");if(Caller->HasCommand(DUMMY_HOSESON))return false; return true;}bool CheckTarget(GameObject *Caller, Actor *Target, int childID){if (!Target->IsValid() || Target->GetID() != Caller->GetID())return false;return true;}void PushActions(GameObject *Caller, Actor *Target, int childID){Vehicle v(Caller);if (!v.HasCommand(DUMMY_HASSIREN)){if (!v.IsBlueLightEnabled()){v.EnableBlueLights(true);}int soundID;Vector CarPos = v.GetPosition(); if (StrCompare(v.GetPrototypeFileName(), PROTO_ENGINE01) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_ENGINE02) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_LADDER) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_BRUSH) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_ENGINE05) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_ENGINE06) == 0 ||StrCompare(v.GetPrototypeFileName(), PROTO_WATERTENDER) == 0 ||StrCompare(v.GetPrototypeFileName(), PROTO_VTTU02) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_CRASHTENDER) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_BRUSH2) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_BRUSH3) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_HES) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_VCOC) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_SQUAD2) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_SQUAD1) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_BCV) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_MCU01) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_HAZMAT) == 0) || {int random = Math::rand()%2;if (random == 0){ soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/VUCI_VAMA.wav", CarPos, true);} else{ soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/VUCI_VAMA.wav", CarPos, true);} } else if (StrCompare(v.GetPrototypeFileName(), PROTO_USFS01) == 0 ||StrCompare(v.GetPrototypeFileName(), PROTO_ENGINE03) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_USFS02) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_USAR) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_HEAVY_RESCUE) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_FBI_COMMAND) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_VTTU01) == 0) || {int random = Math::rand()%2;if (random == 0){ soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/ATV.wav", CarPos, true);} else{ soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/ATV.wav", CarPos, true);} } else if (StrCompare(v.GetPrototypeFileName(), PROTO_CHARGER_CHP) == 0 ||StrCompare(v.GetPrototypeFileName(), PROTO_ENGINE04) == 0 || {int random = Math::rand()%2;if (random == 0){ soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/whelen.wav", CarPos, true);} else{ soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/whelen.wav", CarPos, true);} } else if (StrCompare(v.GetPrototypeFileName(), PROTO_MOTORCYCLE) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_CV_LAPD) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_CV_LAPD2) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_CV_LAPD3) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_CV_LAPD4) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_CV_LAPD5) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_CV_LAPD_ST) == 0 ||StrCompare(v.GetPrototypeFileName(), PROTO_CV_LAAP) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_CV_LAPP) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_CV_CHP) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_CV_LASD) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_CV_UMPC) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_SWAT_TRUCK) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_SUV_LAPD) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_CV_UMPC_WHITE) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_BOMB_SQUAD) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_LASD_VAN) == 0) || {int random = Math::rand()%2;if (random == 0){ soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/PSP.wav", CarPos, true);} else{ soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/PSP.wav", CarPos, true);} } else if (StrCompare(v.GetPrototypeFileName(), PROTO_CVP1) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_CV_UMPC_WHITE) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_DC_UMPC) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_DC_UMPC_BURGUNDY) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_DC_UMPC_NAVY) == 0 ||StrCompare(v.GetPrototypeFileName(), PROTO_DC_UMPC_WHITE) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_WATERCANNON) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_ABSC3) == 0) || {int random = Math::rand()%2;if (random == 0){ soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/Siren11.wav", CarPos, true);} else{ soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/Siren12.wav", CarPos, true);} } else if (StrCompare(v.GetPrototypeFileName(), PROTO_VMER) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_SWAT_SUV) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_AMBULANCE05) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_AEM03) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_AMBULANCE07) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_HUMMERH2_LASD) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_BCV2) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_LEV) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_FBI_SUV) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_LEV2) == 0) || {int random = Math::rand()%2;if (random == 0){ soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/VAMA_AMBO.wav", CarPos, true);} else{ soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/VAMA_AMBO.wav", CarPos, true);} } else if (StrCompare(v.GetPrototypeFileName(), PROTO_LADDER2) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_VTGC) == 0 || {int random = Math::rand()%2;if (random == 0){ soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/Siren01.wav", CarPos, true);} else{ soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/Siren02.wav", CarPos, true);} } else if (StrCompare(v.GetPrototypeFileName(), PROTO_AMBULANCE01) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_AMBULANCE02) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_AMBULANCE03) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_AMBULANCE04) == 0 ||StrCompare(v.GetPrototypeFileName(), PROTO_ABSC_02) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_AMBULANCE06) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_AMRAMBULANCE01) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_AMRAMBULANCE02) == 0 || StrCompare(v.GetPrototypeFileName(), PROTO_ABSC_03) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_ABSC_07) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_AEM1) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_EMS) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_CVP2) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_ABSC1) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_ABSC2) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_RESCUE01) == 0) || StrCompare(v.GetPrototypeFileName(), PROTO_RESCUE02) == 0) || {int random = Math::rand()%2;if (random == 0){ soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/Fujita.wav", CarPos, true);} else{ soundID = Audio::PlaySample3D("mod:Audio/FX/Sirens/Fujita.wav", CarPos, true);} }int CarID = v.GetID();GameObject mDummy = Game::CreateObject("mod:Prototypes/Objects/Misc/empty.e4p", NAME_DUMMYOBJECT);v.AssignCommand(DUMMY_HASSIREN);v.SetUserData(soundID);mDummy.Hide();//mDummy.SetUserData(v.GetID());mDummy.SetUserData(soundID);mDummy.AttachSound(soundID);mDummy.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_UPDATEPOS, &v, 0, false);return;}if (v.HasCommand(DUMMY_HASSIREN)){System::Log("Stop sample via VcmdSiren");if (childID == 1){v.EnableBlueLights(false);}int CarID = v.GetUserData();int ref = v.GetUserData();v.UnattachSound(ref);Audio::StopSample(ref);int mSirTest;GameObjectList list = Game::GetGameObjects(NAME_DUMMYOBJECT);for(int i=0; i<list.GetNumObjects(); i++){GameObject *obj = list.GetObject(i);if (obj->GetUserData() == CarID){mSirTest = i;}}GameObject *obj = list.GetObject(mSirTest);obj->PushActionDeleteOwner(ACTION_NEWLIST);if (v.HasCommand(DUMMY_HASSIREN))v.RemoveCommand(DUMMY_HASSIREN);return;}}};object DummyUpdatePos : CommandScript{DummyUpdatePos(){SetGroupID(DummyGroup);}bool CheckTarget(GameObject *Caller, Actor *Target, int childID){} void PushActions(GameObject *Caller, Actor *Target, int childID){Vehicle v(Target);GameObject mDummy(Caller);if (v.IsDestroyed() || !v.IsValid()){int ref = mDummy.GetUserData();mDummy.UnattachSound(ref);Audio::StopSample(ref);if (v.HasCommand(DUMMY_HASSIREN))v.RemoveCommand(DUMMY_HASSIREN);mDummy.PushActionDeleteOwner(ACTION_NEWLIST);} else {if (v.IsCurrentAction(EACTION_FINDPATH)){if (!v.HasCommand(DUMMY_FINDPATH)){v.AssignCommand(DUMMY_FINDPATH);}}Vector vPos = v.GetPosition();mDummy.SetPosition(vPos);mDummy.PushActionExecuteCommand(ACTION_NEWLIST, DUMMY_UPDATEPOS, Target, childID, false); }if (v.HasCommand(DUMMY_FINDPATH)){if (!v.IsCurrentAction(EACTION_FINDPATH) && v.HasCommand(CMD_AUTOSIREN_OFF) && (v.GetNumActions() == 0 || v.IsCurrentAction(EACTION_EXTINGUISH))){if (v.HasCommand(DUMMY_HASSIREN))v.RemoveCommand(DUMMY_HASSIREN);if (v.HasCommand(DUMMY_FINDPATH))v.RemoveCommand(DUMMY_FINDPATH);int CarID = v.GetUserData();int ref = v.GetUserData();v.UnattachSound(ref);Audio::StopSample(ref);GameObjectList list = Game::GetGameObjects(NAME_DUMMYOBJECT);for(int i = 0; i < list.GetNumObjects(); i++){int mSirTest;GameObject *obj = list.GetObject(i);if (obj->GetUserData() == CarID){mSirTest = i;GameObject *obj = list.GetObject(mSirTest);obj->PushActionDeleteOwner(ACTION_NEWLIST);if (v.HasCommand(DUMMY_HASSIREN))v.RemoveCommand(DUMMY_HASSIREN);if (v.HasCommand(DUMMY_FINDPATH))v.RemoveCommand(DUMMY_FINDPATH);}}}}}};object DummyDisableSiren : CommandScript{DummyDisableSiren(){SetGroupID(DummyGroup);}bool CheckTarget(GameObject *Caller, Actor *Target, int childID){} void PushActions(GameObject *Caller, Actor *Target, int childID){Vehicle v(Caller);if (childID == 1){v.EnableBlueLights(false);}//int CarID = v.GetID();int CarID = v.GetUserData();int ref = v.GetUserData();v.UnattachSound(ref);Audio::StopSample(ref);GameObjectList list = Game::GetGameObjects(NAME_DUMMYOBJECT);for(int i = 0; i < list.GetNumObjects(); i++){GameObject *obj = list.GetObject(i);if (obj->GetUserData() == CarID){int mSirTest = i;GameObject *obj = list.GetObject(mSirTest);obj->PushActionDeleteOwner(ACTION_NEWLIST);if (v.HasCommand(DUMMY_HASSIREN))v.RemoveCommand(DUMMY_HASSIREN);if (v.HasCommand(DUMMY_FINDPATH))v.RemoveCommand(DUMMY_FINDPATH);if (v.HasCommand(DUMMY_GETTIL))v.SetUserData(v.GetID());}}}};object DummyFindPath : CommandScript{DummyFindPath(){SetGroupID(DummyGroup);}bool CheckTarget(GameObject *Caller, Actor *Target, int childID){return false;} void PushActions(GameObject *Caller, Actor *Target, int childID){}};object DummyHasSiren : CommandScript{DummyHasSiren(){SetGroupID(DummyGroup);}bool CheckTarget(GameObject *Caller, Actor *Target, int childID){return false;} void PushActions(GameObject *Caller, Actor *Target, int childID){}};
  11. I like met's idea. The CCC is now kinda of outdated. You could do some of the new models in Europe. BTW i love your work, the models are just great
  12. Yesterday i filmed Amora Fire Department (Portugal) Wildland Engine responding to a brush fire. (Forest/Brush/Wild Fire Season in Portugal is on :c )
  13. So now i've got an HD Camera Videos of last week Cacilhas VFD Ambulance 02 INEM Ambulance INEM VMER Seixal Fire Department Ambulance 05 See more here - https://www.youtube.com/user/TheRfog/videos
  14. If you need more help just say I like these skins btw.
  15. Some videos i filmed during this week Seixal Mixed Fire Department Urban Pumper 03 (2009 Scania, sorry for the bad quality of the vid ). Dunno the call, but went to the end of the street where was already an INEM Ambulance and a INEM VMER (Fly-Car). Seixal Mixed Fire Department Ambulance 07 And from the same FD, Ambulance 01
  16. Our system is difficult because the people and the government make him difficult . Only the Lisbon region is well organized, (we have the two best FD'S of the country in this area, Lisbon RSB and Seixal Municipality Mixed, plus some well organized VFD'S like Cacilhas, Almada, Cascais (Full of Americans cars hehe xD) and Sacavem. The rest of the country is just the biggest mess that you can find, and thats why in the summer, we have giant forest fires, no organization at all .
  17. Like Ghost said in the last comment its a generic modification so its only one fire department. We have hundreds of FD'S around the country being of 4 types - Sapadores (Sapeurs in French, dunno the translation in English ) which are full-professionall and the biggest FD'S. They only exist in the big Cities like Lisbon (RSB), Oporto (BSB), And Setúbal, Coimbra, Braga and Faro. Then u have the "Municipal" Ones, which are very similar to the Sapadores, full paid and professional too but in a "smaller version" acting in some small/medium important cities. Then u have the Mixed, that also are professional and paid, but unlike the other two, they dont belong to the State, but to a humanitary association, that can have fundings or not from the state to support the professional ff's. There are only 6 Mixed FD'S, all of them in my district, being one of them the FD that serve my municipality (Seixal Municipality FD, 5 biggest FD in the country and the second best , btw ma profile pic its a vehicle from the FD). The rest, like 92% of the FD'S are Volunteer.
  18. Hi guys. I made an ambient poly with a sound on my map, exactly, on a building to pretend that is a music club, but in the freeplay, the music (Its on WMA and Mono) is very low and only plays on a part of the building :|. Also, the building is a open house, so i put some persons inside it with animations, but when i start the freeplay, all the persons start outside the building. Any idea to solve both probs?
  19. This morning I went to the Seixal Municipality Mixed Fire Department main station (They're mixed, because they are a full-professional/paid fire department, but each FF have to do 2 shifts (one at day and other at night per month) as a voluntier. The FD is the 5 Biggest in Whole Portugal and the second best in terms of service (The first is Lisbon RSB )Unfornately, most of the vehicles weren't at the main station but at the secondary stations around the municipality. One of the vehicles there was the VRCI (Rural Fire Fighting Vehicle, but this one also respond to Urban Fire calls and has Rescue and Extraction Gear. It's a 2008 Renault Midlum. A full apparatus pic (not mine) - http://www.bombeiros.pt/galeria/data/media/248/Imagem15330.jpg Urban Pumper 02 (They have 3, but this was the only that was at the Main Station. Its a 1998 Scania with 3000 litters. Full apparatus pic - http://www.bombeiros.pt/galeria/data/media/247/Imagem15321.jpg The Rescue Squad - a 2003 Scania. Equiped With all types of Rescue And extraction Material. Also have at least 3 spineboards, basic life support and is specialized in USAR. Full Apparatus - http://www.bombeiros.pt/galeria/data/media/269/Imagem15329.jpg Bat Chief Car 03 Full album here - https://www.emergency-planet.com/media/set/?set=a.685568998156146.1073741857.506146336098414&type=3
  20. Some Portuguese Police (PSP) responses: EIR Van (Rapid Intervention Team) - Seixal Municipality Traffic Division (With whelen siren) - A normal Patrol - And a police action near my house. Didnt get it wat happened, just saw 6 guys on the wall with a lot of cops with guns. All the 6 of them were took to the police station.
  21. Here in Portugal we have 5 types of Pumpers. The ones that act in the citys are the Urban Pumpers and generally they have between 2000 and 3500 litters (in my municipality there's one with 5000, its the one on the left gif on my signature xD.)
  22. Some vids i recorded in the last days envolving the INEM VMER (Portuguese EMS Supervisor/Fly Car). Here plus Sul e Sueste VFD from Barreiro City going to Almada City Hospital. And here featuring Seixal Municipality FD INEM Ambulance/Intensive Care Unit.
  23. Today I went to the Civil Protection Week on Almada, Portugal. Almada VFD Brush Patrol Portuguese Police - K9 Unit Trafaria VFD Rescue Unit (They were supposed to do a rescue exercise to the public, but, funny story, someone failed, and they dindt had a car to cut, probably someone is gettin fired xD.) Trafaria VFD Ambulance 02
  24. I would be interest in that . I also have alot of videos fo Portuguese Emergency Services
×
×
  • Create New...