Jump to content
  • 0

playerhud.hpp


lucho

Question

RPT

Quote

20:04:34 File mpmissions\DayZ_Epoch_11.Chernarus\configs\playerHud.hpp, line 180: '/RscTitles/Server_Hud/controlsBackground/ZSC_Status.idc': Missing ';' at the end of line

 

playerhud.hpp

 

//	@file Version: 1.0
//	@file Name: playerHud.hpp
//	@file Author: [zDT] Andrew
//	@file Info: Credits to DayZ Epoch/Origins All rights to them
//	@file Info: Images used here are not altered from original content
//	@file Info: The images are just reused in the same form as original
class z_RscText {

	idc = -1;
	type = CT_STATIC;
	style = ST_LEFT;
	colorBackground[] = { 1 , 1 , 1 , 0 };
	colorText[] = { 1 , 1 , 1 , 1 };
	font = FontM;
	sizeEx = 0.025;
	h = 0.25;
	text = "";
};
class Money_Status
{
	type = 13;
	idc = -1;
	colorBackground[] = {0,0,0,0};
	colorText[] = {1,1,1,1};
	font = "Zeppelin32";
	sizeEx = 0.023;
	lineSpacing = 3;
	text = "";
	style = 0x02;
	x = 0;
	y = 0;
	w = 0.2;
	h = 0.15;
};
class RscPictureGUI
{
	access = 0;
	type = 0;
	idc = -1;
	colorBackground[] = {0,0,0,0};
	colorText[] = {0.38,0.63,0.26,0.75};
	font = "TahomaB";
	sizeEx = 0;
	lineSpacing = 0;
	text = "";
	style = "0x30 + 0x100 + 0x800";
	x = 0;
	y = 0;
	w = 0.2;
	h = 0.15;
};

class RscTextGUIK {
	type = 0;
	idc = -1;
	style = 0x02;
	colorBackground[] = {0,0,0,0};
	colorText[] = {1, 1, 1, 0.5};
	font = "TahomaB";
	size = 0.03;
	sizeEx = 0.03;
	x = 0;
	y = 0;
	w = 0.1;
	h = 0.2;
};
class RscStructuredText {
	class Attributes;
};
class RscStructuredTextGUI: RscStructuredText
{
	colorBackground[] = {0,0,0,0};
	colorText[] = {1,1,1,1};
	class Attributes: Attributes
	{
		align = "center";
		valign = "middle";
	};
};
class DZGMHud_Rsc
{
	idd = -1;
	movingEnable = 1;
	enableSimulation = 1;
	enableDisplay = 1;

	onLoad = "uiNamespace setVariable ['dzgmHudDisp',_this select 0];";

	duration = 99999999999999999;
	fadein  = 0;
	fadeout = 0;
	class controls
	{
		class Icons : w_RscStructuredText
		{
			idc = -1;
			style = 0x00;
			x = .9;
			y = .9;
			w = .9;
			h = .9;
			size = .08;
			colorBackground[] = {0,0,0,0};
			colortext[] = {0,0,0,.7};
			text ="";
			class Attributes {
				align = "left";
			};		
		};
		class PlayerIcon00:Icons {idc = 46300 +  0;};
		class PlayerIcon01:Icons {idc = 46300 +  1;};
		class PlayerIcon02:Icons {idc = 46300 +  2;};
		class PlayerIcon03:Icons {idc = 46300 +  3;};
		class PlayerIcon04:Icons {idc = 46300 +  4;};
		class PlayerIcon05:Icons {idc = 46300 +  5;};
		class PlayerIcon06:Icons {idc = 46300 +  6;};
		class PlayerIcon07:Icons {idc = 46300 +  7;};
		class PlayerIcon08:Icons {idc = 46300 +  8;};
		class PlayerIcon09:Icons {idc = 46300 +  9;};
		class PlayerIcon10:Icons {idc = 46300 + 10;};
		class PlayerIcon11:Icons {idc = 46300 + 11;};
		class PlayerIcon12:Icons {idc = 46300 + 12;};
		class PlayerIcon13:Icons {idc = 46300 + 13;};
		class PlayerIcon14:Icons {idc = 46300 + 14;};
		class PlayerIcon15:Icons {idc = 46300 + 15;};
		class PlayerIcon16:Icons {idc = 46300 + 16;};
		class PlayerIcon17:Icons {idc = 46300 + 17;};
		class PlayerIcon18:Icons {idc = 46300 + 18;};
		class PlayerIcon19:Icons {idc = 46300 + 19;};
		class PlayerIcon20:Icons {idc = 46300 + 20;};
		class PlayerIcon21:Icons {idc = 46300 + 21;};
		class PlayerIcon22:Icons {idc = 46300 + 22;};
		class PlayerIcon23:Icons {idc = 46300 + 23;};
		class PlayerIcon24:Icons {idc = 46300 + 24;};
		class PlayerIcon25:Icons {idc = 46300 + 25;};
		class PlayerIcon26:Icons {idc = 46300 + 26;};
		class PlayerIcon27:Icons {idc = 46300 + 27;};
		class PlayerIcon28:Icons {idc = 46300 + 28;};
		class PlayerIcon29:Icons {idc = 46300 + 29;};
		class PlayerIcon30:Icons {idc = 46300 + 30;};
		class PlayerIcon31:Icons {idc = 46300 + 31;};
		class PlayerIcon32:Icons {idc = 46300 + 32;};
		class PlayerIcon33:Icons {idc = 46300 + 33;};
		class PlayerIcon34:Icons {idc = 46300 + 34;};
		class PlayerIcon35:Icons {idc = 46300 + 35;};
		class PlayerIcon36:Icons {idc = 46300 + 36;};
		class PlayerIcon37:Icons {idc = 46300 + 37;};
		class PlayerIcon38:Icons {idc = 46300 + 38;};
		class PlayerIcon39:Icons {idc = 46300 + 39;};
		class PlayerIcon40:Icons {idc = 46300 + 40;};
	};
};

