Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .hemtt/launch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ workshop = [
"843632231", # RHS SAF Workshop ID
]

[3cbf]
extends = "rhs"
workshop = [
"1673456286", # 3CB Factions
]

[cup]
extends = "default"
workshop = [
Expand Down
1 change: 1 addition & 0 deletions addons/compat_3cb_factions/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
z\ace\addons\compat_3cb_factions
60 changes: 60 additions & 0 deletions addons/compat_3cb_factions/CfgVehicles.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
class CfgVehicles {

class B_Bergen_Base;
class UK3CB_B_Alice_pack_01;

class UK3CB_B_Bedroll_Shovel_Backpack_KHK: B_Bergen_Base {
EGVAR(trenches,entrenchingTool) = 1;
};

//these get it by inheritance from UK3CB_B_Bedroll_Shovel_Backpack_KHK
//UK3CB_B_Bedroll_Shovel_Backpack_GRY
//UK3CB_B_Bedroll_Shovel_Backpack_GRN

class UK3CB_B_Alice_pack_02: B_Bergen_Base {
EGVAR(trenches,entrenchingTool) = 1;
};
class UK3CB_B_Alice_pack_03: UK3CB_B_Alice_pack_01 {
EGVAR(trenches,entrenchingTool) = 1;
};
class UK3CB_B_Alice_pack_03_M81: UK3CB_B_Alice_pack_03 {
EGVAR(trenches,entrenchingTool) = 1;
};
class UK3CB_B_Alice_pack_frame_01: UK3CB_B_Alice_pack_01 {
EGVAR(trenches,entrenchingTool) = 1;
};
class UK3CB_B_Alice_pack_frame_01_M81: UK3CB_B_Alice_pack_frame_01 {
EGVAR(trenches,entrenchingTool) = 1;
};
class UK3CB_B_Alice_pack_frame_02: UK3CB_B_Alice_pack_01 {
EGVAR(trenches,entrenchingTool) = 1;
};
class UK3CB_B_Alice_pack_frame_02_M81: UK3CB_B_Alice_pack_frame_02 {
EGVAR(trenches,entrenchingTool) = 1;
};

class TFAR_anprc155;
class TFAR_mr3000;
class TFAR_rt1523g_big;

class UK3CB_B_I_Alice_pack_frame_radio_01: TFAR_anprc155 {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these base classes exist without loading TFAR

EGVAR(trenches,entrenchingTool) = 1;
};
class UK3CB_B_I_Alice_pack_frame_radio_01_M81: UK3CB_B_I_Alice_pack_frame_radio_01 {
EGVAR(trenches,entrenchingTool) = 1;
};

class UK3CB_B_O_Alice_pack_frame_radio_01: TFAR_mr3000 {
EGVAR(trenches,entrenchingTool) = 1;
};
class UK3CB_B_O_Alice_pack_frame_radio_01_M81: UK3CB_B_O_Alice_pack_frame_radio_01 {
EGVAR(trenches,entrenchingTool) = 1;
};

class UK3CB_B_B_Alice_pack_frame_radio_01: TFAR_rt1523g_big {
EGVAR(trenches,entrenchingTool) = 1;
};
class UK3CB_B_B_Alice_pack_frame_radio_01_M81: UK3CB_B_B_Alice_pack_frame_radio_01 {
EGVAR(trenches,entrenchingTool) = 1;
};
};
19 changes: 19 additions & 0 deletions addons/compat_3cb_factions/config.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#include "script_component.hpp"

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"UK3CB_Factions_Equipment_CW_Backpack_Soviet","UK3CB_Factions_Equipment_CW_Backpack_US"};
skipWhenMissingDependencies = 1;
author = ECSTRING(common,ACETeam);
authors[] = {"Andx"};
url = ECSTRING(main,URL);
VERSION_CONFIG;
};
};


#include "CfgVehicles.hpp"
5 changes: 5 additions & 0 deletions addons/compat_3cb_factions/script_component.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#define COMPONENT compat_3cb_factions
#define COMPONENT_BEAUTIFIED 3CB Factions Compatibility

#include "\z\ace\addons\main\script_mod.hpp"
#include "\z\ace\addons\main\script_macros.hpp"