Skip to content

Commit

Permalink
Rebalance - Alter CPC capacity to match JPC (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-MF authored Nov 19, 2023
1 parent 9563019 commit 602b0a6
Show file tree
Hide file tree
Showing 2 changed files with 178 additions and 70 deletions.
244 changes: 174 additions & 70 deletions addons/rebalance/s4g/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,115 +5,219 @@ class CfgWeapons {
class cpc_Fast_coy: Vest_Camo_Base {
MACRO_HITPROTECTION_CPC;
};
class cpc_Fast_rngr: cpc_Fast_coy {};
class cpc_Fast_mc: cpc_Fast_coy {};

class cpc_Fast_rngr: cpc_Fast_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_Fast_mc: cpc_Fast_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_Fastbelt_coy: Vest_Camo_Base {
MACRO_HITPROTECTION_CPC;
};
class cpc_Fastbelt_rngr: cpc_Fastbelt_coy {};
class cpc_Fastbelt_mc: cpc_Fastbelt_coy {};

class cpc_Fastbelt_rngr: cpc_Fastbelt_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_Fastbelt_mc: cpc_Fastbelt_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_weaponsbelt_coy: Vest_Camo_Base {
MACRO_HITPROTECTION_CPC;
};
class cpc_weaponsbelt_mc: cpc_weaponsbelt_coy {};
class cpc_weaponsbelt_rngr: cpc_weaponsbelt_coy {};

class cpc_weaponsbelt_mc: cpc_weaponsbelt_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_weaponsbelt_rngr: cpc_weaponsbelt_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_light_coy: Vest_Camo_Base {
MACRO_HITPROTECTION_CPC;
};
class cpc_light_rngr: cpc_light_coy {};
class cpc_light_mc: cpc_light_coy {};

class cpc_light_rngr: cpc_light_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_light_mc: cpc_light_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_lightbelt_coy: Vest_Camo_Base {
MACRO_HITPROTECTION_CPC;
};
class cpc_lightbelt_rngr: cpc_lightbelt_coy {};
class cpc_lightbelt_mc: cpc_lightbelt_coy {};

class cpc_lightbelt_rngr: cpc_lightbelt_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_lightbelt_mc: cpc_lightbelt_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_weapons_coy: Vest_Camo_Base {
MACRO_HITPROTECTION_CPC;
};
class cpc_weapons_rngr: cpc_weapons_coy {};
class cpc_weapons_mc: cpc_weapons_coy {};

class cpc_weapons_rngr: cpc_weapons_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_weapons_mc: cpc_weapons_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_communications_coy: Vest_Camo_Base {
MACRO_HITPROTECTION_CPC;
};
class cpc_communications_mc: cpc_communications_coy {};
class cpc_communications_rngr: cpc_communications_coy {};

class cpc_communications_mc: cpc_communications_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_communications_rngr: cpc_communications_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_communicationsbelt_coy: Vest_Camo_Base {
MACRO_HITPROTECTION_CPC;
};
class cpc_communicationsbelt_mc: cpc_communicationsbelt_coy {};
class cpc_communicationsbelt_rngr: cpc_communicationsbelt_coy {};

class cpc_communicationsbelt_mc: cpc_communicationsbelt_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_communicationsbelt_rngr: cpc_communicationsbelt_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_tl_coy: Vest_Camo_Base {
MACRO_HITPROTECTION_CPC;
};
class cpc_tl_mc: cpc_tl_coy {};
class cpc_tl_rngr: cpc_tl_coy {};

class cpc_tl_mc: cpc_tl_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_tl_rngr: cpc_tl_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_tlbelt_coy: Vest_Camo_Base {
MACRO_HITPROTECTION_CPC;
};
class cpc_tlbelt_rngr: cpc_tlbelt_coy {};
class cpc_tlbelt_mc: cpc_tlbelt_coy {};

class cpc_tlbelt_rngr: cpc_tlbelt_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_tlbelt_mc: cpc_tlbelt_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_medical_coy: Vest_Camo_Base {
MACRO_HITPROTECTION_CPC;
};
class cpc_medical_mc: cpc_tl_coy {};
class cpc_medical_rngr: cpc_tl_coy {};

class cpc_medical_mc: cpc_tl_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_medical_rngr: cpc_tl_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_medicalbelt_coy: Vest_Camo_Base {
MACRO_HITPROTECTION_CPC;
};
class cpc_medicalbelt_rngr: cpc_medicalbelt_coy {};
class cpc_medicalbelt_mc: cpc_medicalbelt_coy {};
class cpc_medicalbelt_rngr: cpc_medicalbelt_coy {
MACRO_HITPROTECTION_CPC;
};
class cpc_medicalbelt_mc: cpc_medicalbelt_coy {
MACRO_HITPROTECTION_CPC;
};

// LBT
class lbt_pouchless_coy: Vest_Camo_Base {
MACRO_HITPROTECTION_LBT;
};
class lbt_pouchless_od: lbt_pouchless_coy {};
class lbt_pouchless_aor1: lbt_pouchless_coy {};
class lbt_pouchless_aor2: lbt_pouchless_coy {};
class lbt_pouchless_mc: lbt_pouchless_coy {};
class lbt_operator_coy: lbt_pouchless_coy {};
class lbt_operator_od: lbt_pouchless_coy {};
class lbt_operator_aor1: lbt_pouchless_coy {};
class lbt_operator_aor2: lbt_pouchless_coy {};
class lbt_operator_mc: lbt_pouchless_coy {};
class lbt_weapons_coy: lbt_pouchless_coy {};
class lbt_weapons_od: lbt_weapons_coy {};
class lbt_weapons_aor1: lbt_weapons_coy {};
class lbt_weapons_aor2: lbt_weapons_coy {};
class lbt_weapons_mc: lbt_pouchless_coy {};
class lbt_medical_coy: lbt_pouchless_coy {};
class lbt_medical_od: lbt_medical_coy {};
class lbt_medical_aor1: lbt_medical_coy {};
class lbt_medical_aor2: lbt_medical_coy {};
class lbt_medical_mc: lbt_pouchless_coy {};
class lbt_comms_coy: lbt_pouchless_coy {};
class lbt_comms_od: lbt_comms_coy {};
class lbt_comms_aor1: lbt_comms_coy {};
class lbt_comms_aor2: lbt_comms_coy {};
class lbt_comms_mc: lbt_pouchless_coy {};
class lbt_light_od: lbt_pouchless_coy {};
class lbt_light_mc: lbt_pouchless_coy {};
class lbt_light_aor1: lbt_pouchless_coy {};
class lbt_light_aor2: lbt_pouchless_coy {};
class lbt_light_coy: lbt_pouchless_coy {};
class lbt_fast_coy: lbt_pouchless_coy {};

class lbt_pouchless_od: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_pouchless_aor1: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_pouchless_aor2: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_pouchless_mc: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_operator_coy: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_operator_od: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_operator_aor1: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_operator_aor2: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_operator_mc: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_weapons_coy: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_weapons_od: lbt_weapons_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_weapons_aor1: lbt_weapons_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_weapons_aor2: lbt_weapons_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_weapons_mc: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_medical_coy: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_medical_od: lbt_medical_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_medical_aor1: lbt_medical_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_medical_aor2: lbt_medical_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_medical_mc: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_comms_coy: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_comms_od: lbt_comms_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_comms_aor1: lbt_comms_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_comms_aor2: lbt_comms_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_comms_mc: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_light_od: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_light_mc: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_light_aor1: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_light_aor2: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_light_coy: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_fast_coy: lbt_pouchless_coy {
MACRO_HITPROTECTION_LBT;
};
class lbt_tl_mc: Vest_Camo_Base {
MACRO_HITPROTECTION_LBT;
};
class lbt_tl_coy: lbt_tl_mc {};
class lbt_tl_od: lbt_tl_mc {};
class lbt_tl_aor1: lbt_tl_mc {};
class lbt_tl_aor2: lbt_tl_mc {};
class lbt_tl_coy: lbt_tl_mc {
MACRO_HITPROTECTION_LBT;
};
class lbt_tl_od: lbt_tl_mc {
MACRO_HITPROTECTION_LBT;
};
class lbt_tl_aor1: lbt_tl_mc {
MACRO_HITPROTECTION_LBT;
};
class lbt_tl_aor2: lbt_tl_mc {
MACRO_HITPROTECTION_LBT;
};
};
4 changes: 4 additions & 0 deletions addons/rebalance/s4g/script_component.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

#define MACRO_HITPROTECTION_CPC \
class ItemInfo: VestItem { \
containerClass = "Supply140"; \
mass = 50; \
class HitpointsProtectionInfo { \
class Chest { \
HitpointName = "HitChest"; \
Expand All @@ -31,6 +33,8 @@

#define MACRO_HITPROTECTION_LBT \
class ItemInfo: VestItem { \
containerClass = "Supply140"; \
mass = 50; \
class HitpointsProtectionInfo { \
class Chest { \
HitpointName = "HitChest"; \
Expand Down

0 comments on commit 602b0a6

Please sign in to comment.