diff --git a/addons/compat_ef/$PBOPREFIX$ b/addons/compat_ef/$PBOPREFIX$ new file mode 100644 index 00000000000..680e3bd6194 --- /dev/null +++ b/addons/compat_ef/$PBOPREFIX$ @@ -0,0 +1 @@ +z\ace\addons\compat_ef diff --git a/addons/compat_ef/CfgWeapons.hpp b/addons/compat_ef/CfgWeapons.hpp new file mode 100644 index 00000000000..1b2cd4c3fe5 --- /dev/null +++ b/addons/compat_ef/CfgWeapons.hpp @@ -0,0 +1,37 @@ +class CfgWeapons { + // -- ace_nightvision -- + class NVGoggles; + class EF_LPNVG: NVGoggles { // all 4 inherit from this + EGVAR(nightvision,generation) = 4; + EGVAR(nightvision,colorPreset)[] = {0,{0,0,0,0},{0.7,0.65,0.4,0},{0.199,1.3,0.114,1}}; + EGVAR(nightvision,border) = QPATHTOEF(nightvision,data\nvg_mask_binos_4096.paa); + }; + + // -- ace_hearing -- + class HelmetBase; + class EF_H_Protecta: HelmetBase { + HEARING_PROTECTION_PELTOR; + }; + class EF_H_MCH; // this does not have peltor + class EF_H_MCH_Basic: EF_H_MCH { + HEARING_PROTECTION_PELTOR; + }; + class EF_H_MCH_BasicNet_Des: EF_H_MCH { + HEARING_PROTECTION_PELTOR; + }; + class EF_H_MCH_Full: EF_H_MCH { + HEARING_PROTECTION_PELTOR; + }; + class EF_H_MCH_FullCamo_Des: EF_H_MCH { + HEARING_PROTECTION_PELTOR; + }; + + // -- ace_overpressure -- + class autocannon_30mm; + class EF_autocannon_50mm_AAV9: autocannon_30mm { + EGVAR(overpressure,priority) = 1; + EGVAR(overpressure,angle) = 90; + EGVAR(overpressure,range) = 5; + EGVAR(overpressure,damage) = 0.3; + }; +}; diff --git a/addons/compat_ef/compat_ef_realisticnames/CfgVehicles.hpp b/addons/compat_ef/compat_ef_realisticnames/CfgVehicles.hpp new file mode 100644 index 00000000000..6c09b24a3f7 --- /dev/null +++ b/addons/compat_ef/compat_ef_realisticnames/CfgVehicles.hpp @@ -0,0 +1,17 @@ +class CfgVehicles { + class MRAP_01_gmg_base_F; + class EF_MRAP_01_FSV_base: MRAP_01_gmg_base_F { + displayName = SUBCSTRING(MRAP_01_FSV); + }; + class EF_MRAP_01_AT_base: EF_MRAP_01_FSV_base { + displayName = SUBCSTRING(MRAP_01_AT); + }; + class EF_MRAP_01_LAAD_base: EF_MRAP_01_FSV_base { + displayName = SUBCSTRING(MRAP_01_LAAD); + }; + + class Heli_Attack_01_dynamicLoadout_base_F; + class EF_AH99J_dynamicLoadout_base: Heli_Attack_01_dynamicLoadout_base_F { + displayName = SUBCSTRING(AH99J); + }; +}; diff --git a/addons/compat_ef/compat_ef_realisticnames/config.cpp b/addons/compat_ef/compat_ef_realisticnames/config.cpp new file mode 100644 index 00000000000..0ce01e875cc --- /dev/null +++ b/addons/compat_ef/compat_ef_realisticnames/config.cpp @@ -0,0 +1,18 @@ +#include "script_component.hpp" + +class CfgPatches { + class SUBADDON { + name = COMPONENT_NAME; + units[] = {}; + weapons[] = {}; + requiredVersion = REQUIRED_VERSION; + requiredAddons[] = {"EF_hunter", "EF_ah99", "ace_realisticnames"}; + skipWhenMissingDependencies = 1; + author = ECSTRING(common,ACETeam); + url = ECSTRING(main,URL); + VERSION_CONFIG; + addonRootClass = QUOTE(ADDON); + }; +}; + +#include "CfgVehicles.hpp" diff --git a/addons/compat_ef/compat_ef_realisticnames/script_component.hpp b/addons/compat_ef/compat_ef_realisticnames/script_component.hpp new file mode 100644 index 00000000000..b8d0682fa4f --- /dev/null +++ b/addons/compat_ef/compat_ef_realisticnames/script_component.hpp @@ -0,0 +1,3 @@ +#define SUBCOMPONENT realisticnames +#define SUBCOMPONENT_BEAUTIFIED Realistic Names +#include "..\script_component.hpp" diff --git a/addons/compat_ef/compat_ef_realisticnames/stringtable.xml b/addons/compat_ef/compat_ef_realisticnames/stringtable.xml new file mode 100644 index 00000000000..3dead3055be --- /dev/null +++ b/addons/compat_ef/compat_ef_realisticnames/stringtable.xml @@ -0,0 +1,73 @@ + + + + + M-ATV AT + M-ATV AT + M-ATV AC + M-ATV AT + M-ATV AC + M-ATV ppanc + M-ATV AT + M-ATV ПТ + M-ATV AT + M-ATV AT + M-ATV AT + 防地雷反伏擊全地形車 AT + M-ATV AT + M-ATV AT + M-ATV AT + + + M-ATV FSV + M-ATV FSV + M-ATV FSV + M-ATV FSV + M-ATV FSV + M-ATV FSV + M-ATV FSV + M-ATV FSV + M-ATV FSV + M-ATV FSV + M-ATV FSV + 防地雷反伏擊全地形車 FSV + M-ATV FSV + M-ATV FSV + M-ATV FSV + + + M-ATV LAAD + M-ATV LAAD + M-ATV LAAD + M-ATV LAAD + M-ATV LAAD + M-ATV LAAD + M-ATV LAAD + M-ATV LAAD + M-ATV LAAD + M-ATV LAAD + M-ATV LAAD + 防地雷反伏擊全地形車 LAAD + M-ATV LAAD + M-ATV LAAD + M-ATV LAAD + + + RAH-66J Comanche + RAH-66J Comanche + RAH-66J Comanche + RAH-66J Comanche + RAH-66J Comanche + RAH-66J Comanche + RAH-66J Comanche + RAH-66J Comanche + RAH-66J Comanche + RAH-66J 코만치 + RAH-66J コマンチ + RAH-66J "卡曼契"攻擊直升機 + RAH-66J "科曼奇" + RAH-66J Comanche + RAH-66J Comanche + + + diff --git a/addons/compat_ef/config.cpp b/addons/compat_ef/config.cpp new file mode 100644 index 00000000000..9f701b7083f --- /dev/null +++ b/addons/compat_ef/config.cpp @@ -0,0 +1,18 @@ +#include "script_component.hpp" +#include "\z\ace\addons\hearing\script_macros_hearingProtection.hpp" + +class CfgPatches { + class ADDON { + name = COMPONENT_NAME; + units[] = {}; + weapons[] = {}; + requiredVersion = REQUIRED_VERSION; + requiredAddons[] = {"ace_common", "EF_Weapons", "EF_Marines"}; + skipWhenMissingDependencies = 1; + author = ECSTRING(common,ACETeam); + url = ECSTRING(main,URL); + VERSION_CONFIG; + }; +}; + +#include "CfgWeapons.hpp" diff --git a/addons/compat_ef/script_component.hpp b/addons/compat_ef/script_component.hpp new file mode 100644 index 00000000000..b322febf6b0 --- /dev/null +++ b/addons/compat_ef/script_component.hpp @@ -0,0 +1,9 @@ +#define COMPONENT compat_ef +#define COMPONENT_BEAUTIFIED Expeditionary Forces Compatibility + +#include "\z\ace\addons\main\script_mod.hpp" + +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE + +#include "\z\ace\addons\main\script_macros.hpp"