2015-04-05 06:57:24 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
ADDON = false;
|
|
|
|
|
2016-11-23 19:35:25 +00:00
|
|
|
PREP_RECOMPILE_START;
|
2016-02-22 14:20:36 +00:00
|
|
|
#include "XEH_PREP.hpp"
|
2016-11-23 19:35:25 +00:00
|
|
|
PREP_RECOMPILE_END;
|
2015-04-05 06:57:24 +00:00
|
|
|
|
2019-12-17 16:14:45 +00:00
|
|
|
#include "initSettings.sqf"
|
|
|
|
|
2023-07-02 19:10:22 +00:00
|
|
|
["Mortar_01_base_F", "Init", { // override CSW's ammo handling with Mk6 setting
|
|
|
|
params ["_mortar"];
|
|
|
|
_mortar setVariable [QEGVAR(csw,disabled), !GVAR(useAmmoHandling)];
|
|
|
|
}] call CBA_fnc_addClassEventHandler;
|
|
|
|
|
|
|
|
GVAR(ammoHandlingMagazineReplacement) = createHashMapFromArray [
|
|
|
|
["8Rnd_82mm_Mo_shells", "ACE_1Rnd_82mm_Mo_HE"],
|
|
|
|
["8Rnd_82mm_Mo_Smoke_white", "ACE_1Rnd_82mm_Mo_Smoke"],
|
|
|
|
["8Rnd_82mm_Mo_Flare_white", "ACE_1Rnd_82mm_Mo_Illum"],
|
|
|
|
["8Rnd_82mm_Mo_guided", "ACE_1Rnd_82mm_Mo_HE_Guided"],
|
|
|
|
["8Rnd_82mm_Mo_LG", "ACE_1Rnd_82mm_Mo_HE_LaserGuided"]
|
|
|
|
];
|
|
|
|
|
2015-04-05 06:57:24 +00:00
|
|
|
ADDON = true;
|