Ga naar inhoud


Foto

Replacing a vehicle in one of the fire stations


  • Please log in to reply
255 replies to this topic

#61 Cosreski

Cosreski

    Senior Captain

  • Members
  • 372 Posts:
  • Gender:Male
  • Location:Delmarva Penninsula (USA)
  • Interests:Emergency Service's
    911 First Responders LA Mod
    PC Games
    Former Firefighter In California / Maryland

Gepost 28 januari 2010 - 08:33

I have the EXACT same issue as MonkeySquasher... I have been avoiding posting because I enjoy figuring it out for myself, but I have gotten this far and I just cannot figure out how to make the second ladder return to FS2... Am I reading right that it has something to do with using the editor?


I think the Hazmat shouldn't be @ sta 2. The ladder truck should be @ sta2. The hazmat should be just an extra unit like the rescue boat. It should come on the map from the north heading south @ left side of Hospital.
Geposte afbeelding

#62 CFDJustin

CFDJustin

    Firefighter

  • Members
  • 5 Posts:
  • Gender:Male
  • Location:Commack NY

Gepost 02 februari 2010 - 07:32

I want to be able to have the jaws of life on the BLS engine. I have been sucessful putting the Jaws of life on the truck but the FF's wont get it from the truck. Which other file do I have to alter (so they can get the Jaws of Life off of the BLS engine)?
Posted Image

Posted Image

#63 pyrothijs

pyrothijs

    Assistant Chief

  • Members
  • 2472 Posts:
  • Gender:Male
  • Location:Lelystad, the Netherlands
  • Interests:Everything that has to do with the Fire Department.

Gepost 02 februari 2010 - 08:20

I want to be able to have the jaws of life on the BLS engine. I have been sucessful putting the Jaws of life on the truck but the FF's wont get it from the truck. Which other file do I have to alter (so they can get the Jaws of Life off of the BLS engine)?


No idea, maybe the getshears command (or whatever it is called)?
How exactly did you add the jaws of life to the engines? If you checked the boxes in the traits menu of the editor, I'm not sure if that will work because hoppah's models are locked so they can't be changed.

greetz,PyroThijs, (Moderator/FAQ author)
See something that doesn't belong? Report it, don't take matters into your own hands.
Posted Image
Posted Image
Posted Image


#64 CFDJustin

CFDJustin

    Firefighter

  • Members
  • 5 Posts:
  • Gender:Male
  • Location:Commack NY

Gepost 02 februari 2010 - 09:42

No idea, maybe the getshears command (or whatever it is called)?
How exactly did you add the jaws of life to the engines? If you checked the boxes in the traits menu of the editor, I'm not sure if that will work because hoppah's models are locked so they can't be changed.



I went into the Engine02 file in the vehicles folder. I had previously copied <unit id="JAWS OF LIFE" /> from the usar squad and I added it to the Engine02 file. I also changed the staffing and the amount of seats in some vehicles.
Posted Image

Posted Image

#65 Cosreski

Cosreski

    Senior Captain

  • Members
  • 372 Posts:
  • Gender:Male
  • Location:Delmarva Penninsula (USA)
  • Interests:Emergency Service's
    911 First Responders LA Mod
    PC Games
    Former Firefighter In California / Maryland

Gepost 03 februari 2010 - 04:59

I went into the Engine02 file in the vehicles folder. I had previously copied <unit id="JAWS OF LIFE" /> from the usar squad and I added it to the Engine02 file. I also changed the staffing and the amount of seats in some vehicles.


I added the jaws of life to a few units like, the Heavy rescue, Large Ambulance, Hazmat and LEV. I do not know how to change vehicles @ stations, so I changed the staff of the hazmat to FF's and added Jaws of life and fire hose. I replace the hazmat staff when game starts. I did not change the files as you don't need to. I went to edit and click on the vehicles one at a time and went to edit straights and added the Jaws of life. :cheers-mate:
Geposte afbeelding

#66 Guest_FairfaxExplorer_*

