diff --git a/addons/BNA_KC_Vehicle_Skills/$PREFIX$ b/addons/BNA_KC_Vehicle_Skills/$PREFIX$
deleted file mode 100644
index b54b01330..000000000
--- a/addons/BNA_KC_Vehicle_Skills/$PREFIX$
+++ /dev/null
@@ -1 +0,0 @@
-BNA_KC_Vehicle_Skills
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/CfgDisplays.hpp b/addons/BNA_KC_Vehicle_Skills/CfgDisplays.hpp
deleted file mode 100644
index 89e024e43..000000000
--- a/addons/BNA_KC_Vehicle_Skills/CfgDisplays.hpp
+++ /dev/null
@@ -1,206 +0,0 @@
-#include "\ORA\BNA_KC\addons\core\ui\BaseControls.hpp"
-
-class JRY_mapCtrl_Mortar: RscControlsGroupNoScrollbars
-{
- idc = 1112350;
- x = 0;
- y = 0;
- w = "11 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "8 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- class controls
- {
- class Background: RscText
- {
- onLoad = "(_this # 0) ctrlEnable false;";
- idc = 1000;
- x = 0;
- y = "1.2 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- w = "11 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "5.7 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- colorBackground[] = {0,0,0,0.7};
- };
- class Title: RscText
- {
- colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])","(profilenamespace getvariable ['GUI_BCG_RGB_A',0.8])"};
- idc = 1001;
- text = "Mortar Strike";
- x = 0;
- y = 0;
- w = "11 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- class AmmoTxt: RscStructuredText
- {
- colorBackground[] = {0,0,0,0.7};
- // idc = 1100;
- text = "Ammo ";
- x = 0.01;
- y = "1.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- w = "3 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- class Ammo: RscCombo
- {
- onLBSelChanged = "_ctrl = _this # 0; _display = ctrlParent _ctrl; _colorTxt = _display displayCtrl 654321; _color = _display displayCtrl 104; if ((_this # 1) == 1) then { _colorTxt ctrlSetTextColor [1,1,1,1]; {_color lbAdd _x;}forEach ['Blue','Green','Red','Purple','Yellow']; _color lbSetCurSel 0;_color ctrlEnable true;}else { _colorTxt ctrlSetTextColor [1,1,1,0.6]; lbClear _color; _color ctrlEnable false;};";
- idc = 103;
- x = "3.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- y = "1.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- w = "6.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- class ShotsTxt: AmmoTxt
- {
- text = "Shots ";
- y = "2.6 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- class Shots: RscXListbox
- {
- idc = 4654321;
- sizeEx = "3 * (1 / (getResolution select 3)) * pixelGrid * 0.5";
- x = "3.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- y = "2.6 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- w = "6.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- class ColorTxt: AmmoTxt
- {
- idc = 654321;
- onLoad = "(_this # 0) ctrlSetTextColor [1,1,1,0.6];";
- text = "Color ";
- y = "3.7 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- class Color: RscCombo
- {
- onLoad = "(_this # 0) ctrlEnable false;";
- idc = 104;
- x = "3.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- y = "3.7 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- w = "6.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- class SpreadTxt: AmmoTxt
- {
- text = "Spread ";
- y = "4.8 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- class Spread: RscToolbox
- {
- onCheckBoxesSelChanged = "_ctrl = (_this # 0); _ctrlVal = (_this # 1); uiNamespace setVariable ['BNA_KC_CtrlSpread',_ctrlVal];";
- idc = 1231321;
- columns = 2;
- strings[] = {"Enable","Disable"};
- values[] = {0,1};
- x = "3.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- y = "4.8 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- w = "6.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- sizeEx = "3 * (1 / (getResolution select 3)) * pixelGrid * 0.5";
- };
- class ButtonMenuOK: RscButtonMenuOK
- {
- idc = 9946432;
- x = 0;
- y = "7 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- w = "4.9 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- class ButtonMenuCancel: RscButtonMenuCancel
- {
- onButtonClick = "_display = ctrlParent (_this # 0); if ('BNA_KC_Marker_Datapad' in allMapMarkers) then {deleteMarker 'BNA_KC_Marker_Datapad';}; ctrlDelete (_display displayCtrl 1112350); ";
- x = "6 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- y = "7 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- w = "5 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- };
-};
-class JRY_mapCtrl_AVArtillery: JRY_mapCtrl_Mortar
-{
- class controls
- {
- class Background: RscText
- {
- onLoad = "(_this # 0) ctrlEnable false;";
- idc = 1000;
- x = 0;
- y = "1.2 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- w = "11 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "5.7 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- colorBackground[] = {0,0,0,0.7};
- };
- class Title: RscText
- {
- colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])","(profilenamespace getvariable ['GUI_BCG_RGB_A',0.8])"};
- idc = 1001;
- text = "AV-7 Artillery Strike";
- x = 0;
- y = 0;
- w = "11 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- class ShotsTxt: RscStructuredText
- {
- colorBackground[] = {0,0,0,0.7};
- text = "Shots ";
- x = 0.01;
- y = "1.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- w = "3 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- class Shots: RscXListbox
- {
- idc = 4654321;
- sizeEx = "3 * (1 / (getResolution select 3)) * pixelGrid * 0.5";
- x = "3.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- y = "1.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- w = "6.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- class SpreadTxt: ShotsTxt
- {
- text = "Spread ";
- y = "2.6 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- class Spread: RscToolbox
- {
- onCheckBoxesSelChanged = "_ctrl = (_this # 0); _ctrlVal = (_this # 1); uiNamespace setVariable ['BNA_KC_CtrlSpread',_ctrlVal];";
- idc = 1231321;
- columns = 2;
- strings[] = {"Enable","Disable"};
- values[] = {0,1};
- x = "3.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- y = "2.6 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- w = "6.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- class ButtonMenuOK: RscButtonMenuOK
- {
- idc = 9946432;
- x = 0;
- y = "7 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- w = "4.9 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- class ButtonMenuCancel: RscButtonMenuCancel
- {
- onButtonClick = "_display = ctrlParent (_this # 0); if ('BNA_KC_Marker_Datapad' in allMapMarkers) then {deleteMarker 'BNA_KC_Marker_Datapad';}; ctrlDelete (_display displayCtrl 1112350); ";
- x = "6 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- y = "7 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- w = "5 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- };
-};
-
-class JRYMap: RscDisplayEmpty
-{
- class controlsBackground
- {
- class JRYMapControl: RscMapControl
- {
- onLoad = "(_this # 0) ctrlSetPosition [0,0,1,1]; (_this # 0) ctrlCommit 0;";
- onMouseButtonDblClick = "(_this # 0) call BNA_KC_vehicles_fnc_guiDataPad;";
- };
- };
- class controls{};
-};
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/CfgFunctions.hpp b/addons/BNA_KC_Vehicle_Skills/CfgFunctions.hpp
deleted file mode 100644
index 988a11557..000000000
--- a/addons/BNA_KC_Vehicle_Skills/CfgFunctions.hpp
+++ /dev/null
@@ -1,54 +0,0 @@
-class CfgFunctions
-{
- class BNA_KC_vehicles
- {
- tag = "BNA_KC_vehicles";
-
- class VehicleSkills
- {
- file = "BNA_KC_Vehicle_Skills\functions\skills";
-
- class itemCheck
- {
- description = "Item Check";
- };
- class deployCCP
- {
- description = "Deploy CCP";
- };
- class deployVehShield
- {
- description = "Deploy Assault Vehicle Shield";
- };
- class deploySquadShield
- {
- description = "Deploy Squad Shield";
- };
- class deployModuleRepair
- {
- description = "Deploy Vehicle Repair";
- };
- class deployCitadelShield
- {
- description = "Deploy Citadel Shield";
- };
- };
- class DataPadGUI
- {
- file = "BNA_KC_Vehicle_Skills\functions\gui";
-
- class postInit
- {
- postInit = 1;
- };
- class guiDataPad
- {
- description = "Data Pad Map Display and Eventhandlers";
- };
- class accessDatapad
- {
- description = "Access Data Pad";
- };
- };
- };
-};
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/CfgMagazines.hpp b/addons/BNA_KC_Vehicle_Skills/CfgMagazines.hpp
deleted file mode 100644
index 0cfbabac1..000000000
--- a/addons/BNA_KC_Vehicle_Skills/CfgMagazines.hpp
+++ /dev/null
@@ -1,35 +0,0 @@
-class CfgMagazines
-{
- class CA_Magazine;
- class CA_LauncherMagazine;
- class BNA_KC_Datapad_Mag_Base: CA_Magazine
- {
- // type = "3* 256";
- author = "JRY";
- scope = 0;
- // allowedSlots[] = {}; {701,801,901};
- picture = "\3AS\3AS_Weapons\Data\UI\3as_ammo_data.paa";
- count = 3;
- mass = 0;
- initSpeed = 306;
- descriptionShort = "Datapad Cartridge";
- };
- class BNA_KC_Datapad_Mag_MortarStrike: BNA_KC_Datapad_Mag_Base
- {
- ammo = "BNA_KC_Shell_PlasmaMortar_82mm_HE";
- author = "JRY";
- scope = 2;
- useAction = 0;
- displayName = "[KC] Datapad Cartridge (Mortar/Smoke Strike)";
- descriptionShort = "Datapad Cartidge Type: Mortar Strike and Smoke Strike
Rounds: 3
Used in: Datapad";
- };
- class BNA_KC_Datapad_Mag_AV7AStrike: BNA_KC_Datapad_Mag_Base
- {
- ammo = "3AS_Cluster_300mm_AMOS";
- author = "JRY";
- scope = 2;
- useAction = 0;
- displayName = "[KC] Datapad Cartridge (AV-7 Artillery Strike)";
- descriptionShort = "Datapad Cartidge Type: AV-7 Artillery Strike
Rounds: 3
Used in: Datapad";
- };
-};
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/CfgSFX.hpp b/addons/BNA_KC_Vehicle_Skills/CfgSFX.hpp
deleted file mode 100644
index f970346c7..000000000
--- a/addons/BNA_KC_Vehicle_Skills/CfgSFX.hpp
+++ /dev/null
@@ -1,22 +0,0 @@
-class CfgSFX
-{
- class BNA_KC_SFX_Deploy
- {
- sound0[] = {"BNA_KC_Vehicle_Skills\data\audio\Deploy.wss",1,1,50,1,0,0,0};
- sounds[] = {"sound0"};
- titles[] = {};
- empty[] = {"",0,0,0,0,0,0,0};
- };
- class BNA_KC_SFX_Undeploy: BNA_KC_SFX_Deploy
- {
- sound0[] = {"BNA_KC_Vehicle_Skills\data\audio\Undeploy.wss",1,1,50,1,0,0,0};
- };
- class BNA_KC_SFX_HealLoop: BNA_KC_SFX_Deploy
- {
- sound0[] = {"BNA_KC_Vehicle_Skills\data\audio\Heal_Loop.wss",60,1,50,1,0,0,0};
- };
- class BNA_KC_SFX_RepairLoop: BNA_KC_SFX_Deploy
- {
- sound0[] = {"BNA_KC_Vehicle_Skills\data\audio\Repair_Loop.wss",60,1,50,1,0,0,0};
- };
-};
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/CfgVehicles.hpp b/addons/BNA_KC_Vehicle_Skills/CfgVehicles.hpp
deleted file mode 100644
index 0069d12bb..000000000
--- a/addons/BNA_KC_Vehicle_Skills/CfgVehicles.hpp
+++ /dev/null
@@ -1,13 +0,0 @@
-class CfgVehicles
-{
- #include "sounds\sounds.hpp"
- #include "land\gammoth\gammoth.hpp"
- #include "land\hermitaur\hermitaur.hpp"
- #include "land\hydra\hydra.hpp"
- #include "land\juggernaut\juggernaut.hpp"
- #include "land\khezu\khezu.hpp"
- #include "land\reek\reek.hpp"
- #include "land\tx130\tx130.hpp"
- #include "air\nu\nu.hpp"
- #include "air\rho\rho.hpp"
-};
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/CfgWeapons.hpp b/addons/BNA_KC_Vehicle_Skills/CfgWeapons.hpp
deleted file mode 100644
index 43567ae7a..000000000
--- a/addons/BNA_KC_Vehicle_Skills/CfgWeapons.hpp
+++ /dev/null
@@ -1,123 +0,0 @@
-class CfgWeapons
-{
- class ItemCore;
- class CBA_MiscItem: ItemCore
- {
- class ItemInfo;
- };
- class BNA_Assault_Module: CBA_MiscItem
- {
- scope = 2;
- author = "JRY";
- picture = "\A3\Weapons_F\Items\data\UI\gear_Medikit_CA.paa";
- model = "\A3\Weapons_F\Items\Medikit";
- displayName = "Vehicle Skill: Assault";
- descriptionShort = "Vehicle Skill: Assault";
-
- class ItemInfo: ItemInfo {};
- };
- class BNA_Shield_Module: CBA_MiscItem
- {
- scope = 2;
- author = "JRY";
- picture = "\A3\Weapons_F\Items\data\UI\gear_Medikit_CA.paa";
- model = "\A3\Weapons_F\Items\Medikit";
- displayName = "Vehicle Skill: Shield";
- descriptionShort = "Vehicle Skill: Shield";
-
- class ItemInfo: ItemInfo {};
- };
- class BNA_Medical_Module: CBA_MiscItem
- {
- scope = 2;
- author = "JRY";
- picture = "\A3\Weapons_F\Items\data\UI\gear_Medikit_CA.paa";
- model = "\A3\Weapons_F\Items\Medikit";
- displayName = "Vehicle Skill: Medical";
- descriptionShort = "Vehicle Skill: Medical";
-
- class ItemInfo: ItemInfo {};
- };
- class BNA_Repair_Module: CBA_MiscItem
- {
- scope = 2;
- author = "JRY";
- picture = "\A3\Weapons_F\Items\data\UI\gear_Medikit_CA.paa";
- model = "\A3\Weapons_F\Items\Medikit";
- displayName = "Vehicle Skill: Repair";
- descriptionShort = "Vehicle Skill: Repair";
-
- class ItemInfo: ItemInfo {};
- };
- class BNA_Citadel_Module: CBA_MiscItem
- {
- scope = 2;
- author = "JRY";
- picture = "\A3\Weapons_F\Items\data\UI\gear_Medikit_CA.paa";
- model = "\A3\Weapons_F\Items\Medikit";
- displayName = "Vehicle Skill: Citadel";
- descriptionShort = "Vehicle Skill: Citadel";
-
- class ItemInfo: ItemInfo {};
- };
-
- class Launcher;
- class Launcher_Base_F: Launcher
- {
- class WeaponSlotsInfo;
- };
- class BNA_KC_Launcher_Datapad_Base: Launcher_Base_F
- {
- author = "JRY";
- displayName = "";
- magazines[] = {};
- magazineWell[] = {};
- reloadAction = "";
- magazineReloadSwitchPhase = 0.4;
- discreteDistanceInitIndex = 0;
- recoil = "none";
- maxRecoilSway = 0.0125;
- swayDecaySpeed = 1.25;
- inertia = 0.5;
- dexterity = 1.5;
- initSpeed = -1;
- maxZeroing = 100;
- class GunParticles;
- class WeaponSlotsInfo;
- opticsZoomMin = 0.25;
- opticsZoomMax = 1.25;
- opticsZoomInit = 0.75;
- distanceZoomMin = 400;
- distanceZoomMax = 400;
- descriptionShort = "";
- handAnim[] = {"OFP2_ManSkeleton","3as\3AS_Weapons\Roleplay\anim\datapadhandrifle.rtm"};
- selectionFireAnim = "zasleh";
- fireLightDiffuse[] = {7,110,176};
- fireLightIntensity = 0.02;
- flash = "gunfire";
- flashSize = 0.1;
- modes[] = {"Single"};
- class Single;
- aiDispersionCoefY = 6;
- aiDispersionCoefX = 4;
- caseless[] = {"",1,1,1};
- soundBullet[] = {"caseless",1};
- drySound[] = {"",1,1};
- reloadMagazineSound[] = {"",1,1};
- ace_overheating_mrbs = 3000;
- ace_overheating_slowdownFactor = 1;
- ace_overheating_allowSwapBarrel = 0;
- ace_overheating_dispersion = 0.75;
- };
- class BNA_KC_Launcher_Datapad: BNA_KC_Launcher_Datapad_Base
- {
- scope = 2;
- magazines[] = {"BNA_KC_Datapad_Mag_MortarStrike","BNA_KC_Datapad_Mag_AV7AStrike"};
- // magazineWell[] = {"BNA_KC_DataPad_Magazines"};
- displayName = "[KC] Data Pad";
- model = "\3AS\3AS_Weapons\Roleplay\RepublicDatapadrifle.p3d";
- picture = "\3AS\3AS_Weapons\Roleplay\data\UI\3as_datapad.paa";
- weaponInfoType = "RscWeaponZeroing";
- class WeaponSlotsInfo;
- };
-};
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/GUIBase.hpp b/addons/BNA_KC_Vehicle_Skills/GUIBase.hpp
deleted file mode 100644
index 4c7914afe..000000000
--- a/addons/BNA_KC_Vehicle_Skills/GUIBase.hpp
+++ /dev/null
@@ -1,201 +0,0 @@
-//- GUI Documenation: https://community.bistudio.com/wiki/Arma:_GUI_Configuration
-//- Control Types: https://community.bistudio.com/wiki/Arma:_GUI_Configuration#Control_Types
-//- Control Styles: https://community.bistudio.com/wiki/Arma:_GUI_Configuration#Control_Styles
-
-//Eden Editor macros such as background colour and pixel grid
-// #include "\a3\3DEN\UI\macros.inc"
-//Eden Editor advanced macros
-// #include "\a3\3den\ui\macroexecs.inc"
-//GRIDs
-// #include "\a3\ui_f\hpp\definecommongrids.inc"
-//DIK Key Codes
-// #include "\a3\ui_f\hpp\definedikcodes.inc"
-//Eden Editor IDDs and IDCs as well as control types, styles and macros
-// #include "\a3\3den\ui\resincl.inc"
-
-
-//Classic Base Controls
-class RscActivePicture;
-class RscActivePictureKeepAspect;
-class RscActiveText;
-class RscButton;
-class RscButtonMenu;
-class RscButtonMenuCancel;
-class RscButtonMenuOK;
-class RscButtonMenuSteam;
-class RscButtonTextOnly;
-class RscCheckBox;
-class RscCombo;
-class RscControlsGroup;
-class RscControlsGroupNoHScrollbars;
-class RscControlsGroupNoScrollbars;
-class RscControlsGroupNoVScrollbars;
-class RscEdit;
-class RscFrame;
-class RscHTML;
-class RscLine;
-class RscListBox;
-class RscListNBox;
-class RscMapControl;
-class RscMapControlEmpty;
-class RscObject;
-class RscPicture;
-class RscPictureKeepAspect;
-class RscProgress;
-class RscShortcutButton;
-class RscSlider;
-class RscStructuredText;
-class RscText;
-class RscToolbox;
-class RscTree;
-class RscVideo;
-class RscXListBox;
-class RscXSliderH;
-class Scrollbar;
-
-//Excotic Base Controls
-class CA_Back;
-class CA_Black_Back;
-class CA_Logo;
-class CA_Logo_Small;
-class CA_Mainback;
-class CA_Ok;
-class CA_Ok_image;
-class CA_Ok_image2;
-class CA_Ok_text;
-class CA_RscButton;
-class CA_RscButton_dialog;
-class CA_Title;
-class CA_Title_Back;
-class ctrlActivePicture;
-class ctrlActivePictureKeepAspect;
-class ctrlActiveText;
-class ctrlButton;
-class ctrlButtonCancel;
-class ctrlButtonClose;
-class ctrlButtonCollapseAll;
-class ctrlButtonExpandAll;
-class ctrlButtonFilter;
-class ctrlButtonOK;
-class ctrlButtonPicture;
-class ctrlButtonPictureKeepAspect;
-class ctrlButtonSearch;
-class ctrlButtonToolbar;
-class ctrlCheckbox;
-class ctrlCheckboxBaseline;
-class ctrlCheckboxes;
-class ctrlCheckboxesCheckbox;
-class ctrlCheckboxToolbar;
-class ctrlCombo;
-class ctrlComboToolbar;
-class ctrlControlsGroup;
-class ctrlControlsGroupNoHScrollbars;
-class ctrlControlsGroupNoScrollbars;
-class ctrlControlsGroupNoVScrollbars;
-class ctrlDefault;
-class ctrlDefaultButton;
-class ctrlDefaultText;
-class ctrlEdit;
-class ctrlEditMulti;
-class ctrlHTML;
-class ctrlListbox;
-class ctrlListNBox;
-class ctrlMap;
-class ctrlMapEmpty;
-class ctrlMapMain;
-class ctrlMenu;
-class ctrlMenuStrip;
-class ctrlProgress;
-class ctrlShortcutButton;
-class ctrlShortcutButtonCancel;
-class ctrlShortcutButtonOK;
-class ctrlShortcutButtonSteam;
-class ctrlSliderH;
-class ctrlSliderV;
-class ctrlStatic;
-class ctrlStaticBackground;
-class ctrlStaticBackgroundDisable;
-class ctrlStaticBackgroundDisableTiles;
-class ctrlStaticFooter;
-class ctrlStaticFrame;
-class ctrlStaticLine;
-class ctrlStaticMulti;
-class ctrlStaticOverlay;
-class ctrlStaticPicture;
-class ctrlStaticPictureKeepAspect;
-class ctrlStaticPictureTile;
-class ctrlStaticTitle;
-class ctrlStructuredText;
-class ctrlToolbox;
-class ctrlToolboxPicture;
-class ctrlToolboxPictureKeepAspect;
-class ctrlTree;
-class ctrlXListbox;
-class ctrlXSliderH;
-class ctrlXSliderV;
-class RscBackground;
-class RscBackgroundGUI;
-class RscBackgroundGUIBottom;
-class RscBackgroundGUIDark;
-class RscBackgroundGUILeft;
-class RscBackgroundGUIRight;
-class RscBackgroundGUITop;
-class RscBackgroundLogo;
-class RscBackgroundStripeBottom;
-class RscBackgroundStripeTop;
-class RscButtonAlarm;
-class RscButtonArsenal;
-class RscButtonCall;
-class RscButtonDetector;
-class RscButtonDiaryMenu;
-class RscButtonEditor;
-class RscButtonMenuBIKI;
-class RscButtonMenuMain;
-class RscButtonNoColor;
-class RscButtonSearch;
-class RscButtonSmall;
-class RscButtonTestCentered;
-class RscColorPicker;
-class RscDisplayDebriefing_ListGroup;
-class RscDisplayDebriefing_RscTextMultiline;
-class RscDisplaySingleMission_ChallengeOverviewGroup;
-class RscEditMulti;
-class RscEditMultiReadOnly;
-class RscEditReadOnly;
-class RscFeedback;
-class RscGearShortcutButton;
-class RscHiddenButton;
-class RscIGProgress;
-class RscIGText;
-class RscIGUIListBox;
-class RscIGUIListNBox;
-class RscIGUIShortcutButton;
-class RscIGUIText;
-class RscIGUIValue;
-class RscInterlacingScreen;
-class RscLadderPicture;
-class RscListBoxKeys;
-class RscListBoxMulti;
-class RscLoadingText;
-class RscMapSignalBackground;
-class RscMapSignalPicture;
-class RscMapSignalText;
-class RscOpticsText;
-class RscOpticsValue;
-class RscPictureAllowPixelSplit;
-class RscPictureKeepAspectAllowPixelSplit;
-class RscProgressNotFreeze;
-class RscShortcutButtonMain;
-class RscSliderH;
-class RscTextMulti;
-class RscTextNoShadow;
-class RscTextSmall;
-class RscTitle;
-class RscToolboxButton;
-class RscTrafficLight;
-class RscTreeMulti;
-class RscTreeSearch;
-class RscVideoKeepAspect;
-class RscVignette;
-
-class RscDisplayEmpty;
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/air/nu/nu.hpp b/addons/BNA_KC_Vehicle_Skills/air/nu/nu.hpp
deleted file mode 100644
index aa1184d93..000000000
--- a/addons/BNA_KC_Vehicle_Skills/air/nu/nu.hpp
+++ /dev/null
@@ -1,39 +0,0 @@
-class 3AS_Nu_REP_F;
-class BNA_KC_Nu: 3AS_Nu_REP_F
-{
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployCitadelShield"", false,true];";
- };
- class UserActions
- {
- class DeployCitadel
- {
- displayName = "Deploy Citadel Shield";
- displayNameDefault = "
";
- priority = 69;
- radius = 15;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployCitadelShield"" == false && fuel this != 0 && isEngineOn this == false";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeployCitadel
- {
- displayName = "Undeploy Citadel Shield";
- displayNameDefault = "";
- priority = 69;
- radius = 15;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployCitadelShield"" == true;";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deployCitadelShield;";
- };
- };
-};
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/air/rho/rho.hpp b/addons/BNA_KC_Vehicle_Skills/air/rho/rho.hpp
deleted file mode 100644
index 53c03aa07..000000000
--- a/addons/BNA_KC_Vehicle_Skills/air/rho/rho.hpp
+++ /dev/null
@@ -1,80 +0,0 @@
-class 3AS_Rho_REP_F;
-class BNA_KC_Rho: 3AS_Rho_REP_F
-{
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployCitadelShield"", false,true];";
- };
- class UserActions
- {
- class DeployCitadel
- {
- displayName = "Deploy Citadel Shield";
- displayNameDefault = "
";
- priority = 69;
- radius = 15;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployCitadelShield"" == false && fuel this != 0 && isEngineOn this == false";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeployCitadel
- {
- displayName = "Undeploy Citadel Shield";
- displayNameDefault = "";
- priority = 69;
- radius = 15;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployCitadelShield"" == true;";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deployCitadelShield;";
- };
- };
-};
-class BNA_KC_Rho_medical: BNA_KC_Rho
-{
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployCCP"", false,true];";
- };
- class UserActions
- {
- class DeployCCP
- {
- displayName = "Deploy CCP Option";
- displayNameDefault = "
";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployCCP"" == false && fuel this != 0;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeployCCP"",true,true]; playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Deploy.wss"", this]; this call BNA_KC_vehicles_fnc_deployCCP;";
- // statement = "[this] call BNA_KC_vehicles_fnc_deployCCP;";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeployCCP
- {
- displayName = "Undeploy CCP";
- displayNameDefault = "";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployCCP"" == true;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeployCCP"",false,true]; playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Undeploy.wss"", this];";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deployCCP;";
- };
- };
-};
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/config.cpp b/addons/BNA_KC_Vehicle_Skills/config.cpp
deleted file mode 100644
index da69522a3..000000000
--- a/addons/BNA_KC_Vehicle_Skills/config.cpp
+++ /dev/null
@@ -1,55 +0,0 @@
-class CfgPatches
-{
- class BNA_KC_Vehicle_Skills
- {
- author = "JRY";
- name = "KC Aux Mod [Beta Test] - Vehicle Skills";
- url = "https://www.armahosts.com/";
- requiredAddons[] =
- {
- "BNA_KC_vehicles_gammoth",
- "3AS_Rebel_Armor_PX10","BNA_KC_vehicles_hermitaur",
- "BNA_KC_vehicles_hydra",
- "3AS_APC_Jug","BNA_KC_vehicles_juggernaut",
- "BNA_KC_vehicles_khezu",
- "BNA_KC_vehicles_reek",
- "3AS_SaberTank", "BNA_KC_vehicles_tx130",
- "Aux501_Patch_grenades_special_trench_shield"
- };
- requiredVersion = 0.1;
- units[] =
- {
- "BNA_KC_Gammoth_Transport","BNA_KC_Gammoth_Covered","BNA_KC_Gammoth_Medical","BNA_KC_Gammoth_Repair",
- "BNA_KC_Hermitaur_Class_I","BNA_KC_Hermitaur_Class_E","BNA_KC_Hermitaur_Class_M",
- "BNA_KC_Hydra",
- "BNA_KC_Juggernaut",
- "BNA_KC_Khezu_Unarmed",
- "BNA_KC_Khezu_Armed",
- "BNA_KC_Reek",
- "BNA_KC_TX130_M1_Recon"
- };
- weapons[] =
- {
- "BNA_Assault_Module","BNA_Shield_Module","BNA_Medical_Module","BNA_Repair_Module","BNA_Citadel_Module",
- "BNA_KC_Launcher_Datapad"
- };
- };
-};
-
-#include "CfgFunctions.hpp"
-
-class Extended_PreInit_EventHandlers
-{
- class BNA_KC_Vehicle_Skills
- {
- init = "call compileScript ['BNA_KC_Vehicle_Skills\functions\skills\scripts\XEH_preInit.sqf']";
- };
-};
-
-#include "CfgVehicles.hpp"
-
-#include "CfgMagazines.hpp"
-#include "CfgWeapons.hpp"
-#include "CfgSFX.hpp"
-
-#include "CfgDisplays.hpp"
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/data/audio/Deploy.wss b/addons/BNA_KC_Vehicle_Skills/data/audio/Deploy.wss
deleted file mode 100644
index 38a9388d1..000000000
Binary files a/addons/BNA_KC_Vehicle_Skills/data/audio/Deploy.wss and /dev/null differ
diff --git a/addons/BNA_KC_Vehicle_Skills/data/audio/Heal_Loop.wss b/addons/BNA_KC_Vehicle_Skills/data/audio/Heal_Loop.wss
deleted file mode 100644
index 1b08e736e..000000000
Binary files a/addons/BNA_KC_Vehicle_Skills/data/audio/Heal_Loop.wss and /dev/null differ
diff --git a/addons/BNA_KC_Vehicle_Skills/data/audio/Repair_Loop.wss b/addons/BNA_KC_Vehicle_Skills/data/audio/Repair_Loop.wss
deleted file mode 100644
index b2efb51d6..000000000
Binary files a/addons/BNA_KC_Vehicle_Skills/data/audio/Repair_Loop.wss and /dev/null differ
diff --git a/addons/BNA_KC_Vehicle_Skills/data/audio/Undeploy.wss b/addons/BNA_KC_Vehicle_Skills/data/audio/Undeploy.wss
deleted file mode 100644
index 780c6cb78..000000000
Binary files a/addons/BNA_KC_Vehicle_Skills/data/audio/Undeploy.wss and /dev/null differ
diff --git a/addons/BNA_KC_Vehicle_Skills/functions/gui/fn_accessDatapad.sqf b/addons/BNA_KC_Vehicle_Skills/functions/gui/fn_accessDatapad.sqf
deleted file mode 100644
index b29d7767a..000000000
--- a/addons/BNA_KC_Vehicle_Skills/functions/gui/fn_accessDatapad.sqf
+++ /dev/null
@@ -1,31 +0,0 @@
-params ["_target", "_caller", "_actionId"];
-
-
-_display = (findDisplay 46) createDisplay "JRYMap";
-uiNamespace setVariable ["BNA_KC_Display_Datapad",_display];
-
-
-
-_display displayAddEventHandler ["Unload",
-{
- params ["_display", "_exitCode"];
-
- private _unit = missionNamespace getVariable "BNA_KC_player";
- _unit setVariable ["BNA_KC_Datapad_Action",false];
- uiNamespace setVariable ["BNA_KC_Display_Datapad",displayNull];
-
- if ((currentWeapon _unit) isEqualTo "BNA_KC_Launcher_Datapad" && {(_unit ammo currentWeapon _unit) > 0}) then
- {
- private _accessDatapad = _unit addAction
- ["Access Data Pad",
- {
- params ["_target", "_caller", "_actionId", "_arguments"];
- [_target,_caller,_actionId] call BNA_KC_vehicles_fnc_accessDatapad;
- },nil,1.5,false,true,"","true"
- ];
- _unit setVariable ["BNA_KC_Datapad_ActionID",_accessDatapad];
- _unit setVariable ["BNA_KC_Datapad_Action",true];
- };
-}];
-
-_caller removeAction _actionId;
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/functions/gui/fn_guiDataPad.sqf b/addons/BNA_KC_Vehicle_Skills/functions/gui/fn_guiDataPad.sqf
deleted file mode 100644
index 8ea0dfb08..000000000
--- a/addons/BNA_KC_Vehicle_Skills/functions/gui/fn_guiDataPad.sqf
+++ /dev/null
@@ -1,122 +0,0 @@
-params ["_ctrl"];
-
-
-private _display = ctrlParent _ctrl;
-private _ctrlDatapad = _display displayCtrl 1112350;
-private _unit = missionNamespace getVariable "BNA_KC_player";
-
-if !(ctrlShown _ctrlDatapad) then
-{
- _mPos = getMousePosition;
- _worldPos = _ctrl posScreenToWorld _mPos;
- _allMarker = allMapMarkers;
- if !("BNA_KC_Marker_Datapad" in _allMarker) then
- {
- _marker = createMarker ["BNA_KC_Marker_Datapad",_worldPos];
- _ctrl ctrlAddEventHandler ["Draw",
- {
- (_this select 0) drawIcon
- [
- "\A3\ui_f\data\map\groupicons\selector_selectedEnemy_ca.paa",
- [1,0,0,1],
- getMarkerPos "BNA_KC_Marker_Datapad",
- 24,24,0,"",2
- ];
- }];
- }
- else
- {
- deleteMarker "BNA_KC_Marker_Datapad";
- };
-
- _ctrlGroupDataPad = if (currentMagazine _unit == "BNA_KC_Datapad_Mag_MortarStrike") then {_display ctrlCreate [configFile >> "JRY_mapCtrl_Mortar",1112350];} else
- {
- _display ctrlCreate [configFile >> "JRY_mapCtrl_AVArtillery",1112350];
- };
- _ctrlGroupDataPad ctrlSetPositionX (_mPos # 0) + 0.02;
- _ctrlGroupDataPad ctrlSetPositionY (_mPos # 1);
- _ctrlGroupDataPad ctrlCommit 0;
- _ctrl ctrlAddEventHandler ["MouseZChanged",
- {
- _display = ctrlParent (_this # 0);
- _ctrlGroupDataPad = _display displayCtrl 1112350;
- _worldPos = getMarkerPos "BNA_KC_Marker_Datapad";
- _screenPos = (_this # 0) ctrlMapWorldToScreen _worldPos;
- _ctrlGroupDataPad ctrlSetPositionX (_screenPos # 0) + 0.02;
- _ctrlGroupDataPad ctrlSetPositionY (_screenPos # 1);
- _ctrlGroupDataPad ctrlCommit 0;
- }];
-
- _curAmmo = _unit ammo currentWeapon _unit;
- _comboAmmo = _display displayCtrl 103;
- _ctrlShots = _display displayCtrl 4654321;
- _comboColor = _display displayCtrl 104;
- _chckSpread = _display displayCtrl 1231321;
- _btnOK = _display displayCtrl 9946432;
-
- for "_i" from 1 to _curAmmo do
- {
- _ctrlShots lbAdd str _i;
- _ctrlShots lbSetValue [(_i - 1),_i];
- };
- _ctrlShots lbSetCurSel 0;
-
- {
- _comboAmmo lbAdd _x;
- } forEach ["Mortar Strike","Smoke Strike"];
- _comboAmmo lbSetCurSel 0;
-
- _chckSpread ctrlSetChecked [0,true];
-
-
- _btnOK ctrlAddEventHandler ["ButtonClick",
- {
- params ["_ctrl"];
-
- _display = ctrlParent _ctrl;
- _ctrlGroupParent = ctrlParentControlsGroup _ctrl;
- _ctrlGroupClass = ctrlClassName _ctrlGroupParent;
- _comboAmmo = _display displayCtrl 103;
- _ctrlShots = _display displayCtrl 4654321;
- _comboColor = _display displayCtrl 104;
- _chckSpread = _display displayCtrl 1231321;
- _btnOK = _display displayCtrl 9946432;
-
- _unit = missionNamespace getVariable "BNA_KC_player";
- _getAmmo = getText (configfile >> "CfgMagazines" >> currentMagazine _unit >> "ammo");
- _selAmmo = if (_ctrlGroupClass == "JRY_mapCtrl_Mortar") then
- {
- if ((lbCurSel _comboAmmo) == 0) then {_getAmmo} else
- {
- _curSel = lbCurSel _comboColor;
- switch _curSel do
- {
- case 0: {"BNA_KC_Shell_Mortar_SmokeBlue"};
- case 1: {"SmokeShellGreen"};
- case 2: {"BNA_KC_Shell_Mortar_SmokeRed"};
- case 3: {"SmokeShellPurple"};
- case 4: {"SmokeShellYellow"};
- default {"BNA_KC_Shell_Mortar_SmokeWhite"};
- };
- };
- }
- else
- {
- _getAmmo
- };
- _selShots = _ctrlShots lbValue (lbCurSel _ctrlShots);
- _selColor = _comboColor lbText (lbCurSel _comboColor);
- _selSpread = if (_chckSpread lbValue (lbCurSel _chckSpread) == 0) then {5} else {0};
- _markPos = getMarkerPos "BNA_KC_Marker_Datapad";
- _curAmmo = _unit ammo currentWeapon _unit;
-
- _unit setAmmo [currentWeapon _unit, _curAmmo - _selShots];
- [_markPos, _selAmmo,50,_selShots, [5,10],{false},_selSpread,1000,100] spawn BIS_fnc_fireSupportVirtual;
-
- _display closeDisplay 1;
-
-
-
- // systemChat str format ["AMMO: %1 SHOTS: %2 COLOR: %3 SPREAD: %4",_selAmmo,_selShots,_selColor,_selSpread];
- }];
-};
diff --git a/addons/BNA_KC_Vehicle_Skills/functions/gui/fn_postInit.sqf b/addons/BNA_KC_Vehicle_Skills/functions/gui/fn_postInit.sqf
deleted file mode 100644
index 60963fda1..000000000
--- a/addons/BNA_KC_Vehicle_Skills/functions/gui/fn_postInit.sqf
+++ /dev/null
@@ -1,56 +0,0 @@
-waitUntil { not isNull player };
-
-private _JRY_useraction1 = player addEventHandler
-["Reloaded",
-{
- params ["_unit", "_weapon", "_muzzle", "_newMagazine", "_oldMagazine"];
-
- private _display = uiNamespace getVariable "BNA_KC_Display_Datapad";
-
- private _uiAction = _unit getVariable "BNA_KC_Datapad_Action";
- if (!isNull _display || {_uiAction == true}) exitWith {};
-
- if (_weapon isEqualTo "BNA_KC_Launcher_Datapad" && {(_unit ammo _weapon) > 0 && {_uiAction == false }}) then
- {
- private _accessDatapad = _unit addAction
- ["Access Data Pad",
- {
- params ["_target", "_caller", "_actionId", "_arguments"];
- [_target,_caller,_actionId] call BNA_KC_VEHICLES_fnc_accessDatapad;
- },nil,1.5,false,true,"","true"
- ];
- _unit setVariable ["BNA_KC_Datapad_ActionID",_accessDatapad];
- _unit setVariable ["BNA_KC_Datapad_Action",true];
- };
-}];
-
-private _JRY_useraction2 = player addEventHandler
-["WeaponChanged",
-{
- params ["_object", "_oldWeapon", "_newWeapon", "_oldMode", "_newMode", "_oldMuzzle", "_newMuzzle", "_turretIndex"];
-
- missionNamespace setvariable ["BNA_KC_Player",_object];
- private _uiAction = _object getVariable ["BNA_KC_Datapad_Action",false];
-
- if (_oldWeapon isEqualTo "BNA_KC_Launcher_Datapad" && {_uiAction == true }) then
- {
- _actionId = _object getVariable "BNA_KC_Datapad_ActionID";
- _object removeAction _actionId;
- _object setVariable ["BNA_KC_Datapad_Action",false];
- };
-
- if (!isNull (uiNamespace getVariable "BNA_KC_Display_Datapad") || {_uiAction == true }) exitWith {};
-
- if (_newWeapon isEqualTo "BNA_KC_Launcher_Datapad" && {(_object ammo _newWeapon) > 0}) then
- {
- private _accessDatapad = _object addAction
- ["Access Data Pad",
- {
- params ["_target", "_caller", "_actionId", "_arguments"];
- [_target,_caller,_actionId] call BNA_KC_VEHICLES_fnc_accessDatapad;
- },nil,1.5,false,true,"","true"
- ];
- _object setVariable ["BNA_KC_Datapad_ActionID",_accessDatapad];
- _object setVariable ["BNA_KC_Datapad_Action",true];
- };
-}];
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_deployCCP.sqf b/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_deployCCP.sqf
deleted file mode 100644
index cd8cd3878..000000000
--- a/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_deployCCP.sqf
+++ /dev/null
@@ -1,103 +0,0 @@
-
-
-params
-[
- ["_obj", objNull, [objNull]],
- ["_mode", "deploy", [""]]
-];
-
-if (isGamePaused) then {continue};
-
-switch _mode do
-{
- case "deploy":
- {
- inGameUISetEventHandler ['Action',""];
- _obj setVariable ["BNA_KC_vehicles_DeployCCP",true,true];
- playSound3D ["BNA_KC_Vehicle_Skills\data\audio\Deploy.wss", _obj, false, getposASL _obj, 1];
- private _vD = vectorDir _obj;
- private _vU = vectorUp _obj;
- private _hold = "Land_HelipadEmpty_F" createVehicle getPos _obj;
- _hold setPosWorld getPosWorld _obj;
- _hold setDir (getDir _obj);
- _hold setVectorDirAndUp [_vD,_vU];
- _obj attachTo [_hold];
- _sfx = createSoundSource ["BNA_KC_Sound_HealLoop", position _obj, [], 0];
- _sfx attachTo [_obj];
- [_obj,_hold,_sfx] spawn
- {
-
- params ["_obj", "_hold","_sfx"];
-
- private _radius = missionNamespace getVariable "BNA_KC_vehicles_areaHealRadius_M";
- private _rate = missionNamespace getVariable "BNA_KC_vehicles_areaHealRate_M";
- private _healAmount = missionNamespace getVariable "BNA_KC_vehicles_healAmount_M";
- private _fuelDeduction = missionNamespace getVariable "BNA_KC_vehicles_fuelHealConsumption_M";
- private _aceMedLoaded = isClass (configFile >> "CfgPatches" >> "ace_medical_treatment");
- private _fuel = fuel _obj;
-
- waitUntil
- {
- if (_obj getVariable "BNA_KC_vehicles_DeployCCP" == false || isNull _obj || fuel _obj == 0) exitWith
- {
- detach _sfx;
- deleteVehicle _sfx;
- detach _obj;
- deleteVehicle _hold;
- _obj setVariable ["BNA_KC_vehicles_DeployCCP",false,true];
- true;
- };
-
- private _isFriend = _obj call BIS_fnc_friendlySides;
- private _near = [_obj,allUnits,_radius,{side _x in _isFriend && {alive _x}}] call CBA_fnc_getNearest;
- _fuel = _fuel - _fuelDeduction;
- _obj setFuel _fuel;
- sleep _rate;
-
- for "_i" from 0 to count _near -1 do
- {
- _unit = _near select _i;
- if (!alive _unit) exitWith {};
- _dmg = damage _unit;
-
-
- if (_aceMedLoaded) then
- {
- [_unit] call ace_medical_treatment_fnc_fullheallocal;
- if (_dmg > 0) then
- {
- if (isNull objectParent _unit) then
- {
- _unit setDamage (_dmg - _healAmount);
- }
- else
- {
- _unit setDamage (_dmg - (_healAmount / 2));
- };
- };
- }
- else
- {
- if (_dmg > 0) then
- {
- if (isNull objectParent _unit) then
- {
- _unit setDamage (_dmg - _healAmount);
- }
- else
- {
- _unit setDamage (_dmg - (_healAmount / 2));
- };
- };
- };
- };
- false;
- };
- };
- };
- case "undeploy":
- {
- playSound3D ["BNA_KC_Vehicle_Skills\data\audio\Undeploy.wss", _obj, false, getposASL _obj, 1];
- _obj setVariable ["BNA_KC_vehicles_DeployCCP",false,true];
- };
-};
diff --git a/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_deployCitadelShield.sqf b/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_deployCitadelShield.sqf
deleted file mode 100644
index 2c68c82e2..000000000
--- a/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_deployCitadelShield.sqf
+++ /dev/null
@@ -1,79 +0,0 @@
-
-params
-[
- ["_obj", objNull, [objNull]],
- ["_mode", "deploy", [""]]
-];
-
-
-if (isGamePaused) then {continue};
-
-
-
-switch _mode do
-{
- case "deploy":
- {
- inGameUISetEventHandler ['Action',""];
- _obj setVariable ["BNA_KC_vehicles_DeployCitadelShield",true,true];
- playSound3D ["BNA_KC_Vehicle_Skills\data\audio\Deploy.wss", _obj, false, getposASL _obj, 1];
- private _vD = vectorDir _obj;
- private _vU = vectorUp _obj;
- private _hold = "3AS_ShieldTank_Shield" createVehicle getPos _obj;
- private _height = if (_obj isKindOf "3AS_Rho_REP_F" || _obj isKindOf "3AS_Nu_REP_F") then {(_obj call CBA_fnc_realHeight) + 5} else {(_obj call CBA_fnc_realHeight)};
-
- _hold setDir (getDir _obj);
- _hold setVectorDirAndUp [_vD,_vU];
- _hold setPosWorld getPosWorld _obj;
- [_hold,_height,(_obj modelToWorld (getCenterOfMass _obj))] call BIS_fnc_setHeight;
- if (_obj isKindOf "3AS_Jug") then
- {
- _obj attachTo [_hold];
- }
- else
- {
- _hold attachTo [_obj];
- };
-
-
- [_obj,_hold] spawn
- {
- params ["_obj", "_hold"];
-
- private _fuelDeduction = missionNamespace getVariable "BNA_KC_vehicles_fuelCitadelConsumption";
- private _fuel = fuel _obj;
-
- waitUntil
- {
- if (_obj getVariable "BNA_KC_vehicles_DeployCitadelShield" == false || isNull _obj || fuel _obj == 0) exitWith
- {
- if (_obj isKindOf "3AS_Jug") then
- {
- detach _obj;
- deleteVehicle _hold;
- }
- else
- {
- detach _hold;
- deleteVehicle _hold;
- };
-
- _obj setVariable ["BNA_KC_vehicles_DeployCitadelShield",false,true];
- true;
- };
-
- _fuel = _fuel - _fuelDeduction;
- _obj setFuel _fuel;
- sleep 1;
- false;
- };
- };
- };
- case "undeploy":
- {
- playSound3D ["BNA_KC_Vehicle_Skills\data\audio\Undeploy.wss", _obj, false, getposASL _obj, 1];
- _obj setVariable ["BNA_KC_vehicles_DeployCitadelShield",false,true];
- };
-};
-
-
diff --git a/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_deployModuleRepair.sqf b/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_deployModuleRepair.sqf
deleted file mode 100644
index 3c345aa2d..000000000
--- a/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_deployModuleRepair.sqf
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
-params
-[
- ["_obj", objNull, [objNull]],
- ["_mode", "deploy", [""]]
-];
-
-if (isGamePaused) then {continue};
-
-switch _mode do
-{
- case "deploy":
- {
- inGameUISetEventHandler ['Action',""];
- _obj setVariable ["BNA_KC_vehicles_DeployModule",true,true];
- playSound3D ["BNA_KC_Vehicle_Skills\data\audio\Deploy.wss", _obj, false, getposASL _obj, 1];
- private _vD = vectorDir _obj;
- private _vU = vectorUp _obj;
- private _hold = "Land_HelipadEmpty_F" createVehicle getPos _obj;
- _hold setPosWorld getPosWorld _obj;
- _hold setDir (getDir _obj);
- _hold setVectorDirAndUp [_vD,_vU];
- _obj attachTo [_hold];
- _sfx = createSoundSource ["BNA_KC_Sound_RepairLoop", position _obj, [], 0];
- _sfx attachTo [_obj];
- [_obj,_hold,_sfx] spawn
- {
- params ["_obj", "_hold","_sfx"];
-
- private _radius = missionNamespace getVariable "BNA_KC_vehicles_areaHealRadius_E";
- private _repairRate = missionNamespace getVariable "BNA_KC_vehicles_areaHealRate_E";
- private _repair = missionNamespace getVariable "BNA_KC_vehicles_healAmount_E";
- private _fuelDeduction = missionNamespace getVariable "BNA_KC_vehicles_fuelShieldConsumption_E";
- private _aceVehLoaded = isClass (configFile >> "CfgPatches" >> "ace_vehicles");
- private _fuel = fuel _obj;
-
- waitUntil
- {
- if (_obj getVariable "BNA_KC_vehicles_DeployModule" == false || isNull _obj || fuel _obj == 0) exitWith
- {
- detach _sfx;
- deleteVehicle _sfx;
- detach _obj;
- deleteVehicle _hold;
- _obj setVariable ["BNA_KC_vehicles_DeployModule",false,true];
- true;
- };
-
- private _isFriend = _obj call BIS_fnc_friendlySides;
- private _landVeh = [_obj,vehicles,_radius,{side _x in _isFriend && {alive _x}}] call CBA_fnc_getNearest;
- _fuel = _fuel - _fuelDeduction;
- _obj setFuel _fuel;
- sleep _repairRate;
-
- for "_i" from 0 to count _landVeh -1 do
- {
- _veh = _landVeh select _i;
- if (!alive _veh) exitWith {};
- _dmgVeh = damage _veh;
-
- if (_dmgVeh > 0) then
- {
- if (_aceVehLoaded) then
- {
- [_veh, (_dmgVeh - _repair)] call ace_repair_fnc_setDamage;
- }
- else
- {
- (getAllHitPointsDamage _veh) params [["_allHitPoints", []], ["_allHitPointsSelections", []], ["_allHitPointDamages", []]];
-
- _veh setDamage (_dmgVeh - _repair);
- {
- _veh setHitIndex [_forEachIndex, _x];
- } forEach _allHitPointDamages;
- };
- };
- };
- false;
- };
- };
- };
- case "undeploy":
- {
- playSound3D ["BNA_KC_Vehicle_Skills\data\audio\Undeploy.wss", _obj, false, getposASL _obj, 1];
- _obj setVariable ["BNA_KC_vehicles_DeployModule",false,true];
- };
-};
-
-
diff --git a/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_deploySquadShield.sqf b/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_deploySquadShield.sqf
deleted file mode 100644
index 27a47a85f..000000000
--- a/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_deploySquadShield.sqf
+++ /dev/null
@@ -1,107 +0,0 @@
-
-
-
-params
-[
- ["_obj", objNull, [objNull]],
- ["_mode", "deploy", [""]]
-];
-
-if (isGamePaused) then {continue};
-
-switch _mode do
-{
- case "deploy":
- {
- inGameUISetEventHandler ['Action',""];
- _obj setVariable ["BNA_KC_vehicles_DeploySquadShield",true,true];
- playSound3D ["BNA_KC_Vehicle_Skills\data\audio\Deploy.wss", _obj, false, getposASL _obj, 1];
- private _vD = vectorDir _obj;
- private _vU = vectorUp _obj;
- private _hold = "SquadShield" createVehicle getPos _obj;
- _hold setPosWorld getPosWorld _obj;
- [_hold,(_obj call CBA_fnc_realHeight) + 0.3,(_obj modelToWorld (getCenterOfMass _obj))] call BIS_fnc_setHeight;
- _hold setDir (getDir _obj);
- _hold setVectorDirAndUp [_vD,_vU];
-
- _obj attachTo [_hold];
-
- [_obj,_hold] spawn
- {
- params ["_obj", "_hold"];
-
-
- private _radius = missionNamespace getVariable "BNA_KC_vehicles_areaSquadShieldRadius_E";
- private _fuelDeduction = missionNamespace getVariable "BNA_KC_vehicles_fuelSquadShieldConsumption_E";
- private _aceMedLoaded = isClass (configFile >> "CfgPatches" >> "ace_medical_treatment");
- private _aceDmgDisabledObj = _obj getVariable ["BNA_KC_vehicles_DeploySquadShield_DisabledDmgACE", []];
- private _fuel = fuel _obj;
-
- waitUntil
- {
- if (_obj getVariable "BNA_KC_vehicles_DeploySquadShield" == false || isNull _obj || fuel _obj == 0) exitWith
- {
- {
- _x setVariable ["ace_medical_allowDamage", true];
- } forEach _aceDmgDisabledObj;
- detach _obj;
- deleteVehicle _hold;
- _obj setVariable ["BNA_KC_vehicles_DeploySquadShield_DisabledDmgACE",[],true];
- _obj setVariable ["BNA_KC_vehicles_DeploySquadShield",false,true];
- true;
- };
-
- private _isFriend = _obj call BIS_fnc_friendlySides;
- private _near = [_obj,allUnits,_radius,{side _x in _isFriend && {alive _x}}] call CBA_fnc_getNearest;
- _fuel = _fuel - _fuelDeduction;
- _obj setFuel _fuel;
- uiSleep 1;
-
- for "_i" from 0 to count _near -1 do
- {
- _unit = _near select _i;
-
- if (!alive _unit) exitWith {};
-
- if (_aceMedLoaded) then
- {
- if (_unit getVariable ["ace_medical_allowDamage", true]) then
- {
- _unit setVariable ["ace_medical_allowDamage", false];
-
- if !(_unit in _aceDmgDisabledObj) then
- {
- _aceDmgDisabledObj pushBack _unit;
- };
- };
- _unit setDamage 0;
- [_unit,_obj,_radius] spawn
- {
- params ["_unit","_obj","_radius"];
-
- sleep 1;
- _isNear = [_unit,[_obj],_radius] call CBA_fnc_getNearest;
- if (_isNear isEqualTo []) then
- {
- _unit setVariable ["ace_medical_allowDamage", true];
- };
- };
- }
- else
- {
- _unit setDamage 0;
- };
- };
-
- false;
- };
- };
- };
- case "undeploy":
- {
- playSound3D ["BNA_KC_Vehicle_Skills\data\audio\Undeploy.wss", _obj, false, getposASL _obj, 1];
- _obj setVariable ["BNA_KC_vehicles_DeploySquadShield",false,true];
- };
-};
-
-
diff --git a/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_deployVehShield.sqf b/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_deployVehShield.sqf
deleted file mode 100644
index 2dd3ed38c..000000000
--- a/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_deployVehShield.sqf
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-params
-[
- ["_obj", objNull, [objNull]],
- ["_mode", "deploy", [""]]
-];
-
-if (isGamePaused) then {continue};
-
-
-switch _mode do
-{
- case "deploy":
- {
- inGameUISetEventHandler ['Action',""];
- _obj setVariable ["BNA_KC_vehicles_DeployVehShield",true,true];
- playSound3D ["BNA_KC_Vehicle_Skills\data\audio\Deploy.wss", _obj, false, getposASL _obj, 1];
- private _vD = vectorDir _obj;
- private _vU = vectorUp _obj;
- private _hold = "Aux501_Weapons_Grenades_Special_Object_Trench_Shield" createVehicle getPos _obj;
- private _height = if (_obj isKindOf "3AS_Saber_01_Base") then {(_obj call CBA_fnc_realHeight) / 3} else {(_obj call CBA_fnc_realHeight) / 2};
- _hold setDir (getDir _obj);
- _hold setVectorDirAndUp [_vD,_vU];
- _hold setPosWorld getPosWorld _obj;
- [_hold,_height,(ATLToASL (_obj modelToWorld [0,1.5,0])),"ATL"] call BIS_fnc_setHeight;
-
- _hold attachTo [_obj];
- [_obj,_hold] spawn
- {
- params ["_obj", "_hold"];
-
- private _radius = missionNamespace getVariable "BNA_KC_vehicles_areaShieldRadius_E";
- private _fuelDeduction = missionNamespace getVariable "BNA_KC_vehicles_fuelShieldConsumption_E";
- private _aceMedLoaded = isClass (configFile >> "CfgPatches" >> "ace_medical_treatment");
- private _aceDmgDisabledObj = _obj getVariable ["BNA_KC_vehicles_DeployVehShield_DisabledDmgACE", []];
- private _fuel = fuel _obj;
-
- waitUntil
- {
- if (_obj getVariable "BNA_KC_vehicles_DeployVehShield" == false || isNull _obj || fuel _obj == 0) exitWith
- {
- {
- _x setVariable ["ace_medical_allowDamage", true];
- } forEach _aceDmgDisabledObj;
- detach _hold;
- deleteVehicle _hold;
- _obj setVariable ["BNA_KC_vehicles_DeployVehShield_DisabledDmgACE",[],true];
- _obj setVariable ["BNA_KC_vehicles_DeployVehShield",false,true];
- true;
- };
-
- private _isFriend = _obj call BIS_fnc_friendlySides;
- private _near = [_obj,allUnits,_radius,{side _x in _isFriend && {alive _x}}] call CBA_fnc_getNearest;
- _fuel = _fuel - _fuelDeduction;
- _obj setFuel _fuel;
- uiSleep 1;
-
- for "_i" from 0 to count _near -1 do
- {
- _unit = _near select _i;
-
- if (!alive _unit) exitWith {};
-
- if (_aceMedLoaded) then
- {
-
- if (_unit getVariable ["ace_medical_allowDamage", true]) then
- {
- _unit setVariable ["ace_medical_allowDamage", false];
-
- if !(_unit in _aceDmgDisabledObj) then
- {
- _aceDmgDisabledObj pushBack _unit;
- };
- };
- _unit setDamage 0;
- [_unit,_obj,_radius] spawn
- {
- params ["_unit","_obj","_radius"];
-
- sleep 1;
- _isNear = [_unit,[_obj],_radius] call CBA_fnc_getNearest;
- if (_isNear isEqualTo []) then
- {
- _unit setVariable ["ace_medical_allowDamage", true];
- };
- };
- }
- else
- {
- _unit setDamage 0;
- };
- };
-
- false;
- };
- };
- };
- case "undeploy":
- {
- playSound3D ["BNA_KC_Vehicle_Skills\data\audio\Undeploy.wss", _obj, false, getposASL _obj, 1];
- _obj setVariable ["BNA_KC_vehicles_DeployVehShield",false,true];
- };
-};
-
-
diff --git a/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_itemCheck.sqf b/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_itemCheck.sqf
deleted file mode 100644
index 57e57f0f6..000000000
--- a/addons/BNA_KC_Vehicle_Skills/functions/skills/fn_itemCheck.sqf
+++ /dev/null
@@ -1,72 +0,0 @@
-
-inGameUISetEventHandler
-['Action',
- '
- params ["_target", "_caller", "_index", "_engineName", "_text", "_priority", "_showWindow", "_hideOnUse", "_shortcut", "_visibleMenu", "_eventName"];
-
- call
- {
- if (_text == "Deploy Assault Shield" && _priority > 68) exitWith
- {
- _item = "BNA_Assault_Module";
- _hasItem = [_caller, _item] call BIS_fnc_hasItem;
- if !(_hasItem) exitWith
- {
- 6000 cutText ["You do not have Vehicle Skill: Assault","PLAIN DOWN",0];
- true;
- };
- [_target] call BNA_KC_vehicles_fnc_deployVehShield;
- false;
- };
- if (_text == "Deploy Squad Shield" && _priority > 68) exitWith
- {
- _item = "BNA_Shield_Module";
- _hasItem = [_caller, _item] call BIS_fnc_hasItem;
- if !(_hasItem) exitWith
- {
- 6000 cutText ["You do not have Vehicle Skill: Shield","PLAIN DOWN",0];
- true;
- };
- [_target] call BNA_KC_vehicles_fnc_deploySquadShield;
- false;
- };
- if (_text == "Deploy CCP Option" && _priority > 68) exitWith
- {
- _item = "BNA_Medical_Module";
- _hasItem = [_caller, _item] call BIS_fnc_hasItem;
- if !(_hasItem) exitWith
- {
- 6000 cutText ["You do not have Vehicle Skill: Medical","PLAIN DOWN",0];
- true;
- };
- [_target] call BNA_KC_vehicles_fnc_deployCCP;
- false;
- };
- if (_text == "Deploy Repair Module" && _priority > 68) exitWith
- {
- _item = "BNA_Repair_Module";
- _hasItem = [_caller, _item] call BIS_fnc_hasItem;
- if !(_hasItem) exitWith
- {
- 6000 cutText ["You do not have Vehicle Skill: Repair","PLAIN DOWN",0];
- true;
- };
- [_target] call BNA_KC_vehicles_fnc_deployModuleRepair;
- false;
- };
- if (_text == "Deploy Citadel Shield" && _priority > 68) exitWith
- {
- _item = "BNA_Citadel_Module";
- _hasItem = [_caller, _item] call BIS_fnc_hasItem;
- if !(_hasItem) exitWith
- {
- 6000 cutText ["You do not have Vehicle Skill: Citadel","PLAIN DOWN",0];
- true;
- };
- [_target] call BNA_KC_VEHICLES_fnc_deployCitadelShield;
- false;
- };
- };
-
- '
-];
diff --git a/addons/BNA_KC_Vehicle_Skills/functions/skills/scripts/XEH_preInit.sqf b/addons/BNA_KC_Vehicle_Skills/functions/skills/scripts/XEH_preInit.sqf
deleted file mode 100644
index 31d5226b6..000000000
--- a/addons/BNA_KC_Vehicle_Skills/functions/skills/scripts/XEH_preInit.sqf
+++ /dev/null
@@ -1,90 +0,0 @@
-//CCP
-[
- "BNA_KC_vehicles_areaHealRadius_M","SLIDER",
- ["Heal Units - Area of Effect", "Heal units within vehicle's radius."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 30, 15, 0]
-] call CBA_fnc_addSetting;
-[
- "BNA_KC_vehicles_areaHealRate_M","SLIDER",
- ["Heal Units - Time Delay", "Time Delay between heal."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 60, 0.5, 0]
-] call CBA_fnc_addSetting;
-[
- "BNA_KC_vehicles_healAmount_M","SLIDER",
- ["Heal Units - Amount", "Healing amount receives."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 1, 0.01, 1]
-] call CBA_fnc_addSetting;
-[
- "BNA_KC_vehicles_fuelHealConsumption_M","SLIDER",
- ["Heal Units - Fuel Consumption ", "Fuel consumption per heal."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 1, 0.001, 1]
-] call CBA_fnc_addSetting;
-
-
-//Repair Module
-[
- "BNA_KC_vehicles_areaHealRadius_E","SLIDER",
- ["Repair Vehicles - Area of Effect", "All vehicles within the vehicle's radius will get repaired."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 30, 20, 0]
-] call CBA_fnc_addSetting;
-
-//Repair Module
-[
- "BNA_KC_vehicles_areaHealRate_E","SLIDER",
- ["Repair Vehicles - Time Delay", "Seconds delay between repair."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 60, 2, 0]
-] call CBA_fnc_addSetting;
-[
- "BNA_KC_vehicles_healAmount_E","SLIDER",
- ["Repair Vehicles - Repair Amount", "Damage deduction per repair."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 1, 0.1, 1]
-] call CBA_fnc_addSetting;
-[
- "BNA_KC_vehicles_fuelRepairConsumption_E","SLIDER",
- ["Repair Vehicles - Fuel Consumption ", "Consumption of fuel between repairs."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 1, 0.001, 1]
-] call CBA_fnc_addSetting;
-
-
-//Assault Shield
-[
- "BNA_KC_vehicles_areaShieldRadius_E","SLIDER",
- ["Assault Shield - Area of Effect", "All units within the vehicle's radius will not received any damage."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 30, 15, 0]
-] call CBA_fnc_addSetting;
-[
- "BNA_KC_vehicles_fuelShieldConsumption_E","SLIDER",
- ["Assault Shield - Fuel Consumption", "Consumption of fuel per second."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 1, 0.001, 1]
-] call CBA_fnc_addSetting;
-
-//Squad Shield
-[
- "BNA_KC_vehicles_areaSquadShieldRadius_E","SLIDER",
- ["Squad Shield - Area of Effect", "All units within the vehicle's radius will not received any damage."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 30, 15, 0]
-] call CBA_fnc_addSetting;
-[
- "BNA_KC_vehicles_fuelSquadShieldConsumption_E","SLIDER",
- ["Squad Shield - Fuel Consumption", "Consumption of fuel per second."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 1, 0.001, 1]
-] call CBA_fnc_addSetting;
-//Citadel
-[
- "BNA_KC_vehicles_fuelCitadelConsumption","SLIDER",
- ["Citadel Shield - Fuel Consumption", "Consumption of fuel per second."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 1, 0.001, 1]
-] call CBA_fnc_addSetting;
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/land/gammoth/gammoth.hpp b/addons/BNA_KC_Vehicle_Skills/land/gammoth/gammoth.hpp
deleted file mode 100644
index 7d45d3c51..000000000
--- a/addons/BNA_KC_Vehicle_Skills/land/gammoth/gammoth.hpp
+++ /dev/null
@@ -1,226 +0,0 @@
-class BNA_KC_Gammoth_base;
-class BNA_KC_Gammoth_Transport: BNA_KC_Gammoth_base
-{
- hiddenSelections[] = {"Camo1","Camo2","Camo3"};
- hiddenSelectionsTextures[] =
- {
- "\ORA\BNA_KC\addons\vehicles\land\gammoth\data\textures\Body\Body_CamoKC_co.paa",
- "\ORA\BNA_KC\addons\vehicles\land\gammoth\data\textures\Body\Body2_CamoKC_co.paa",
- "\ORA\BNA_KC\addons\vehicles\land\gammoth\data\textures\Cargo\Cargo_CamoKC_co.paa"
- };
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeploySquadShield"", false,true];";
- };
- class UserActions
- {
- class DeploySquadShield
- {
- displayName = "Deploy Squad Shield";
- displayNameDefault = "
";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == false && fuel this != 0;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeploySquadShield"",true,true];playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Deploy.wss"", this]; this call BNA_KC_vehicles_fnc_deploySquadShield;";
- // statement = "[this] call BNA_KC_vehicles_fnc_deploySquadShield;";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeploySquadShield
- {
- displayName = "Undeploy Squad Shield";
- displayNameDefault = "";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == true;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeploySquadShield"",false,true];playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Undeploy.wss"", this];";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deploySquadShield;";
- };
- };
-};
-class BNA_KC_Gammoth_Covered: BNA_KC_Gammoth_base
-{
- hiddenSelections[] = {"Camo1","Camo2","Camo3","Camo4"};
- hiddenSelectionsTextures[] =
- {
- "\ORA\BNA_KC\addons\vehicles\land\gammoth\data\textures\Body\Body_CamoKC_co.paa",
- "\ORA\BNA_KC\addons\vehicles\land\gammoth\data\textures\Body\Body2_CamoKC_co.paa",
- "\ORA\BNA_KC\addons\vehicles\land\gammoth\data\textures\Cargo\Cargo_CamoKC_co.paa",
- "\ORA\BNA_KC\addons\vehicles\land\gammoth\data\textures\Covered\Covered_CamoKC_co.paa"
- };
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeploySquadShield"", false,true];";
- };
- class UserActions
- {
- class DeploySquadShield
- {
- displayName = "Deploy Squad Shield";
- displayNameDefault = "
";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == false && fuel this != 0;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeploySquadShield"",true,true];playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Deploy.wss"", this]; this call BNA_KC_vehicles_fnc_deploySquadShield;";
- // statement = "[this] call BNA_KC_vehicles_fnc_deploySquadShield;";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeploySquadShield
- {
- displayName = "Undeploy Squad Shield";
- displayNameDefault = "";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == true;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeploySquadShield"",false,true];playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Undeploy.wss"", this];";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deploySquadShield;";
- };
- };
-};
-class BNA_KC_Gammoth_Medical: BNA_KC_Gammoth_base
-{
- hiddenSelections[] = {"Camo1","Camo2","Camo3","Camo4"};
- hiddenSelectionsTextures[] =
- {
- "\ORA\BNA_KC\addons\vehicles\land\gammoth\data\textures\Body\Body_CamoKC_co.paa",
- "\ORA\BNA_KC\addons\vehicles\land\gammoth\data\textures\Body\Body2_CamoKC_co.paa",
- "\ORA\BNA_KC\addons\vehicles\land\gammoth\data\textures\Cargo\Cargo_CamoKC_co.paa",
- "\ORA\BNA_KC\addons\vehicles\land\gammoth\data\textures\Covered\Covered_CamoKC_co.paa"
- };
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployModule"", false,true];(_this # 0) setVariable [""BNA_KC_vehicles_DeployCCP"", false,true];";
- };
- class UserActions
- {
- class DeployCCP
- {
- displayName = "Deploy CCP Option";
- displayNameDefault = "
";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployCCP"" == false && fuel this != 0;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeployCCP"",true,true];playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Deploy.wss"", this]; this call BNA_KC_vehicles_fnc_deployCCP;";
- // statement = "[this] call BNA_KC_vehicles_fnc_deployCCP;";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeployCCP
- {
- displayName = "Undeploy CCP";
- displayNameDefault = "";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployCCP"" == true;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeployCCP"",false,true];playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Undeploy.wss"", this];";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deployCCP;";
- };
- class DeployModule
- {
- displayName = "Deploy Repair Module";
- displayNameDefault = "
";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployModule"" == false && fuel this != 0;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeployModule"",true,true];this call BNA_KC_vehicles_fnc_deployModuleRepair;";
- // statement = "[this] call BNA_KC_vehicles_fnc_deployModuleRepair;";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeployModule
- {
- displayName = "Undeploy Repair Module";
- displayNameDefault = "";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployModule"" == true;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeployModule"",false,true];";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deployModuleRepair;";
- };
- };
-};
-class BNA_KC_Gammoth_Repair: BNA_KC_Gammoth_base
-{
- hiddenSelections[] = {"Camo1","Camo2","Camo3"};
- hiddenSelectionsTextures[] =
- {
- "\ORA\BNA_KC\addons\vehicles\land\gammoth\data\textures\Body\Body_CamoKC_co.paa",
- "\ORA\BNA_KC\addons\vehicles\land\gammoth\data\textures\Body\Body2_CamoKC_co.paa",
- "\ORA\BNA_KC\addons\vehicles\land\gammoth\data\textures\Repair\Repair_CamoKC_co.paa"
- };
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployModule"", false,true];";
- };
- class UserActions
- {
- class DeployModule
- {
- displayName = "Deploy Repair Module";
- displayNameDefault = "
";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployModule"" == false && fuel this != 0;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeployModule"",true,true]; playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Deploy.wss"", this];this call BNA_KC_vehicles_fnc_deployModuleRepair;";
- // statement = "[this] call BNA_KC_vehicles_fnc_deployModuleRepair;";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeployModule
- {
- displayName = "Undeploy Repair Module";
- displayNameDefault = "";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployModule"" == true;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeployModule"",false,true];playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Undeploy.wss"", this];";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deployModuleRepair;";
- };
- };
-};
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/land/hermitaur/hermitaur.hpp b/addons/BNA_KC_Vehicle_Skills/land/hermitaur/hermitaur.hpp
deleted file mode 100644
index 1387adb2d..000000000
--- a/addons/BNA_KC_Vehicle_Skills/land/hermitaur/hermitaur.hpp
+++ /dev/null
@@ -1,149 +0,0 @@
-class 3AS_PX10_F;
-class BNA_KC_Hermitaur_Class_I: 3AS_PX10_F
-{
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeploySquadShield"", false,true];";
- };
- class UserActions
- {
- class DeploySquadShield
- {
- displayName = "Deploy Squad Shield";
- displayNameDefault = "
";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == false && fuel this != 0;";
- // statement = "[this] call BNA_KC_vehicles_fnc_deploySquadShield;";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeploySquadShield
- {
- displayName = "Undeploy Squad Shield";
- displayNameDefault = "";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == true;";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deploySquadShield;";
- };
- };
-};
-class BNA_KC_Hermitaur_Class_E: BNA_KC_Hermitaur_Class_I
-{
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployVehShield"", false,true];(_this # 0) setVariable [""BNA_KC_vehicles_DeployModule"", false,true];";
- };
- class UserActions
- {
- class DeployVehShield
- {
- displayName = "Deploy Assault Shield";
- displayNameDefault = "
";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployVehShield"" == false && fuel this != 0;";
- // statement = "[this] call BNA_KC_vehicles_fnc_deployVehShield;";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeployVehShield
- {
- displayName = "Undeploy Assault Shield";
- displayNameDefault = "";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployVehShield"" == true;";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deployVehShield;";
- };
- class DeployModule
- {
- displayName = "Deploy Repair Module";
- displayNameDefault = "
";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployModule"" == false && fuel this != 0;";
- // statement = "[this] call BNA_KC_vehicles_fnc_deployModuleRepair;";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeployModule
- {
- displayName = "Undeploy Repair Module";
- displayNameDefault = "";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployModule"" == true;";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deployModuleRepair;";
- };
- };
-};
-class BNA_KC_Hermitaur_Class_M: BNA_KC_Hermitaur_Class_I
-{
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployCCP"", false,true];";
- };
- class UserActions
- {
- class DeployCCP
- {
- displayName = "Deploy CCP Option";
- displayNameDefault = "
";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployCCP"" == false && fuel this != 0;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeployCCP"",true,true]; playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Deploy.wss"", this]; this call BNA_KC_vehicles_fnc_deployCCP;";
- // statement = "[this] call BNA_KC_vehicles_fnc_deployCCP;";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeployCCP
- {
- displayName = "Undeploy CCP";
- displayNameDefault = "";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployCCP"" == true;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeployCCP"",false,true]; playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Undeploy.wss"", this];";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deployCCP;";
- };
- };
-};
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/land/hydra/hydra.hpp b/addons/BNA_KC_Vehicle_Skills/land/hydra/hydra.hpp
deleted file mode 100644
index 28c74ac66..000000000
--- a/addons/BNA_KC_Vehicle_Skills/land/hydra/hydra.hpp
+++ /dev/null
@@ -1,40 +0,0 @@
-class O_APC_Wheeled_02_rcws_v2_F;
-class BNA_KC_Hydra: O_APC_Wheeled_02_rcws_v2_F
-{
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeploySquadShield"", false,true];";
- };
- class UserActions
- {
- class DeploySquadShield
- {
- displayName = "Deploy Squad Shield";
- displayNameDefault = "
";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == false && fuel this != 0;";
- // statement = "[this] call BNA_KC_vehicles_fnc_deploySquadShield;";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeploySquadShield
- {
- displayName = "Undeploy Squad Shield";
- displayNameDefault = "";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == true;";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deploySquadShield;";
- };
- };
-};
diff --git a/addons/BNA_KC_Vehicle_Skills/land/juggernaut/juggernaut.hpp b/addons/BNA_KC_Vehicle_Skills/land/juggernaut/juggernaut.hpp
deleted file mode 100644
index dd2eb6149..000000000
--- a/addons/BNA_KC_Vehicle_Skills/land/juggernaut/juggernaut.hpp
+++ /dev/null
@@ -1,39 +0,0 @@
-class 3AS_Jug;
-class BNA_KC_Juggernaut: 3AS_Jug
-{
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployCitadelShield"", false,true];";
- };
- class UserActions
- {
- class DeployCitadel
- {
- displayName = "Deploy Citadel Shield";
- displayNameDefault = "
";
- priority = 69;
- radius = 15;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployCitadelShield"" == false && fuel this != 0;";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeployCitadel
- {
- displayName = "Undeploy Citadel Shield";
- displayNameDefault = "";
- priority = 69;
- radius = 15;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployCitadelShield"" == true;";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deployCitadelShield;";
- };
- };
-};
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/land/khezu/khezu.hpp b/addons/BNA_KC_Vehicle_Skills/land/khezu/khezu.hpp
deleted file mode 100644
index 263606aa6..000000000
--- a/addons/BNA_KC_Vehicle_Skills/land/khezu/khezu.hpp
+++ /dev/null
@@ -1,81 +0,0 @@
-class B_UGV_01_F;
-class B_UGV_01_rcws_F;
-class BNA_KC_Khezu_Unarmed: B_UGV_01_F
-{
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployVehShield"", false,true];";
- };
- class UserActions
- {
- class DeployVehShield
- {
- displayName = "Deploy Assault Shield";
- displayNameDefault = "
";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployVehShield"" == false && fuel this != 0;";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeployVehShield
- {
- displayName = "Undeploy Assault Shield";
- displayNameDefault = "";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployVehShield"" == true;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeployVehShield"",false,true]; playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Undeploy.wss"", this];";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deployVehShield;";
- };
- };
-};
-class BNA_KC_Khezu_Armed: B_UGV_01_rcws_F
-{
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployVehShield"", false,true];";
- };
- class UserActions
- {
- class DeployVehShield
- {
- displayName = "Deploy Assault Shield";
- displayNameDefault = "
";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployVehShield"" == false && fuel this != 0;";
- // statement = "[this] call BNA_KC_vehicles_fnc_deployVehShield;";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeployVehShield
- {
- displayName = "Undeploy Assault Shield";
- displayNameDefault = "";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployVehShield"" == true;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeployVehShield"",false,true]; playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Undeploy.wss"", this];";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deployVehShield;";
- };
- };
-};
diff --git a/addons/BNA_KC_Vehicle_Skills/land/reek/reek.hpp b/addons/BNA_KC_Vehicle_Skills/land/reek/reek.hpp
deleted file mode 100644
index 67f844f9e..000000000
--- a/addons/BNA_KC_Vehicle_Skills/land/reek/reek.hpp
+++ /dev/null
@@ -1,42 +0,0 @@
-class B_APC_Wheeled_01_cannon_F;
-class BNA_KC_Reek: B_APC_Wheeled_01_cannon_F
-{
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeploySquadShield"", false,true];";
- };
- class UserActions
- {
- class DeploySquadShield
- {
- displayName = "Deploy Squad Shield";
- displayNameDefault = "
";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == false && fuel this != 0;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeploySquadShield"",true,true]; playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Deploy.wss"", this];this call BNA_KC_vehicles_fnc_deploySquadShield;";
- // statement = "[this] call BNA_KC_vehicles_fnc_deploySquadShield;";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- };
- class UnDeploySquadShield
- {
- displayName = "Undeploy Squad Shield";
- displayNameDefault = "";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == true;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeploySquadShield"",false,true]; playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Undeploy.wss"", this];";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deploySquadShield;";
- };
- };
-};
\ No newline at end of file
diff --git a/addons/BNA_KC_Vehicle_Skills/land/tx130/tx130.hpp b/addons/BNA_KC_Vehicle_Skills/land/tx130/tx130.hpp
deleted file mode 100644
index 382d6d698..000000000
--- a/addons/BNA_KC_Vehicle_Skills/land/tx130/tx130.hpp
+++ /dev/null
@@ -1,42 +0,0 @@
-class 3AS_Saber_M1Recon;
-class BNA_KC_TX130_M1_Recon: 3AS_Saber_M1Recon
-{
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployVehShield"", false,true];";
- };
- class UserActions
- {
- class DeployVehShield
- {
- displayName = "Deploy Assault Shield";
- displayNameDefault = "
";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployVehShield"" == false && fuel this != 0;";
- statement = "call BNA_KC_vehicles_fnc_itemCheck;";
- // statement = "[this] call BNA_KC_vehicles_fnc_deployVehShield;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeployVehShield"",true,true]; playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Deploy.wss"", this];this call BNA_KC_vehicles_fnc_deployVehShield;";
- };
- class UnDeployVehShield
- {
- displayName = "Undeploy Assault Shield";
- displayNameDefault = "";
- priority = 69;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployVehShield"" == true;";
- statement = "[this,'undeploy'] call BNA_KC_vehicles_fnc_deployVehShield;";
- // statement = "this setVariable [""BNA_KC_vehicles_DeployVehShield"",false,true]; playSound3D [""BNA_KC_Vehicle_Skills\data\audio\Undeploy.wss"", this];";
- };
- };
-};
diff --git a/addons/BNA_KC_Vehicle_Skills/sounds/sounds.hpp b/addons/BNA_KC_Vehicle_Skills/sounds/sounds.hpp
deleted file mode 100644
index 6827f59b5..000000000
--- a/addons/BNA_KC_Vehicle_Skills/sounds/sounds.hpp
+++ /dev/null
@@ -1,29 +0,0 @@
-class Sound;
-class BNA_KC_Sound_Deploy: Sound
-{
- author = "JRY";
- scope = 1;
- sound = "BNA_KC_SFX_Deploy";
- displayName = "Deploy SFX";
-};
-class BNA_KC_Sound_Undeploy: Sound
-{
- author = "JRY";
- scope = 1;
- sound = "BNA_KC_SFX_Undeploy";
- displayName = "Undeploy SFX";
-};
-class BNA_KC_Sound_HealLoop: Sound
-{
- author = "JRY";
- scope = 1;
- sound = "BNA_KC_SFX_HealLoop";
- displayName = "Heal SFX Loop";
-};
-class BNA_KC_Sound_RepairLoop: Sound
-{
- author = "JRY";
- scope = 1;
- sound = "BNA_KC_SFX_HealLoop";
- displayName = "Repair SFX Loop";
-};
\ No newline at end of file
diff --git a/addons/vehicles/CfgFunctions.hpp b/addons/vehicles/CfgFunctions.hpp
deleted file mode 100644
index bc628eeae..000000000
--- a/addons/vehicles/CfgFunctions.hpp
+++ /dev/null
@@ -1,32 +0,0 @@
-class CfgFunctions
-{
- class BNA_KC_vehicles
- {
- tag = "BNA_KC_vehicles";
-
- class VehicleSkills
- {
- file = "ORA\BNA_KC\addons\vehicles\functions\skills";
- class deployCCP
- {
- description = "Deploy CCP";
- };
- class deployVehShield
- {
- description = "Deploy Assault Vehicle Shield";
- };
- class deploySquadShield
- {
- description = "Deploy Squad Shield";
- };
- class deployModuleRepair
- {
- description = "Deploy Vehicle Repair";
- };
- class deployCitadelShield
- {
- description = "Deploy Citadel Shield";
- };
- };
- };
-};
\ No newline at end of file
diff --git a/addons/vehicles/config.cpp b/addons/vehicles/config.cpp
index 89616031b..680234bac 100644
--- a/addons/vehicles/config.cpp
+++ b/addons/vehicles/config.cpp
@@ -20,5 +20,4 @@ class CfgPatches {
#include "CfgVehicles.hpp"
#include "CfgEventHandlers.hpp"
-#include "CfgSounds.hpp"
-#include "CfgFunctions.hpp"
\ No newline at end of file
+#include "CfgSounds.hpp"
\ No newline at end of file
diff --git a/addons/vehicles/functions/skills/fn_deployCCP.sqf b/addons/vehicles/functions/skills/fn_deployCCP.sqf
deleted file mode 100644
index 771c53414..000000000
--- a/addons/vehicles/functions/skills/fn_deployCCP.sqf
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-params
-[
- ["_obj", objNull, [objNull]]
-];
-
-if (isGamePaused) then {continue};
-
-private _vD = vectorDir _obj;
-private _vU = vectorUp _obj;
-private _hold = "Land_HelipadEmpty_F" createVehicle getPos _obj;
-_hold setPosWorld getPosWorld _obj;
-_hold setDir (getDir _obj);
-_hold setVectorDirAndUp [_vD,_vU];
-_obj attachTo [_hold];
-[_obj,_hold] spawn
-{
-
- params ["_obj", "_hold"];
-
- private _radius = missionNamespace getVariable "BNA_KC_vehicles_areaHealRadius_M";
- private _rate = missionNamespace getVariable "BNA_KC_vehicles_areaHealRate_M";
- private _healAmount = missionNamespace getVariable "BNA_KC_vehicles_healAmount_M";
- private _fuelDeduction = missionNamespace getVariable "BNA_KC_vehicles_fuelHealConsumption_M";
- private _aceMedLoaded = isClass (configFile >> "CfgPatches" >> "ace_medical_treatment");
- private _fuel = fuel _obj;
-
- waitUntil
- {
- if (_obj getVariable "BNA_KC_vehicles_DeployCCP" == false || isNull _obj || fuel _obj == 0) exitWith
- {
- _obj setVariable ["BNA_KC_vehicles_DeployCCP",false,true];
- detach _obj;
- deleteVehicle _hold;
- true;
- };
-
- private _isFriend = _obj call BIS_fnc_friendlySides;
- private _near = [_obj,allUnits,_radius,{side _x in _isFriend && {alive _x}}] call CBA_fnc_getNearest;
- _fuel = _fuel - _fuelDeduction;
- _obj setFuel _fuel;
- sleep _rate;
-
- for "_i" from 0 to count _near -1 do
- {
- _unit = _near select _i;
- if (!alive _unit) exitWith {};
- _dmg = damage _unit;
-
-
- if (_aceMedLoaded) then
- {
- [_unit] call ace_medical_treatment_fnc_fullheallocal;
- if (_dmg > 0) then
- {
- if (isNull objectParent _unit) then
- {
- _unit setDamage (_dmg - _healAmount);
- }
- else
- {
- _unit setDamage (_dmg - (_healAmount / 2));
- };
- };
- }
- else
- {
- if (_dmg > 0) then
- {
- if (isNull objectParent _unit) then
- {
- _unit setDamage (_dmg - _healAmount);
- }
- else
- {
- _unit setDamage (_dmg - (_healAmount / 2));
- };
- };
- };
- };
- false;
- };
-};
\ No newline at end of file
diff --git a/addons/vehicles/functions/skills/fn_deployCitadelShield.sqf b/addons/vehicles/functions/skills/fn_deployCitadelShield.sqf
deleted file mode 100644
index 67191171b..000000000
--- a/addons/vehicles/functions/skills/fn_deployCitadelShield.sqf
+++ /dev/null
@@ -1,39 +0,0 @@
-
-params
-[
- ["_obj", objNull, [objNull]]
-];
-
-if (isGamePaused) then {continue};
-
-private _vD = vectorDir _obj;
-private _vU = vectorUp _obj;
-private _hold = "3AS_ShieldTank_Shield" createVehicle getPos _obj;
-_hold setPosWorld getPosWorld _obj;
-_hold setDir (getDir _obj);
-_hold setVectorDirAndUp [_vD,_vU];
-_obj attachTo [_hold];
-
-[_obj,_hold] spawn
-{
- params ["_obj", "_hold"];
-
- private _fuelDeduction = missionNamespace getVariable "BNA_KC_vehicles_fuelCitadelConsumption";
- private _fuel = fuel _obj;
-
- waitUntil
- {
- if (_obj getVariable "BNA_KC_vehicles_DeployCitadelShield" == false || isNull _obj || fuel _obj == 0) exitWith
- {
- _obj setVariable ["BNA_KC_vehicles_DeployCitadelShield",false,true];
- detach _obj;
- deleteVehicle _hold;
- true;
- };
-
- _fuel = _fuel - _fuelDeduction;
- _obj setFuel _fuel;
- sleep 1;
- false;
- };
-};
diff --git a/addons/vehicles/functions/skills/fn_deployModuleRepair.sqf b/addons/vehicles/functions/skills/fn_deployModuleRepair.sqf
deleted file mode 100644
index 4a45fd3d1..000000000
--- a/addons/vehicles/functions/skills/fn_deployModuleRepair.sqf
+++ /dev/null
@@ -1,63 +0,0 @@
-
-
-
-params
-[
- ["_obj", objNull, [objNull]]
-];
-
-if (isGamePaused) then {continue};
-
-_obj spawn
-{
- params ["_obj"];
-
-
- private _radius = missionNamespace getVariable "BNA_KC_vehicles_areaHealRadius_E";
- private _repairRate = missionNamespace getVariable "BNA_KC_vehicles_areaHealRate_E";
- private _repair = missionNamespace getVariable "BNA_KC_vehicles_healAmount_E";
- private _fuelDeduction = missionNamespace getVariable "BNA_KC_vehicles_fuelShieldConsumption_E";
- private _aceVehLoaded = isClass (configFile >> "CfgPatches" >> "ace_vehicles");
- private _fuel = fuel _obj;
-
- waitUntil
- {
- if (_obj getVariable "BNA_KC_vehicles_DeployModule" == false || isNull _obj || fuel _obj == 0) exitWith
- {
- _obj setVariable ["BNA_KC_vehicles_DeployModule",false,true];
- true;
- };
-
- private _isFriend = _obj call BIS_fnc_friendlySides;
- private _landVeh = [_obj,vehicles,_radius,{side _x in _isFriend && {alive _x}}] call CBA_fnc_getNearest;
- _fuel = _fuel - _fuelDeduction;
- _obj setFuel _fuel;
- sleep _repairRate;
-
- for "_i" from 0 to count _landVeh -1 do
- {
- _veh = _landVeh select _i;
- if (!alive _veh) exitWith {};
- _dmgVeh = damage _veh;
-
- if (_dmgVeh > 0) then
- {
- if (_aceVehLoaded) then
- {
- [_veh, (_dmgVeh - _repair)] call ace_repair_fnc_setDamage;
- }
- else
- {
- (getAllHitPointsDamage _veh) params [["_allHitPoints", []], ["_allHitPointsSelections", []], ["_allHitPointDamages", []]];
-
- _veh setDamage (_dmgVeh - _repair);
- {
- _veh setHitIndex [_forEachIndex, _x];
- } forEach _allHitPointDamages;
- };
- };
- };
- false;
- };
-
-};
diff --git a/addons/vehicles/functions/skills/fn_deploySquadShield.sqf b/addons/vehicles/functions/skills/fn_deploySquadShield.sqf
deleted file mode 100644
index fcf58bc23..000000000
--- a/addons/vehicles/functions/skills/fn_deploySquadShield.sqf
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-params
-[
- ["_obj", objNull, [objNull]]
-];
-
-if (isGamePaused) then {continue};
-
-private _vD = vectorDir _obj;
-private _vU = vectorUp _obj;
-private _hold = "SquadShield" createVehicle getPos _obj;
-_hold setPosWorld getPosWorld _obj;
-_hold setDir (getDir _obj);
-_hold setVectorDirAndUp [_vD,_vU];
-_obj attachTo [_hold];
-
-[_obj,_hold] spawn
-{
- params ["_obj", "_hold"];
-
-
- private _radius = missionNamespace getVariable "BNA_KC_vehicles_areaSquadShieldRadius_E";
- private _fuelDeduction = missionNamespace getVariable "BNA_KC_vehicles_fuelSquadShieldConsumption_E";
- private _aceMedLoaded = isClass (configFile >> "CfgPatches" >> "ace_medical_treatment");
- private _aceDmgDisabledObj = _obj getVariable ["BNA_KC_vehicles_DeploySquadShield_DisabledDmgACE", []];
- private _fuel = fuel _obj;
-
- waitUntil
- {
- if (_obj getVariable "BNA_KC_vehicles_DeploySquadShield" == false || isNull _obj || fuel _obj == 0) exitWith
- {
-
- {
- _x setVariable ["ace_medical_allowDamage", true];
- } forEach _aceDmgDisabledObj;
- _obj setVariable ["BNA_KC_vehicles_DeploySquadShield_DisabledDmgACE",[],true];
- _obj setVariable ["BNA_KC_vehicles_DeploySquadShield",false,true];
- detach _obj;
- deleteVehicle _hold;
- true;
- };
-
- private _isFriend = _obj call BIS_fnc_friendlySides;
- private _near = [_obj,allUnits,_radius,{side _x in _isFriend && {alive _x}}] call CBA_fnc_getNearest;
- _fuel = _fuel - _fuelDeduction;
- _obj setFuel _fuel;
- uiSleep 1;
-
- for "_i" from 0 to count _near -1 do
- {
- _unit = _near select _i;
-
- if (!alive _unit) exitWith {};
-
- if (_aceMedLoaded) then
- {
- if (_unit getVariable ["ace_medical_allowDamage", true]) then
- {
- _unit setVariable ["ace_medical_allowDamage", false];
-
- if !(_unit in _aceDmgDisabledObj) then
- {
- _aceDmgDisabledObj pushBack _unit;
- };
- };
- _unit setDamage 0;
- [_unit,_obj,_radius] spawn
- {
- params ["_unit","_obj","_radius"];
-
- sleep 1;
- _isNear = [_unit,[_obj],_radius] call CBA_fnc_getNearest;
- if (_isNear isEqualTo []) then
- {
- _unit setVariable ["ace_medical_allowDamage", true];
- };
- };
- }
- else
- {
- _unit setDamage 0;
- };
- };
-
- false;
- };
-};
diff --git a/addons/vehicles/functions/skills/fn_deployVehShield.sqf b/addons/vehicles/functions/skills/fn_deployVehShield.sqf
deleted file mode 100644
index f93102906..000000000
--- a/addons/vehicles/functions/skills/fn_deployVehShield.sqf
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-params
-[
- ["_obj", objNull, [objNull]]
-];
-
-if (isGamePaused) then {continue};
-
-private _vD = vectorDir _obj;
-private _vU = vectorUp _obj;
-private _hold = "Aux501_Weapons_Grenades_Special_Object_Trench_Shield" createVehicle getPos _obj;
-_hold setPosWorld (ATLToASL (_obj modelToWorld [0,1,1]));
-_hold setDir (getDir _obj);
-_hold setVectorDirAndUp [_vD,_vU];
-_hold attachTo [_obj];
-
-
-[_obj,_hold] spawn
-{
- params ["_obj", "_hold"];
-
-
- private _radius = missionNamespace getVariable "BNA_KC_vehicles_areaShieldRadius_E";
- private _fuelDeduction = missionNamespace getVariable "BNA_KC_vehicles_fuelShieldConsumption_E";
- private _aceMedLoaded = isClass (configFile >> "CfgPatches" >> "ace_medical_treatment");
- private _aceDmgDisabledObj = _obj getVariable ["BNA_KC_vehicles_DeployVehShield_DisabledDmgACE", []];
- private _fuel = fuel _obj;
-
- waitUntil
- {
- if (_obj getVariable "BNA_KC_vehicles_DeployVehShield" == false || isNull _obj || fuel _obj == 0) exitWith
- {
- {
- _x setVariable ["ace_medical_allowDamage", true];
- } forEach _aceDmgDisabledObj;
- _obj setVariable ["BNA_KC_vehicles_DeployVehShield_DisabledDmgACE",[],true];
- _obj setVariable ["BNA_KC_vehicles_DeployVehShield",false,true];
- detach _hold;
- deleteVehicle _hold;
- true;
- };
-
- private _isFriend = _obj call BIS_fnc_friendlySides;
- private _near = [_obj,allUnits,_radius,{side _x in _isFriend && {alive _x}}] call CBA_fnc_getNearest;
- _fuel = _fuel - _fuelDeduction;
- _obj setFuel _fuel;
- uiSleep 1;
-
- for "_i" from 0 to count _near -1 do
- {
- _unit = _near select _i;
-
- if (!alive _unit) exitWith {};
-
- if (_aceMedLoaded) then
- {
-
- if (_unit getVariable ["ace_medical_allowDamage", true]) then
- {
- _unit setVariable ["ace_medical_allowDamage", false];
-
- if !(_unit in _aceDmgDisabledObj) then
- {
- _aceDmgDisabledObj pushBack _unit;
- };
- };
- _unit setDamage 0;
- [_unit,_obj,_radius] spawn
- {
- params ["_unit","_obj","_radius"];
-
- sleep 1;
- _isNear = [_unit,[_obj],_radius] call CBA_fnc_getNearest;
- if (_isNear isEqualTo []) then
- {
- _unit setVariable ["ace_medical_allowDamage", true];
- };
- };
- }
- else
- {
- _unit setDamage 0;
- };
- };
-
- false;
- };
-};
diff --git a/addons/vehicles/functions/skills/scripts/XEH_preInit.sqf b/addons/vehicles/functions/skills/scripts/XEH_preInit.sqf
deleted file mode 100644
index fac549d6d..000000000
--- a/addons/vehicles/functions/skills/scripts/XEH_preInit.sqf
+++ /dev/null
@@ -1,90 +0,0 @@
-//CCP
-[
- "BNA_KC_vehicles_areaHealRadius_M","SLIDER",
- ["Heal Units - Area of Effect", "Heal units within vehicle's radius."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 30, 15, 0]
-] call CBA_fnc_addSetting;
-[
- "BNA_KC_vehicles_areaHealRate_M","SLIDER",
- ["Heal Units - Time Delay", "Time Delay between heal."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 60, 0.5, 0]
-] call CBA_fnc_addSetting;
-[
- "BNA_KC_vehicles_healAmount_M","SLIDER",
- ["Heal Units - Amount", "Healing amount receives."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 1, 0.01, 1]
-] call CBA_fnc_addSetting;
-[
- "BNA_KC_vehicles_fuelHealConsumption_M","SLIDER",
- ["Heal Units - Fuel Consumption ", "Fuel consumption per heal."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 1, 0.001, 1]
-] call CBA_fnc_addSetting;
-
-
-//Repair Module
-[
- "BNA_KC_vehicles_areaHealRadius_E","SLIDER",
- ["Repair Vehicles - Area of Effect", "All vehicles within the vehicle's radius will get repaired."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 30, 20, 0]
-] call CBA_fnc_addSetting;
-
-//Repair Module
-[
- "BNA_KC_vehicles_areaHealRate_E","SLIDER",
- ["Repair Vehicles - Time Delay", "Seconds delay between repair."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 60, 2, 0]
-] call CBA_fnc_addSetting;
-[
- "BNA_KC_vehicles_healAmount_E","SLIDER",
- ["Repair Vehicles - Amount", "Damage deduction per repair."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 1, 0.1, 1]
-] call CBA_fnc_addSetting;
-[
- "BNA_KC_vehicles_fuelRepairConsumption_E","SLIDER",
- ["Repair Vehicles - Fuel Consumption ", "Consumption of fuel between repairs."],
- ["Keeli Company Auxillary Mod", "Vehicles"],
- [0, 1, 0.001, 1]
-] call CBA_fnc_addSetting;
-
-
-//Assault Shield
-[
- "BNA_KC_vehicles_areaShieldRadius_E","SLIDER",
- ["Assault Shield - Area of Effect", "All units within the vehicle's radius will not received any damage."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 30, 15, 0]
-] call CBA_fnc_addSetting;
-[
- "BNA_KC_vehicles_fuelShieldConsumption_E","SLIDER",
- ["Assault Shield - Fuel Consumption", "Consumption of fuel per second."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 1, 0.001, 1]
-] call CBA_fnc_addSetting;
-
-//Squad Shield
-[
- "BNA_KC_vehicles_areaSquadShieldRadius_E","SLIDER",
- ["Squad Shield - Area of Effect", "All units within the vehicle's radius will not received any damage."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 30, 15, 0]
-] call CBA_fnc_addSetting;
-[
- "BNA_KC_vehicles_fuelSquadShieldConsumption_E","SLIDER",
- ["Squad Shield - Fuel Consumption", "Consumption of fuel per second."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 1, 0.001, 1]
-] call CBA_fnc_addSetting;
-//Citadel
-[
- "BNA_KC_vehicles_fuelCitadelConsumption","SLIDER",
- ["Citadel Shield - Fuel Consumption", "Consumption of fuel per second."],
- ["Keeli Company Auxillary Mod", "Vehicle Skills"],
- [0, 1, 0.001, 1]
-] call CBA_fnc_addSetting;
\ No newline at end of file
diff --git a/addons/vehicles/land/gammoth/CfgVehicles.hpp b/addons/vehicles/land/gammoth/CfgVehicles.hpp
index a768d4b16..d4db23c44 100644
--- a/addons/vehicles/land/gammoth/CfgVehicles.hpp
+++ b/addons/vehicles/land/gammoth/CfgVehicles.hpp
@@ -58,41 +58,8 @@ class CfgVehicles {
editorPreview = EEDITOR_PREVIEW(vehicles\land\gammoth,Gammoth_Transport);
INVENTORY_VEHICLE_GAMTRANS(2);
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeploySquadShield"", false,true];";
- };
- class UserActions
- {
- class DeploySquadShield
- {
- displayName = "Deploy Squad Shield";
- displayNameDefault = "
";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == false && fuel this != 0;";
- statement = "this setVariable [""BNA_KC_vehicles_DeploySquadShield"",true,true];this call BNA_KC_vehicles_fnc_deploySquadShield;";
- };
- class UnDeploySquadShield
- {
- displayName = "Undeploy Squad Shield";
- displayNameDefault = "";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == true;";
- statement = "this setVariable [""BNA_KC_vehicles_DeploySquadShield"",false,true];";
- };
- };
+
+
};
class CLASS(Gammoth_Covered): CLASS(Gammoth_base) {
@@ -134,41 +101,6 @@ class CfgVehicles {
};
INVENTORY_VEHICLE_GAMTRANS(2);
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeploySquadShield"", false,true];";
- };
- class UserActions
- {
- class DeploySquadShield
- {
- displayName = "Deploy Squad Shield";
- displayNameDefault = "
";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == false && fuel this != 0;";
- statement = "this setVariable [""BNA_KC_vehicles_DeploySquadShield"",true,true];this call BNA_KC_vehicles_fnc_deploySquadShield;";
- };
- class UnDeploySquadShield
- {
- displayName = "Undeploy Squad Shield";
- displayNameDefault = "";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == true;";
- statement = "this setVariable [""BNA_KC_vehicles_DeploySquadShield"",false,true];";
- };
- };
};
class CLASS(Gammoth_Ammo): CLASS(Gammoth_base) {
@@ -235,10 +167,6 @@ class CfgVehicles {
vehicleClass = "Support";
attendant = 1;
threat[] = {0, 0, 0};
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployModule"", false,true];";
- };
class UserActions {
class DeployCCP {
displayName = "Deploy CCP";
@@ -257,34 +185,6 @@ class CfgVehicles {
condition = QUOTE([ARR_2(this,ace_player)] call FUNC(canUndeployCCP));
statement = QUOTE([ARR_2(this,ace_player)] call FUNC(undeployCCP));
};
- class DeployModule
- {
- displayName = "Deploy Repair Module";
- displayNameDefault = "
";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployModule"" == false && fuel this != 0;";
- statement = "this setVariable [""BNA_KC_vehicles_DeployModule"",true,true];this call BNA_KC_vehicles_fnc_deployModuleRepair;";
- };
- class UnDeployModule
- {
- displayName = "Undeploy Repair Module";
- displayNameDefault = "";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployModule"" == true;";
- statement = "this setVariable [""BNA_KC_vehicles_DeployModule"",false,true];";
- };
};
model = "\A3\Soft_F_EPC\Truck_03\Truck_03_medevac_F.p3d";
@@ -362,41 +262,6 @@ class CfgVehicles {
};
};
};
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployModule"", false,true];";
- };
- class UserActions
- {
- class DeployModule
- {
- displayName = "Deploy Repair Module";
- displayNameDefault = "
";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployModule"" == false && fuel this != 0;";
- statement = "this setVariable [""BNA_KC_vehicles_DeployModule"",true,true];this call BNA_KC_vehicles_fnc_deployModuleRepair;";
- };
- class UnDeployModule
- {
- displayName = "Undeploy Repair Module";
- displayNameDefault = "";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployModule"" == true;";
- statement = "this setVariable [""BNA_KC_vehicles_DeployModule"",false,true];";
- };
- };
};
class CLASS(Gammoth_Refuel): CLASS(Gammoth_base) {
diff --git a/addons/vehicles/land/hermitaur/CfgVehicles.hpp b/addons/vehicles/land/hermitaur/CfgVehicles.hpp
index 92a16cccb..c7465d653 100644
--- a/addons/vehicles/land/hermitaur/CfgVehicles.hpp
+++ b/addons/vehicles/land/hermitaur/CfgVehicles.hpp
@@ -121,41 +121,6 @@ class CfgVehicles {
class CargoTurret_03: CargoTurret_03 {};
class CargoTurret_04: CargoTurret_04 {};
};
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeploySquadShield"", false,true];";
- };
- class UserActions
- {
- class DeploySquadShield
- {
- displayName = "Deploy Squad Shield";
- displayNameDefault = "
";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == false && fuel this != 0;";
- statement = "this setVariable [""BNA_KC_vehicles_DeploySquadShield"",true,true];this call BNA_KC_vehicles_fnc_deploySquadShield;";
- };
- class UnDeploySquadShield
- {
- displayName = "Undeploy Squad Shield";
- displayNameDefault = "";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == true;";
- statement = "this setVariable [""BNA_KC_vehicles_DeploySquadShield"",false,true];";
- };
- };
};
class CLASS(Hermitaur_Class_E): CLASS(Hermitaur_Class_I) {
@@ -255,69 +220,6 @@ class CfgVehicles {
model = "3as\3AS_Rebel_Armor\PX10_Cav\model\3AS_PX10.p3d";
picture = "3as\3AS_Rebel_Armor\PX10_Cav\data\ui\px10cav_side_ca.paa";
icon = "3as\3AS_Rebel_Armor\PX10_Cav\data\ui\px10cav_top_ca.paa";
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployVehShield"", false,true];(_this # 0) setVariable [""BNA_KC_vehicles_DeployModule"", false,true];";
- };
- class UserActions
- {
- class DeployVehShield
- {
- displayName = "Deploy Assault Shield";
- displayNameDefault = "
";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployVehShield"" == false && fuel this != 0;";
- statement = "this setVariable [""BNA_KC_vehicles_DeployVehShield"",true,true];this call BNA_KC_vehicles_fnc_deployVehShield;";
- };
- class UnDeployVehShield
- {
- displayName = "Undeploy Assault Shield";
- displayNameDefault = "";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployVehShield"" == true;";
- statement = "this setVariable [""BNA_KC_vehicles_DeployVehShield"",false,true];";
- };
- class DeployModule
- {
- displayName = "Deploy Repair Module";
- displayNameDefault = "
";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployModule"" == false && fuel this != 0;";
- statement = "this setVariable [""BNA_KC_vehicles_DeployModule"",true,true];this call BNA_KC_vehicles_fnc_deployModuleRepair;";
- };
- class UnDeployModule
- {
- displayName = "Undeploy Repair Module";
- displayNameDefault = "";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployModule"" == true;";
- statement = "this setVariable [""BNA_KC_vehicles_DeployModule"",false,true];";
- };
- };
};
class CLASS(Hermitaur_Class_M): CLASS(Hermitaur_Class_I) {
diff --git a/addons/vehicles/land/hydra/CfgVehicles.hpp b/addons/vehicles/land/hydra/CfgVehicles.hpp
index 0a9bc5a4e..c423848a5 100644
--- a/addons/vehicles/land/hydra/CfgVehicles.hpp
+++ b/addons/vehicles/land/hydra/CfgVehicles.hpp
@@ -101,10 +101,6 @@ class CfgVehicles {
};
};
};
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeploySquadShield"", false,true];";
- };
class UserActions {
class ActivateEMP {
displayName = "Activate EMP";
@@ -120,34 +116,6 @@ class CfgVehicles {
condition = QUOTE(ace_player isEqualTo currentPilot this and this call EFUNC(weapons,canUseVehicleEMP););
statement = QUOTE(this call EFUNC(weapons,useVehicleEMP););
};
- class DeploySquadShield
- {
- displayName = "Deploy Squad Shield";
- displayNameDefault = "
";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == false && fuel this != 0;";
- statement = "this setVariable [""BNA_KC_vehicles_DeploySquadShield"",true,true];this call BNA_KC_vehicles_fnc_deploySquadShield;";
- };
- class UnDeploySquadShield
- {
- displayName = "Undeploy Squad Shield";
- displayNameDefault = "";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == true;";
- statement = "this setVariable [""BNA_KC_vehicles_DeploySquadShield"",false,true];";
- };
};
class ACE_SelfActions: ACE_SelfActions {
diff --git a/addons/vehicles/land/juggernaut/CfgVehicles.hpp b/addons/vehicles/land/juggernaut/CfgVehicles.hpp
index 3dd83b639..ccd1bd427 100644
--- a/addons/vehicles/land/juggernaut/CfgVehicles.hpp
+++ b/addons/vehicles/land/juggernaut/CfgVehicles.hpp
@@ -122,10 +122,6 @@ class CfgVehicles {
class ACE_SelfActions: ACE_SelfActions {
AI_CREW_SPAWNER;
};
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployCitadelShield"", false,true];";
- };
class UserActions: UserActions {
class Crow_Nest_Up: Crow_Nest_Up {
condition = QUOTE(this animationSourcePhase 'crownest' == 0 and alive this and ace_player == this turretUnit [4]);
@@ -139,34 +135,6 @@ class CfgVehicles {
class Close_Rockets: Close_Rockets {
condition = QUOTE(this animationSourcePhase 'rocket_move' == 0 and alive this and ace_player == this turretUnit [3]);
};
- class DeployCitadel
- {
- displayName = "Deploy Citadel Shield";
- displayNameDefault = "
";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployCitadelShield"" == false && fuel this != 0;";
- statement = "this setVariable [""BNA_KC_vehicles_DeployCitadelShield"",true,true]; this call BNA_KC_vehicles_fnc_deployCitadelShield;";
- };
- class UnDeployCitadel
- {
- displayName = "Undeploy Citadel Shield";
- displayNameDefault = "";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployCitadelShield"" == true;";
- statement = "this setVariable [""BNA_KC_vehicles_DeployCitadelShield"",false,true];";
- };
};
INVENTORY_VEHICLE_BASE(5);
diff --git a/addons/vehicles/land/khezu/CfgVehicles.hpp b/addons/vehicles/land/khezu/CfgVehicles.hpp
index 68c4f4c49..d37991d44 100644
--- a/addons/vehicles/land/khezu/CfgVehicles.hpp
+++ b/addons/vehicles/land/khezu/CfgVehicles.hpp
@@ -150,41 +150,6 @@ class CfgVehicles {
name = "wheel_2_3";
};
};
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployVehShield"", false,true];";
- };
- class UserActions
- {
- class DeployVehShield
- {
- displayName = "Deploy Assault Shield";
- displayNameDefault = "
";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployVehShield"" == false && fuel this != 0;";
- statement = "this setVariable [""BNA_KC_vehicles_DeployVehShield"",true,true];this call BNA_KC_vehicles_fnc_deployVehShield;";
- };
- class UnDeployVehShield
- {
- displayName = "Undeploy Assault Shield";
- displayNameDefault = "";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployVehShield"" == true;";
- statement = "this setVariable [""BNA_KC_vehicles_DeployVehShield"",false,true];";
- };
- };
};
class UGV_01_rcws_base_F: UGV_01_base_F {
@@ -351,40 +316,5 @@ class CfgVehicles {
weapon = QCLASS(Coax_Reek);
};
};
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployVehShield"", false,true];";
- };
- class UserActions
- {
- class DeployVehShield
- {
- displayName = "Deploy Assault Shield";
- displayNameDefault = "
";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployVehShield"" == false && fuel this != 0;";
- statement = "this setVariable [""BNA_KC_vehicles_DeployVehShield"",true,true];this call BNA_KC_vehicles_fnc_deployVehShield;";
- };
- class UnDeployVehShield
- {
- displayName = "Undeploy Assault Shield";
- displayNameDefault = "";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployVehShield"" == true;";
- statement = "this setVariable [""BNA_KC_vehicles_DeployVehShield"",false,true];";
- };
- };
};
};
\ No newline at end of file
diff --git a/addons/vehicles/land/reek/CfgVehicles.hpp b/addons/vehicles/land/reek/CfgVehicles.hpp
index 11ddbbaa4..33938367b 100644
--- a/addons/vehicles/land/reek/CfgVehicles.hpp
+++ b/addons/vehicles/land/reek/CfgVehicles.hpp
@@ -201,41 +201,6 @@ class CfgVehicles {
};
INVENTORY_VEHICLE_BASE(3);
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeploySquadShield"", false,true];";
- };
- class UserActions
- {
- class DeploySquadShield
- {
- displayName = "Deploy Squad Shield";
- displayNameDefault = "
";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == false && fuel this != 0;";
- statement = "this setVariable [""BNA_KC_vehicles_DeploySquadShield"",true,true];this call BNA_KC_vehicles_fnc_deploySquadShield;";
- };
- class UnDeploySquadShield
- {
- displayName = "Undeploy Squad Shield";
- displayNameDefault = "";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeploySquadShield"" == true;";
- statement = "this setVariable [""BNA_KC_vehicles_DeploySquadShield"",false,true];";
- };
- };
};
class CLASS(APC_Reek): CLASS(Reek) {
diff --git a/addons/vehicles/land/tx130/CfgVehicles.hpp b/addons/vehicles/land/tx130/CfgVehicles.hpp
index 9dd832406..06299d279 100644
--- a/addons/vehicles/land/tx130/CfgVehicles.hpp
+++ b/addons/vehicles/land/tx130/CfgVehicles.hpp
@@ -166,41 +166,6 @@ class CfgVehicles {
class ACE_SelfActions: ACE_SelfActions {
AI_CREW_SPAWNER;
};
- class EventHandlers
- {
- init = "(_this # 0) setVariable [""BNA_KC_vehicles_DeployVehShield"", false,true];";
- };
- class UserActions
- {
- class DeployVehShield
- {
- displayName = "Deploy Assault Shield";
- displayNameDefault = "
";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 1;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployVehShield"" == false && fuel this != 0;";
- statement = "this setVariable [""BNA_KC_vehicles_DeployVehShield"",true,true];this call BNA_KC_vehicles_fnc_deployVehShield;";
- };
- class UnDeployVehShield
- {
- displayName = "Undeploy Assault Shield";
- displayNameDefault = "";
- priority = 10;
- radius = 10;
- position = "camera";
- showWindow = 0;
- hideOnUse = 1;
- onlyForPlayer = 0;
- shortcut = "";
- condition = "this getVariable ""BNA_KC_vehicles_DeployVehShield"" == true;";
- statement = "this setVariable [""BNA_KC_vehicles_DeployVehShield"",false,true];";
- };
- };
};
class 3AS_Saber_02_Base;