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.
RHS Compats - Remove silent
ace_hearing
dependency from RHS compats (…
…acemod#10134) Remove hearing silent hearing dependency from RHS compats
- Loading branch information
Showing
10 changed files
with
248 additions
and
199 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
28 changes: 28 additions & 0 deletions
28
addons/compat_rhs_afrf3/compat_rhs_afrf3_hearing/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,28 @@ | ||
class CfgWeapons { | ||
class H_HelmetB; | ||
class rhs_tsh4: H_HelmetB { | ||
HEARING_PROTECTION_VICCREW; | ||
}; | ||
class rhs_zsh7a: H_HelmetB { | ||
HEARING_PROTECTION_VICCREW; | ||
}; | ||
class rhs_gssh18: H_HelmetB { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class rhs_6m2: H_HelmetB { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
|
||
class rhs_6b47; | ||
class rhs_6b47_6m2: rhs_6b47 { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
class rhs_6b47_6m2_1: rhs_6b47 { | ||
HEARING_PROTECTION_PELTOR; | ||
}; | ||
|
||
class rhs_6b47_bare; | ||
class rhs_6b48: rhs_6b47_bare { | ||
HEARING_PROTECTION_VICCREW; | ||
}; | ||
}; |
19 changes: 19 additions & 0 deletions
19
addons/compat_rhs_afrf3/compat_rhs_afrf3_hearing/config.cpp
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,19 @@ | ||
#include "script_component.hpp" | ||
#include "\z\ace\addons\hearing\script_macros_hearingProtection.hpp" | ||
|
||
class CfgPatches { | ||
class SUBADDON { | ||
addonRootClass = QUOTE(COMPONENT); | ||
units[] = {}; | ||
weapons[] = {}; | ||
requiredVersion = REQUIRED_VERSION; | ||
requiredAddons[] = { | ||
"rhs_main_loadorder", | ||
"ace_hearing" | ||
}; | ||
skipWhenMissingDependencies = 1; | ||
VERSION_CONFIG; | ||
}; | ||
}; | ||
|
||
#include "CfgWeapons.hpp" |
3 changes: 3 additions & 0 deletions
3
addons/compat_rhs_afrf3/compat_rhs_afrf3_hearing/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 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
Oops, something went wrong.