forked from acemod/ACE3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compat GM - Remove
ace_hearing
hard dependency (acemod#10653)
- Loading branch information
1 parent
f8c7bdb
commit 36f818c
Showing
6 changed files
with
151 additions
and
128 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
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,125 @@ | ||
class CfgWeapons { | ||
// HELMETS | ||
class gm_ge_headgear_headset_crew_base; | ||
class gm_ge_headgear_headset_crew_oli: gm_ge_headgear_headset_crew_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
|
||
class gm_ge_headgear_sph4_base; | ||
class gm_ge_headgear_sph4_oli: gm_ge_headgear_sph4_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
|
||
class gm_pl_headgear_wz63_base; | ||
class gm_pl_army_headgear_wz63_oli: gm_pl_headgear_wz63_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_pl_army_headgear_wz63_net_oli: gm_pl_headgear_wz63_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
|
||
class gm_ge_headgear_crewhat_80_base; | ||
class gm_ge_headgear_crewhat_80_blk: gm_ge_headgear_crewhat_80_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
|
||
class gm_gc_headgear_crewhat_80_base; | ||
class gm_gc_army_headgear_crewhat_80_blk: gm_gc_headgear_crewhat_80_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
|
||
class gm_gc_headgear_zsh3_base; | ||
class gm_gc_headgear_zsh3_wht: gm_gc_headgear_zsh3_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_gc_headgear_zsh3_blu: gm_gc_headgear_zsh3_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_gc_headgear_zsh3_orn: gm_gc_headgear_zsh3_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
|
||
class gm_ge_headgear_beret_crew_base; | ||
class gm_ge_headgear_beret_crew_blk: gm_ge_headgear_beret_crew_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
|
||
class gm_ge_headgear_beret_crew_bdx; | ||
class gm_ge_headgear_beret_crew_grn; | ||
class gm_ge_headgear_beret_crew_red; | ||
|
||
class gm_ge_headgear_beret_crew_red_antiair: gm_ge_headgear_beret_crew_red { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_ge_headgear_beret_crew_red_artillery: gm_ge_headgear_beret_crew_red { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_ge_headgear_beret_crew_red_engineer: gm_ge_headgear_beret_crew_red { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_ge_headgear_beret_crew_red_maintenance: gm_ge_headgear_beret_crew_red { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_ge_headgear_beret_crew_grn_mechinf: gm_ge_headgear_beret_crew_grn { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_ge_headgear_beret_crew_grn_infantry: gm_ge_headgear_beret_crew_grn { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_ge_headgear_beret_crew_red_militarypolice: gm_ge_headgear_beret_crew_red { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_ge_headgear_beret_crew_red_nbc: gm_ge_headgear_beret_crew_red { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_ge_headgear_beret_crew_red_opcom: gm_ge_headgear_beret_crew_red { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_ge_headgear_beret_crew_bdx_paratrooper: gm_ge_headgear_beret_crew_bdx { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_ge_headgear_beret_crew_bdx_lrrp: gm_ge_headgear_beret_crew_bdx { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_ge_headgear_beret_crew_red_supply: gm_ge_headgear_beret_crew_red { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_ge_headgear_beret_crew_red_signals: gm_ge_headgear_beret_crew_red { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
|
||
class gm_ge_bgs_headgear_beret_crew_grn: gm_ge_headgear_beret_crew_grn { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_ge_bgs_headgear_beret_crew_grn_sf: gm_ge_headgear_beret_crew_grn { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
|
||
class gm_ge_headgear_hat_beanie_base; | ||
class gm_ge_headgear_hat_beanie_crew_blk: gm_ge_headgear_hat_beanie_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
|
||
class gm_xx_headgear_headwrap_01_base; | ||
class gm_xx_headgear_headwrap_crew_01_oli: gm_xx_headgear_headwrap_01_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_xx_headgear_headwrap_crew_01_m84: gm_xx_headgear_headwrap_01_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_xx_headgear_headwrap_crew_01_grn: gm_xx_headgear_headwrap_01_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_xx_headgear_headwrap_crew_01_smp: gm_xx_headgear_headwrap_01_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_xx_headgear_headwrap_crew_01_blk: gm_xx_headgear_headwrap_01_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_xx_headgear_headwrap_crew_01_flk: gm_xx_headgear_headwrap_01_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class gm_xx_headgear_headwrap_crew_01_trp: gm_xx_headgear_headwrap_01_base { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
}; |
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,23 @@ | ||
#include "script_component.hpp" | ||
#include "\z\ace\addons\hearing\script_macros_hearingProtection.hpp" | ||
|
||
class CfgPatches { | ||
class SUBADDON { | ||
name = COMPONENT_NAME; | ||
units[] = {}; | ||
weapons[] = {}; | ||
requiredVersion = REQUIRED_VERSION; | ||
requiredAddons[] = { | ||
"gm_core", | ||
"ace_hearing" | ||
}; | ||
skipWhenMissingDependencies = 1; | ||
author = ECSTRING(common,ACETeam); | ||
url = ECSTRING(main,URL); | ||
VERSION_CONFIG; | ||
|
||
addonRootClass = QUOTE(ADDON); | ||
}; | ||
}; | ||
|
||
#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,3 @@ | ||
#define SUBCOMPONENT hearing | ||
#define SUBCOMPONENT_BEAUTIFIED Hearing | ||
#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
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 |
---|---|---|
|
@@ -141,5 +141,4 @@ class CfgWeapons { | |
class H_SPE_GER_ST_Tanker_Cap: H_SPE_GER_Fieldcap { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
|
||
}; |