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

Port faces component from legacy mod #205

Merged
merged 1 commit into from
Oct 9, 2023
Merged
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/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"
Loading