#define hud_Survivor 3600
#define hud_HS 3601
#define hud_Bandit 3602
#define hud_Zombie 3603
#define hud_Icon 3604
#define hud_Kills 3605
#define hud_KillsZ_HS 3606
#define hud_KillsB 3607
#define hud_KillsZ 3608
#define hud_Border 3609
#define hud_Humanity 3610
#define hud_Z 3611
#define hud_blood 3612
#define hud_fps 3613
#define hud_serv 3614
#define hud_site 3615
#define Hud_BG1 3616
#define Hud_BG2 3617
#define Hud_BG3 3618
#define Hud_BG4 3619
#define hud_ts 3620

class Server_Hud {
	idd = -1;
    fadeout=0;
    fadein=0;
	duration = 10e10;
	name= "Server_Hud";
	onLoad = "uiNamespace setVariable ['Server_Hud', _this select 0]";
	
		class controlsBackground {
		class ZSC_Status: Money_Status
		{
		    idc = 4900
		    size = 0.040;
			x = safezoneX + (safezoneW -0.35);
        	y = safezoneY + 0.42 * safezoneW;
			w = 0.35;
			h = 0.20;
		class Attributes {
				align = "right";
			};
		};
		class Hud_BG1: RscPictureGUI
		{
			idc = hud_BG1;
			size = 1;
			text = "\z\addons\dayz_code\gui\status\status_bg.paa";
			x = 0.955313 * safezoneW + safezoneX;
			y = 0.23  * safezoneH + safezoneY;
			w = 0.075;
			h = 0.10;
			class Attributes {
				align = "center";
			};
		};
		class Hud_BG2: RscPictureGUI
		{
			idc = hud_BG2;
			size = 1;
			text = "\z\addons\dayz_code\gui\status\status_bg.paa";
			x = 0.955313 * safezoneW + safezoneX;
			y = 0.3 * safezoneH + safezoneY;
			w = 0.075;
			h = 0.10;
			class Attributes {
				align = "center";
			};
		};
		class Hud_BG3: RscPictureGUI
		{
			idc = hud_BG3;
			size = 1;
			text = "\z\addons\dayz_code\gui\status\status_bg.paa";
			x = 0.955313 * safezoneW + safezoneX;
			y = 0.37 * safezoneH + safezoneY;
			w = 0.075;
			h = 0.10;
			class Attributes {
				align = "center";
			};
		};
		class Hud_BG4: RscPictureGUI
		{
			idc = hud_BG4;
			size = 1;
			text = "\z\addons\dayz_code\gui\status\status_bg.paa";
			x = 0.955313 * safezoneW + safezoneX;
			y = 0.44 * safezoneH + safezoneY;
			w = 0.075;
			h = 0.10;
			class Attributes {
				align = "center";
			};
		};
		class Hud_HudSurvivor: RscPictureGUI
		{
			idc = hud_Survivor;
			size = 1;
			text = "images\icons\st_humanity_survivor.paa";
			x = 0.955313 * safezoneW + safezoneX;
			y = 0.23 * safezoneH + safezoneY;
			w = 0.075;
			h = 0.10;
			colorText[] = {1,1,1,0.7};
			class Attributes {
				align = "center";
			};
		};
		class Hud_HudHS: RscPictureGUI
		{
			idc = hud_HS;
			size = 1;
			text = "images\icons\zombie.paa";
			x = 0.955313 * safezoneW + safezoneX;
			y = 0.44 * safezoneH + safezoneY;
			w = 0.075;
			h = 0.10;
			colorText[] = {1,1,1,0.75};
			class Attributes {
				align = "center";
			};
		};
		class Hud_HudBandit: RscPictureGUI
		{
			idc = hud_Bandit;
			size = 1;
			text = "images\icons\st_humanity_bandit.paa";
			x = 0.955313 * safezoneW + safezoneX;
			y = 0.3 * safezoneH + safezoneY;
			w = 0.075;
			h = 0.10;
			colorText[] = {1,1,1,0.75};
			class Attributes {
				align = "center";
			};
		};
		class Hud_HudZombie: RscPictureGUI
		{
			idc = hud_Zombie;
			size = 1;
			text = "images\icons\zombie.paa";
			x = 0.955313 * safezoneW + safezoneX;
			y = 0.37 * safezoneH + safezoneY;
			w = 0.075;
			h = 0.10;
			colorText[] = {1,1,1,0.75};
			class Attributes {
				align = "center";
			};
		};
		class Hud_HudIcon: RscTextGUIK
		{
			idc = hud_Icon;
			type = CT_STRUCTURED_TEXT;
			text = "";
			x = 0.885 * safezoneW + safezoneX;
			y = 0.070 * safezoneH + safezoneY;
			w = 0.093 * safezoneW;
			h = 0.113 * safezoneH;
			colorText[] = {1,1,1,1};
			colorBackground[] = {0,0,0,0};
			shadow = 2;
			class Attributes {
				align = "center";
			};
		};
		class Hud_HudKills: RscTextGUIK
		{
			idc = hud_Kills;
			type = CT_STRUCTURED_TEXT;
			text = "";
			x = 0.931 * safezoneW + safezoneX;
			y = 0.256 * safezoneH + safezoneY;
			w = 0.037 * safezoneW;
			h = 0.047 * safezoneH;
			colorText[] = {1,1,1,0.75};
			colorBackground[] = {0,0,0,0};
			shadow = 2;
			class Attributes {
				align = "right";
			};
		};
		class Hud_HudKillsZ_HS: RscTextGUIK
		{
			idc = hud_KillsZ_HS;
			type = CT_STRUCTURED_TEXT;
			text = "";
			x = 0.931 * safezoneW + safezoneX;
			y = 0.466 * safezoneH + safezoneY;
			w = 0.037 * safezoneW;
			h = 0.047 * safezoneH;
			colorText[] = {1,1,1,0.75};
			colorBackground[] = {0,0,0,0};
			shadow = 2;
			class Attributes {
				align = "right";
			};
		};
		class Hud_HudKillsB: RscTextGUIK
		{
			idc = hud_KillsB;
			type = CT_STRUCTURED_TEXT;
			text = "";
			x = 0.931 * safezoneW + safezoneX;
			y = 0.326 * safezoneH + safezoneY;
			w = 0.037 * safezoneW;
			h = 0.047 * safezoneH;
			colorText[] = {1,1,1,0.75};
			colorBackground[] = {0,0,0,0};
			shadow = 2;
			class Attributes {
				align = "right";
			};
		};
		class Hud_HudKillsZ: RscTextGUIK
		{
			idc = hud_KillsZ;
			type = CT_STRUCTURED_TEXT;
			text = "";
			x = 0.931 * safezoneW + safezoneX;
			y = 0.396 * safezoneH + safezoneY;
			w = 0.037 * safezoneW;
			h = 0.047 * safezoneH;
			colorText[] = {1,1,1,0.75};
			colorBackground[] = {0,0,0,0};
			shadow = 2;
			class Attributes {
				align = "right";
			};
		};
		class Hud_HudBorder: RscTextGUIK
		{
			idc = hud_Border;
			type = CT_STRUCTURED_TEXT;
			//text = "images\icons\status_humanity_border.paa";
			text = "";
			x = 0.885 * safezoneW + safezoneX;
			y = 0.080 * safezoneH + safezoneY;
			w = 0.093 * safezoneW;
			h = 0.110 * safezoneH;
			colorText[] = {0,0,0,0.6};
			class Attributes {
				align = "center";
			};
		};
		class Hud_HudHumanity: RscTextGUIK
		{
			idc = hud_Humanity;
			type = CT_STRUCTURED_TEXT;
			text = "";
			x = 0.9065 * safezoneW + safezoneX;
			y = 0.1630 * safezoneH + safezoneY;
			w = 0.050 * safezoneW;
			h = 0.064 * safezoneH;
			size = 0.0275;
			sizeEx = 0.0275;
			colorText[] = {0.6875,0.6875,0.6875,1};
			colorBackground[] = {0,0,0,0};
			shadow = 4;
			class Attributes {
				align = "center";
			};
		};
		class Hud_HudZ: RscTextGUIK
		{
			idc = hud_Z;
			type = CT_STRUCTURED_TEXT;
			text = "";
			x = 0.949513 * safezoneW + safezoneX;
			y = 0.44 * safezoneH + safezoneY;
			w = 0.075;
			h = 0.10;
			size = 0.0275;
			sizeEx = 0.0275;
			colorText[] = {1,0,0,0.85};
			colorBackground[] = {0,0,0,0};
			shadow = 2;
			class Attributes {
				align = "right";
			};
		};
		class Hud_Blood: RscTextGUIK
		{
			idc = hud_blood;
			type = CT_STRUCTURED_TEXT;
			text = "";
			x = 0.920313 * safezoneW + safezoneX;
			y = 0.815 * safezoneH + safezoneY; 
			w = 0.075;
			h = 0.10;
			size = 0.0275;
			sizeEx = 0.0275;
			colorText[] = {1,0,0,0.85};
			colorBackground[] = {0,0,0,0};
			shadow = 2;
			class Attributes {
				align = "right";
			};
		};
		class Hud_Fps: RscTextGUIK
		{
			idc = hud_fps;
			type = CT_STRUCTURED_TEXT;
			text = "";
			x = 0.916313 * safezoneW + safezoneX;
			y = 0.905 * safezoneH + safezoneY;
			w = 0.21;
			h = 0.21;
			size = 0.0275;
			sizeEx = 0.0275;
			colorText[] = {1,0,0,0.85};
			colorBackground[] = {0,0,0,0};
			shadow = 2;
			class Attributes {
				align = "right";
			};
		};
		class Hud_Serv: RscTextGUIK
		{
			idc = hud_serv;
			type = CT_STRUCTURED_TEXT;
			text = "";
			x = 0.845313 * safezoneW + safezoneX;
			y = 0.935 * safezoneH + safezoneY;
			w = 0.21;
			h = 0.21;
			size = 0.0275;
			sizeEx = 0.0275;
			colorText[] = {1,0,0,0.85};
			colorBackground[] = {0,0,0,0};
			shadow = 2;
			class Attributes {
				align = "right";
			};
		};
		class Hud_Site: RscTextGUIK
		{
			idc = hud_site;
			type = CT_STRUCTURED_TEXT;
			text = "";
			x = 0.845313 * safezoneW + safezoneX;
			y = 0.965 * safezoneH + safezoneY;
			w = 0.21;
			h = 0.21;
			size = 0.0275;
			sizeEx = 0.0275;
			colorText[] = {1,0,0,0.85};
			colorBackground[] = {0,0,0,0};
			shadow = 2;
			class Attributes {
				align = "left";
			};
		};
		class Hud_ts: RscTextGUIK
		{
			idc = hud_ts;
			type = CT_STRUCTURED_TEXT;
			text = "";
			x = 0.845313 * safezoneW + safezoneX;
			y = 0.978 * safezoneH + safezoneY;
			w = 0.21;
			h = 0.21;
			size = 0.0275;
			sizeEx = 0.0275;
			colorText[] = {1,0,0,0.85};
			colorBackground[] = {0,0,0,0};
			shadow = 2;
			class Attributes {
				align = "left";
			};
		};
	};
};

