Xplorer4x4 Posted October 30, 2009 Report Share Posted October 30, 2009 I have the tiller in station 1 and Tower in Station 2. At the start of freeplay the tower personnel spawn and run to staff the rig. However once I send the tower back to the station, the personnel exit, and every time after that I have to spawn 22 FFs manually from the control panel to staff the rig. I cant figure out why it would spawn the personnel fine at the start of the game, but never again. Lafirestationstart is attached. Quote Link to comment Share on other sites More sharing options...
whonneb Posted October 30, 2009 Report Share Posted October 30, 2009 I have noticed that after I play for a while (2 hours) some of the engines stop staffing. I usually just restart the game Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted October 30, 2009 Author Report Share Posted October 30, 2009 Problem is my tower never staff after the initial staffing at the beginning of freeplay. Quote Link to comment Share on other sites More sharing options...
ShaneGreen Posted October 30, 2009 Report Share Posted October 30, 2009 Problem is my tower never staff after the initial staffing at the beginning of freeplay.Hi Xplorer4x4,If the crew staff at the beginning but do not restaff after that, then the problem is in the LAFirestation.script.If they spawn correct at the start - the LAFirestation.script is okIf they return to the station and exit the vehicle - the LAToFirestation.script is okThe LAFirestation.script handles the respawning after the game begins - unless the problem is when using BC call command, then there may be a problem there. But you have described that when you alarm station, so I would look at LAFirestation.script.If you don't have any luck, let me know and I will have a look at the script as well.Take careShane Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted October 30, 2009 Author Report Share Posted October 30, 2009 Ok I updated the first post with both scripts.As far as I can see its just fine. I took another page from your mod renaming the VOs to tiller and ladder. Obviously you did it since you left Hazmat on the map and I havent but I liked the idea of having the VO name be more accurate. Quote Link to comment Share on other sites More sharing options...
ShaneGreen Posted October 31, 2009 Report Share Posted October 31, 2009 Ok I updated the first post with both scripts.As far as I can see its just fine. I took another page from your mod renaming the VOs to tiller and ladder. Obviously you did it since you left Hazmat on the map and I havent but I liked the idea of having the VO name be more accurate.Hi Xplorer4x4,I have had a quick look at the Firestation.script and I noticed that you have staffed the Tiller and Ladder with person 8 (EMS Captain) and 3 (FF/EMT).Have you edited the units folder xml files to show that the EMS Captain is allowed to staff the Ladder and Tiller ?In the Firestationstart.script you have staffed with 2 x 3 (FF/EMT) which should not cause any problems.However, in the Firestation.script you have the EMS Captain who would need to be added as an eligible unit to staff the vehicles otherwise the game will not allow it - so you either need to add the EMS Captain to the unit files or change the Firestation.script to staff with 2 x FF/EMT (which I assume was your intention).Very simple error to make ..... believe me, I have done it many times Take careShane Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted October 31, 2009 Author Report Share Posted October 31, 2009 Thanks Shane, but sadly thats not the problem as I expected. I had an EMS Captin staff the ladder the other day just fine with out editing the unit file. None the less I updated the change as you pointed out, and yet the tiller will staff fine, its only the tower that wont staff. Quote Link to comment Share on other sites More sharing options...
Guest cbh84 Posted October 31, 2009 Report Share Posted October 31, 2009 Shane you sent me a fixed script for the ladder to spawn in station 2 a few day ago and it does the same thing it spawns them right at start up but doesnt respawn them after returning to station and this is the only change to a clean version of V1.9 Quote Link to comment Share on other sites More sharing options...
ShaneGreen Posted October 31, 2009 Report Share Posted October 31, 2009 Thanks Shane, but sadly thats not the problem as I expected. I had an EMS Captin staff the ladder the other day just fine with out editing the unit file. None the less I updated the change as you pointed out, and yet the tiller will staff fine, its only the tower that wont staff.Shane you sent me a fixed script for the ladder to spawn in station 2 a few day ago and it does the same thing it spawns them right at start up but doesnt respawn them after returning to station and this is the only change to a clean version of V1.9Hi Guys,Sorry, my fault - will have a closer look and get back to you.Take careShane Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted November 1, 2009 Author Report Share Posted November 1, 2009 I sent the changed scripts to some one else, who has no knowledge of scripting, and he had the same problem, but it actually worked itself out after a few days. Dont see how that could happen lol but non the less it hasnt worked itself out for me.Shane I noticed this line was missing, I tried adding that, and had no luck, keep in minx im using the same exact code as in your submod, same VO(altered the VO on the map - otherwise it would not spawn at start up)m.PushActionWait(ACTION_NEWLIST, 1.4f);but that doesnt fix it. Quote Link to comment Share on other sites More sharing options...
Guest cbh84 Posted November 2, 2009 Report Share Posted November 2, 2009 Shane, have you by any chance had time to look at that scrpit? Quote Link to comment Share on other sites More sharing options...
ShaneGreen Posted November 3, 2009 Report Share Posted November 3, 2009 I sent the changed scripts to some one else, who has no knowledge of scripting, and he had the same problem, but it actually worked itself out after a few days. Dont see how that could happen lol but non the less it hasnt worked itself out for me.Shane I noticed this line was missing, I tried adding that, and had no luck, keep in minx im using the same exact code as in your submod, same VO(altered the VO on the map - otherwise it would not spawn at start up)m.PushActionWait(ACTION_NEWLIST, 1.4f);but that doesnt fix it.Hi Xplorer4x4,There are no problems with the script. The problem is caused by the fact that the virtual object (VO_LADDER) is not large enough to accomodate the Aerial Ladder.You need to use the EM4 editor to load the map and make the fs_ladder object large enough for the ladder to fit wholly within, then save the map with the change and that will solve the problem.Take careShane Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted November 3, 2009 Author Report Share Posted November 3, 2009 I will try that, but if the VO isnt big enough why does it work for lafirstation.start? Quote Link to comment Share on other sites More sharing options...
ShaneGreen Posted November 3, 2009 Report Share Posted November 3, 2009 I will try that, but if the VO isnt big enough why does it work for lafirstation.start? I am not entirely sure about that but I think that LAFirestationstart.script has less conditional parameters than the LAFirestation.script - so I think that the start script may not check that condition.Just thinking out loud - I might (and probably am), just be making that up At the end of the day, I made that change (after remembering similar problems with v1.7) and the problem went away. It has not returned so far.Take careShane Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted November 3, 2009 Author Report Share Posted November 3, 2009 Well I tried to adjust the VO size awhile back(but since undid the change) and it didnt work. Perhaps it was simply not big enough still.EDIT: VO fixed it, thanks! Quote Link to comment Share on other sites More sharing options...