Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compat_cup_units - Add new component #232

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
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
1 change: 1 addition & 0 deletions addons/compat_cup_units/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
z\ttt\addons\compat_cup_units
11 changes: 11 additions & 0 deletions addons/compat_cup_units/compat_cup_units_trenches/CfgVehicles.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class CfgVehicles {

class CUP_B_RUS_Patrol_bag_base;
class CUP_B_RUS_Patrol_bag_6E5_Desert: CUP_B_RUS_Patrol_bag_base {
//ace_trenches_hasTrenchTool = 1;
};

class CUP_B_RUS_Patrol_bag_6E5_Summer: CUP_B_RUS_Patrol_bag_base {
//ace_trenches_hasTrenchTool = 1;
};
};
11 changes: 11 additions & 0 deletions addons/compat_cup_units/compat_cup_units_trenches/CfgWeapons.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class CfgWeapons {

class CUP_Vest_Camo_Base;
class CUP_V_O_SLA_Flak_Vest01: CUP_Vest_Camo_Base {
//ace_trenches_hasTrenchTool = 1;
};

class CUP_V_O_SLA_Carrier_Belt: CUP_Vest_Camo_Base {
//ace_trenches_hasTrenchTool = 1;
};
};
15 changes: 15 additions & 0 deletions addons/compat_cup_units/compat_cup_units_trenches/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Compat CUP Units - Trenches

## Klappspaten

Fügt ausgewählten Vesten bzw. Rucksäcken die Funktion des "ACE_EntrechningTools" hinzu.

- `CUP_V_O_SLA_Flak_Vest01`
- `CUP_V_O_SLA_Carrier_Belt`

- `CUP_B_RUS_Patrol_bag_6E5_Desert`
- `CUP_B_RUS_Patrol_bag_6E5_Summer`

## Maintainer

- Andx
18 changes: 18 additions & 0 deletions addons/compat_cup_units/compat_cup_units_trenches/config.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#include "script_component.hpp"

class CfgPatches {
class SUBADDON {
author = ECSTRING(main,TacticalTrainingTeam);
authors[] = {"Andx"};
name = COMPONENT_NAME;
addonRootClass = QUOTE(ADDON);
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ace_trenches", "CUP_Creatures_People_LoadOrder"};
units[] = {};
weapons[] = {};
VERSION_CONFIG;
};
};

#include "CfgWeapons.hpp"
#include "CfgVehicles.hpp"
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#define SUBCOMPONENT trenches
#define SUBCOMPONENT_BEAUTIFIED Trenches
#include "..\script_component.hpp"

15 changes: 15 additions & 0 deletions addons/compat_cup_units/config.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#include "script_component.hpp"

class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"ttt_common","CUP_Creatures_People_LoadOrder"};
author = ECSTRING(main,TacticalTrainingTeam);
authors[] = {"Andx"};
url = ECSTRING(main,URL);
VERSION_CONFIG;
};
};
5 changes: 5 additions & 0 deletions addons/compat_cup_units/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Compat CUP Units

## Maintainer

- Andx
17 changes: 17 additions & 0 deletions addons/compat_cup_units/script_component.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#define COMPONENT compat_cup_units
#define COMPONENT_BEAUTIFIED Compat Cup Units
#include "\z\ttt\addons\main\script_mod.hpp"

// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
// #define ENABLE_PERFORMANCE_COUNTERS

#ifdef DEBUG_ENABLED_BLANK
#define DEBUG_MODE_FULL
#endif

#ifdef DEBUG_SETTINGS_BLANK
#define DEBUG_SETTINGS DEBUG_SETTINGS_BLANK
#endif

#include "\z\ttt\addons\main\script_macros.hpp"
Loading