can anybody help me?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Somehow you deleted a };

//    @file Version: 1.0
//    @file Name: playerHud.hpp
//    @file Author: [zDT] Andrew
//    @file Info: Credits to DayZ Epoch/Origins All rights to them
//    @file Info: Images used here are not altered from original content
//    @file Info: The images are just reused in the same form as original
class z_RscText {

    idc = -1;
    type = CT_STATIC;
    style = ST_LEFT;
    colorBackground[] = { 1 , 1 , 1 , 0 };
    colorText[] = { 1 , 1 , 1 , 1 };
    font = FontM;
    sizeEx = 0.025;
    h = 0.25;
    text = "";
};
class Money_Status
{
    type = 13;
    idc = -1;
    colorBackground[] = {0,0,0,0};
    colorText[] = {1,1,1,1};
    font = "Zeppelin32";
    sizeEx = 0.023;
    lineSpacing = 3;
    text = "";
    style = 0x02;
    x = 0;
    y = 0;
    w = 0.2;
    h = 0.15;
};
class RscPictureGUI
{
    access = 0;
    type = 0;
    idc = -1;
    colorBackground[] = {0,0,0,0};
    colorText[] = {0.38,0.63,0.26,0.75};
    font = "TahomaB";
    sizeEx = 0;
    lineSpacing = 0;
    text = "";
    style = "0x30 + 0x100 + 0x800";
    x = 0;
    y = 0;
    w = 0.2;
    h = 0.15;
};

