Hoppah Posted September 27, 2009 Report Share Posted September 27, 2009 Hi,Here's the changed FireStationStart script which spawns the tiller (+ its trailer) instead of the aerial ladder at the start of a new freeplay game.I've tested the script and it seems to work perfectly. The tiller only spawns a little bit away from the front gates, but that's not a big deal. And -ofcourse- the tiller still has the known issues already explained in the bug report topic.There are two versions for Los Angeles Mod v2.0:The package with the name LAFireStationStart.zip spawns a full fire station including the Tiller.The package with the name LAFireStationStart NOT FULL.zip is the same script, but it doesn't spawn the third ambulance and the third and fourth engine in fire station 1.The package with the name LAFireStationStart OLD.zip was requested by someone. It doesn't spawn the Tiller, nor the third ambulance and the third and fourth engine in fire station 1.-------------------------------------------------------------------------------------How to install:1. Download & unzip the package from the attachment of this post.2. Move LAFireStationStart.script to '.../Mods/Los Angeles Mod v1.9/Scripts/Game/Command/' and replace the older file.3. Done-------------------------------------------------------------------------------------For the techs: What has been changed to the script:Line 226 to 228Vehicle m = Game::CreateVehicle(OBJ_TILLER, UNNAMED);if (m.HasCommand("DummyTillerCheck")) m.PushActionExecuteCommand(ACTION_NEWLIST, "DummyTillerCheck", &m, 0, false);And line 235 which is changed tom.PushActionWait(ACTION_APPEND, 1.4f);OBJ_TILLER is the constant which refers to the prototype of the tiller.DummyTillerCheck refers to a command which spawns the trailer and attach it to the tiller.As for the LAFireStationStart_NOT_FULL.zip, I disabled the last 3 parts of the script by adding the following symbols (Lines 330-382):/* .........*/Everything between these symbols is disabled. It's like // symbols, but only for whole parts of a code instead of only a line.-------------------------------------------------------------------------------------HoppahLAFireStationStart.zipLAFireStationStart_NOT_FULL.zipLAFireStationStart_OLD.zip Quote Link to comment Share on other sites More sharing options...
aidan196 Posted September 27, 2009 Report Share Posted September 27, 2009 1. Download & unzip the package from the attachment of this post.2. Move LAFireStationStart.script to '.../Mods/Los Angeles Mod v1.9/Scripts/Game/Command/' and replace the older file.3. DoneHow do you do that? is it in the editor, or do i need scripting software?Also, what is the auto staffing? Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted September 27, 2009 Report Share Posted September 27, 2009 You don't need the editor or any scripting software. Replace the files in the package you downloaded ad replace the file in the LA Mod folder. Quote Link to comment Share on other sites More sharing options...
aidan196 Posted September 27, 2009 Report Share Posted September 27, 2009 You don't need the editor or any scripting software. Replace the files in the package you downloaded ad replace the file in the LA Mod folder.Ok, but is it just in .../Los_Angeles_Mod_v1-9_by_Hoppah, or somewhere else? because i can't find it in there. Quote Link to comment Share on other sites More sharing options...
Hoppah Posted September 27, 2009 Author Report Share Posted September 27, 2009 Ok, but is it just in .../Los_Angeles_Mod_v1-9_by_Hoppah, or somewhere else? because i can't find it in there.Did you already install the mod? If yes, then take a look at the Mods folder in your 911:FR or EM4 directory. Quote Link to comment Share on other sites More sharing options...
aidan196 Posted September 27, 2009 Report Share Posted September 27, 2009 Did you already install the mod? If yes, then take a look at the Mods folder in your 911:FR or EM4 directory. ohhhhhhhhhh i was looking at the file folder thanks Quote Link to comment Share on other sites More sharing options...
MARCO Posted October 10, 2009 Report Share Posted October 10, 2009 Hoppah I have problem with this script. I try combine Full Fire Station and tiller ladder. When I start the game I have only tractor without trailer.your file} ActorList l9 = Game::GetActors(VO_LADDER); for(int i=0; i < l9.GetNumActors(); i++) { Vector Ladder = l9.GetActor(0)->GetPosition(); Vehicle m = Game::CreateVehicle(OBJ_TILLER, UNNAMED); if (m.HasCommand("DummyTillerCheck")) { m.PushActionExecuteCommand(ACTION_NEWLIST, "DummyTillerCheck", &m, 0, false); } m.EnableBlueLights(false); m.SetPosition(Ladder); m.UpdatePlacement(); m.SetMaxPassengers(6); m.SetSpeed(9.0f); m.PushActionWait(ACTION_APPEND, 1.4f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 3, false); m.PushActionWait(ACTION_APPEND, 0.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 3, false)My file} ActorList l9 = Game::GetActors(VO_LADDER); for(int i=0; i < l9.GetNumActors(); i++) { Vector Ladder = l9.GetActor(0)->GetPosition(); Vehicle m = Game::CreateVehicle(OBJ_TILLER, UNNAMED); if (m.HasCommand("DummyTillerCheck")) { m.PushActionExecuteCommand(ACTION_NEWLIST, "DummyTillerCheck", &m, 0, false); } m.EnableBlueLights(false); m.SetPosition(Ladder); m.UpdatePlacement(); m.SetMaxPassengers(6); m.SetSpeed(9.0f); m.PushActionWait(ACTION_NEWLIST, 1.4f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 3, false); m.PushActionWait(ACTION_APPEND, 0.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 3, false); }what is wrong ? Quote Link to comment Share on other sites More sharing options...
Hoppah Posted October 11, 2009 Author Report Share Posted October 11, 2009 In your code, the first line saying:m.PushActionWait(ACTION_NEWLIST, 1.4f);Change NEWLIST to APPEND. Quote Link to comment Share on other sites More sharing options...
billyfromhill Posted December 17, 2009 Report Share Posted December 17, 2009 Will this script work for 2.0? Quote Link to comment Share on other sites More sharing options...
Hoppah Posted December 20, 2009 Author Report Share Posted December 20, 2009 Will this script work for 2.0?It's not compatible with v2.0, although it should not crash the game or something. But I will release a new version after v2.0 has been released as soon as possible. Quote Link to comment Share on other sites More sharing options...
billyfromhill Posted December 20, 2009 Report Share Posted December 20, 2009 It's not compatible with v2.0, although it should not crash the game or something. But I will release a new version after v2.0 has been released as soon as possible.Great. When you release a new script can you release one that doesn't have the fire station full? Quote Link to comment Share on other sites More sharing options...
Hoppah Posted December 23, 2009 Author Report Share Posted December 23, 2009 Script is now compatible with Los Angeles Mod v2.0. Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted December 23, 2009 Report Share Posted December 23, 2009 Script is now compatible with Los Angeles Mod v2.0. Thanks Hoppah Quote Link to comment Share on other sites More sharing options...
Hoppah Posted December 23, 2009 Author Report Share Posted December 23, 2009 Also, included a requested version which does not spawn the third ambulance and the third and fourth fire engine in fire station 1. Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted December 23, 2009 Report Share Posted December 23, 2009 Again Thanks Hoppah Quote Link to comment Share on other sites More sharing options...
Hoppah Posted December 23, 2009 Author Report Share Posted December 23, 2009 Again Thanks Hoppah You're welcome. Quote Link to comment Share on other sites More sharing options...
billyfromhill Posted December 23, 2009 Report Share Posted December 23, 2009 Also, included a requested version which does not spawn the third ambulance and the third and fourth fire engine in fire station 1. Perfect. Thanks Hoppah. Quote Link to comment Share on other sites More sharing options...
Guest firebox700 Posted January 10, 2010 Report Share Posted January 10, 2010 Is there a script to have the 3rd and 4th engine as well as the 3rd ambo but instead of the tiller have the regular tower spawn in FS1? I don't know the first thing about doing my own scripts................and thats probably a good thing! Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted January 10, 2010 Report Share Posted January 10, 2010 Doesn't V2.0 have the 3rd and 4th fire engine and 3rd Ambulance in the fire station anyway? Quote Link to comment Share on other sites More sharing options...
Guest firebox700 Posted January 10, 2010 Report Share Posted January 10, 2010 Doesn't V2.0 have the 3rd and 4th fire engine and 3rd Ambulance in the fire station anyway?Maybe you're right but I put the script in for the tiller and don't like the tiller. So maybe I need to put it back to the way it was but I can't figure out how to do that. Sorry for any troubles. Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted January 10, 2010 Report Share Posted January 10, 2010 Maybe you're right but I put the script in for the tiller and don't like the tiller. So maybe I need to put it back to the way it was but I can't figure out how to do that. Sorry for any troubles.It would probably be easier to just reinstall the mod. Quote Link to comment Share on other sites More sharing options...
Guest firebox700 Posted January 10, 2010 Report Share Posted January 10, 2010 It would probably be easier to just reinstall the mod.ok thanks for your time. Quote Link to comment Share on other sites More sharing options...
SleepyLizard Posted January 19, 2010 Report Share Posted January 19, 2010 Thanks Hoppah! Much appreciated!! Quote Link to comment Share on other sites More sharing options...
Cpr Posted April 18, 2010 Report Share Posted April 18, 2010 I got a guestion actually something simular. What do i need to do to make parkingplaces outside the policestations? Like near thedonut shop you got 2 extra places there.We are two short today. you were colleagues but most of all brohers.We salut you.(if you are dutch you know who i mean) Quote Link to comment Share on other sites More sharing options...
FireShooter10 Posted May 14, 2011 Report Share Posted May 14, 2011 Hoppah can you make a script that will replace the hazmat squad with the aerial ladder in firestation 2 Quote Link to comment Share on other sites More sharing options...