if(!hasInterface) exitWith {};
_colorConfigBlufor = [
(profilenamespace getvariable ['Map_BLUFOR_R',0]),
(profilenamespace getvariable ['Map_BLUFOR_G',1]),
(profilenamespace getvariable ['Map_BLUFOR_B',1]),
(profilenamespace getvariable ['Map_BLUFOR_A',0.8])
];
_colorConfigOpfor = [
(profilenamespace getvariable ['Map_OPFOR_R',0]),
(profilenamespace getvariable ['Map_OPFOR_G',1]),
(profilenamespace getvariable ['Map_OPFOR_B',1]),
(profilenamespace getvariable ['Map_OPFOR_A',0.8])
];
_colorConfigIndependent = [
(profilenamespace getvariable ['Map_Independent_R',0]),
(profilenamespace getvariable ['Map_Independent_G',1]),
(profilenamespace getvariable ['Map_Independent_B',1]),
(profilenamespace getvariable ['Map_Independent_A',0.8])
];
_colorBluforHex = _colorConfigBlufor call BIS_fnc_colorRGBAtoHTML;
_colorOpforHex = _colorConfigOpfor call BIS_fnc_colorRGBAtoHTML;
_colorIndependentHex = _colorConfigIndependent call BIS_fnc_colorRGBAtoHTML;
_prefix = "b";
_color = _colorBluforHex;
if (side player isEqualTo east) then {
_prefix = "o";
_color = _colorOpforHex;
} else {
if (side player isEqualTo independent) then {
_prefix = "n";
_color = _colorIndependentHex;
};
};
if(!(player diarySubjectExists "fieldManual"))then{
player createDiarySubject ["fieldManual","Field manual"];
};
player createDiaryRecord ["fieldManual", ["NATO symbols",
'
Heli
Anit-Air
Armor
Artillery
HQ
Infantry
Installation
Maintenance
Mechanized infantry
Medical
Mortar
Motorized infantry
Naval
Ordnance
Plane
Recon
Service
Support
UAV
BLUFOR Base
OPFOR Base
Independent Base
'
]];