-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Arsenal/Compat RHS - Improve support for RHS attachments (#9386)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
- Loading branch information
1 parent
6029e75
commit ac29287
Showing
11 changed files
with
152 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
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
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
7 changes: 7 additions & 0 deletions
7
addons/compat_rhs_afrf3/compat_rhs_afrf3_arsenal/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,7 @@ | ||
class CfgWeapons { | ||
// Last update: RHSAFRF 0.5.6 | ||
class rhs_acc_perst3; | ||
class rhs_acc_perst3_2dp: rhs_acc_perst3 { | ||
baseWeapon = "rhs_acc_perst3_2dp"; | ||
}; | ||
}; |
18 changes: 18 additions & 0 deletions
18
addons/compat_rhs_afrf3/compat_rhs_afrf3_arsenal/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,18 @@ | ||
#include "script_component.hpp" | ||
|
||
class CfgPatches { | ||
class SUBADDON { | ||
addonRootClass = QUOTE(COMPONENT); | ||
units[] = {}; | ||
weapons[] = {}; | ||
requiredVersion = REQUIRED_VERSION; | ||
requiredAddons[] = { | ||
"rhs_main_loadorder", | ||
"ace_arsenal" | ||
}; | ||
skipWhenMissingDependencies = 1; | ||
VERSION_CONFIG; | ||
}; | ||
}; | ||
|
||
//#include "CfgWeapons.hpp" |
3 changes: 3 additions & 0 deletions
3
addons/compat_rhs_afrf3/compat_rhs_afrf3_arsenal/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 arsenal | ||
#define SUBCOMPONENT_BEAUTIFIED Arsenal | ||
#include "..\script_component.hpp" |
50 changes: 50 additions & 0 deletions
50
addons/compat_rhs_usf3/compat_rhs_usf3_arsenal/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,50 @@ | ||
class CfgWeapons { | ||
// Last update: RHSUSAF 0.5.6 | ||
class acc_pointer_IR; | ||
class rhsusf_acc_anpeq15: acc_pointer_IR { | ||
baseWeapon = "rhsusf_acc_anpeq15"; | ||
}; | ||
class rhsusf_acc_anpeq15_bk: rhsusf_acc_anpeq15 { | ||
baseWeapon = "rhsusf_acc_anpeq15_bk"; | ||
}; | ||
class rhsusf_acc_anpeq15_light; | ||
class rhsusf_acc_anpeq15_bk_light: rhsusf_acc_anpeq15_light { | ||
baseWeapon = "rhsusf_acc_anpeq15_bk"; | ||
}; | ||
class rhsusf_acc_anpeq15_wmx: rhsusf_acc_anpeq15 { | ||
baseWeapon = "rhsusf_acc_anpeq15_wmx"; | ||
}; | ||
class rhsusf_acc_anpeq15_wmx_light: rhsusf_acc_anpeq15_light { | ||
baseWeapon = "rhsusf_acc_anpeq15_wmx"; | ||
}; | ||
class rhsusf_acc_M952V: rhsusf_acc_anpeq15_light { | ||
baseWeapon = "rhsusf_acc_M952V"; | ||
}; | ||
class rhsusf_acc_wmx: rhsusf_acc_M952V { | ||
baseWeapon = "rhsusf_acc_wmx"; | ||
}; | ||
class rhsusf_acc_wmx_bk: rhsusf_acc_M952V { | ||
baseWeapon = "rhsusf_acc_wmx_bk"; | ||
}; | ||
class rhsusf_acc_anpeq15A: acc_pointer_IR { | ||
baseWeapon = "rhsusf_acc_anpeq15A"; | ||
}; | ||
class rhsusf_acc_anpeq15side: acc_pointer_IR { | ||
baseWeapon = "rhsusf_acc_anpeq15side"; | ||
}; | ||
class rhsusf_acc_anpeq15side_bk: rhsusf_acc_anpeq15side { | ||
baseWeapon = "rhsusf_acc_anpeq15side_bk"; | ||
}; | ||
class rhsusf_acc_anpeq16a: rhsusf_acc_anpeq15 { | ||
baseWeapon = "rhsusf_acc_anpeq16a"; | ||
}; | ||
class rhsusf_acc_anpeq16a_light: rhsusf_acc_anpeq15_light { | ||
baseWeapon = "rhsusf_acc_anpeq16a"; | ||
}; | ||
class rhsusf_acc_anpeq16a_top: rhsusf_acc_anpeq16a { | ||
baseWeapon = "rhsusf_acc_anpeq16a_top"; | ||
}; | ||
class rhsusf_acc_anpeq16a_light_top: rhsusf_acc_anpeq16a_light { | ||
baseWeapon = "rhsusf_acc_anpeq16a_top"; | ||
}; | ||
}; |
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 { | ||
addonRootClass = QUOTE(COMPONENT); | ||
units[] = {}; | ||
weapons[] = {}; | ||
requiredVersion = REQUIRED_VERSION; | ||
requiredAddons[] = { | ||
"rhsusf_main_loadorder", | ||
"ace_arsenal" | ||
}; | ||
skipWhenMissingDependencies = 1; | ||
VERSION_CONFIG; | ||
}; | ||
}; | ||
|
||
#include "CfgWeapons.hpp" |
3 changes: 3 additions & 0 deletions
3
addons/compat_rhs_usf3/compat_rhs_usf3_arsenal/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 arsenal | ||
#define SUBCOMPONENT_BEAUTIFIED Arsenal | ||
#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