-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compatiblity - Fix error popups caused by KKA3 ACE Extension (#207)
* Update CBA macros to 3.16.0 SUBCOMPONENT support * Add Compatibility component * Fix errors caused by KKA3_ACE_Extension 766491311 * Fix being able to move in static animations * Add KKA3 (commented) to launch config * Depend on AFM main, bump min version to 2.14 * Remove tabs
- Loading branch information
Showing
10 changed files
with
123 additions
and
17 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 @@ | ||
z\afm\addons\compatibility |
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 @@ | ||
# Compatiblity | ||
|
||
Adds compatiblity for various mods, loaded as needed thanks to `skipWhenMissingDependencies` |
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,17 @@ | ||
#include "script_component.hpp" | ||
|
||
class CfgPatches { | ||
class ADDON { | ||
name = COMPONENT_NAME; | ||
units[] = {}; | ||
weapons[] = {}; | ||
requiredVersion = REQUIRED_VERSION; | ||
requiredAddons[] = { | ||
"afm_main", | ||
"A3_Data_F_Decade_Loadorder" | ||
}; | ||
author = "ArmaForces"; | ||
authors[] = {"veteran29"}; | ||
VERSION_CONFIG; | ||
}; | ||
}; |
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,47 @@ | ||
|
||
class CfgMovesBasic; | ||
class CfgMovesMaleSdr: CfgMovesBasic { | ||
class States { | ||
class AmovPercMstpSnonWnonDnon; | ||
class CutSceneAnimationBase; | ||
class relax_44: CutSceneAnimationBase { | ||
actions = "CivilStandActions"; | ||
}; | ||
class relax_45: CutSceneAnimationBase { | ||
actions = "CivilStandActions"; | ||
}; | ||
class attention1: CutSceneAnimationBase { | ||
actions = "CivilStandActions"; | ||
}; | ||
class attention2: CutSceneAnimationBase { | ||
actions = "CivilStandActions"; | ||
}; | ||
class attention3: CutSceneAnimationBase { | ||
actions = "CivilStandActions"; | ||
}; | ||
class relax_tes: CutSceneAnimationBase { | ||
actions = "CivilStandActions"; | ||
}; | ||
class relax_21: CutSceneAnimationBase { | ||
actions = "CivilStandActions"; | ||
}; | ||
class relax_24: CutSceneAnimationBase { | ||
actions = "CivilStandActions"; | ||
}; | ||
class relax_3: CutSceneAnimationBase { | ||
actions = "CivilStandActions"; | ||
}; | ||
class relax_32: CutSceneAnimationBase { | ||
actions = "CivilStandActions"; | ||
}; | ||
class relax_8: CutSceneAnimationBase { | ||
actions = "CivilStandActions"; | ||
}; | ||
class relax_7: CutSceneAnimationBase { | ||
actions = "CivilStandActions"; | ||
}; | ||
class rattention2: CutSceneAnimationBase { | ||
actions = "CivilStandActions"; | ||
}; | ||
}; | ||
}; |
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" | ||
|
||
class CfgPatches { | ||
class SUBADDON { | ||
name = COMPONENT_NAME; | ||
units[] = {}; | ||
weapons[] = {}; | ||
requiredVersion = REQUIRED_VERSION; | ||
requiredAddons[] = { | ||
"KKA3_ACE_Extension_Anim" | ||
}; | ||
skipWhenMissingDependencies = 1; | ||
author = "ArmaForces"; | ||
authors[] = {"veteran29"}; | ||
VERSION_CONFIG; | ||
}; | ||
}; | ||
|
||
#include "CfgMoves.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,2 @@ | ||
#define SUBCOMPONENT kka3_ace_extension | ||
#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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#define COMPONENT compatibility | ||
#include "\z\afm\addons\main\script_mod.hpp" | ||
|
||
// #define DEBUG_MODE_FULL | ||
// #define DISABLE_COMPILE_CACHE | ||
|
||
#ifdef DEBUG_ENABLED_COMPATIBILITY | ||
#define DEBUG_MODE_FULL | ||
#endif | ||
#ifdef DEBUG_SETTINGS_COMPATIBILITY | ||
#define DEBUG_SETTINGS DEBUG_SETTINGS_COMPATIBILITY | ||
#endif | ||
|
||
#include "\z\afm\addons\main\script_macros.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