SirMoo Posted October 7, 2009 Report Share Posted October 7, 2009 I went into the editor and thought I added a return to station feature for the Brush truck... now in game it does not have it. ( I replaced the Hazmat with the brush truck for station 2 )... HOW do I save it so that it has the commands I added? What would be the correct number to replace the FF in the battalion chiefs car with the paramedic captain guy? Quote Link to comment Share on other sites More sharing options...
Texas_DPS Posted October 7, 2009 Report Share Posted October 7, 2009 SirMoo, did you replace the hazmat with brush truck in all the scripts? i dont know that it would affect saving the file but it might.- Jon Quote Link to comment Share on other sites More sharing options...
SirMoo Posted October 7, 2009 Report Share Posted October 7, 2009 Ehh. I don't remember. :\ I think I've got it working I'm about to start it up and test all out. If I've done everything right now... Paramedic Capt. should spawn in the battalion chief vehicle and replace the FF in there already. And then a few vehicles SHOULD have extra commands as well as firefighters having stop traffic/redirect traffic. Wish me luck!Edit: So thanks to another post I was able to figure it out and add Paramedic Captain to Battalion Chief vehicle by associating him with dummy id 8. I've gotten brush to work with hazmat but then something went wrong and all vehicles were emptying unlike how they should I reinstalled the latofirestation mod to have them not empty then it said brush truck can't go to the firestation 2. -sigh.- So I've changed OBJ_HAZMAT to OBJ_BRUSH and that should fix my issue... I'll test it in the morning. :\ I'm slowly getting the hang of the basic editing... I think... Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted October 7, 2009 Report Share Posted October 7, 2009 If you made the edits for the brush to replace the hazmat, then install the personnel stay in trucks submod using the exe installer, it will completely over write all the changes you did. I would install the submod to you desktop. This gives you access to the files rather then over writing the ones you have changed. Now you need an a text comparison app. Personally I use Araxis Merge as I havent found any good freeware apps for text comparison(there tortisedif but i dont like it). Compare them side by side to see where the differences are and then copy the parts from the submod in to your actual lafirestationstart.script. Make sure you edit lafirestation.script to or else hazmat will staff the brush after you sound the alarm following the start of the game.Chances are, when you got empty stations, you got a script error? Be sure to read these. It might sound like jibberish but with some understanding of C++ you will realize its telling you what needs to be changed, but sadly it doesnt tell you what it needs to be changed to Quote Link to comment Share on other sites More sharing options...
SirMoo Posted October 7, 2009 Report Share Posted October 7, 2009 I don't really have a knowledge of C++. Basic HTML/CSS and PHP yeah... Then a bit of mIRC scripting language but I normally just stare at something for a long time and figure it out. I'd much rather figure it out and learn to edit it on my own than asking someone. Or atleast have them write it out in detail for me to go step by step. I'ma download that program since I'm always needing it for other things... But it would be nice to have some more detailed guides giving a more in-depth step-by-step guide since the ones Hoppah puts are not good for those of us without experience. I luckly found another post where he posted information on how to modify what numbers vehicle amounts... but he did not explain much so it was mostly for me to figure it out. :/ Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted October 7, 2009 Report Share Posted October 7, 2009 Isnt ircds and bots(eggdrop,etc) written in C++? none the less, C++ isnt that much different the php. The only difference is it takes longer to test as you have to load the game, load the mod, and finally load the map. Quote Link to comment Share on other sites More sharing options...
Cosreski Posted October 8, 2009 Report Share Posted October 8, 2009 We'll see. I am worried that people change more than is necessary and f*ck up their scripts.If that's going to happen too much, this topic will be closed again before you would even notice it. It all starts with simple edits. Hey Hoppah, could you just send me a replacement script for replacing the hazmat for the water tender by PM? :23_31_4:I was wandering if you were to add another fire station on top right or middle right and have water tender, brush and small rescue squad 51, it would make it complete. The Hazmat would do better @ sta 1 and engine 2 replacing Hazmat @ sta2. Sta1 district has the chemical dangers and sta2 district has residential fire dangers. its common sense.Station1:Engine 1 & 2LadderHazmat2 Ambulance'sSta2:Ambo2Engine 1 & 2Sta3:Rescue Squad 51Water TenderBrush TruckOh, by the way, You did an outstanding job with the Mod and the patch's.....Good Show.......... Quote Link to comment Share on other sites More sharing options...
Newfoundking Posted October 8, 2009 Report Share Posted October 8, 2009 I really don't see him doing that.. .There is a HUGE difference in switching between units at a station, and making a brand new station... Quote Link to comment Share on other sites More sharing options...
MARCO Posted October 8, 2009 Report Share Posted October 8, 2009 Please explain me how I can repleace hazmat on USAR, and USAR on Normal Ladder truck ? Quote Link to comment Share on other sites More sharing options...
SleepyLizard Posted October 8, 2009 Report Share Posted October 8, 2009 There is a search section to this forum which is very useful! try it out! also..http://forum.emergency-planet.com/index.php?showtopic=5865http://forum.emergency-planet.com/index.php?showtopic=6974 Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted October 8, 2009 Report Share Posted October 8, 2009 ^and a search thread section in the bottom left right after the last post people seem to miss. Doesnt apply here but just saying.cosres, you do realize theres a image/link so you dont have to quote a post every single time you reply. Quote Link to comment Share on other sites More sharing options...
Cosreski Posted October 9, 2009 Report Share Posted October 9, 2009 ^and a search thread section in the bottom left right after the last post people seem to miss. Doesnt apply here but just saying.cosres, you do realize theres a image/link so you dont have to quote a post every single time you reply.I must have hit it by accident, my apology.... Quote Link to comment Share on other sites More sharing options...
USMC_NL Posted October 13, 2009 Report Share Posted October 13, 2009 Question,When i change the Firestation strat with a car that not has a go to fire station command how can i give it to this vehicle (HES) or does it get it straid away if i also change the 3 other files?? Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted October 13, 2009 Report Share Posted October 13, 2009 To give a vehicle the go to fire station command you have to use the editor. Quote Link to comment Share on other sites More sharing options...
firefighter111 Posted October 23, 2009 Report Share Posted October 23, 2009 I'm getting confused when I go to change the staffing of the new vehicle. I've replaced the BLS ambulance with an ALS ambulance atg station 2, but when I go to the LAFireStationStart.script, I can't figure out where to change the staffing. From Hoppah's post, It seemed like you just put in the numbers for the people you wanted, but when I do that, I get a message that the script is undefined. any ideas? Quote Link to comment Share on other sites More sharing options...
Texas_DPS Posted October 23, 2009 Report Share Posted October 23, 2009 post your script or send it to me and ill take a look.- Jon Quote Link to comment Share on other sites More sharing options...
firefighter111 Posted October 23, 2009 Report Share Posted October 23, 2009 From LAFireStationStart.scriptActorList l7 = Game::GetActors(VO_AMBULANCE01);Shouldn't I just have to replace the number 7 with the numbers for the FF/PM and the FF/PM with stretcher? I tried that though, and I got an error message saying that the script is undefined. Quote Link to comment Share on other sites More sharing options...
Texas_DPS Posted October 23, 2009 Report Share Posted October 23, 2009 im talking about the whole script, not just a part. i would not mess with that line, its not a staffing line.- Jon Quote Link to comment Share on other sites More sharing options...
firefighter111 Posted October 23, 2009 Report Share Posted October 23, 2009 im talking about the whole script, not just a part. i would not mess with that line, its not a staffing line.- JonHere's the whole script. That's the line I thought I had to change based on Hoppah's post, but I guess I was wrong. Quote Link to comment Share on other sites More sharing options...
Texas_DPS Posted October 24, 2009 Report Share Posted October 24, 2009 GameObjectList gate08a = Game::GetGameObjects(NAME_GATE08A); for(int i=0; i < gate08a.GetNumObjects(); i++) GameObject *gate = gate08a.GetObject(i); Vector Ambulance04 = l13.GetActor(0)->GetPosition(); Vehicle m = Game::CreateVehicle(OBJ_AMBULANCE01, UNNAMED); m.EnableBlueLights(false); m.SetPosition(Ambulance04); m.SetRotation(gate); m.UpdatePlacement(); m.SetMaxPassengers(2); m.SetMaxTransports(1); m.SetSpeed(12.0f); m.PushActionWait(ACTION_NEWLIST, 4.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 1, false); m.PushActionWait(ACTION_APPEND, 0.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 2, false);try that one- Jon Quote Link to comment Share on other sites More sharing options...
Guest Harpoon731 Posted October 27, 2009 Report Share Posted October 27, 2009 Hey all,I'm just curious as to what proggy you all use to edit the scripts?Thanks! Quote Link to comment Share on other sites More sharing options...
Guest EMTFF Posted October 27, 2009 Report Share Posted October 27, 2009 (edited) I've been trying to add a brush truck at fire station 1 and it seems to not work. I don't get any apparent error or anything. Did I do something wrong?EDIT: Nevermind, I just downloaded the LA Mod 1.9.2 SG Submod. It pretty much covers everything. Edited October 28, 2009 by EMTFF Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted October 28, 2009 Report Share Posted October 28, 2009 Hey all,I'm just curious as to what proggy you all use to edit the scripts?Thanks!I like Notepad2http://www.flos-freeware.ch/notepad2.htmlLoad a script file into it, got to view->syntax scheme->C++->click OK. Now edit away.Technically you can use good ol regular notepad from windows but for scripts, this is much better. Quote Link to comment Share on other sites More sharing options...
Guest Harpoon731 Posted October 28, 2009 Report Share Posted October 28, 2009 Thank you Xplorer!I like Notepad2http://www.flos-freeware.ch/notepad2.htmlLoad a script file into it, got to view->syntax scheme->C++->click OK. Now edit away.Technically you can use good ol regular notepad from windows but for scripts, this is much better. Quote Link to comment Share on other sites More sharing options...
CFDJustin Posted November 12, 2009 Report Share Posted November 12, 2009 I have tried all of the above but I have failed. My computer refuses to even let me see the files because of their format. I was hoping to change the Hazmat with the LEV. Can someone help me please. ThanksI have been able to change all of the scripts. Does anyone know what file I have to go to to put the command go 2 firestation at? Quote Link to comment Share on other sites More sharing options...