-
Posts
177 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Tutorials
Downloads
Gallery
Posts posted by USman
-
-
I'm using emergency_freak and can't get it to work all the way. I don't get any prompts when loading the game and I'm able to select the command but nothing happens. Anybody see what I'm missing?
// Name of Virtual Objects where Vehicles are made// These definitions are used further down in the scriptconst char *STR_VObjVehicle1Start = "emsvehicle1_vo";const char *STR_VObjVehicle2Start = "emsvehicle2_vo";const char *STR_VObjVehicle3Start = "emsvehicle3_vo";const char *STR_VObjVehicle4Start = "emsvehicle4_vo";//Name of the Virtual Object where Vehicles are parked.const char *STR_VObjVehicleTarget = "emsvehicle_target";// Prototypes of persons and vehicles// The people meet original EM4 paths and must not be changed// Vehicle Pathes need to be changedconst char *STR_ProtoPerson1 = "mod:Prototypes/Persons/Civil/civilboy03_blue.e4p";const char *STR_ProtoPerson2 = "mod:Prototypes/Persons/Civil/civilwoman01_red.e4p";const char *STR_ProtoPerson3 = "mod:Prototypes/Persons/Civil/civilworker03.e4p";const char *STR_ProtoPerson4 = "mod:Prototypes/Persons/Civil/civilman02_silver.e4p";const char *STR_ProtoPerson5 = "mod:Prototypes/Persons/Civil/civilman03_green.e4p";const char *STR_ProtoPerson6 = "mod:Prototypes/Persons/Civil/civilminister01.e4p";const char *STR_ProtoPerson7 = "mod:Prototypes/Persons/Civil/civilworker01.e4p";const char *STR_ProtoVehicle1 = "mod:Prototypes/Vehicles/Civil - Cars/civilcar01_silver.e4p";const char *STR_ProtoVehicle2 = "mod:Prototypes/Vehicles/Civil - Cars/civilcar04_red.e4p";const char *STR_ProtoVehicle3 = "mod:Prototypes/Vehicles/Civil - Trucks/civilvan01.e4p";const char *STR_ProtoVehicle4 = "mod:Prototypes/Vehicles/Civil - Trucks/civiltruck04_red.e4p";object Alarm_EMS1 : CommandScript // Name of the script.{ // PCmd is person bound ComandscriptAlarm_EMS1() // Name can be changed arbitrarily{SetCursor("install");SetIcon("install");SetValidTargets(ACTOR_FLOOR); }bool CheckTarget(GameObject *Caller, Actor *Target, int childID){ return true;}void PushActions(GameObject *Caller, Actor *Target, int childID){// In the following lines, VOs are checked to see if available// If above fundamental changes were made to the definitions, must also be changed here! ActorList Vec1StartList(STR_VObjVehicle1Start); if (Vec1StartList.GetNumActors() != 1) { System::Log("PCmdAlarmFW: Vec1StartList mismatch!"); return; }ActorList Vec2StartList(STR_VObjVehicle2Start); if (Vec2StartList.GetNumActors() != 1) { System::Log("PCmdAlarmFW: Vec2StartList mismatch!"); return; }ActorList Vec3StartList(STR_VObjVehicle3Start); if (Vec3StartList.GetNumActors() != 1) { System::Log("PCmdAlarmFW: Vec3StartList mismatch!"); return; }ActorList Vec4StartList(STR_VObjVehicle4Start); if (Vec4StartList.GetNumActors() != 1) { System::Log("PCmdAlarmFW: Vec4StartList mismatch!"); return; } ActorList VecTargetList(STR_VObjVehicleTarget); if (VecTargetList.GetNumActors() != 1) { System::Log("PCmdAlarmFW: VecTargetList mismatch!"); return; } // In the following lines, Vehicles and Vehicle Guide are created// The number after 'Anzahl' represents the number of vehicles.int Anzahl = 2;for (int i=1; i<Anzahl; i++) { Person passenger = Game::CreatePerson(STR_ProtoPerson1, "Unnamed");passenger.SetRole(ROLE_SQUAD);passenger.AssignCommand("MoveTo"); // Commands that are assigned to the person can be changed as requiredpassenger.AssignCommand("EnterCar");passenger.AssignCommand("PCmdChangeToFF");int CreateVehicle = rand()%4;switch(CreateVehicle) {case 0: Vehicle v = Game::CreateVehicle(STR_ProtoVehicle1, "privatpkw_ff1");break; case 1: Vehicle v = Game::CreateVehicle(STR_ProtoVehicle2, "privatpkw_ff1");break; case 2: Vehicle v = Game::CreateVehicle(STR_ProtoVehicle3, "privatpkw_ff1");break; case 3: Vehicle v = Game::CreateVehicle(STR_ProtoVehicle4, "privatpkw_ff1");break; }ActorList VehicleStartList; if (i == 1){VehicleStartList = Vec2StartList;}else if (i == 2){VehicleStartList = Vec3StartList;}else if (i == 3){VehicleStartList = Vec4StartList;}else{VehicleStartList = Vec1StartList;}Vector vStartPos(VehicleStartList.GetActor(0)->GetPosition());Vector vTargetPos(VecTargetList.GetActor(0)->GetPosition());Game::FindFreePosition(&v, vStartPos, 100.f);Game::FindFreePosition(&v, vTargetPos, 100.f);v.SetPosition(vStartPos);v.SetSpeed(12.f);v.SetMaxPassengers(2);v.AddPassenger(passenger);v.AssignCommand("MoveTo");v.AssignCommand("EmptyCar");int WaitingTimeVec = rand()%3;switch(WaitingTimeVec) { case 0:int WaitingV1 = 4.f;break;case 1:int WaitingV1 = 8.f;break;case 2:int WaitingV1 = 11.f;break;}v.PushActionWait(ACTION_NEWLIST, WaitingV1);v.PushActionMove(ACTION_APPEND, vTargetPos);} // Here the alarm message apears// In addition a sound is played Mission::PlayHint("Ambulance 231 was paged");Audio::PlaySample("mod:Audio/FX/misc/ems1_alert"); System::Log("PCmdAlarmFW: ended");}};[/spoiler];>Again any help would be great. I'm trying to lean how to script and have some ability, but still don't have a huge grasp of code.Stay Warm, USman
-
Would it be possible to release this in something other than an .e4mod file? I can't get my installer to work and have searched and tried the methods on the site and still no luck. I would really like to play with this to add to different mods, including the LA mod, and a personal mod I have been working on. It looks awesome and I've been itching to try it out. If you think you might have another solution for my mod installer problem please PM me so we don't get off topic. However if the files can be released in a .rar or zip file that would work just as well.
Thanks,
USman
-
Look up gunderson tristate ambulance and paramount ambulance. Paramount is only ift but tristate does 911 and ift
-
Everything looks good! but just some info on WI,
Law Enforcement is the only dept allowed to use Red/Blue lights
Fire Department is Red/amber (same for personal vehicles with sirens)
EMS is Red/White (same for personal vehicles with siren)
WI is also going to enact a requirement for chevron (no specified color combinations... yet) here in 2015 I believe. A lot of agencies are already begining to implement them and I see you have on your EMS fast response cars.
-
^^ Seems like a decent idea, probably more like a clinic than a hospital. A lot of rural towns have clinics that can stabilize most injuries for transport to larger hospitals. I know the clinic at the Grand Canyon receives patients, packages them and then loads them into the helicopter or ambulance from a larger hospital.
In this case maybe have a command for transfers out of the county to larger hospitals, just as an idea
Also this sounds kind of like my town, pop ~200 , we have a first responder service that is coupled with our Fire, I am an EMT and Firefighter so I go to all calls. We don't transport but offer medical assistance until an ambulance gets there. In our station we have a pumper, brush/minipumper, tanker, and responder rig (retired Ambulance)
BTW, this sounds like a great mod!
-
Hey everyone I have a couple questions about modifying the mod. I have added american style ambulances that follow the commands except for:
1: they will not return to the hospital/car bay
2: they don't hold a cot or wheelchair
3: the Fly car driver can't get in any vehicle
4: they don't have the radio pop up.
otherwise the siren, light and speed controls work. They have the cases specified for that class of vehicle. What I did was replace the files in the prototypes with those of the American units added the doors and wheels and also added the commands from the orginal unit. I then named them in place of the first unit. Any ideas? do I have to change anything in the script?
-
Check the download center, I thik there might be something there, otherwise check the topic it may help aswell.
-
try the RTS mod maybe
-
So as there are a lot of great skinners out there, maybe you could share some tips and hints on how you make them. For I can make the model just can't get the skins right.
-
That mod as far as I know has fallen apart, and I actually lost a lot of those files as I had my computer cleaned.
-
edited, I guess the FL doesn't want to populate but I put up some other things, please any comments are welcome.
-
-
are these models are open for anyone to use? Thats a nice expedition
-
It would be based in rural Iowa, which is in the United States, I will post one picture but I don't want to open a mod topic yet I'll edit the top post when I'm on my home computer.
-
I am currently working on some models for a possible future rural map mod. It would have volunteer stations and all that stuff you would find in a rural community. I would need help with creating a map and then packaging the mod. I would be able to create and skin models along editing some of Hopahs scripts. If some crazy person would like to help model and skin that would be great too, but as of now this is just an intrest check. If you would be intrested in helping PM me so I can give you more info.
Here is the start of a Freightliner fire truck:
-
I would, but I have a digital copy so I uninstall it and I don't get it back :/
-
I was messing around with my editor, and now it won't start up. Is there anyway I coould download a new one from somewhere?
-
Lol Zmod + win7 works just fine I am working on a side mod of mine and tring to improve my Zmod skills, I took a 3 month break and that was a baadddd idea
-
Is ERFD volunteer?
-
Awesome job erfd! very detailed. How long did the model take you?
-
This game probably could be moddable like farming simulator
-
hhmmmm well maybe this could be the beginning of a new type of emergency. ***MAYBE***(<big maybe) if this goes well the will create one for fire and EMS...
-
I like both ideas, I would like to see the dispatch game come out because that would be a good proving ground for your next project. The MMORPG I am to so crazy about the whole online part. This is just because I would prefer not to always have a web connection to have to play. I do understand though that it would probably be hard to then control a lot of people. But maybe you could do that like in furewere simulator. I also think it would be cool if when you got on you could pick to play as either EMS or Fire.
My Idea:
I also have had an idea for a game. Mine is where you start in a time like the 1900s with a small town and you slowly build your emergency services up as you town builds. You can upgrade trucks, hire volunteers or career firefighters. Get sheriffs and city officers, swat teams... kind of like Locomotion but for the emergency services. I just don't yet have the know how to develop something like that
-
I have a bug:
My trucks leave before all the FFs get on, then the FFs run t the scene after I wait because no one is on the truck :/ other then that it's cool!
NOTE: I have not yet installed the patch, will this solve it?
Volunteer script help
in Modding Related Support
Posted
Thank you! I'll give it a shot when I get off shift!
__________________________________________________
EDIT:
No go, turns out that line was just a miss copy into the post and I reposted the script so take a look. It was there. Still thanks for taking a look!