diff --git a/addons/malyutka/$PBOPREFIX$ b/addons/malyutka/$PBOPREFIX$ new file mode 100644 index 0000000000..190eb8198d --- /dev/null +++ b/addons/malyutka/$PBOPREFIX$ @@ -0,0 +1 @@ +z\ace\addons\malyutka \ No newline at end of file diff --git a/addons/malyutka/CfgAmmo.hpp b/addons/malyutka/CfgAmmo.hpp new file mode 100644 index 0000000000..29641fe2e2 --- /dev/null +++ b/addons/malyutka/CfgAmmo.hpp @@ -0,0 +1,4 @@ +class CfgAmmo { + +}; + diff --git a/addons/malyutka/CfgEventHandlers.hpp b/addons/malyutka/CfgEventHandlers.hpp new file mode 100644 index 0000000000..0d3301d6e0 --- /dev/null +++ b/addons/malyutka/CfgEventHandlers.hpp @@ -0,0 +1,17 @@ +class Extended_PreStart_EventHandlers { + class ADDON { + init = QUOTE(call COMPILE_FILE(XEH_preStart)); + }; +}; + +class Extended_PreInit_EventHandlers { + class ADDON { + init = QUOTE(call COMPILE_FILE(XEH_preInit)); + }; +}; + +class Extended_PostInit_EventHandlers { + class ADDON { + init = QUOTE(call COMPILE_FILE(XEH_postInit)); + }; +}; diff --git a/addons/malyutka/CfgMagazines.hpp b/addons/malyutka/CfgMagazines.hpp new file mode 100644 index 0000000000..02b5a5b7f0 --- /dev/null +++ b/addons/malyutka/CfgMagazines.hpp @@ -0,0 +1,3 @@ +class CfgMagazines { +}; + diff --git a/addons/malyutka/CfgVehicles.hpp b/addons/malyutka/CfgVehicles.hpp new file mode 100644 index 0000000000..1789c431a6 --- /dev/null +++ b/addons/malyutka/CfgVehicles.hpp @@ -0,0 +1,3 @@ +class CfgVehicles { + +}; \ No newline at end of file diff --git a/addons/malyutka/CfgWeapons.hpp b/addons/malyutka/CfgWeapons.hpp new file mode 100644 index 0000000000..bf8e1c337a --- /dev/null +++ b/addons/malyutka/CfgWeapons.hpp @@ -0,0 +1,4 @@ +class CfgWeapons { + +}; + diff --git a/addons/malyutka/README.md b/addons/malyutka/README.md new file mode 100644 index 0000000000..73cf07c0af --- /dev/null +++ b/addons/malyutka/README.md @@ -0,0 +1,12 @@ +ace_malutka +=================== + +Adds 9M14 Malyutka MCLOS ATGM + + +## Maintainers + +The people responsible for merging changes to this component or answering potential questions. + +- [Brandon-TCVM](https://github.com/TheCandianVendingMachine) + diff --git a/addons/malyutka/XEH_PREP.hpp b/addons/malyutka/XEH_PREP.hpp new file mode 100644 index 0000000000..e69de29bb2 diff --git a/addons/malyutka/XEH_postInit.sqf b/addons/malyutka/XEH_postInit.sqf new file mode 100644 index 0000000000..6eccf9d1dd --- /dev/null +++ b/addons/malyutka/XEH_postInit.sqf @@ -0,0 +1,2 @@ +#include "script_component.hpp" + diff --git a/addons/malyutka/XEH_preInit.sqf b/addons/malyutka/XEH_preInit.sqf new file mode 100644 index 0000000000..29cc0a7f24 --- /dev/null +++ b/addons/malyutka/XEH_preInit.sqf @@ -0,0 +1,10 @@ +#include "script_component.hpp" + +ADDON = false; + +PREP_RECOMPILE_START; +#include "XEH_PREP.hpp" +PREP_RECOMPILE_END; + +ADDON = true; + diff --git a/addons/malyutka/XEH_preStart.sqf b/addons/malyutka/XEH_preStart.sqf new file mode 100644 index 0000000000..76b104a5bc --- /dev/null +++ b/addons/malyutka/XEH_preStart.sqf @@ -0,0 +1,4 @@ +#include "script_component.hpp" + +#include "XEH_PREP.hpp" + diff --git a/addons/malyutka/config.cpp b/addons/malyutka/config.cpp new file mode 100644 index 0000000000..8bf5e46d00 --- /dev/null +++ b/addons/malyutka/config.cpp @@ -0,0 +1,22 @@ +#include "script_component.hpp" + +class CfgPatches { + class ADDON { + name = COMPONENT_NAME; + units[] = {}; + weapons[] = {}; + requiredVersion = REQUIRED_VERSION; + requiredAddons[] = {"ace_common","ace_missileguidance"}; + author = ECSTRING(common,ACETeam); + authors[] = {"Brandon (TCVM)"}; + url = ECSTRING(main,URL); + VERSION_CONFIG; + }; +}; + +#include "CfgEventHandlers.hpp" +#include "CfgAmmo.hpp" +#include "CfgMagazines.hpp" +#include "CfgWeapons.hpp" +#include "CfgVehicles.hpp" + diff --git a/addons/malyutka/data/9m14.p3d b/addons/malyutka/data/9m14.p3d new file mode 100644 index 0000000000..4b934d20dc Binary files /dev/null and b/addons/malyutka/data/9m14.p3d differ diff --git a/addons/malyutka/data/model.cfg b/addons/malyutka/data/model.cfg new file mode 100644 index 0000000000..8df5708067 --- /dev/null +++ b/addons/malyutka/data/model.cfg @@ -0,0 +1,20 @@ +class CfgSkeletons { + class Default { + isDiscrete = 1; + skeletonInherit = ""; + skeletonBones[] = {}; + }; + class ACE_Malyutka: Default {}; +}; +class CfgModels { + class Default { + sectionsInherit = ""; + sections[] = {}; + skeletonName = ""; + }; + class ACE_Malyutka : Default { + sectionsInherit = ""; + sections[] = {}; + skeletonName = "ACE_Malyutka"; + }; +}; \ No newline at end of file diff --git a/addons/malyutka/functions/script_component.hpp b/addons/malyutka/functions/script_component.hpp new file mode 100644 index 0000000000..352793e84b --- /dev/null +++ b/addons/malyutka/functions/script_component.hpp @@ -0,0 +1 @@ +#include "\z\ace\addons\malyutka\script_component.hpp" \ No newline at end of file diff --git a/addons/malyutka/script_component.hpp b/addons/malyutka/script_component.hpp new file mode 100644 index 0000000000..37ec1c414f --- /dev/null +++ b/addons/malyutka/script_component.hpp @@ -0,0 +1,18 @@ +#define COMPONENT malyutka +#define COMPONENT_BEAUTIFIED Malyutka +#include "\z\ace\addons\main\script_mod.hpp" + +// #define DEBUG_MODE_FULL +// #define DISABLE_COMPILE_CACHE +// #define ENABLE_PERFORMANCE_COUNTERS + +#ifdef DEBUG_ENABLED_MALYUTKA + #define DEBUG_MODE_FULL +#endif + +#ifdef DEBUG_SETTINGS_MALYUTKA + #define DEBUG_SETTINGS DEBUG_SETTINGS_MALYUTKA +#endif + +#include "\z\ace\addons\main\script_macros.hpp" + diff --git a/addons/malyutka/stringtable.xml b/addons/malyutka/stringtable.xml new file mode 100644 index 0000000000..08185c8ecf --- /dev/null +++ b/addons/malyutka/stringtable.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/addons/missileguidance/script_component.hpp b/addons/missileguidance/script_component.hpp index f105e9444a..70c679a1b9 100644 --- a/addons/missileguidance/script_component.hpp +++ b/addons/missileguidance/script_component.hpp @@ -2,10 +2,10 @@ #define COMPONENT_BEAUTIFIED Missile Guidance #include "\z\ace\addons\main\script_mod.hpp" -// #define DRAW_GUIDANCE_INFO + #define DRAW_GUIDANCE_INFO // #define ENABLE_PROJECTILE_CAMERA // #define DEBUG_MODE_FULL -// #define DISABLE_COMPILE_CACHE + #define DISABLE_COMPILE_CACHE // #define ENABLE_PERFORMANCE_COUNTERS #ifdef DEBUG_ENABLED_MISSILEGUIDANCE