mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
add russian rank icons
This commit is contained in:
parent
e88ecfc236
commit
9eba2fe940
BIN
addons/nametags/UI/icons_russia/captain_gs.paa
Normal file
BIN
addons/nametags/UI/icons_russia/captain_gs.paa
Normal file
Binary file not shown.
BIN
addons/nametags/UI/icons_russia/colonel_gs.paa
Normal file
BIN
addons/nametags/UI/icons_russia/colonel_gs.paa
Normal file
Binary file not shown.
BIN
addons/nametags/UI/icons_russia/corporal_gs.paa
Normal file
BIN
addons/nametags/UI/icons_russia/corporal_gs.paa
Normal file
Binary file not shown.
BIN
addons/nametags/UI/icons_russia/lieutenant_gs.paa
Normal file
BIN
addons/nametags/UI/icons_russia/lieutenant_gs.paa
Normal file
Binary file not shown.
BIN
addons/nametags/UI/icons_russia/major_gs.paa
Normal file
BIN
addons/nametags/UI/icons_russia/major_gs.paa
Normal file
Binary file not shown.
BIN
addons/nametags/UI/icons_russia/private_gs.paa
Normal file
BIN
addons/nametags/UI/icons_russia/private_gs.paa
Normal file
Binary file not shown.
BIN
addons/nametags/UI/icons_russia/sergeant_gs.paa
Normal file
BIN
addons/nametags/UI/icons_russia/sergeant_gs.paa
Normal file
Binary file not shown.
@ -5,9 +5,15 @@
|
||||
|
||||
if (!hasInterface) exitWith {};
|
||||
|
||||
if (isNil QGVAR(factionRanks)) then {
|
||||
GVAR(factionRanks) = [] call CBA_fnc_createNamespace;
|
||||
};
|
||||
["OPF_F", [
|
||||
QPATHTOF(UI\icons_russia\private_gs.paa),
|
||||
QPATHTOF(UI\icons_russia\corporal_gs.paa),
|
||||
QPATHTOF(UI\icons_russia\sergeant_gs.paa),
|
||||
QPATHTOF(UI\icons_russia\lieutenant_gs.paa),
|
||||
QPATHTOF(UI\icons_russia\captain_gs.paa),
|
||||
QPATHTOF(UI\icons_russia\major_gs.paa),
|
||||
QPATHTOF(UI\icons_russia\colonel_gs.paa)
|
||||
]] call FUNC(setFactionRankIcons);
|
||||
|
||||
GVAR(showNamesTime) = -10;
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
* "\A3\Ui_f\data\GUI\Cfg\Ranks\captain_gs.paa",
|
||||
* "\A3\Ui_f\data\GUI\Cfg\Ranks\major_gs.paa",
|
||||
* "\A3\Ui_f\data\GUI\Cfg\Ranks\colonel_gs.paa"
|
||||
* ] call ace_nametags_fnc_setFactionRankIcons
|
||||
* ]] call ace_nametags_fnc_setFactionRankIcons
|
||||
*
|
||||
* Public: Yes
|
||||
*/
|
||||
|
@ -9,3 +9,9 @@ class Extended_PreInit_EventHandlers {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_preInit));
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PostInit_EventHandlers {
|
||||
class ADDON {
|
||||
init = QUOTE(call COMPILE_FILE(XEH_postInit));
|
||||
};
|
||||
};
|
||||
|
14
optionals/compat_rhs_afrf3/XEH_postInit.sqf
Normal file
14
optionals/compat_rhs_afrf3/XEH_postInit.sqf
Normal file
@ -0,0 +1,14 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
private _russianRankIcons = [
|
||||
QPATHTOEF(nametags,UI\icons_russia\private_gs.paa),
|
||||
QPATHTOEF(nametags,UI\icons_russia\corporal_gs.paa),
|
||||
QPATHTOEF(nametags,UI\icons_russia\sergeant_gs.paa),
|
||||
QPATHTOEF(nametags,UI\icons_russia\lieutenant_gs.paa),
|
||||
QPATHTOEF(nametags,UI\icons_russia\captain_gs.paa),
|
||||
QPATHTOEF(nametags,UI\icons_russia\major_gs.paa),
|
||||
QPATHTOEF(nametags,UI\icons_russia\colonel_gs.paa)
|
||||
];
|
||||
|
||||
["rhs_faction_msv", _russianRankIcons] call EFUNC(nametags,setFactionRankIcons);
|
||||
["rhs_faction_vdv", _russianRankIcons] call EFUNC(nametags,setFactionRankIcons);
|
Loading…
Reference in New Issue
Block a user