From a714da5481f256da5c81828a3bb45682f61f6163 Mon Sep 17 00:00:00 2001 From: IT07 Date: Sun, 21 Aug 2016 21:36:32 +0200 Subject: [PATCH] RscDisplayBaseAttack --- .../VEMFr_client/gui/RscDisplayBaseAttack.hpp | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Missionname.MapName/VEMFr_client/gui/RscDisplayBaseAttack.hpp diff --git a/Missionname.MapName/VEMFr_client/gui/RscDisplayBaseAttack.hpp b/Missionname.MapName/VEMFr_client/gui/RscDisplayBaseAttack.hpp new file mode 100644 index 0000000..97ac585 --- /dev/null +++ b/Missionname.MapName/VEMFr_client/gui/RscDisplayBaseAttack.hpp @@ -0,0 +1,50 @@ +class RscDisplayBaseAttack +{ + duration = 99999; + fadeIn = 0.2; + fadeOut = 1; + idd = 2992; + onLoad = "uiNamespace setVariable ['RscDisplayBaseAttack', _this select 0]; ExecVM 'VEMFr_client\sqf\RscDisplayBaseAttack\onLoad.sqf'"; + onUnLoad = "uiNamespace setVariable ['RscDisplayBaseAttack', displayNull]"; + + class RscText + { + access = 0; + colorBackground[] = {0.071, 0.024, 0.024, 0.75}; + colorShadow[] = {0, 0, 0, 0.5}; + colorText[] = {1, 0.333, 0.333, 1}; + deletable = 0; + fade = 0; + fixedWidth = 0; + font = "PuristaMedium"; + h = 0.037; + idc = -1; + linespacing = 1; + shadow = 1; + sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; + style = 2; + text = ""; + tooltipColorBox[] = {1, 1, 1, 1}; + tooltipColorShade[] = {0, 0, 0, 0.65}; + tooltipColorText[] = {1, 1, 1, 1}; + type = 0; + w = 0.3; + x = 0; + y = 0; + }; + + class controls + { + class text:RscText { + x = 0.292682 * safezoneW + safezoneX; //x = 0.285 * safezoneW + safezoneX; + y = 0.88 * safezoneH + safezoneY; + w = 0.414637 * safezoneW; //w = 0.35 * safezoneW; + h = 0.0275 * safezoneH; + + font = "PuristaBold"; + idc = 1; + shadow = 0; + text = " // [ WARNING! Base is under attack ] \\"; + }; + }; +};