January 18, 201016 yr comment_135227 Ok. ihave tried to do this myself a few times and it simply tells me that the HES script ma jigger does not exist lol. so I'm wondering if anyone who has done this can show me their scripts or tell me exactly what to change so i can replace the vehicle and be able to it with the battalion chief.thanks guys Report
January 19, 201016 yr Author comment_135379 yes. I did read it. I honestly think I did to much or not enough. because when the game starts no vehicle at all spawns in place of the hazmat unit Report
January 19, 201016 yr comment_135387 Can you post your scripts that you have edited so people can have a look to see what you have done wrong. Report
January 20, 201016 yr comment_135692 Indeed post your scripts. Have you considered putting the tower in Station 2? This way you have an aerial device at both stations and have jaw of life at both stations? Report
January 20, 201016 yr Author comment_135741 see I would actually prefer the tower at FS2 but wasnt sure if there was anymore involved in changing it out with the hazmat as the tower is a bit bigger and the HES is smaller lolit says this script is not currently listed as a defined oneActorList l15 = Game::GetActors(VO_HES); 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_HES, UNNAMED); m.EnableBlueLights(false); m.SetPosition(Hazmat); m.SetRotation(gate); m.UpdatePlacement(); m.SetMaxPassengers(4); m.SetSpeed(9.0f); m.PushActionWait(ACTION_NEWLIST, 1.0f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 1, false); m.PushActionWait(ACTION_APPEND, 1.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 1, false); m.PushActionWait(ACTION_APPEND, 0.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 3, false); m.PushActionWait(ACTION_APPEND, 0.5f); m.PushActionExecuteCommand(ACTION_APPEND, DUMMY_CALLCREW, Caller, 3, false); } Report
January 20, 201016 yr comment_135817 Ok first did you rename the vo in the editor? If not put it back to VO_HAZMAT on the first line.Off hand I cant recall, Id have to look at my script but I think SetPosition(Hazmat); need to be changed to HES. Report
January 20, 201016 yr Author comment_135829 ok ill try itwell i tried it and i got the same error. me editing scripts=fail Report
January 24, 201016 yr comment_136675 At the very top of the script you will see things like OBJ_LADDER = "mod:prototptyes/vehichles/fire/ladder.e4p"Obviously I improvised a bit there, but anyways, my point is copy and paste one of the obj lines and point it to the HES prototypes and name it OBJ_HES.Think of it like this..OBJ_HES is an abbreviation that has to be defined in the script. When you place OBJ_HES = "Mod:path" it tells the games that OBJ_HES is an abbreviation for the HES.Try it on your own, if you still fail, post the whole script or PM me the whole script and Ill take a look. Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.