-
Notifications
You must be signed in to change notification settings - Fork 740
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expeditionary Forces Compatibility (#10524)
- Loading branch information
1 parent
7aeb6b5
commit 80d6fd3
Showing
8 changed files
with
176 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
z\ace\addons\compat_ef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
3 changes: 3 additions & 0 deletions
3
addons/compat_ef/compat_ef_realisticnames/script_component.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#define SUBCOMPONENT realisticnames | ||
#define SUBCOMPONENT_BEAUTIFIED Realistic Names | ||
#include "..\script_component.hpp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project name="ACE"> | ||
<Package name="Compat_EF_RealisticNames"> | ||
<Key ID="STR_ACE_Compat_EF_RealisticNames_MRAP_01_AT"> | ||
<English>M-ATV AT</English> | ||
<Czech>M-ATV AT</Czech> | ||
<French>M-ATV AC</French> | ||
<Spanish>M-ATV AT</Spanish> | ||
<Italian>M-ATV AC</Italian> | ||
<Polish>M-ATV ppanc</Polish> | ||
<Portuguese>M-ATV AT</Portuguese> | ||
<Russian>M-ATV ПТ</Russian> | ||
<German>M-ATV AT</German> | ||
<Korean>M-ATV AT</Korean> | ||
<Japanese>M-ATV AT</Japanese> | ||
<Chinese>防地雷反伏擊全地形車 AT</Chinese> | ||
<Chinesesimp>M-ATV AT</Chinesesimp> | ||
<Turkish>M-ATV AT</Turkish> | ||
<Hungarian>M-ATV AT</Hungarian> | ||
</Key> | ||
<Key ID="STR_ACE_Compat_EF_RealisticNames_MRAP_01_FSV"> | ||
<English>M-ATV FSV</English> | ||
<Czech>M-ATV FSV</Czech> | ||
<French>M-ATV FSV</French> | ||
<Spanish>M-ATV FSV</Spanish> | ||
<Italian>M-ATV FSV</Italian> | ||
<Polish>M-ATV FSV</Polish> | ||
<Portuguese>M-ATV FSV</Portuguese> | ||
<Russian>M-ATV FSV</Russian> | ||
<German>M-ATV FSV</German> | ||
<Korean>M-ATV FSV</Korean> | ||
<Japanese>M-ATV FSV</Japanese> | ||
<Chinese>防地雷反伏擊全地形車 FSV</Chinese> | ||
<Chinesesimp>M-ATV FSV</Chinesesimp> | ||
<Turkish>M-ATV FSV</Turkish> | ||
<Hungarian>M-ATV FSV</Hungarian> | ||
</Key> | ||
<Key ID="STR_ACE_Compat_EF_RealisticNames_MRAP_01_LAAD"> | ||
<English>M-ATV LAAD</English> | ||
<Czech>M-ATV LAAD</Czech> | ||
<French>M-ATV LAAD</French> | ||
<Spanish>M-ATV LAAD</Spanish> | ||
<Italian>M-ATV LAAD</Italian> | ||
<Polish>M-ATV LAAD</Polish> | ||
<Portuguese>M-ATV LAAD</Portuguese> | ||
<Russian>M-ATV LAAD</Russian> | ||
<German>M-ATV LAAD</German> | ||
<Korean>M-ATV LAAD</Korean> | ||
<Japanese>M-ATV LAAD</Japanese> | ||
<Chinese>防地雷反伏擊全地形車 LAAD</Chinese> | ||
<Chinesesimp>M-ATV LAAD</Chinesesimp> | ||
<Turkish>M-ATV LAAD</Turkish> | ||
<Hungarian>M-ATV LAAD</Hungarian> | ||
</Key> | ||
<Key ID="STR_ACE_Compat_EF_RealisticNames_AH99J"> | ||
<English>RAH-66J Comanche</English> | ||
<Czech>RAH-66J Comanche</Czech> | ||
<French>RAH-66J Comanche</French> | ||
<Spanish>RAH-66J Comanche</Spanish> | ||
<Italian>RAH-66J Comanche</Italian> | ||
<Polish>RAH-66J Comanche</Polish> | ||
<Portuguese>RAH-66J Comanche</Portuguese> | ||
<Russian>RAH-66J Comanche</Russian> | ||
<German>RAH-66J Comanche</German> | ||
<Korean>RAH-66J 코만치</Korean> | ||
<Japanese>RAH-66J コマンチ</Japanese> | ||
<Chinese>RAH-66J "卡曼契"攻擊直升機</Chinese> | ||
<Chinesesimp>RAH-66J "科曼奇"</Chinesesimp> | ||
<Turkish>RAH-66J Comanche</Turkish> | ||
<Hungarian>RAH-66J Comanche</Hungarian> | ||
</Key> | ||
</Package> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |