Bones51

[RELEASE] Super Advanced Repair System - SARS v1.0 - 11/01/17

31 posts in this topic

Due to a work break over x-mas, found some time to improve my advanced vehicle repair script. Now it's serious!

https://github.com/Bones50/Exilemod-Super-Advanced-Repair-System-SARS

I'll leave the old one active as people may prefer it a little simpler than this one. Available here:

Now includes repair (if damaged), replace (if destroyed) as well as salvage (if healthy).

Dynamic Menu that only shows options available based on damage, and sub-menus to reduce clutter.

Does the above for windows, wheels, rotors, engines, fuel tanks, and "other". I can add extra's if anyone wants them (e.g. helo winch), just let me know.

Includes consumed items as well as non-consumed tools in recipes, and simulates some items such as duct tape with a use lifespan (uses a random chance to remove it from inventory rather than all the time).

Current configuration is set assuming Extended survival pack is installed (highly recommended for immersion), but recipes can be edited as needed for default exile, instructions are in the files. Info here:

Enjoy, and let me know if you run into any bugs.

NOTE THE CHANGE TO INSTALL INSTRUCTIONS ON PAGE 2 OF THE THREAD.

Edited by Bones51
  • Like 7
  • Thanks 1

Share this post


Link to post
Share on other sites

Hey. Love the idea. But found an issue with your install instructions.

Currently, step 7 will prevent the menu from showing up.

It needs to be changed from:

Spoiler

7. Open the config.cpp file in your mission, find the "class CfgInteractionMenus" section, and replace the repair function for cars and helos respectively, with the following:

    //Bones Custom Vehicle Repairs

    class Repair: ExileAbstractAction
    {
        title = "Repair/Salvage";
        condition = "true";
        action = "_this call Bones_fnc_salvageAndRepairMenuCar";
    };


    // Bones Custom Air Repairs
    class Repair: ExileAbstractAction
    {
        title = "Repair/Salvage";
        condition = "true";
        action = "_this call Bones_fnc_salvageAndRepairMenuHelo";
    };

to

Spoiler

7. Open the config.cpp file in your mission, find the "class CfgInteractionMenus" section, and replace the repair function for cars and helos respectively, with the following:

    //Bones Custom Vehicle Repairs

    class Repair: ExileAbstractAction
    {
        title = "Repair/Salvage";
        condition = "true";
        action = "_this call Bones_fnc_salvageAndRepairMenu";
    };


    // Bones Custom Air Repairs
    class Repair: ExileAbstractAction
    {
        title = "Repair/Salvage";
        condition = "true";
        action = "_this call Bones_fnc_salvageAndRepairMenu";
    };

 

Share this post


Link to post
Share on other sites
Advertisement
17 minutes ago, Johnny_Bravo said:

Hey. Love the idea. But found an issue with your install instructions.

Currently, step 7 will prevent the menu from showing up.

It needs to be changed from:

  Hide contents

7. Open the config.cpp file in your mission, find the "class CfgInteractionMenus" section, and replace the repair function for cars and helos respectively, with the following:

    //Bones Custom Vehicle Repairs

    class Repair: ExileAbstractAction
    {
        title = "Repair/Salvage";
        condition = "true";
        action = "_this call Bones_fnc_salvageAndRepairMenuCar";
    };


    // Bones Custom Air Repairs
    class Repair: ExileAbstractAction
    {
        title = "Repair/Salvage";
        condition = "true";
        action = "_this call Bones_fnc_salvageAndRepairMenuHelo";
    };

to

  Hide contents

7. Open the config.cpp file in your mission, find the "class CfgInteractionMenus" section, and replace the repair function for cars and helos respectively, with the following:

    //Bones Custom Vehicle Repairs

    class Repair: ExileAbstractAction
    {
        title = "Repair/Salvage";
        condition = "true";
        action = "_this call Bones_fnc_salvageAndRepairMenu";
    };


    // Bones Custom Air Repairs
    class Repair: ExileAbstractAction
    {
        title = "Repair/Salvage";
        condition = "true";
        action = "_this call Bones_fnc_salvageAndRepairMenu";
    };

 

Good pickup, fixed!

  • Like 1

Share this post


Link to post
Share on other sites

Good afternoon, tell me, and the script supports other languages (for example, Russian). I try to translate texts and I have transparent places instead of buttons.

Share this post


Link to post
Share on other sites
Quote

btw, what script adds "3d" repair icons like it used to be in dayz arma 2 ?

Do you mean the little green damage indicator bars for each hit point on the vehicle?

If so it part of the infistar XM8 apps pack.

Share this post


Link to post
Share on other sites

@Chernaruski The one in the infistar xm8 addon is very similar, it just uses bars instead of icons. May be possible to swap the bars for icons ? o.O

Edited by MetalHead

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now