Jump to content
Robin Uppgren

Vehicle stats?

Recommended Posts

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? :)

Link to comment
Share on other sites

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"
            ]
        }
    }
}
 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

I got it to work for reals now :D

 

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.

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...