From 8cc839fe278ef0e96baff16a7d0af16f2d599ec5 Mon Sep 17 00:00:00 2001 From: jonpas Date: Tue, 14 Nov 2023 02:17:32 +0100 Subject: [PATCH] Revert "Remove Rearm/Repair" This reverts commit 281be2ce9821423de20f28d278a4bf88d6e26a13. --- addons/compat_cup_vehicles/CfgVehicles.hpp | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/addons/compat_cup_vehicles/CfgVehicles.hpp b/addons/compat_cup_vehicles/CfgVehicles.hpp index 0c83039617a..75e053a9860 100644 --- a/addons/compat_cup_vehicles/CfgVehicles.hpp +++ b/addons/compat_cup_vehicles/CfgVehicles.hpp @@ -1,4 +1,56 @@ class CfgVehicles { + class CUP_MTVR_Base; + class CUP_MTVR_Reammo_Base: CUP_MTVR_Base { + transportAmmo = 0; + EGVAR(rearm,defaultSupply) = 1200; + }; + class CUP_MTVR_Repair_Base: CUP_MTVR_Base { + transportRepair = 0; + EGVAR(repair,canRepair) = 1; + }; + + class CUP_V3S_Open_Base; + class CUP_V3S_Repair_Base: CUP_V3S_Open_Base { + transportRepair = 0; + EGVAR(repair,canRepair) = 1; + }; + class CUP_V3S_Rearm_Base: CUP_V3S_Open_Base { + transportAmmo = 0; + EGVAR(rearm,defaultSupply) = 1200; + }; + + class CUP_Ural_Support_Base; + class CUP_Ural_Reammo_Base: CUP_Ural_Support_Base { + transportAmmo = 0; + EGVAR(rearm,defaultSupply) = 1200; + }; + class CUP_Ural_Repair_Base: CUP_Ural_Support_Base { + transportRepair = 0; + EGVAR(repair,canRepair) = 1; + }; + + class CUP_Kamaz_5350_Base; + class CUP_Kamaz_5350_ReAmmo_Base: CUP_Kamaz_5350_Base { + transportAmmo = 0; + EGVAR(rearm,defaultSupply) = 1200; + }; + + class Truck_02_box_base_F; + class CUP_Kamaz_5350_Repair_Base: Truck_02_box_base_F { + transportRepair = 0; + EGVAR(repair,canRepair) = 1; + }; + + class CUP_T810_Unarmed_Base; + class CUP_T810_Reammo_Base: CUP_T810_Unarmed_Base { + transportAmmo = 0; + EGVAR(rearm,defaultSupply) = 1200; + }; + class CUP_T810_Repair_Base: CUP_T810_Unarmed_Base { + transportRepair = 0; + EGVAR(repair,canRepair) = 1; + }; + class Wheeled_APC_F; class CUP_BTR80_Common_Base: Wheeled_APC_F { class ace_viewports {