class RscTextGUIK {
    type = 0;
    idc = -1;
    style = 0x02;
    colorBackground[] = {0,0,0,0};
    colorText[] = {1, 1, 1, 0.5};
    font = "TahomaB";
    size = 0.03;
    sizeEx = 0.03;
    x = 0;
    y = 0;
    w = 0.1;
    h = 0.2;
};
class RscStructuredText {
    class Attributes;
};
class RscStructuredTextGUI: RscStructuredText
{
    colorBackground[] = {0,0,0,0};
    colorText[] = {1,1,1,1};
    class Attributes: Attributes
    {
        align = "center";
        valign = "middle";
    };
};
class DZGMHud_Rsc
{
    idd = -1;
    movingEnable = 1;
    enableSimulation = 1;
    enableDisplay = 1;

    onLoad = "uiNamespace setVariable ['dzgmHudDisp',_this select 0];";

    duration = 99999999999999999;
    fadein  = 0;
    fadeout = 0;
    class controls
    {
        class Icons : w_RscStructuredText
        {
            idc = -1;
            style = 0x00;
            x = .9;
            y = .9;
            w = .9;
            h = .9;
            size = .08;
            colorBackground[] = {0,0,0,0};
            colortext[] = {0,0,0,.7};
            text ="";
            class Attributes {
                align = "left";
            };        
        };
        class PlayerIcon00:Icons {idc = 46300 +  0;};
        class PlayerIcon01:Icons {idc = 46300 +  1;};
        class PlayerIcon02:Icons {idc = 46300 +  2;};
        class PlayerIcon03:Icons {idc = 46300 +  3;};
        class PlayerIcon04:Icons {idc = 46300 +  4;};
        class PlayerIcon05:Icons {idc = 46300 +  5;};
        class PlayerIcon06:Icons {idc = 46300 +  6;};
        class PlayerIcon07:Icons {idc = 46300 +  7;};
        class PlayerIcon08:Icons {idc = 46300 +  8;};
        class PlayerIcon09:Icons {idc = 46300 +  9;};
        class PlayerIcon10:Icons {idc = 46300 + 10;};
        class PlayerIcon11:Icons {idc = 46300 + 11;};
        class PlayerIcon12:Icons {idc = 46300 + 12;};
        class PlayerIcon13:Icons {idc = 46300 + 13;};
        class PlayerIcon14:Icons {idc = 46300 + 14;};
        class PlayerIcon15:Icons {idc = 46300 + 15;};
        class PlayerIcon16:Icons {idc = 46300 + 16;};
        class PlayerIcon17:Icons {idc = 46300 + 17;};
        class PlayerIcon18:Icons {idc = 46300 + 18;};
        class PlayerIcon19:Icons {idc = 46300 + 19;};
        class PlayerIcon20:Icons {idc = 46300 + 20;};
        class PlayerIcon21:Icons {idc = 46300 + 21;};
        class PlayerIcon22:Icons {idc = 46300 + 22;};
        class PlayerIcon23:Icons {idc = 46300 + 23;};
        class PlayerIcon24:Icons {idc = 46300 + 24;};
        class PlayerIcon25:Icons {idc = 46300 + 25;};
        class PlayerIcon26:Icons {idc = 46300 + 26;};
        class PlayerIcon27:Icons {idc = 46300 + 27;};
        class PlayerIcon28:Icons {idc = 46300 + 28;};
        class PlayerIcon29:Icons {idc = 46300 + 29;};
        class PlayerIcon30:Icons {idc = 46300 + 30;};
        class PlayerIcon31:Icons {idc = 46300 + 31;};
        class PlayerIcon32:Icons {idc = 46300 + 32;};
        class PlayerIcon33:Icons {idc = 46300 + 33;};
        class PlayerIcon34:Icons {idc = 46300 + 34;};
        class PlayerIcon35:Icons {idc = 46300 + 35;};
        class PlayerIcon36:Icons {idc = 46300 + 36;};
        class PlayerIcon37:Icons {idc = 46300 + 37;};
        class PlayerIcon38:Icons {idc = 46300 + 38;};
        class PlayerIcon39:Icons {idc = 46300 + 39;};
        class PlayerIcon40:Icons {idc = 46300 + 40;};
    };
};

