2016-09-11 18:46:35 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2016-09-19 12:41:02 +00:00
|
|
|
ADDON = false;
|
|
|
|
|
2016-11-23 19:35:25 +00:00
|
|
|
PREP_RECOMPILE_START;
|
2016-09-19 12:41:02 +00:00
|
|
|
#include "XEH_PREP.hpp"
|
2016-11-23 19:35:25 +00:00
|
|
|
PREP_RECOMPILE_END;
|
2016-09-19 12:41:02 +00:00
|
|
|
|
2019-03-24 05:37:39 +00:00
|
|
|
#include "initSettings.sqf"
|
|
|
|
|
2022-08-25 17:05:50 +00:00
|
|
|
// Damage types which do not cause blood spurts
|
|
|
|
GVAR(noBloodDamageTypes) = createHashMapFromArray (call (uiNamespace getVariable QGVAR(noBloodDamageTypes)));
|
|
|
|
|
2016-09-19 13:08:38 +00:00
|
|
|
// blood object model namespace
|
|
|
|
GVAR(models) = [] call CBA_fnc_createNamespace;
|
|
|
|
|
|
|
|
{
|
|
|
|
_x params ["_name", "_model"];
|
|
|
|
|
|
|
|
// createSimpleObject expects a path without the leading slash
|
|
|
|
if ((_model select [0,1]) isEqualTo "\") then {
|
|
|
|
_model = _model select [1];
|
|
|
|
};
|
|
|
|
|
|
|
|
GVAR(models) setVariable [_name, _model];
|
|
|
|
} forEach [
|
2016-09-19 13:31:53 +00:00
|
|
|
// higher number means bigger model
|
2016-09-30 21:29:48 +00:00
|
|
|
["blooddrop_1", QPATHTOF(data\ace_drop_1.p3d)],
|
|
|
|
["blooddrop_2", QPATHTOF(data\ace_drop_2.p3d)],
|
|
|
|
["blooddrop_3", QPATHTOF(data\ace_drop_3.p3d)],
|
|
|
|
["blooddrop_4", QPATHTOF(data\ace_drop_4.p3d)]
|
2016-09-19 13:08:38 +00:00
|
|
|
];
|
|
|
|
|
2016-09-19 12:41:02 +00:00
|
|
|
ADDON = true;
|