vitalymind

[Release] XM8 Repair Mate

31 posts in this topic

XM8 REPAIR MATE SCRIPT FOR EXILE MOD

This script adds more advanced repair mechanics to Exile.
Different items can be used to perform repair, some will be
consumed as materials others are used as tools.
There are 5 types of repairs for cars. They are engine, wheels, glasses,
fuel and body. Script is highly configurable, and allows to set exact
material costs and required tools for different types of repair.
It is allowed to have materials and tools inside vehicle being repaired.
Script requires improved XM8 apps to work.

AUTHORS
art and design - z3ro
code - vitaly 'mind' chizhikov

VIDEO

FUTURE PLANS
1. Support for helicopters (mostly done, will be added soon)
2. Support for boats (WIP)

DOWNLOAD
Get script from GoogleDrive
See open source at GitHub

INSTALLATION

Spoiler

1) Copy XM8_repairMate folder to XM8_apps\apps\ folder.
2) Edit "XM8_apps/XM8_apps_config.sqf"
    Uncomment next available app, and change it`s contents to
    XM8_apps_app<availableAppNumber> = [
        "Repair Mate",
        "XM8_apps\apps\XM8_repairMate\icons\repairMate_icon.paa", //FULL PATH FROM MISSION ROOT
        {call XM8_repairMate_checkNearByVehicles},
        true,
        "XM8_apps\apps\XM8_repairMate\scripts\XM8_repairMate_init.sqf" //FULL PATH FROM MISSION ROOT
    ];
3) Edit "XM8_apps/XM8_apps_sliders.hpp"
    Add repairMate class
    class CfgXM8 {
        ...
        <other classes>
        ...
        //This slide use IDCs from 960050 to 960140
        class repairMate {
            controlID = 960050;
            title = "Repair Mate";
            onLoadScript = "XM8_apps\apps\XM8_repairMate\scripts\XM8_repairMate_repairMate_onLoad.sqf"; //FULL PATH FROM MISSION ROOT
        };
    };
4) Change XM8_repairMate\XM8_repairMate_costConfig.sqf to your liking.
5) Enjoy!

 

Edited by vitalymind
  • Like 8

Share this post


Link to post
Share on other sites
Advertisement
9 hours ago, respawnjunkie said:

i followed everything to the letter but i get an error message script anyxm8_apps\xm8_apps_config.sqf not found

I is my mistake in installation guide.
use 

"" execVM "XM8_apps\scripts\XM8_apps_init.sqf";

instead of

execVM "XM8_apps\scripts\XM8_apps_init.sqf";

 

Share this post


Link to post
Share on other sites

Hey guys,

I need your help because i want to paste it on my server but when i look on my files from xm8 and the files from the repair mate... it looks completly diffrent... i had install the mod with more apps for xm8. For example there isnt a xm8_apps_sliders.hpp in my files...

Share this post


Link to post
Share on other sites
3 hours ago, LaungeGamer said:

Hey guys,

I need your help because i want to paste it on my server but when i look on my files from xm8 and the files from the repair mate... it looks completly diffrent... i had install the mod with more apps for xm8. For example there isnt a xm8_apps_sliders.hpp in my files...

Re download the files.
Should be located here: XM8_apps\xm8_apps_sliders.hpp

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

  • Recently Browsing   0 members

    No registered users viewing this page.