Commit ac066e05 authored by Miller's avatar Miller
Browse files

rework

parent 8ae321f2
Pipeline #5573 passed with stage
in 13 seconds
*.biprivatekey
hemtt\.exe
.hemtt/local
armake2\.exe
keys/*
/releases/*
!/releases/*.zip
*.pbo
*.bisign
.vscode/
## Added by HEMTT
releases/*
*.biprivatekey
keys/*
.hemtt/local
####
name = "Gruppe W Patches"
prefix = "wpatches"
author = "Gruppe W"
template = "cba"
mainprefix = "z"
folder_optionals = true
sig_version = 3
z\grpw_patches\addons\gameplay
z\wpatches\addons\bw
class Cfg3DEN {
class Object {
class AttributeCategories {
class GVAR(attributes) {
displayName = "MIL Track Options";
collapsed = 1;
class Attributes {
class GVAR(addBFT) {
displayName = CSTRING(eden_addBFT);
tooltip = CSTRING(eden_addBFT_tool);
property = QGVAR(addBFT);
control = "Checkbox";
expression = QUOTE(if (_value) then {[_this] call FUNC(initVehicle)});
defaultValue = false;
unique = 0;
condition = "objectVehicle";
typeName = "BOOL";
};
class GVAR(list_type) {
displayName = CSTRING(eden_listType);
tooltip = CSTRING(eden_listType_tool);
property = QGVAR(listType);
control = "combo";
expression = QUOTE(_this setVariable [ARR_2(QQGVAR(listType), _value)]);
defaultValue = QGVAR(veh_B);
unique = 0;
condition = "objectVehicle";
typeName = "STRING";
class Values {
//Vehicles
class veh {
name = CSTRING(veh);
value = QGVAR(veh_B);
};
class vehA {
name = CSTRING(vehA);
value = QGVAR(vehA_B);
};
class vehRecon {
name = CSTRING(vehRecon);
value = QGVAR(vehRecon_B);
};
class vehJFST {
name = CSTRING(vehJFST);
value = QGVAR(vehJFST_B);
};
//Medical
class vehSan {
name = CSTRING(vehSan);
value = QGVAR(vehSan_B);
};
class vehSanA {
name = CSTRING(vehSanA);
value = QGVAR(vehSanA_B);
};
//Armored
class tank {
name = CSTRING(tank);
value = QGVAR(tank_B);
};
class tankL {
name = CSTRING(tankL);
value = QGVAR(tankL_B);
};
class tankM {
name = CSTRING(tankM);
value = QGVAR(tankM_B);
};
class tankH {
name = CSTRING(tankH);
value = QGVAR(tankH_B);
};
class apc {
name = CSTRING(apc);
value = QGVAR(apc_B);
};
class ifv {
name = CSTRING(ifv);
value = GVAR(ifv_B);
};
class ifvLead {
name = CSTRING(ifvLead);
value = QGVAR(ifvLead_B);
};
//Pioneer
class mineclearingVeh {
name = CSTRING(mineclearingVeh);
value = QGVAR(mineclearingVeh_B);
};
//Logistics
class mover {
name = CSTRING(mover);
value = QGVAR(mover_B);
};
//Unmanned
class uav {
name = CSTRING(uav);
value = QGVAR(uav_B);
};
class ugv {
name = CSTRING(ugv);
value = QGVAR(ugv_B);
};
//Rotary Wing AC
class heli {
name = CSTRING(heli);
value = QGVAR(heli_B);
};
class heli_attack {
name = CSTRING(heli_attack);
value = QGVAR(heli_attack_B);
};
class heli_cargo {
name = CSTRING(heli_cargo);
value = QGVAR(heli_cargo_B);
};
class heli_csar {
name = CSTRING(heli_csar);
value = QGVAR(heli_csar_B);
};
class heli_medevac {
name = CSTRING(heli_medevac);
value = QGVAR(heli_medevac_B);
};
class heli_recon {
name = CSTRING(heli_recon);
value = QGVAR(heli_recon_B);
};
class heli_sof {
name = CSTRING(heli_sof);
value = QGVAR(heli_sof_B);
};
//Fixed-Wing AC
class jet {
name = CSTRING(jet);
value = QGVAR(jet_B);
};
class jet_attack {
name = CSTRING(jet_attack);
value = QGVAR(jet_attack_B);
};
class jet_cargo {
name = CSTRING(jet_cargo);
value = QGVAR(jet_cargo_B);
};
class jet_fighter {
name = CSTRING(jet_fighter);
value = QGVAR(jet_fighter_B);
};
class jet_intercept {
name = CSTRING(jet_intercept);
value = QGVAR(jet_intercept_B);
};
//AA
class aaGun {
name = CSTRING(aaGun);
value = QGVAR(aaGun_B);
};
class sam {
name = CSTRING(sam);
value = QGVAR(sam_B);
};
//Misc
class radar {
name = CSTRING(radar);
value = QGVAR(radar_B);
};
};
};
class GVAR(list_side) {
displayName = CSTRING(eden_listSide);
tooltip = CSTRING(eden_listSide_tool);
property = QGVAR(listSide);
control = "combo";
expression = QUOTE(_this setVariable [ARR_2(QQGVAR(listSide), _value)]);
defaultValue = 0;
unique = 0;
condition = "objectVehicle";
class Values {
class car {
name = "BLUFOR";
value = WEST;
};
class spz {
name = "OPFOR";
value = EAST;
};
class tank {
name = "INDEPENDENT";
value = INDEPENDENT;
};
};
};
class GVAR(designation) {
displayName = CSTRING(eden_designation);
tooltip = CSTRING(eden_designation_tool);
property = QGVAR(designation);
control = "Edit";
expression = QUOTE(_this setVariable [ARR_2(QQGVAR(designation), _value)]);
defaultValue = "none";
unique = 0;
condition = "objectVehicle";
typeName = "STRING";
};
};
};
};
};
};
#include "script_component.hpp"
#include "script_component.hpp"
\ No newline at end of file
#include "script_component.hpp"
#include "\a3\ui_f\hpp\defineDIKCodes.inc"
ADDON = false;
#include "XEH_PREP.hpp"
ADDON = true;
#include "script_component.hpp"
class CfgPatches {
class ADDON {
name = COMPONENT_NAME;
name = QUOTE(COMPONENT);
units[] = {};
weapons[] = {};
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {
//main addon
QUOTE(MAINCOMPONENT),
//Redd and Tanks
QUOTE(MAIN_ADDON),
"Redd_Vehicles_Main", "Redd_Tank_M120_Tampella", "Redd_Bags",
//BWA3
"bwa3_common","bwa3_weapons","bwa3_g29", "bwa3_g82"
};
author = "Gruppe W";
author = "AUTHOR";
VERSION_CONFIG;
};
};
#include "CfgEventHandlers.hpp"
#include "CfgVehicles.hpp"
#include "CfgWeapons.hpp"
#include "CfgMagazines.hpp"
#include "\z\wpatches\addons\other\script_component.hpp"
#define COMPONENT bw
#define COMPONENT_BEAUTIFIED BW
#include "\z\grpw_patches\addons\gameplay\script_mod.hpp"
#include "\z\wpatches\addons\main\script_mod.hpp"
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
......@@ -8,8 +7,8 @@
#ifdef DEBUG_ENABLED_BW
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_SETTINGS_BW
#define DEBUG_SETTINGS DEBUG_SETTINGS_TRACK
#ifdef DEBUG_SETTINGS_OTHER
#define DEBUG_SETTINGS DEBUG_SETTINGS_BW
#endif
#include "\z\grpw_patches\addons\gameplay\script_macros.hpp"
#include "\z\wpatches\addons\main\script_macros.hpp"
z\grpw_patches\addons\gameplay
class Extended_PreStart_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_preStart));
};
};
class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_preInit));
};
};
class Extended_PostInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_postInit));
};
};
#include "script_component.hpp"
#include "script_component.hpp"
#include "\a3\ui_f\hpp\defineDIKCodes.inc"
ADDON = false;
#include "XEH_PREP.hpp"
ADDON = true;
#include "script_component.hpp"
#include "XEH_PREP.hpp"
#define COMPONENT gameplay
#define COMPONENT_BEAUTIFIED Gameplay
#include "\z\grpw_patches\addons\gameplay\script_mod.hpp"
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
#ifdef DEBUG_ENABLED_GAMEPLAY
#define DEBUG_MODE_FULL
#endif
#ifdef DEBUG_SETTINGS_GAMEPLAY
#define DEBUG_SETTINGS DEBUG_SETTINGS_TRACK
#endif
#include "\z\grpw_patches\addons\gameplay\script_macros.hpp"
#define MAINPREFIX z
#define PREFIX DOUBLES(GrpW,patches)
#define MAINCOMPONENT DOUBLES(PREFIX,gameplay)
#include "script_version.hpp"
#define VERSION MAJOR.MINOR
#define VERSION_STR MAJOR.MINOR.PATCHLVL.BUILD
#define VERSION_AR MAJOR,MINOR,PATCHLVL,BUILD
#define VERSION_PLUGIN MAJOR.MINOR.PATCHLVL.BUILD
#define REQUIRED_VERSION 1.94
#ifdef COMPONENT_BEAUTIFIED
#define COMPONENT_NAME QUOTE(GrpW Patches COMPONENT_BEAUTIFIED)
#else
#define COMPONENT_NAME QUOTE(GrpW patches COMPONENT)
#endif
#define MAJOR 1
#define MINOR 0
#define PATCHLVL 0
#define BUILD 0
z\wpatches\addons\main
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment