ACE3/addons/ui/XEH_preInit.sqf

27 lines
781 B
Plaintext
Raw Permalink Normal View History

#include "script_component.hpp"
ADDON = false;
PREP_RECOMPILE_START;
2016-03-06 11:50:16 +00:00
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
#include "initSettings.inc.sqf"
GVAR(interfaceInitialized) = false;
GVAR(speedIndicatorIconHash) = createHashMapFromArray [
// Standing/Crouched
[["wlk", false], QPATHTOF(ui\speed_indicator\1_ca.paa)],
[["tac", false], QPATHTOF(ui\speed_indicator\2_ca.paa)],
[["run", false], QPATHTOF(ui\speed_indicator\3_ca.paa)],
[["eva", false], QPATHTOF(ui\speed_indicator\4_ca.paa)],
// Prone
[["wlk", true], QPATHTOF(ui\speed_indicator\1_ca.paa)],
[["run", true], QPATHTOF(ui\speed_indicator\2_ca.paa)],
[["spr", true], QPATHTOF(ui\speed_indicator\3_ca.paa)],
[["eva", true], QPATHTOF(ui\speed_indicator\4_ca.paa)]
];
ADDON = true;