Guest_FairfaxExplorer_*
  • Guests

Gepost 07 februari 2010 - 09:54

Hey,
I want to replace the BLS ambulance in Station 2 with an ALS Ambulance. I've read through the posts, and the script, and I can't quite figure it out. Can I get some help?

#67 Cosreski

Cosreski

    Senior Captain

  • Members
  • 372 Posts:
  • Gender:Male
  • Location:Delmarva Penninsula (USA)
  • Interests:Emergency Service's
    911 First Responders LA Mod
    PC Games
    Former Firefighter In California / Maryland

Gepost 07 februari 2010 - 10:31

Hey,
I want to replace the BLS ambulance in Station 2 with an ALS Ambulance. I've read through the posts, and the script, and I can't quite figure it out. Can I get some help?


If it were me I rather have the Large Rescue Ambulance @ station 2 with Ladder truck and existing engine.
Geposte afbeelding

#68 Guest_FairfaxExplorer_*

Guest_FairfaxExplorer_*
  • Guests

Gepost 07 februari 2010 - 11:43

Right... well, through some messing around, I've gotten it to work... sort of. I: backed up the ambulance01.e4p files in Prototypes, Ambulances (Or whatever that is)
2. Made a copy of the ambulance02.e4p files
3. Renamed them, switching out the 02 for 01.
When I open the game, it still says BLS ambulance in the descriptor, but it is the ALS model. It also gives me paramedics with a stretcher, but not the paramedic with emt bag that I'm trying to get it to spawn with as well. I didn't have to edit any scripts beyond changing what units it spawns with. Any idea how to get the paramedic with emt bag to spawn as well?

I also changed the staffing on the Rescue and Aerial to reflect my home county, so 3 on the truck and 4 on the rescue.

#69 swisscow41

swisscow41

    Lieutenant

  • Members
  • 64 Posts:
  • Gender:Male
  • Location:San Diego/Switzerland

Gepost 16 februari 2010 - 03:48

What would I have to do to make it so both ALS and BLS ambulances can park at Fire Station 1?
[img]http://[img]http://lamod.emergency-planet.com/lamod_banner.gif[/img][/img]

#70 michaelny

michaelny

    Captain

  • Members
  • 127 Posts:

Gepost 18 februari 2010 - 01:04

looks like I am to stupid to get this whole thing .

first I wanted to replace the " hazmat " by the " ems-suv " but that did not get me anywhere , except for an empty parking bay at firestation 2 and here and there a crash - seems something about the file names - so I figured I try it with a different approach and use a vehicle where I am certain about the file names .

my first task was to get the spawning of the desired vehicle done , just as hoppah advised to do so at the beginning of the post .


i decided to put another battalion chief into FS2 as a replacement for the hazmat

I changed the following lines , so that they look like this

const char OBJ_HAZMATSQUAD[] = "mod:Prototypes/Vehicles/02 LA Fire Department/hazmat_squad.e4p";
const char OBJ_BATTALION[] = "mod:Prototypes/Vehicles/02 LA Fire Department/battalion_chief_vehicle.e4p";


const char VO_HAZMAT[] = "fs_hazmat";
const char VO_BATTALION[] = "fs_battalion";


ActorList l15 = Game::GetActors(VO_HAZMAT);
for(int i=0; i < l15.GetNumActors(); i++)
{
GameObjectList gate06a = Game::GetGameObjects(NAME_GATE06A);
for(int i=0; i < gate06a.GetNumObjects(); i++)
GameObject *gate = gate06a.GetObject(i);

Vector Hazmat = l15.GetActor(0)->GetPosition();
Vehicle m = Game::CreateVehicle(OBJ_HAZMATSQUAD, UNNAMED);
m.EnableBlueLights(false);
m.SetPosition(Hazmat);
m.SetRotation(gate);
m.UpdatePlacement();
m.SetMaxPassengers(4);
m.SetMaxTransports(2);
m.SetSpeed(8.0f);
m.PushActionWait(ACTION_NEWLIST, 1.0f);
m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 5, false);
m.PushActionWait(ACTION_APPEND, 1.5f);
m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 5, false);
m.PushActionWait(ACTION_APPEND, 0.5f);
m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 5, false);
m.PushActionWait(ACTION_APPEND, 0.5f);
m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 5, false);

