Merge pull request #3995 from acemod/russian-rank-icons

add Russian rank icons
This commit is contained in:
Glowbal 2016-06-26 10:53:54 +02:00 committed by GitHub
commit c2578a3694
13 changed files with 34 additions and 6 deletions

View File

@ -109,6 +109,7 @@ Riccardo Petricca <petriccarcc@gmail.com>
Robert Boklahánics <bokirobi@gmail.com>
ruPaladin <happyworm24@rambler.ru>
simon84 <badguy360th@gmail.com>
Skengman2
Sniperwolf572 <tenga6@gmail.com>
System98
SzwedzikPL <szwedzikpl@gmail.com>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -5,10 +5,6 @@
if (!hasInterface) exitWith {};
if (isNil QGVAR(factionRanks)) then {
GVAR(factionRanks) = [] call CBA_fnc_createNamespace;
};
GVAR(showNamesTime) = -10;
// Add keybinds

View File

@ -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
*/

View File

@ -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));
};
};

View File

@ -0,0 +1,25 @@
#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)
];
{
[_x, _russianRankIcons] call EFUNC(nametags,setFactionRankIcons);
} forEach [
"rhs_faction_msv",
"rhs_faction_vdv",
"rhs_faction_vmf",
"rhs_faction_vv",
"rhs_faction_tv",
"rhs_faction_vpvo",
"rhs_faction_vvs",
"rhs_faction_vvs_c",
"rhs_faction_rva"
];

View File

@ -8,7 +8,7 @@ class CfgPatches {
requiredVersion = REQUIRED_VERSION;
requiredAddons[] = {"rhs_c_weapons", "rhs_c_troops", "rhs_c_bmd", "rhs_c_bmp", "rhs_c_bmp3", "rhs_c_a2port_armor", "rhs_c_btr", "rhs_c_sprut", "rhs_c_t72", "rhs_c_tanks", "rhs_c_a2port_air", "rhs_c_a2port_car", "rhs_c_cars", "rhs_c_2s3", "rhs_c_rva"};
author = ECSTRING(common,ACETeam);
authors[] = {"Ruthberg", "GitHawk", "BaerMitUmlaut"};
authors[] = {"Ruthberg", "GitHawk", "BaerMitUmlaut", "commy2", "Skengman2"};
url = ECSTRING(main,URL);
VERSION_CONFIG;
};