#define hud_Survivor 3600
#define hud_HS 3601
#define hud_Bandit 3602
#define hud_Zombie 3603
#define hud_Icon 3604
#define hud_Kills 3605
#define hud_KillsZ_HS 3606
#define hud_KillsB 3607
#define hud_KillsZ 3608
#define hud_Border 3609
#define hud_Humanity 3610
#define hud_Z 3611
#define hud_blood 3612
#define hud_fps 3613
#define hud_serv 3614
#define hud_site 3615
#define Hud_BG1 3616
#define Hud_BG2 3617
#define Hud_BG3 3618
#define Hud_BG4 3619
#define hud_ts 3620

class Server_Hud {
    idd = -1;
    fadeout=0;
    fadein=0;
    duration = 10e10;
    name= "Server_Hud";
    onLoad = "uiNamespace setVariable ['Server_Hud', _this select 0]";
    
        class controlsBackground {
        class ZSC_Status: Money_Status
        {
            idc = 4900
            size = 0.040;
            x = safezoneX + (safezoneW -0.35);
            y = safezoneY + 0.42 * safezoneW;
            w = 0.35;
            h = 0.20;

};


        class Attributes {
                align = "right";
            };
        };
        class Hud_BG1: RscPictureGUI
        {
            idc = hud_BG1;
            size = 1;
            text = "\z\addons\dayz_code\gui\status\status_bg.paa";
            x = 0.955313 * safezoneW + safezoneX;
            y = 0.23  * safezoneH + safezoneY;
            w = 0.075;
            h = 0.10;
            class Attributes {
                align = "center";
            };
        };
        class Hud_BG2: RscPictureGUI
        {
            idc = hud_BG2;
            size = 1;
            text = "\z\addons\dayz_code\gui\status\status_bg.paa";
            x = 0.955313 * safezoneW + safezoneX;
            y = 0.3 * safezoneH + safezoneY;
            w = 0.075;
            h = 0.10;
            class Attributes {
                align = "center";
            };
        };
        class Hud_BG3: RscPictureGUI
        {
            idc = hud_BG3;
            size = 1;
            text = "\z\addons\dayz_code\gui\status\status_bg.paa";
            x = 0.955313 * safezoneW + safezoneX;
            y = 0.37 * safezoneH + safezoneY;
            w = 0.075;
            h = 0.10;
            class Attributes {
                align = "center";
            };
        };
        class Hud_BG4: RscPictureGUI
        {
            idc = hud_BG4;
            size = 1;
            text = "\z\addons\dayz_code\gui\status\status_bg.paa";
            x = 0.955313 * safezoneW + safezoneX;
            y = 0.44 * safezoneH + safezoneY;
            w = 0.075;
            h = 0.10;
            class Attributes {
                align = "center";
            };
        };
        class Hud_HudSurvivor: RscPictureGUI
        {
            idc = hud_Survivor;
            size = 1;
            text = "images\icons\st_humanity_survivor.paa";
            x = 0.955313 * safezoneW + safezoneX;
            y = 0.23 * safezoneH + safezoneY;
            w = 0.075;
            h = 0.10;
            colorText[] = {1,1,1,0.7};
            class Attributes {
                align = "center";
            };
        };
        class Hud_HudHS: RscPictureGUI
        {
            idc = hud_HS;
            size = 1;
            text = "images\icons\zombie.paa";
            x = 0.955313 * safezoneW + safezoneX;
            y = 0.44 * safezoneH + safezoneY;
            w = 0.075;
            h = 0.10;
            colorText[] = {1,1,1,0.75};
            class Attributes {
                align = "center";
            };
        };
        class Hud_HudBandit: RscPictureGUI
        {
            idc = hud_Bandit;
            size = 1;
            text = "images\icons\st_humanity_bandit.paa";
            x = 0.955313 * safezoneW + safezoneX;
            y = 0.3 * safezoneH + safezoneY;
            w = 0.075;
            h = 0.10;
            colorText[] = {1,1,1,0.75};
            class Attributes {
                align = "center";
            };
        };
        class Hud_HudZombie: RscPictureGUI
        {
            idc = hud_Zombie;
            size = 1;
            text = "images\icons\zombie.paa";
            x = 0.955313 * safezoneW + safezoneX;
            y = 0.37 * safezoneH + safezoneY;
            w = 0.075;
            h = 0.10;
            colorText[] = {1,1,1,0.75};
            class Attributes {
                align = "center";
            };
        };
        class Hud_HudIcon: RscTextGUIK
        {
            idc = hud_Icon;
            type = CT_STRUCTURED_TEXT;
            text = "";
            x = 0.885 * safezoneW + safezoneX;
            y = 0.070 * safezoneH + safezoneY;
            w = 0.093 * safezoneW;
            h = 0.113 * safezoneH;
            colorText[] = {1,1,1,1};
            colorBackground[] = {0,0,0,0};
            shadow = 2;
            class Attributes {
                align = "center";
            };
        };
        class Hud_HudKills: RscTextGUIK
        {
            idc = hud_Kills;
            type = CT_STRUCTURED_TEXT;
            text = "";
            x = 0.931 * safezoneW + safezoneX;
            y = 0.256 * safezoneH + safezoneY;
            w = 0.037 * safezoneW;
            h = 0.047 * safezoneH;
            colorText[] = {1,1,1,0.75};
            colorBackground[] = {0,0,0,0};
            shadow = 2;
            class Attributes {
                align = "right";
            };
        };
        class Hud_HudKillsZ_HS: RscTextGUIK
        {
            idc = hud_KillsZ_HS;
            type = CT_STRUCTURED_TEXT;
            text = "";
            x = 0.931 * safezoneW + safezoneX;
            y = 0.466 * safezoneH + safezoneY;
            w = 0.037 * safezoneW;
            h = 0.047 * safezoneH;
            colorText[] = {1,1,1,0.75};
            colorBackground[] = {0,0,0,0};
            shadow = 2;
            class Attributes {
                align = "right";
            };
        };
        class Hud_HudKillsB: RscTextGUIK
        {
            idc = hud_KillsB;
            type = CT_STRUCTURED_TEXT;
            text = "";
            x = 0.931 * safezoneW + safezoneX;
            y = 0.326 * safezoneH + safezoneY;
            w = 0.037 * safezoneW;
            h = 0.047 * safezoneH;
            colorText[] = {1,1,1,0.75};
            colorBackground[] = {0,0,0,0};
            shadow = 2;
            class Attributes {
                align = "right";
            };
        };
        class Hud_HudKillsZ: RscTextGUIK
        {
            idc = hud_KillsZ;
            type = CT_STRUCTURED_TEXT;
            text = "";
            x = 0.931 * safezoneW + safezoneX;
            y = 0.396 * safezoneH + safezoneY;
            w = 0.037 * safezoneW;
            h = 0.047 * safezoneH;
            colorText[] = {1,1,1,0.75};
            colorBackground[] = {0,0,0,0};
            shadow = 2;
            class Attributes {
                align = "right";
            };
        };
        class Hud_HudBorder: RscTextGUIK
        {
            idc = hud_Border;
            type = CT_STRUCTURED_TEXT;
            //text = "images\icons\status_humanity_border.paa";
            text = "";
            x = 0.885 * safezoneW + safezoneX;
            y = 0.080 * safezoneH + safezoneY;
            w = 0.093 * safezoneW;
            h = 0.110 * safezoneH;
            colorText[] = {0,0,0,0.6};
            class Attributes {
                align = "center";
            };
        };
        class Hud_HudHumanity: RscTextGUIK
        {
            idc = hud_Humanity;
            type = CT_STRUCTURED_TEXT;
            text = "";
            x = 0.9065 * safezoneW + safezoneX;
            y = 0.1630 * safezoneH + safezoneY;
            w = 0.050 * safezoneW;
            h = 0.064 * safezoneH;
            size = 0.0275;
            sizeEx = 0.0275;
            colorText[] = {0.6875,0.6875,0.6875,1};
            colorBackground[] = {0,0,0,0};
            shadow = 4;
            class Attributes {
                align = "center";
            };
        };
        class Hud_HudZ: RscTextGUIK
        {
            idc = hud_Z;
            type = CT_STRUCTURED_TEXT;
            text = "";
            x = 0.949513 * safezoneW + safezoneX;
            y = 0.44 * safezoneH + safezoneY;
            w = 0.075;
            h = 0.10;
            size = 0.0275;
            sizeEx = 0.0275;
            colorText[] = {1,0,0,0.85};
            colorBackground[] = {0,0,0,0};
            shadow = 2;
            class Attributes {
                align = "right";
            };
        };
        class Hud_Blood: RscTextGUIK
        {
            idc = hud_blood;
            type = CT_STRUCTURED_TEXT;
            text = "";
            x = 0.920313 * safezoneW + safezoneX;
            y = 0.815 * safezoneH + safezoneY; 
            w = 0.075;
            h = 0.10;
            size = 0.0275;
            sizeEx = 0.0275;
            colorText[] = {1,0,0,0.85};
            colorBackground[] = {0,0,0,0};
            shadow = 2;
            class Attributes {
                align = "right";
            };
        };
        class Hud_Fps: RscTextGUIK
        {
            idc = hud_fps;
            type = CT_STRUCTURED_TEXT;
            text = "";
            x = 0.916313 * safezoneW + safezoneX;
            y = 0.905 * safezoneH + safezoneY;
            w = 0.21;
            h = 0.21;
            size = 0.0275;
            sizeEx = 0.0275;
            colorText[] = {1,0,0,0.85};
            colorBackground[] = {0,0,0,0};
            shadow = 2;
            class Attributes {
                align = "right";
            };
        };
        class Hud_Serv: RscTextGUIK
        {
            idc = hud_serv;
            type = CT_STRUCTURED_TEXT;
            text = "";
            x = 0.845313 * safezoneW + safezoneX;
            y = 0.935 * safezoneH + safezoneY;
            w = 0.21;
            h = 0.21;
            size = 0.0275;
            sizeEx = 0.0275;
            colorText[] = {1,0,0,0.85};
            colorBackground[] = {0,0,0,0};
            shadow = 2;
            class Attributes {
                align = "right";
            };
        };
        class Hud_Site: RscTextGUIK
        {
            idc = hud_site;
            type = CT_STRUCTURED_TEXT;
            text = "";
            x = 0.845313 * safezoneW + safezoneX;
            y = 0.965 * safezoneH + safezoneY;
            w = 0.21;
            h = 0.21;
            size = 0.0275;
            sizeEx = 0.0275;
            colorText[] = {1,0,0,0.85};
            colorBackground[] = {0,0,0,0};
            shadow = 2;
            class Attributes {
                align = "left";
            };
        };
        class Hud_ts: RscTextGUIK
        {
            idc = hud_ts;
            type = CT_STRUCTURED_TEXT;
            text = "";
            x = 0.845313 * safezoneW + safezoneX;
            y = 0.978 * safezoneH + safezoneY;
            w = 0.21;
            h = 0.21;
            size = 0.0275;
            sizeEx = 0.0275;
            colorText[] = {1,0,0,0.85};
            colorBackground[] = {0,0,0,0};
            shadow = 2;
            class Attributes {
                align = "left";
            };
        };
    };
};