against

ActorList l15 = Game::GetActors(VO_BATTALION);
for(int i=0; i < l15.GetNumActors(); i++)
{
GameObjectList gate06a = Game::GetGameObjects(NAME_GATE06A);
for(int i=0; i < gate06a.GetNumObjects(); i++)
GameObject *gate = gate06a.GetObject(i);

Vector BATTALION = l15.GetActor(0)->GetPosition();
Vehicle m = Game::CreateVehicle(OBJ_BATTALION, UNNAMED);
m.EnableBlueLights(false);
m.SetPosition(BATTALION);
m.SetRotation(gate);
m.UpdatePlacement();
m.SetMaxPassengers(4);
m.SetMaxTransports(0);
m.SetSpeed(12.0f);
m.PushActionWait(ACTION_NEWLIST, 1.0f);
m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 5, false);
m.PushActionWait(ACTION_APPEND, 1.5f);
m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 5, false);
m.PushActionWait(ACTION_APPEND, 0.5f);
m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 5, false);
m.PushActionWait(ACTION_APPEND, 0.5f);
m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 5, false);


the only result I get with this is , that I have an empty bay at the FS2 and a second BTC sitting on top of the original BTC at the parking lot ......

#71 michaelny

michaelny

    Captain

  • Members
  • 127 Posts:

Gepost 20 februari 2010 - 12:29

I guess my biggest problem is this , that I am not certain what position describes the " parking position within the FS " ....... if I assume right than they should be left for the pure matter of spawning with the original file name ( in this example the HAZMAT ) or am I wrong ?


- now I got it working ... at least partial

- now I got the LES based in Place of the HAZMAT acting as EMS , including the return to station command and gate open / close command

- really odd is something else ..... now I wanted to replace the USAR at FS1 and did try that by now with different vehicles but always with the same result - when ever I place a new vehicle in there to replace the USAR than the FS1 is empty except for the foremost two Fire Engines and two ALS Ambulances - FS 2 is completely vacant .....I don't get it

#72 Madman

Madman

    Captain

  • Members
  • 190 Posts:
  • Gender:Male
  • Location:Calgary, CANADA

Gepost 24 februari 2010 - 01:01

I'd changed all my script files to have the Tender replaced the Hazmat at Station 2, but when the Bat Chief uses the hazmat button, it calls a new Tender from off screen instead of calling the one in Station 2.

I've obviously missed something goofy in the script.

Any help would be much appreciated.

#73 FFBurkett

FFBurkett

    Lieutenant

  • Members
  • 31 Posts:
  • Gender:Male
  • Location:US

Gepost 24 februari 2010 - 04:34

OK im trying to put the tiller in replace of the ladder in station 1 but when my game starts its not there neither it the ladder dont even show up so if someone could help me i well thank you
Thank you
FFBURKETT
Posted ImagePosted ImagePosted Image

#74 michaelny

michaelny

    Captain

  • Members
  • 127 Posts:

Gepost 25 februari 2010 - 12:33

by now I got somehow the hang of it .... or at least partial ;-)

main problem seems for the most that they replace parts in the script which they should not replace ....

here I can offer some assistance but you have to keep the following in mind


most important part : make of the three scripts a backup first before you do anything


1st - I will send the scripts to hoppah and ask him for permission to post them here

2nd - the script is by now only partial complete - meaning : vehicle spawns at the desired FireStation , will be properly staffed at the initial spawning , can return to the station wit the gate commands .

3rd - the parts that are by now not working yet are : call out by BC , proper staffing by control panel alarm

4th - you still have to add in the EDITOR the command " return to firestation "

