Skip to content

Commit

Permalink
Port faces component from legacy mod (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
3Mydlo3 authored Oct 9, 2023
1 parent 2dce77b commit bec6903
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 0 deletions.
1 change: 1 addition & 0 deletions addons/faces/$PBOPREFIX$
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
z\afm\addons\faces
56 changes: 56 additions & 0 deletions addons/faces/CfgFaces.hpp
Original file line number Diff line number Diff line change
@@ -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;
};
};
};
3 changes: 3 additions & 0 deletions addons/faces/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Faces

Enables disabled faces from vanilla.
17 changes: 17 additions & 0 deletions addons/faces/config.cpp
Original file line number Diff line number Diff line change
@@ -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"
14 changes: 14 additions & 0 deletions addons/faces/script_component.hpp
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit bec6903

Please sign in to comment.