forked from Bob-Murphy/A3-Antistasi-1.4
-
-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* config patch ChDKZ tanks * Update RHS_AI_ChDKZ.sqf * added signifier "rhs" to class names * Update chdkz_rhs.hpp * Restructure config_fixes to work better with multiple modsets * Update RHS_AI_ChDKZ.sqf adjusted usage of sabatour carbines --------- Co-authored-by: John Jordan <[email protected]>
- Loading branch information
Showing
9 changed files
with
116 additions
and
11 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,24 @@ | ||
#include "..\script_component.hpp" | ||
|
||
#if __has_include("\CUP\Vehicles\CUP_Vehicles_LoadOrder\config.bin") | ||
|
||
class CfgPatches { | ||
class PATCHNAME(CUP) { | ||
name = COMPONENT_NAME; | ||
units[] = {}; | ||
weapons[] = {}; | ||
requiredVersion = REQUIRED_VERSION; | ||
requiredAddons[] = {"A3_Data_F_AoW_Loadorder","CUP_Vehicles_LoadOrder"}; | ||
author = AUTHOR; | ||
authors[] = { AUTHORS }; | ||
authorUrl = ""; | ||
VERSION_CONFIG; | ||
}; | ||
}; | ||
|
||
// Uncomment when needed | ||
//#include "CfgMagazines.hpp" | ||
//#include "CfgVehicles.hpp" | ||
//#include "CfgWeapons.hpp" | ||
|
||
#endif // __has_include("\CUP\Vehicles\CUP_Vehicles_LoadOrder\config.bin") |
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,3 +1,4 @@ | ||
class CfgVehicles { | ||
#include "CfgVehicles\chdkz_rhs.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,4 @@ | ||
class CfgVehicles { | ||
#include "chdkz_rhs.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,24 @@ | ||
#include "..\script_component.hpp" | ||
|
||
#if __has_include("\rhsgref\addons\rhsgref_main\config.bin") | ||
|
||
class CfgPatches { | ||
class PATCHNAME(RHS) { | ||
name = COMPONENT_NAME; | ||
units[] = {}; | ||
weapons[] = {}; | ||
requiredVersion = REQUIRED_VERSION; | ||
requiredAddons[] = {"A3_Data_F_AoW_Loadorder","rhsgref_main_loadorder"}; | ||
author = AUTHOR; | ||
authors[] = { AUTHORS }; | ||
authorUrl = ""; | ||
VERSION_CONFIG; | ||
}; | ||
}; | ||
|
||
// Uncomment when needed | ||
//#include "CfgMagazines.hpp" | ||
#include "CfgVehicles.hpp" | ||
//#include "CfgWeapons.hpp" | ||
|
||
#endif // __has_include("\rhsgref\addons\rhsgref_main\config.bin" |
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
#define COMPONENT config_fixes | ||
#include "\x\A3A\addons\core\Includes\script_mod.hpp" | ||
#define PATCHNAME(x) ADDON##_##x |
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,55 @@ | ||
|
||
class rhsgref_ins_t72ba; | ||
class rhsgref_ins_t72bb; | ||
class rhsgref_ins_t72bc; | ||
|
||
class a3a_rhs_chdkz_72a : rhsgref_ins_t72ba{ | ||
|
||
#if __A3_DEBUG__ | ||
scope = 2; | ||
#else | ||
scope = 1; | ||
#endif | ||
class EventHandlers | ||
{ | ||
fired = "_this call (uinamespace getvariable 'BIS_fnc_effectFired');"; | ||
init = ""; | ||
killed = "_this call (uinamespace getvariable 'BIS_fnc_effectKilled');"; | ||
}; | ||
}; | ||
class a3a_rhs_chdkz_72b : rhsgref_ins_t72bb{ | ||
#if __A3_DEBUG__ | ||
scope = 2; | ||
#else | ||
scope = 1; | ||
#endif | ||
class EventHandlers | ||
{ | ||
fired = "_this call (uinamespace getvariable 'BIS_fnc_effectFired');"; | ||
init = ""; | ||
killed = "_this call (uinamespace getvariable 'BIS_fnc_effectKilled');"; | ||
}; | ||
}; | ||
class a3a_rhs_chdkz_72c : rhsgref_ins_t72bc{ | ||
#if __A3_DEBUG__ | ||
scope = 2; | ||
#else | ||
scope = 1; | ||
#endif | ||
hiddenSelectionsTextures[] = | ||
{ | ||
"rhsafrf\addons\rhs_t72_camo\data\rhs_t72b_01a_chdkz_co.paa", | ||
"rhsafrf\addons\rhs_t72_camo\data\rhs_t72b_02a_chdkz_co.paa", | ||
"rhsafrf\addons\rhs_t72\data\rhs_t72b_03_co.paa", | ||
"rhsafrf\addons\rhs_t72\data\rhs_t72b_04_co.paa", | ||
"rhsafrf\addons\rhs_t72\data\rhs_t72b_05_co.paa" | ||
}; | ||
class EventHandlers | ||
{ | ||
fired = "_this call (uinamespace getvariable 'BIS_fnc_effectFired');"; | ||
init = ""; | ||
killed = "_this call (uinamespace getvariable 'BIS_fnc_effectKilled');"; | ||
}; | ||
}; | ||
|
||
|
File renamed without changes.