-
Posts
1,026 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Tutorials
Downloads
Gallery
Posts posted by RedHawk504
-
-
Bump
Anyone??? -
@Hoppah
Weet jij iets?? Of hoe ik het anders kan doen zodat dit script een geluid afspeelt bij het aanklikken ervan?
-
Hello,
I want to add a sound to this script, so whenever i click it it will only play a single sound once.
What am i doing wrong?//**********************************************************************************************************
// #Version 2.0#//// Original script for em3 by: Rev Bem// Made compatible for em4 by: Godra// Godra's version fixed by: Hoppah// Script commented for easier use by: Stan//// Usage of this script in other is allowed with mention of Godra, Hoppah & Rev Bem in the readme////**********************************************************************************************************int DummyGroup = 20;// Definitionen - Hier muss geändert werden!const char AlarmMessage[] = "Container afzetten."; // Die Nachricht die beim Alarm abgespielt wirdconst char AlarmSound[] = "mod:Audio/FX/Motoren/aan.wav"; // Pfad zum Sound der abgespielt wird - muss Mono & WAV seinobject wlfloadupTEST : CommandScript{wlfloadupTEST(){SetCursor("wlfloadup");SetIcon("wlfloadup");SetValidTargets(ACTOR_VEHICLE);}bool CheckTarget(GameObject *Caller, Actor *Target, int childID){if(!Caller->IsValid() || !Target->IsValid() || (Caller->GetID()==Target->GetID()))return false;Vehicle v(Target);//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//INFO://[ENG]: Put the link to the e4p file of the container only//[DE]: Hier nur den link zur e4p von dem container reinschreiben//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++if(StrCompare(v.GetPrototypeFileName(), "mod:Prototypes/Vehicles/02Brandweer/27.e4p") == 0){//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//INFO://[ENG]: The "if (v.IsInstalled())" function checks if the hose conenctions are curently used//[DE]: Die "if (v.IsInstalled())" function checkt ob schlauch anschlusse benutzt werden//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++if (v.IsInstalled())return false;if(v.GetUserData() == 0)return true;}return false;}void PushActions(GameObject *Caller, Actor *Target, int childID){Vehicle v(Caller);Vehicle c(Target);v.PushActionMove(ACTION_NEWLIST, Target, TARGET_LOADUP);//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//INFO://[ENG]: Put the link to the e4p file of the container only//[DE]: Hier nur den link zur e4p von dem container reinschreiben//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++if(StrCompare(c.GetPrototypeFileName(), "mod:Prototypes/Vehicles/02Brandweer/27.e4p") == 0){v.PushActionExecuteCommand(ACTION_APPEND, "DummyWLF", Target, 1, false);}}};object DummyWLF: CommandScript{DummyWLF(){}bool CheckTarget(GameObject *Caller, Actor *Target, int childID){}void PushActions(GameObject *Caller, Actor *Target, int childID){Vehicle v(Caller);Vehicle c(Target);float r1, r2, r3, r4, r5, r6, r7, r8, r9;Vector pos = v.GetPosition();v.GetRotation(r1, r2, r3, r4, r5, r6, r7, r8, r9);Vehicle WLF;if(childID == 1){//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//INFO://[ENG]: Put the link to the e4p file of the container truck including container//[DE]: Hier den link zur e4p von dem container truck mit container//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++WLF = Game::CreateVehicle("mod:Prototypes/Vehicles/02Brandweer/53.e4p", "WLF1");}if(childID == 2){WLF = Game::CreateVehicle("mod:Prototypes/Vehicles/02Brandweer/53leeg.e4p", "WLF2");}WLF.SetPosition(pos);WLF.SetRotation(r1, r2, r3, r4, r5, r6, r7, r8, r9);//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++//INFO://[ENG]: WLF.SetMaxPassengers(3); = Max units in the container truck (can change if you changed in editor)//[ENG]: WLF.SetSpeed(9.0f); = Vehicle speed 9.0 is egal to 90//[DE]: WLF.SetMaxPassengers(3); = Einheiten im container truck (kan man heir ander fals im editor geandert)//[DE]: WLF.SetSpeed(9.0f); = Fahrzeug speed 9.0 is gleich an 90//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++WLF.SetMaxPassengers(2);WLF.SetSpeed(8.0f);int PlayerID = v.GetPlayerMP();WLF.SetPlayerMP(PlayerID);PersonList passengers = v.GetPassengers();for(int i = 0; i < passengers.GetNumPersons(); i++){v.RemovePassenger(&passengers.GetPerson(i));WLF.AddPassenger(&passengers.GetPerson(i));}PersonList transports = c.GetTransports();for(int i = 0; i < transports.GetNumPersons(); i++){c.RemoveTransport(&transports.GetPerson(i));WLF.AddTransport(&transports.GetPerson(i));}v.PushActionWait(ACTION_APPEND, 0.1f);v.PushActionDeleteOwner(ACTION_NEWLIST);c.PushActionDeleteOwner(ACTION_NEWLIST);}};Mission::PlayHint(AlarmMessage);if(GameSoundID == 1){Audio::PlaySample(AlarmSound);}Vector TargetPos=Game::GetCommandPos();Game::FindFreePosition(&v, TargetPos, 90);}; -
FL6, Work in progress...
-
Yes, we are stil working on the modification. We post more often on the dutch emergency4.nl website than we do here. So if you want to keep an closer eye on us, watch us at: http://emergency4.nl/topic/7922-112-grens-modificatie-nlbe/
-
Okay guys,
We've got a small update for you guys lol:
Vindt hier alle voertuigen die tot op heden gemaakt zijn.
AMBULANCE
Ambulance 20-101 Mercedes-Benz Sprinter 319 CDI [NL]
HAP (Medic Car) Volkswagen Touareg 2013 [NL]
Brandweer
Laddertruck from Kapellen [bE]
First fire truck from Kapellen [bE]
Watertruck (brush truck) Kapellen [bE] (Retired vehicle, will still be able for use ingame.)
7234 Fire Department Bergen op Zoom Primary Vehicle for region TAS [NL]
Communication Truck DAF CF + Small respond vehicle to Communication truck when there's a big fire going on.( Volkswagen Polo 9904 ) [NL]
Shiftcar Fire Department of Antwerpen (Opel Insignia) [bE]
CP-OPS (Team of special trained firemen, to rescue people from all hights) Fire Departnebt Kapellen Ford Transit 1993 [bE]
Daily ''Officier'' Could be compared with a batallion chief. (OvD 2591, Moerdijk res. OvD) Ford C-Max [NL]
Commandvehicle Fire Department Kapellen Ford C-Max [bE]
Shiftcar for dutch fire department ( 6195+ 7292 + 7291 (Volkswagen Golf Variant + Opel Vivaro + Opel Combo) [NL]
Brushtruck Vehicle 7263 Fire Department Bergen op Zoom Volvo FM 2013 [NL]
Politie
Police van from Roosendaal 01.01 + 01.02 [NL]
Volkswagen T5 Dog van (Will be able to use dogs if necessary) (01.45) Roosendaal [NL]
Country units police ( Politie) Volkswagen Polo + Neighborhood inspection vehicle ( Volkswagen Golf Variant )
Volkswagen T5 Road Police ( Vlaanderen [bE] )
Audi A4 Station (Station is been swapped because the sedan version was not there yet.) Road Police [bE]
Volkswagen T5 Royal Marshals (Koninklijke Marechaussee . Sportlaan, Hogerheide [NL] -
Hey Scrivis,
You forgot to mention me in the credits for the back part of the Dennis Rapier from the Antwerpen Mod.
''If you were to give permission for me to release the model I would of course give full credit :)''
Not a big problem mate, but just mention me in the credits alright?
Cheers.
-
That looks very nice actually, although it does need some polishing here and there. The cars look very detailed and the map looks good, a lot of Dutch influences are visible. I especially like what you did with the 1-6 buttons and the lights look very good too. I may actually try this mod out once I have some time.
Will this mod be updated?
Hoppah
When Hoppah reacts:
-
-
Hai,
Looks great!!! But unfortunately for you this script was once made by a german modder for freeplay too...
But this one is less buggy i hope!
Can't wait to use it!
-
Go to the gate you used into the editor, select edit and then at animations it's set on Loop, you have to set it to not ping not loop but i think forward or something. so it will play only open up animation
-
Windows XP SP 1, that's the best way to run it. Make also sure you have SWAT 4 allowed to use internet for multiplayer.
It's an nice game. I've been admin on an server for years! Good to know there are still people out there playing this kickass game!
-
Because modding aint Hoppahs fulltime job no mather how great ideas are.
His fulltime job is dumpster diving! hahaha!
-
New Video is online!
Watch it now!
https://www.youtube.com/watch?v=kBeIyVVyshg
Don't forget to subscribe!
Stay tuned for more.
-
Please read the headpost on our website to know where to download.
www.policetacticsgame.blogspot.com.br
-
You have been away for a while didn't you? 1 year at least?
-
Keep an eye on the topic, there will be another news update soon.
-
Welcome back my old friend.
Man, I love you:) looks good:)
Welcome back my old friend.
-
Thanks, no this is not based from rigs of rods. The game is totally new made by me and kaligus. Thanks though for the reply's
-
Yeah im the first
-
Hello people of this community,
Today i'm proud to announce i'm working together with Alexandre Costa Kikuchi to make an police simulation game.
The game will mostly be focused on the way thing will work, as example the ticket system, handcuff system and more.
Also the game won't have really high graphics like battlefield 3 and stuff, but also it won't be that bad.
Please visit the website of the game for more info: http://policetacticsgame.blogspot.com.br/
For now i have made an really tiny footage of the first stage of the game: The prototype.
The video will show you some basic functions of the map, car and bluelight/siren options.
Enjoy the video! Please subscribe for new footage of the game.
If you have any questions, please ask here.
-
I can give you a good example what this chief does,
Whenever there's chemical risks, this chief will come to the accident's location, he will in combination with other chief's (OVD)/(H-OvD) change the situation to a new lever which will need more vehicles to respond to the area of the accident.
In Netherlands we use:
NL ENG
Middelbrand = Middle big fire (think like kitchen fire's and stuff like that)
Grote Brand = Big fire (This alarm will be given whenever there's a big fire, like a house fire or something familiar.)
Zeer Grote Brand = Even bigger than the last one (This one will require many more units because now you can see the flames coming out of the building already as example, could also be other structures)
GRIP 1 = This situation is the almost the same as ''Zeer Grote Brand'' Only now the ROGS 9895 which i made will come to the scene to speak with other fire chief's to change the level to GRIP 2
GRIP 2 = Whenever GRIP 2 is given, there will be more units out of the local area respond to the fire or accident's place because its pretty big to handle with only 5-6 fire engines.
GRIP 3 = Reall Really but a really big fire, this situation is not given very often. When it's given it's mostly because an factory is on fire. (More units needed to respond to the fire or accident's place.) Think now like more laddertrucks, fire engine's rescue squads and more.
GRIP 4 = Is almost the biggest situation there will be given. Now there will be crashtenders from the local airports on their to an fire to help extinguish it. Those have big water canons to extinguish.
GRIP 5 = Recently added to the GRIP 1/4 situations. I don't exactly know what this situation does, but in any case it's a really worse sitation.
All the things i named above this will be only given by fire truck chiefs (Bevelvoerders) or by fire chiefs (OVD/HOVD)
It's not possible to give out of nothing GRIP 5, all situations had to be used before the last one could be given.
Hopefully i explained enough? If you have any further questions you can post them here-under. (Sorry if you couldn't understand if, but it's really hard to explain in American ways of usage.)
-
-
Rettungstier, the other versions of the mod are already released. See the Antwerpen Modification Team: http://forum.emergency-planet.com/index.php?/forum/96-antwerpen-mod-team/
Script problem
in Modding Related Support
Posted
Can you insert it into my scripts so i can see what i did wrong?
Doesn't it also need an reference to the specific sound i want to let play?