Link to comment
Share on other sites

  • 0
48 minutes ago, kelso000 said:

Somehow you deleted a };

 

class Server_Hud {
    idd = -1;
    fadeout=0;
    fadein=0;
    duration = 10e10;
    name= "Server_Hud";
    onLoad = "uiNamespace setVariable ['Server_Hud', _this select 0]";
    
        class controlsBackground {
        class ZSC_Status: Money_Status
        {
            idc = 4900;
            size = 0.040;
            x = safezoneX + (safezoneW -0.35);
            y = safezoneY + 0.42 * safezoneW;
            w = 0.35;
            h = 0.20;

};


        class Attributes {
                align = "right";
            };
        };

 

 

Link to comment
Share on other sites

  • 0

thanks but now is new error ,,,,

Quote

ErrorMessage: File mpmissions\DayZ_Epoch_11.Chernarus\description.ext, line 153: /RscTitles/: Missing '}'

 

 

respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Epoch Chernarus";
OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;

briefing = 0;
debriefing = 0;

onPauseScript = "c\DupingFix.sqf";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";

class Header
{
 gameType = COOP;            //DM, Team, Coop, ...
 minPlayers = 1;             //min # of players the mission supports
 maxPlayers = 100;            //Max # of players the mission supports
};

aiKills = 1;
diagRadio = 1;
diagHit = 1;

class RscText
{
	type = 0;
	idc = -1;
	x = 0;
	y = 0;
	h = 0.037;
	w = 0.3;
	style = 0x100; 
	font = Zeppelin32;
	SizeEx = 0.03921;
	colorText[] = {1,1,1,1};
	colorBackground[] = {0, 0, 0, 0};
	linespacing = 1;
};
class RscPicture
{
	access=0;
	type=0;
	idc=-1;
	style=48;
	colorBackground[]={0,0,0,0};
	colorText[]={1,1,1,1};
	font="TahomaB";
	sizeEx=0;
	lineSpacing=0;
	text="";
};

class RscLoadingText : RscText
{
	style = 2;
	x = 0.323532;
	y = 0.666672;
	w = 0.352944;
	h = 0.039216;
	sizeEx = 0.03921;
	colorText[] = {0.543,0.5742,0.4102,1.0};
};
class RscProgress
{
	x = 0.344;
	y = 0.619;
	w = 0.313726;
	h = 0.0261438;
	texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
	colorFrame[] = {0,0,0,0};
	colorBar[] = {1,1,1,1};
};
class RscProgressNotFreeze
{
	idc = -1;
	type = 45;
	style = 0;
	x = 0.022059;
	y = 0.911772;
	w = 0.029412;
	h = 0.039216;
	texture = "#(argb,8,8,3)color(0,0,0,0)";
};
class DayZ_loadingScreen
{ 
	idd = -1;
	duration = 10e10;
	fadein = 0;
	fadeout = 0;
	name = "loading screen";
	class controlsBackground
	{
		class blackBG : RscText
		{
			x = safezoneX;
			y = safezoneY;
			w = safezoneW;
			h = safezoneH;
			text = "";
			colorText[] = {0,0,0,0};
			colorBackground[] = {0,0,0,1};
		};
	};
	class controls
	{
		class Title1 : RscLoadingText
		{
			text = "$STR_LOADING"; // "Loading" text in the middle of the screen
		};
		class CA_Progress : RscProgress // progress bar, has to have idc 104
		{
			idc = 104;
			type = 8; // CT_PROGRESS
			style = 0; // ST_SINGLE
			texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
		};
		class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
		{
			idc = 103;
		};
		class Name2: RscText // the text on the top-left
		{
			idc = 101;
			x = 0.05;
			y = 0.029412;
			w = 0.9;
			h = 0.04902;
			text = "";
			sizeEx = 0.05;
			colorText[] = {0.543,0.5742,0.4102,1.0};
		};
	};
};

 

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...