what you have to do with this to get your vehicles in place of the HAZMAT and / or USAR : you have to replace only in the three script parts the names which will be picked up by the " find " command

i.e. type LARGEAMBULANCE in the find menu and replace every hit with your desired vehicle ( you have to do this with the LaFireStation , LaToFireStation , LaFireStationStart scripts ) .

if you follow this you can repeat this with Lightequipment and after this you should have at FS 1 and FS 2 your desired vehicles in place with the above mentioned limitations .


I hope this will be of some help for the one or other person here .

The BC Script is still not done but I will work on this ! I have to be quite honest here ..... there are still some parts in the script where I am not certain what exactly they trigger and how but I will keep on trying and working until I understand it to the full extend but I will not supply anything whats untested and buggy - so what I will supply ( if I am allowed to do so ) is tested and works within the promised scope .

#75 FFBurkett

FFBurkett

    Lieutenant

  • Members
  • 31 Posts:
  • Gender:Male
  • Location:US

Gepost 25 februari 2010 - 09:41

I got the tiller to work no need to help me any more thank you
Posted ImagePosted ImagePosted Image

#76 Guest_RES6CUE_*

Guest_RES6CUE_*
  • Guests

Gepost 07 maart 2010 - 04:45

FFBurkett, how did u get the tiller to take place of the tower ladder in station 1 im still trying to figure that out.

#77 Newfoundking

Newfoundking

    The Real Slim Shady

  • Moderator
  • 7253 Posts:
  • Gender:Male
  • Location:Newfoundland

Gepost 07 maart 2010 - 05:11

http://forum.emergen...fire-station-1/

Wanna play multiplayer without any of the commitment? Emergency Planet hosts casual multiplayer to all its members! Contact me for more information

 

Executive Director: EMP Gulag

 

Do you have a warning that you want to go away, or are you facing another punishment you don't want? Contact me for the NEW alternative!


#78 Guest_Soucy_*

Guest_Soucy_*
  • Guests

Gepost 20 maart 2010 - 12:50

Hello everyone, for the past several days I have been thinking about replacing the Hazmat with a Tower truck and the Tower with a Tiller. I did the tiller with no problems. I replaced the hazmat with a ladder. Now when I tell the tower to return to base it just says theres no space. I edited the LAtoFireStation.script below. Anyone know how I can get it to return to gate 6?


else if(StrCompare(v.GetPrototypeFileName(), OBJ_LADDER) == 0 || StrCompare(v.GetPrototypeFileName(), OBJ_TILLER) == 0)
{
GameObjectList l3;
Game::CollectObstaclesOnVirtualObject(VO_LADDER, l3, ACTOR_VEHICLE);
if(l3.GetNumObjects() > 0)
{
Mission::PlayHint(HINT_NOSPACE);
Game::ExecuteCommand(CMD_GOHOME, &v, &v);
return;
} else
{
ParkinglotFound = true;
ActorList l1 = Game::GetActors(VO_LADDER);
ActorList l2 = Game::GetActors(VO_TURNTO3);
ActorList l2 = Game::GetActors(VO_TURNTO6);
}



#79 michaelny

michaelny

    Captain

  • Members
  • 127 Posts:

Gepost 01 april 2010 - 05:19

on the first page we see how the firefighters and paramedics are numbered so we know how to change the numbers in the script ..... but now I tryed to replace the BLS Ambulance ( LA Mod 1.9.3 SG ) at the rear parking lot with the Engineer Vehicle ....... now my questions

1 - can these guys be deployed from the FireStation ?

2 - does anybody know what number the Engineer got ? or where I am able to find this number ....

thx

#80 JediHutch61

JediHutch61

    Captain

  • Members
  • 166 Posts:
  • Gender:Male
  • Location:Columbus, OH

Gepost 20 april 2010 - 07:12

Removed Started topic for multiple problems.
url=http://forum.emergency-planet.com/index.php?showtopic=5322]Posted Image[/url]
Posted Image
Posted Image