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 SPE - Remove hard hearing dependency (acemod#10652)
- Loading branch information
1 parent
14e7870
commit ba72cdd
Showing
6 changed files
with
175 additions
and
144 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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
class CfgWeapons { | ||
#include "CfgWeapons\helmets.hpp" | ||
#include "CfgWeapons\launchers.hpp" | ||
#include "CfgWeapons\weapons.hpp" | ||
}; |
This file was deleted.
Oops, something went wrong.
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,145 @@ | ||
class CfgWeapons { | ||
class H_SPE_HelmetB; | ||
class H_SPE_Hat: H_SPE_HelmetB {}; | ||
|
||
//ALLIED PILOT | ||
class H_SPE_US_Helmet_Pilot: H_SPE_Hat { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_Pilot_Op: H_SPE_US_Helmet_Pilot { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_Pilot_Glasses_Up: H_SPE_US_Helmet_Pilot { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_Pilot_Glasses_Down: H_SPE_US_Helmet_Pilot { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_Pilot_Respirator: H_SPE_US_Helmet_Pilot { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_Pilot_Respirator_Glasses_Up: H_SPE_US_Helmet_Pilot_Respirator { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_Pilot_Respirator_Glasses_Down: H_SPE_US_Helmet_Pilot_Respirator { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_Pilot_SWDG_Respirator: H_SPE_US_Helmet_Pilot { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_Pilot_SWDG_low_Respirator: H_SPE_US_Helmet_Pilot { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_H15: H_SPE_US_Helmet_Pilot { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_H15_Op: H_SPE_US_Helmet_H15 { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_H15_SWDG: H_SPE_US_Helmet_H15 { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_H15_SWDG_low: H_SPE_US_Helmet_H15 { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_H15_O2: H_SPE_US_Helmet_H15 { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_H15_B7_O2: H_SPE_US_Helmet_H15_O2 { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_H15_B7_low_O2: H_SPE_US_Helmet_H15_O2 { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_H15_SWDG_O2: H_SPE_US_Helmet_H15_O2 { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_H15_SWDG_low_O2: H_SPE_US_Helmet_H15_O2 { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
|
||
//ALLIED TANKER | ||
class H_SPE_US_Helmet_Tank: H_SPE_HelmetB { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_Tank_NG: H_SPE_US_Helmet_Tank { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_Tank_Nun: H_SPE_US_Helmet_Tank { | ||
HEARING_PROTECTION_OPEN; | ||
}; | ||
class H_SPE_US_Helmet_Tank_M1_OS: H_SPE_US_Helmet_Tank { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_Tank_M1_NS: H_SPE_US_Helmet_Tank_M1_OS { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_Tank_M1_Scrim: H_SPE_US_Helmet_Tank_M1_OS { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_Tank_polar: H_SPE_US_Helmet_Tank { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_Tank_polar_tapes: H_SPE_US_Helmet_Tank_polar { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_Tank_polar_low: H_SPE_US_Helmet_Tank_polar { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_US_Helmet_Tank_tapes: H_SPE_US_Helmet_Tank { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
|
||
//AXIS PILOT | ||
class H_SPE_GER_LW_PilotHelmet_base: H_SPE_Hat { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_GER_LW_PilotHelmet: H_SPE_GER_LW_PilotHelmet_base { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_GER_LW_S_PilotHelmet: H_SPE_GER_LW_PilotHelmet_base { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_GER_LW_PilotHelmet_Mask_base: H_SPE_Hat { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_GER_LW_PilotHelmet_Mask: H_SPE_GER_LW_PilotHelmet_Mask_base { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_GER_LW_PilotHelmet_S_Mask: H_SPE_GER_LW_PilotHelmet_Mask_base { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
|
||
//AXIS TANKER | ||
class H_SPE_GER_TankPrivateCap: H_SPE_Hat { | ||
HEARING_PROTECTION_OPEN; | ||
}; | ||
class H_SPE_GER_TankOfficerCap: H_SPE_Hat { | ||
HEARING_PROTECTION_OPEN; | ||
}; | ||
class H_SPE_GER_Fieldcap: H_SPE_Hat { | ||
HEARING_PROTECTION_OPEN; | ||
}; | ||
class H_SPE_GER_Fieldcap2: H_SPE_GER_Fieldcap { | ||
HEARING_PROTECTION_OPEN; | ||
}; | ||
class H_SPE_GER_TankPrivateCap2: H_SPE_GER_TankPrivateCap { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_GER_TankOffzCap2: H_SPE_GER_TankPrivateCap { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_GER_TankOfficerCap2: H_SPE_GER_TankOfficerCap { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_GER_SPGPrivateCap: H_SPE_Hat { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_GER_ST_Tanker_Cap2: H_SPE_GER_Fieldcap2 { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
class H_SPE_GER_ST_Tanker_Cap: H_SPE_GER_Fieldcap { | ||
HEARING_PROTECTION_EARMUFF; | ||
}; | ||
|
||
}; |
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,27 @@ | ||
#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[] = { | ||
"ww2_spe_assets_c_weapons_infantryweapons_c", | ||
"ww2_spe_assets_c_vehicles_staticweapons_c", | ||
"ww2_spe_assets_c_vehicles_weapons_c", | ||
"ww2_spe_core_f_system_staticweapons_f", | ||
"ww2_spe_core_c_core_c_eventhandlers", | ||
"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