Guest [HUN]Modder Posted December 12, 2008 Report Share Posted December 12, 2008 (edited) Hi.This mod is one Emergency 4 mod with Hungarian vehicles.Download:[EDIT by Pyrothijs]See this post for the download link [/EDIT]News in 1.11 2http://www.youtube.com/watch?v=_TQTlxroWY8...feature=channelSomebody would be able to help what may be the trouble how it alarm with a script? Units:Banner:[url="http://forum.emergency-planet.com/index.php?showtopic=5246"][img=http://kepfeltoltes.hu/thumb/081217/banner_www.kepfeltoltes.hu_.png][/url] Edited April 27, 2009 by pyrothijs Quote Link to comment Share on other sites More sharing options...
Bernt Posted December 13, 2008 Report Share Posted December 13, 2008 Nice mod!Maybe you can put here the alarm script? Quote Link to comment Share on other sites More sharing options...
Guest [HUN]Modder Posted December 13, 2008 Report Share Posted December 13, 2008 // Alamierungsscript für den Löschzug der Altstadt// // Angepasst an den mG3lite Mod// // Script V1.0// // Script made by Ritchi// anpassung dani// Dieser Kommentar muss erhalten bleiben.// ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////object Rufe_Loeschzug_Feuerwehr_City_Feuer_Mittel : CommandScript{ Rufe_Loeschzug_Feuerwehr_City_Feuer_Mittel() { SetValidTargets(ACTOR_FLOOR); SetIcon("sosi"); SetCursor("moveto"); } bool CheckTarget(GameObject *Caller, Actor *Target, int childID) { Person pd(Caller); if(pd.HasName("dispatcher")) return true; if( Caller->GetID() == Target->GetID() || Target->GetType() == ACTOR_VEHICLE || Target->GetType() == ACTOR_HOUSE || Target->GetType() == ACTOR_OPEN_HOUSE || Target->GetType() == ACTOR_PERSON || Target->GetType() == ACTOR_OBJECT) return false; return true; } void PushActions(GameObject *Caller, Actor *Target, int childID) { GameObjectList l0 = Game::GetGameObjects(TYPE_VEHICLE); Mission::PlayHint("Figyelem Riasztas! Figyelem Riasztas! 1-es fecskendo,2-es fecskendo, tuzoltasi csaoport, magasmento."); Audio::PlaySample("mod:audio/fx/riasztas/riasztas.wav"); Vector TargetPos=Game::GetCommandPos(); for(int i=0; i<l0.GetNumObjects(); i++) { GameObject *Obj = l0.GetObject(i); if(Obj->HasCommand("csoport") && !Obj->HasCommand("ich_bin_nicht_frei")) { Vehicle v(Obj); v.EnableBlinker(BLT_NONE); v.AssignCommand("ich_bin_nicht_frei"); v.EnableBlueLights(false); Person p1 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "csoport"); v.AddPassenger(&p1); Person p2 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "csoport"); v.AddPassenger(&p2); v.PushActionWait(ACTION_NEWLIST, 3); // EDIT BY SMUNDT: // ACHTUNG, HIER WIRD DAS TOR GEÖFFNET!!!! Obj->PushActionExecuteCommand(ACTION_APPEND,"TorOeffnen",Obj,0,false); v.PushActionWait(ACTION_APPEND, 3); v.EnableBlueLights(true); Game::FindFreePosition(Obj, TargetPos, 100); Obj->PushActionMove(ACTION_APPEND, TargetPos); } if(Obj->HasCommand("merci") && !Obj->HasCommand("ich_bin_nicht_frei")) { Vehicle v(Obj); v.EnableBlinker(BLT_NONE); v.AssignCommand("ich_bin_nicht_frei"); v.EnableBlueLights(false); Person p1 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci"); v.AddPassenger(&p1); Person p2 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci"); v.AddPassenger(&p2); Person p3 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci"); v.AddPassenger(&p3); Person p4 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci"); v.AddPassenger(&p4); Person p5 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci"); v.AddPassenger(&p5); Person p6 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci"); v.AddPassenger(&p6); v.PushActionWait(ACTION_NEWLIST, 3); // EDIT BY SMUNDT: // ACHTUNG, HIER WIRD DAS TOR GEÖFFNET!!!! Obj->PushActionExecuteCommand(ACTION_APPEND,"TorOeffnen",Obj,0,false); v.PushActionWait(ACTION_APPEND, 6); v.EnableBlueLights(true); Game::FindFreePosition(Obj, TargetPos, 100); Obj->PushActionMove(ACTION_APPEND, TargetPos); } if(Obj->HasCommand("merci1") && !Obj->HasCommand("ich_bin_nicht_frei")) { Vehicle v(Obj); v.EnableBlinker(BLT_NONE); v.AssignCommand("ich_bin_nicht_frei"); v.EnableBlueLights(false); Person p1 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci1"); v.AddPassenger(&p1); Person p2 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci1"); v.AddPassenger(&p2); Person p3 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci1"); v.AddPassenger(&p3); Person p4 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci1"); v.AddPassenger(&p4); Person p5 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci1"); v.AddPassenger(&p5); Person p6 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci1"); v.AddPassenger(&p6); v.PushActionWait(ACTION_NEWLIST, 3); // EDIT BY SMUNDT: // ACHTUNG, HIER WIRD DAS TOR GEÖFFNET!!!! Obj->PushActionExecuteCommand(ACTION_APPEND,"TorOeffnen",Obj,0,false); v.PushActionWait(ACTION_APPEND, 6); v.EnableBlueLights(true); Game::FindFreePosition(Obj, TargetPos, 100); Obj->PushActionMove(ACTION_APPEND, TargetPos); } if(Obj->HasCommand("volvo") && !Obj->HasCommand("ich_bin_nicht_frei")) { Vehicle v(Obj); v.EnableBlinker(BLT_NONE); v.AssignCommand("ich_bin_nicht_frei"); v.EnableBlueLights(false); Person p1 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "volvo"); v.AddPassenger(&p1); v.PushActionWait(ACTION_NEWLIST, 3); // EDIT BY SMUNDT: // ACHTUNG, HIER WIRD DAS TOR GEÖFFNET!!!! Obj->PushActionExecuteCommand(ACTION_APPEND,"TorOeffnen",Obj,0,false); v.PushActionWait(ACTION_APPEND, 6); v.EnableBlueLights(true); Game::FindFreePosition(Obj, TargetPos, 100); Obj->PushActionMove(ACTION_APPEND, TargetPos); } } }}; Quote Link to comment Share on other sites More sharing options...
Guest [HUN]Modder Posted December 14, 2008 Report Share Posted December 14, 2008 The new rw:Mercedes Benz Sprinter Quote Link to comment Share on other sites More sharing options...
Bernt Posted December 14, 2008 Report Share Posted December 14, 2008 Nice!I am a fan of you mod! Quote Link to comment Share on other sites More sharing options...
Guest [HUN]Modder Posted December 16, 2008 Report Share Posted December 16, 2008 The new Police car:Skoda Octavia Rs Quote Link to comment Share on other sites More sharing options...
Sirius7dk Posted December 16, 2008 Report Share Posted December 16, 2008 nice Quote Link to comment Share on other sites More sharing options...
Guest [HUN]Modder Posted December 17, 2008 Report Share Posted December 17, 2008 The new TLF: Quote Link to comment Share on other sites More sharing options...
Cyrussm Posted December 18, 2008 Report Share Posted December 18, 2008 Very good mate! Quote Link to comment Share on other sites More sharing options...
Guest [HUN]Modder Posted December 18, 2008 Report Share Posted December 18, 2008 Nissan Navara RW Quote Link to comment Share on other sites More sharing options...
Luisinho Posted December 19, 2008 Report Share Posted December 19, 2008 Looking good so far!Keep it up. Quote Link to comment Share on other sites More sharing options...
Guest [HUN]Modder Posted December 19, 2008 Report Share Posted December 19, 2008 Skoda Octavia Police Carand the M.I.C.U. Quote Link to comment Share on other sites More sharing options...
Guest [HUN]Modder Posted December 24, 2008 Report Share Posted December 24, 2008 Merry Christmas Quote Link to comment Share on other sites More sharing options...
james23222000 Posted December 24, 2008 Report Share Posted December 24, 2008 I can see a couple of things wrong with your script. I will edit it and send you the correct one. Edit: try thisRegardsJames Quote Link to comment Share on other sites More sharing options...
Guest [HUN]Modder Posted December 24, 2008 Report Share Posted December 24, 2008 I say thank you for it how you dealt with the case!You would cover so much that would imitate the rows, all dared in this manner converged and I cannot interpret it! Quote Link to comment Share on other sites More sharing options...
Guest [HUN]Modder Posted December 27, 2008 Report Share Posted December 27, 2008 News:_______________________________NEWS__________________________________I wait for the opinions and the ideas the mod in a contact! Quote Link to comment Share on other sites More sharing options...
Cyrussm Posted December 28, 2008 Report Share Posted December 28, 2008 Woow!AWESOME!Very good mate, Hungarian emergency vehicles are one of my favorites, and as far as I know, you made a very good job with those skin and models!I just can't wait for you to release it! Quote Link to comment Share on other sites More sharing options...
butsara.boy Posted December 29, 2008 Report Share Posted December 29, 2008 :gut: java script:add_smilie("","smid_18") Quote Link to comment Share on other sites More sharing options...
james23222000 Posted December 30, 2008 Report Share Posted December 30, 2008 Did the new script work?Did the new script work? Quote Link to comment Share on other sites More sharing options...
Guest [HUN]Modder Posted December 30, 2008 Report Share Posted December 30, 2008 I can not on him to conform because all is in rows!This is:// Alamierungsscript für den Löschzug der Altstadt // // Angepasst an den mG3lite Mod // // Script V1.0 // // Script made by Ritchi // anpassung dani // Dieser Kommentar muss erhalten bleiben. // //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// object Rufe_Loeschzug_Feuerwehr_City_Feuer_Mittel : CommandScript { Rufe_Loeschzug_Feuerwehr_City_Feuer_Mittel() { SetValidTargets(ACTOR_FLOOR); SetPossibleCallers(ACTOR_PERSON); SetIcon("sosi"); SetCursor("moveto"); } bool CheckPossible(GameObject *Caller) { if(Caller->GetType() != ACTOR_PERSON) return false; Person pd(Caller); if(!pd.HasName("dispatcher")) return false; return true; } bool CheckTarget(GameObject *Caller, Actor *Target, int childID) { if(Caller->GetID() == Target->GetID() || Target->GetType() != ACTOR_FLOOR) return false; return true; } void PushActions(GameObject *Caller, Actor *Target, int childID) { GameObjectList l0 = Game::GetGameObjects(TYPE_VEHICLE); Mission::PlayHint("Figyelem Riasztas! Figyelem Riasztas! 1-es fecskendo,2-es fecskendo, tuzoltasi csaoport, magasmento."); Audio::PlaySample("mod:audio/fx/riasztas/riasztas.wav"); Vector TargetPos=Game::GetCommandPos(); for(int i=0; iHasCommand("csoport") && !Obj->HasCommand("ich_bin_nicht_frei")) { Vehicle v(Obj); v.EnableBlinker(BLT_NONE); v.AssignCommand("ich_bin_nicht_frei"); v.EnableBlueLights(false); Person p1 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "csoport"); v.AddPassenger(&p1); Person p2 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "csoport"); v.AddPassenger(&p2); v.PushActionWait(ACTION_NEWLIST, 3); // EDIT BY SMUNDT: // ACHTUNG, HIER WIRD DAS TOR GEÖFFNET!!!! Obj->PushActionExecuteCommand(ACTION_APPEND,"TorOeffnen",&Obj,0,false); v.PushActionWait(ACTION_APPEND, 3); v.EnableBlueLights(true); Game::FindFreePosition(Obj, TargetPos, 100); Obj->PushActionMove(ACTION_APPEND, TargetPos); } if(Obj->HasCommand("merci") && !Obj->HasCommand("ich_bin_nicht_frei")) { Vehicle v(Obj); v.EnableBlinker(BLT_NONE); v.AssignCommand("ich_bin_nicht_frei"); v.EnableBlueLights(false); Person p1 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci"); v.AddPassenger(&p1); Person p2 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci"); v.AddPassenger(&p2); Person p3 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci"); v.AddPassenger(&p3); Person p4 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci"); v.AddPassenger(&p4); Person p5 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci"); v.AddPassenger(&p5); Person p6 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci"); v.AddPassenger(&p6); v.PushActionWait(ACTION_NEWLIST, 3); // EDIT BY SMUNDT: // ACHTUNG, HIER WIRD DAS TOR GEÖFFNET!!!! Obj->PushActionExecuteCommand(ACTION_APPEND,"TorOeffnen",&Obj,0,false); v.PushActionWait(ACTION_APPEND, 6); v.EnableBlueLights(true); Game::FindFreePosition(Obj, TargetPos, 100); Obj->PushActionMove(ACTION_APPEND, TargetPos); } if(Obj->HasCommand("merci1") && !Obj->HasCommand("ich_bin_nicht_frei")) { Vehicle v(Obj); v.EnableBlinker(BLT_NONE); v.AssignCommand("ich_bin_nicht_frei"); v.EnableBlueLights(false); Person p1 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci1"); v.AddPassenger(&p1); Person p2 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci1"); v.AddPassenger(&p2); Person p3 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci1"); v.AddPassenger(&p3); Person p4 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci1"); v.AddPassenger(&p4); Person p5 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci1"); v.AddPassenger(&p5); Person p6 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "merci1"); v.AddPassenger(&p6); v.PushActionWait(ACTION_NEWLIST, 3); // EDIT BY SMUNDT: // ACHTUNG, HIER WIRD DAS TOR GEÖFFNET!!!! Obj->PushActionExecuteCommand(ACTION_APPEND,"TorOeffnen",&Obj,0,false); v.PushActionWait(ACTION_APPEND, 6); v.EnableBlueLights(true); Game::FindFreePosition(Obj, TargetPos, 100); Obj->PushActionMove(ACTION_APPEND, TargetPos); } if(Obj->HasCommand("volvo") && !Obj->HasCommand("ich_bin_nicht_frei")) { Vehicle v(Obj); v.EnableBlinker(BLT_NONE); v.AssignCommand("ich_bin_nicht_frei"); v.EnableBlueLights(false); Person p1 = Game::CreatePerson("mod:Prototypes/Persons/Fire Department/firefighternorm.e4p", "volvo"); v.AddPassenger(&p1); v.PushActionWait(ACTION_NEWLIST, 3); // EDIT BY SMUNDT: // ACHTUNG, HIER WIRD DAS TOR GEÖFFNET!!!! Obj->PushActionExecuteCommand(ACTION_APPEND,"TorOeffnen",&Obj,0,false); v.PushActionWait(ACTION_APPEND, 6); v.EnableBlueLights(true); Game::FindFreePosition(Obj, TargetPos, 100); Obj->PushActionMove(ACTION_APPEND, TargetPos); } } } }; Quote Link to comment Share on other sites More sharing options...
james23222000 Posted December 31, 2008 Report Share Posted December 31, 2008 Can you tell me what exactly is going wrong with the script?Put Hungarian in with your English Translation as I cannot understand your English so well. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 13, 2009 Report Share Posted January 13, 2009 The new Police car:Skoda Octavia Rsyour Skoda Octavia is very bad, Quote Link to comment Share on other sites More sharing options...
looneyboy714 Posted January 13, 2009 Report Share Posted January 13, 2009 i think uts exellent keep up the good work james Quote Link to comment Share on other sites More sharing options...
Guest [HUN]Modder Posted January 20, 2009 Report Share Posted January 20, 2009 The news:Units:Freeplay Map: Quote Link to comment Share on other sites More sharing options...
Rafael Posted January 20, 2009 Report Share Posted January 20, 2009 Nice Mod!!!!!!!!!!!!!!!!!!!! Quote Link to comment Share on other sites More sharing options...