Robin Uppgren Posted November 29, 2014 Report Share Posted November 29, 2014 Hey all you emergency ppl! I've got an issue with the medical vehicles, i want to be able to send paramedics and an emergency doctor in the medic van. Right now you can only send paramedics and emergency doctors in two separate vehicles. So i want the medic van to work like the medic heli, where you can have both paramedics and emergency doctors. I think emergency 4 had medic vans like that. Any idea of where should start looking? Quote Link to comment Share on other sites More sharing options...
Unit 42 Posted November 29, 2014 Report Share Posted November 29, 2014 I believe you would have to add that via script or something. im not sure Quote Link to comment Share on other sites More sharing options...
Miercolini Posted November 30, 2014 Report Share Posted November 30, 2014 I managed to get the ambulance to spawn with both, but so far I have encountered a problem of the doctor not going back into the ambulance. Quote Link to comment Share on other sites More sharing options...
Blackout Posted November 30, 2014 Report Share Posted November 30, 2014 Where were you able to edit that? Quote Link to comment Share on other sites More sharing options...
Miercolini Posted November 30, 2014 Report Share Posted November 30, 2014 C:\Program Files (x86)\Steam\SteamApps\common\Emergency 5\data\em5\gamedata\em5_order_info\ambulance Quote Link to comment Share on other sites More sharing options...
Robin Uppgren Posted November 30, 2014 Author Report Share Posted November 30, 2014 ah interesting, i'll investigate Quote Link to comment Share on other sites More sharing options...
Robin Uppgren Posted November 30, 2014 Author Report Share Posted November 30, 2014 I figured it out. Edit the file ambulance_rtw.json. You need to add "Doctor" : "1" to the "StartPersonnel" section. Then change PersonnelSpace to 2. The whole file: { "Format": { "Type": "em5_order_info", "Version": "1" }, "OrderInfo": { // RTW Rettungstransportwagen (ambulance car) "RTW": { "Prefab": "em5/prefab/vehicle/ambulance_rtw", // Prefab asset name "AvatarIcon": "ambulance_rtw", "SelectionIcon": "ambulance_rtw", "MiniMapIconType": "AmbulanceVehicle", "LocalizedName": "ID_NAME_RTW", "OrderDepartment": "Ambulance", "OrderCost": "10", "OrderSpeed": "10", "UnlockCost": "0", "NumberAvailable": "5", "PersonnelSpace": "2", "StartPersonnel": { "Doctor" : "1", "Paramedics" : "1" }, "PassengerSpace": "1", "HelpPages": [ "TUTORIAL_HELPTEXT_BACK_TO_HQ_RTW", "TUTORIAL_HELPTEXT_EXIT_RTW" ] } }} Quote Link to comment Share on other sites More sharing options...
Mmore Posted November 30, 2014 Report Share Posted November 30, 2014 I just figured out the same thing. Added some commentary in the JSON file to make it more clear where changes happened;http://justpaste.it/i828 Quote Link to comment Share on other sites More sharing options...
Robin Uppgren Posted November 30, 2014 Author Report Share Posted November 30, 2014 Weird, for some reason he is not avaible to enter the vehicle again if he just treated someone. Quote Link to comment Share on other sites More sharing options...
Mmore Posted November 30, 2014 Report Share Posted November 30, 2014 Its an issue with the doctors equipment I think, he seems to try and put it in the ambulance and then can't get in any more. Same with a doctor spawned from a regular doctors vehicle, he can't get into the ambulance. I pressume because he can't drop his bag off in the ambulance? Quote Link to comment Share on other sites More sharing options...
mlovetto22 Posted December 1, 2014 Report Share Posted December 1, 2014 maybe making "passenger space: 2" or "personnelspace: 2" would do it? Quote Link to comment Share on other sites More sharing options...
NNA Posted December 1, 2014 Report Share Posted December 1, 2014 What about having a look at the air ambulance scripts?Should find the right line in there, as it's doing the exact things you want the ambulance to do with the doctor. I'm at work, so unable to have a look at it myself, but just a thought. Quote Link to comment Share on other sites More sharing options...
Robin Uppgren Posted December 1, 2014 Author Report Share Posted December 1, 2014 Gonna check it out, i got it to work by adding another door in the prefab file. It works, but the paramedics enter/exit in the front now. Quote Link to comment Share on other sites More sharing options...
Robin Uppgren Posted December 1, 2014 Author Report Share Posted December 1, 2014 I got it to work for reals now What i did: I edited "Emergency 5\data\em5\gamedata\em5_order_info\ambulance\ambulance_rtw.json" --- see above I loaded the ambulance in the editor for easier editing. Changed the front right door to a DOOR_EQUIPMENTRIGHT.Changed the offset for the back left door. I think the doctor couldnt enter again because the offset was to far away from the ambulance, the paramedics are a longer unit so it wasnt a problem for them. So the doctor walks away to enter. Now it's solved though. I havent got the time to explain right now, work awaits! Just ask if you want to know something specific. Quote Link to comment Share on other sites More sharing options...
DavidPhilp Posted December 1, 2014 Report Share Posted December 1, 2014 Hey guys been following your thread and used the code above to edit the ambulance file. I don't understand enough of modelling to edit the ambulance any further to solve the issue. Could you explain? Or better yet, provide a file with the above fixes to the ambulance? Thanks for all your efforts! Quote Link to comment Share on other sites More sharing options...
Robin Uppgren Posted December 1, 2014 Author Report Share Posted December 1, 2014 Hey guys been following your thread and used the code above to edit the ambulance file. I don't understand enough of modelling to edit the ambulance any further to solve the issue. Could you explain? Or better yet, provide a file with the above fixes to the ambulance? Thanks for all your efforts!Yo, ill post some files and instructions soon. Gotta eat something Quote Link to comment Share on other sites More sharing options...
Robin Uppgren Posted December 1, 2014 Author Report Share Posted December 1, 2014 Drag the "data" folder into the folder "x:\steam\SteamApps\common\Emergency 5\" and replace the existing stuff if it doesnt ask you to replace the files you may have done something wrong. Remember to backup kids!These are the files that will be replaced!: ----> x:\steam\SteamApps\common\Emergency 5\data\em5\gamedata\em5_order_info\ambulance\ambulance_rtw.json ----> x:\steam\SteamApps\common\Emergency 5\data\em5\content\prefab\vehicle\ambulance_rtw.json FILE: enhanced ambulance.rar Quote Link to comment Share on other sites More sharing options...
Mmore Posted December 1, 2014 Report Share Posted December 1, 2014 Brilliant! Thank you Might want to move this towards the mod forum now? Quote Link to comment Share on other sites More sharing options...
DavidPhilp Posted December 1, 2014 Report Share Posted December 1, 2014 Thanks Robin! Appreciate your work on the ambulance fix! Quote Link to comment Share on other sites More sharing options...
topfuzz Posted December 2, 2014 Report Share Posted December 2, 2014 It works! Thank you! Quote Link to comment Share on other sites More sharing options...
MARCO Posted December 2, 2014 Report Share Posted December 2, 2014 Thad doesn't work for me :/ Doctor don't want back to ambualance, I going forward with instructions. Quote Link to comment Share on other sites More sharing options...
MARCO Posted December 2, 2014 Report Share Posted December 2, 2014 Changed the offset for the back left door. Value ? Quote Link to comment Share on other sites More sharing options...
Robin Uppgren Posted December 2, 2014 Author Report Share Posted December 2, 2014 Value ?If you tell me exactly what you did i can see where you may have gone wrong :I Quote Link to comment Share on other sites More sharing options...
MARCO Posted December 2, 2014 Report Share Posted December 2, 2014 what did you type in offset ? Quote Link to comment Share on other sites More sharing options...