From 7aa6b175fbb5da506706949e3da0546207b8acad Mon Sep 17 00:00:00 2001 From: 3Mydlo3 Date: Mon, 9 Oct 2023 21:29:53 +0200 Subject: [PATCH] Port faces component from legacy mod --- addons/faces/$PBOPREFIX$ | 1 + addons/faces/CfgFaces.hpp | 56 +++++++++++++++++++++++++++++++ addons/faces/README.md | 3 ++ addons/faces/config.cpp | 17 ++++++++++ addons/faces/script_component.hpp | 14 ++++++++ 5 files changed, 91 insertions(+) create mode 100644 addons/faces/$PBOPREFIX$ create mode 100644 addons/faces/CfgFaces.hpp create mode 100644 addons/faces/README.md create mode 100644 addons/faces/config.cpp create mode 100644 addons/faces/script_component.hpp diff --git a/addons/faces/$PBOPREFIX$ b/addons/faces/$PBOPREFIX$ new file mode 100644 index 0000000..591b4b3 --- /dev/null +++ b/addons/faces/$PBOPREFIX$ @@ -0,0 +1 @@ +z\afm\addons\faces \ No newline at end of file diff --git a/addons/faces/CfgFaces.hpp b/addons/faces/CfgFaces.hpp new file mode 100644 index 0000000..64606b2 --- /dev/null +++ b/addons/faces/CfgFaces.hpp @@ -0,0 +1,56 @@ + +class CfgFaces { + class Default; + class Man_A3: Default + { + class Default; + class GreekHead_A3_01; + + class Nikos: GreekHead_A3_01 + { + disabled = 0; + }; + class Miller: Default + { + disabled = 0; + }; + class Kerry: Default + { + disabled = 0; + }; + class IG_Leader: Default + { + disabled = 0; + }; + class O_Colonel: Default + { + disabled = 0; + }; + class Jay: Default + { + disabled = 0; + }; + class Ivan: Default + { + disabled = 0; + }; + class Pettka: Default + { + disabled = 0; + }; + class Dwarden: Default + { + disabled = 0; + }; + class Hladas: Default + { + disabled = 0; + }; + + class TanoanHead_A3_01; + class TanoanBossHead: TanoanHead_A3_01 + { + disabled = 0; + }; + }; +}; diff --git a/addons/faces/README.md b/addons/faces/README.md new file mode 100644 index 0000000..09f6134 --- /dev/null +++ b/addons/faces/README.md @@ -0,0 +1,3 @@ +# Faces + +Enables disabled faces from vanilla. diff --git a/addons/faces/config.cpp b/addons/faces/config.cpp new file mode 100644 index 0000000..303ef39 --- /dev/null +++ b/addons/faces/config.cpp @@ -0,0 +1,17 @@ +#include "script_component.hpp" + +class CfgPatches { + class ADDON { + name = COMPONENT_NAME; + units[] = {}; + weapons[] = {}; + requiredVersion = REQUIRED_VERSION; + requiredAddons[] = { + "A3_Data_F_Tank_Loadorder" + }; + author = "veteran29"; + VERSION_CONFIG; + }; +}; + +#include "CfgFaces.hpp" diff --git a/addons/faces/script_component.hpp b/addons/faces/script_component.hpp new file mode 100644 index 0000000..91a3f8d --- /dev/null +++ b/addons/faces/script_component.hpp @@ -0,0 +1,14 @@ +#define COMPONENT faces +#include "\z\afm\addons\main\script_mod.hpp" + +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE + +#ifdef DEBUG_ENABLED_FACES + #define DEBUG_MODE_FULL +#endif + #ifdef DEBUG_SETTINGS_FACES + #define DEBUG_SETTINGS DEBUG_SETTINGS_FACES +#endif + +#include "\z\afm\addons\main\script_macros.hpp"