mirror of
https://github.com/Bones50/ExileMod-Advanced-Repair.git
synced 2024-08-30 16:52:18 +00:00
Update README.md
This commit is contained in:
parent
e6be9a2d91
commit
3544685a12
110
README.md
110
README.md
@ -1,68 +1,66 @@
|
||||
# ExileMod-Advanced-Repair
|
||||
Complex repair script for ExileMod that allows:
|
||||
a. Repair and salvage of engine and wheels.
|
||||
b. Repair of Body
|
||||
c. Rapair all
|
||||
Complex repair script for ExileMod that allows:</br>
|
||||
a. Repair and salvage of engine and wheels.</br>
|
||||
b. Repair of Body</br>
|
||||
c. Repair all</br>
|
||||
|
||||
To Do:
|
||||
a. Include need for wheels for repair all and repair only as many wheels as what the player has in inventory.
|
||||
To Do:</br>
|
||||
a. Include need for wheels for repair all and repair only as many wheels as what the player has in inventory.</br>
|
||||
|
||||
Install Instructions:
|
||||
1. UnPBO your Mission File.
|
||||
2. Open the Advanced Repair folder and copy the "custom" folder to the mission file you just unPBO'd (same folder as config.cpp file).
|
||||
3. Add the below lines into the "initPlayerLocal.sqf" file from your mission file, immediately after "if (!hasInterface || isServer) exitWith {};".
|
||||
Install Instructions:</br>
|
||||
1. UnPBO your Mission File.</br>
|
||||
2. Open the Advanced Repair folder and copy the "custom" folder to the mission file you just unPBO'd (same folder as config.cpp file).</br>
|
||||
3. Add the below lines into the "initPlayerLocal.sqf" file from your mission file, immediately after "if (!hasInterface || isServer) exitWith {};".</br>
|
||||
|
||||
//Advanced repair
|
||||
Bones_fnc_salvageAndRepairMenuHelo = compileFinal preprocessFileLineNumbers "Custom\advancedRepair\Bones_fnc_salvageAndRepairMenuHelo.sqf";
|
||||
Bones_fnc_salvageAndRepairMenuCar = compileFinal preprocessFileLineNumbers "Custom\advancedRepair\Bones_fnc_salvageAndRepairMenuCar.sqf";
|
||||
|
||||
4. Open the description.ext file and change:
|
||||
showHUD[] =
|
||||
{
|
||||
true, // Scripted HUD (same as showHUD command)
|
||||
true, // Vehicle + soldier info
|
||||
true, // Vehicle radar
|
||||
true, // Vehicle compass
|
||||
true, // Tank direction indicator
|
||||
false, // Commanding menu
|
||||
false, // Group Bar
|
||||
true, // HUD Weapon Cursors
|
||||
false // Squad Radar
|
||||
};
|
||||
//Advanced repair</br>
|
||||
Bones_fnc_salvageAndRepairMenuHelo = compileFinal preprocessFileLineNumbers "Custom\advancedRepair\Bones_fnc_salvageAndRepairMenuHelo.sqf";</br>
|
||||
Bones_fnc_salvageAndRepairMenuCar = compileFinal preprocessFileLineNumbers "Custom\advancedRepair\Bones_fnc_salvageAndRepairMenuCar.sqf";</br>
|
||||
|
||||
TO
|
||||
4. Open the description.ext file and change:</br>
|
||||
showHUD[] = </br>
|
||||
{</br>
|
||||
true, // Scripted HUD (same as showHUD command)</br>
|
||||
true, // Vehicle + soldier info</br>
|
||||
true, // Vehicle radar </br>
|
||||
true, // Vehicle compass</br>
|
||||
true, // Tank direction indicator</br>
|
||||
false, // Commanding menu</br>
|
||||
false, // Group Bar</br>
|
||||
true, // HUD Weapon Cursors</br>
|
||||
false // Squad Radar</br>
|
||||
};</br>
|
||||
|
||||
showHUD[] =
|
||||
{
|
||||
true, // Scripted HUD (same as showHUD command)
|
||||
true, // Vehicle + soldier info
|
||||
true, // Vehicle radar
|
||||
true, // Vehicle compass
|
||||
true, // Tank direction indicator
|
||||
true, // Commanding menu
|
||||
false, // Group Bar
|
||||
true, // HUD Weapon Cursors
|
||||
false // Squad Radar
|
||||
};
|
||||
TO</br>
|
||||
|
||||
5. 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:
|
||||
showHUD[] = </br>
|
||||
{</br>
|
||||
true, // Scripted HUD (same as showHUD command)</br>
|
||||
true, // Vehicle + soldier info</br>
|
||||
true, // Vehicle radar </br>
|
||||
true, // Vehicle compass</br>
|
||||
true, // Tank direction indicator</br>
|
||||
true, // Commanding menu</br>
|
||||
false, // Group Bar</br>
|
||||
true, // HUD Weapon Cursors</br>
|
||||
false // Squad Radar</br>
|
||||
};</br>
|
||||
|
||||
//Bones Custom Vehicle Repairs
|
||||
5. 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:</br>
|
||||
|
||||
class Repair: ExileAbstractAction
|
||||
{
|
||||
title = "Repair/Salvage";
|
||||
condition = "true";
|
||||
action = "_this call Bones_fnc_salvageAndRepairMenuCar";
|
||||
};
|
||||
//Bones Custom Vehicle Repairs</br>
|
||||
class Repair: ExileAbstractAction</br>
|
||||
{</br>
|
||||
title = "Repair/Salvage";</br>
|
||||
condition = "true";</br>
|
||||
action = "_this call Bones_fnc_salvageAndRepairMenuCar";</br>
|
||||
};</br>
|
||||
|
||||
|
||||
// Bones Custom Air Repairs
|
||||
class Repair: ExileAbstractAction
|
||||
{
|
||||
title = "Repair/Salvage";
|
||||
condition = "true";
|
||||
action = "_this call Bones_fnc_salvageAndRepairMenuHelo";
|
||||
};
|
||||
// Bones Custom Air Repairs</br>
|
||||
class Repair: ExileAbstractAction</br>
|
||||
{</br>
|
||||
title = "Repair/Salvage";</br>
|
||||
condition = "true";</br>
|
||||
action = "_this call Bones_fnc_salvageAndRepairMenuHelo";</br>
|
||||
};</br>
|
||||
|
||||
6. Re-PBO your mission file and re-upload to the server.
|
||||
|
Loading…
Reference in New Issue
Block a user