Jump to content

kalitke

Member
  • Posts

    8
  • Joined

  • Last visited

Posts posted by kalitke

  1.  

    You would have to include the guidefines.hpp file right here.

     

    class RscTitles
    {
    #include "addons\playerhud\hud.hpp"
    #include "RC\desc_inc.h"
    #include "custom\gui\guidefines.hpp" // path in mission folder to the guidefines.hpp file
    };

     

    The file ATD_Hud.h that you want to include for the bank?

     

    class playerStatusGUI {
            idd = 6900;
            movingEnable = 0;
            duration = 100000;
            name = "statusBorder";
            onLoad = "uiNamespace setVariable ['DAYZ_GUI_display', _this select 0];";
            class ControlsBackground {
    //FOOD BACKGROUND
                class RscPicture_1901: RscPictureGUI
                {
                    idc = 1901;
                    text = "\z\addons\dayz_code\gui\status\status_bg.paa";
                    x = 0.905 * safezoneW + safezoneX;
                    y = 0.93 * safezoneH + safezoneY;//2
                    w = 0.075;
                    h = 0.10;
                };
    //FOOD BORDER
                class RscPicture_1201: RscPictureGUI
                {
                    idc = 1201;
                    text = "\z\addons\dayz_code\gui\status\status_food_border_ca.paa";
                    x = 0.905 * safezoneW + safezoneX;
                    y = 0.93 * safezoneH + safezoneY;//2
                    w = 0.075;
                    h = 0.10;
                };
    //BLOOD BACKGROUND
                class RscPicture_1900: RscPictureGUI
                {
                    idc = 1900;
                    text = "\z\addons\dayz_code\gui\status\status_bg.paa";
                    x = 0.875 * safezoneW + safezoneX;
                    y = 0.93 * safezoneH + safezoneY; //3
                    w = 0.075;
                    h = 0.10;
                };
    //BLOOD BORDER
                class RscPicture_1200: RscPictureGUI
                {
                    idc = 1200;
                    text = "\z\addons\dayz_code\gui\status\status_blood_border_ca.paa";
                    x = 0.875 * safezoneW + safezoneX;
                    y = 0.93* safezoneH + safezoneY; //3
                    w = 0.075;
                    h = 0.10;
                };
    //THIRST BACKGROUND
                class RscPicture_1902: RscPictureGUI
                {
                    idc = 1902;
                    text = "\z\addons\dayz_code\gui\status\status_bg.paa";
                    x = 0.935 * safezoneW + safezoneX;
                    y = 0.93 * safezoneH + safezoneY; //1
                    w = 0.075;
                    h = 0.10;
                };
    //THIRST BORDER
                class RscPicture_1202: RscPictureGUI
                {
                    idc = 1202;
                    text = "\z\addons\dayz_code\gui\status\status_thirst_border_ca.paa";
                    x = 0.935 * safezoneW + safezoneX;
                    y = 0.93 * safezoneH + safezoneY; //1
                    w = 0.075;
                    h = 0.10;
                };
    //TEMP BACKGROUND
                class RscPicture_1908: RscPictureGUI
                {
                    idc = 1908;
                    text = "\z\addons\dayz_code\gui\status\status_bg.paa";
                    x = 0.845 * safezoneW + safezoneX;
                    y = 0.93 * safezoneH + safezoneY; //3
                    w = 0.075;
                    h = 0.10;
                };
    //TEMP BORDER
                class RscPicture_1208: RscPictureGUI
                {
                    idc = 1208;
                    text = "\z\addons\dayz_code\gui\status\status_temp_outside_ca.paa";
                    x = 0.845 * safezoneW + safezoneX;
                    y = 0.93 * safezoneH + safezoneY; //3
                    w = 0.075;
                    h = 0.10;
                };
    //BROKEN LEG
                class RscPicture_1203: RscPictureGUI
                {
                    idc = 1203;
                    text = "\z\addons\dayz_code\gui\status\status_effect_brokenleg.paa";
                    x = 0.810 * safezoneW + safezoneX;
                    y = 0.93 * safezoneH + safezoneY;
                    w = 0.075;
                    h = 0.10;
                    colorText[] = {1,1,1,1};
                };
    //NOISE BACKGROUND
                class RscPicture_1205: RscPictureGUI
                {
                    idc = 1205;
                    text = "\z\addons\dayz_code\gui\status\status_bg.paa";
                    x = 0.960 * safezoneW + safezoneX;
                    y = 0.825 * safezoneH + safezoneY;
                    w = 0.075;
                    h = 0.10;
                };
    //VISIBLE BACKGROUND
                class RscPicture_1206: RscPictureGUI
                {
                    idc = 1206;
                    text = "\z\addons\dayz_code\gui\status\status_bg.paa";
                    x = 0.960 * safezoneW + safezoneX;
                    y = 0.875 * safezoneH + safezoneY;
                    w = 0.075;
                    h = 0.10;
                };
                /*--------------------------------------------*/
                //SURVIVOR ICON
    class RscPicture_1307: RscPictureGUI
                {
                    idc = 1307;
                    text = "dayz_code\gui\status\st_humanity_survivor.paa";
                    x = 0.670 * safezoneW + safezoneX;
                    y = 0.933 * safezoneH + safezoneY;
                    w = 0.027 * safezoneW;
                    h = 0.037 * safezoneH;
                    colorText[] = {1,1,1,1};
                };
    //BANDIT ICON
                class RscPicture_1309: RscPictureGUI
                {
                    idc = 1309;
                    text = "dayz_code\gui\status\st_humanity_bandit.paa";
                    x = 0.713 * safezoneW + safezoneX;
                    y = 0.933 * safezoneH + safezoneY;
                    w = 0.027 * safezoneW;
                    h = 0.037 * safezoneH;
                    colorText[] = {1,1,1,1};
                };
    //ZOMBIE ICON
                class RscPicture_1310: RscPictureGUI
                {
                    idc = 1310;
                    text = "dayz_code\gui\status\zombie.paa";
                    x = 0.756 * safezoneW + safezoneX;
                    y = 0.933 * safezoneH + safezoneY;
                    w = 0.027 * safezoneW;
                    h = 0.037 * safezoneH;
                    colorText[] = {1,1,1,1};
                };
            };
            class Controls {
    //FOOD ICON
                class RscPicture_1301: RscPictureGUI
                {
                    idc = 1301;
                    //text = "\z\addons\dayz_code\gui\status\status_food_inside_ca.paa";
                    x = 0.905 * safezoneW + safezoneX;
                    y = 0.93 * safezoneH + safezoneY;
                    w = 0.075;
                    h = 0.10;
                };
    //BLOOD ICON
                class RscPicture_1300: RscPictureGUI
                {
                    idc = 1300;
                    //text = "\z\addons\dayz_code\gui\status\status_blood_inside_ca.paa";
                    x = 0.875 * safezoneW + safezoneX;
                    y = 0.93 * safezoneH + safezoneY;
                    w = 0.075;
                    h = 0.10;
                };
    //THIRST ICON
                class RscPicture_1302: RscPictureGUI
                {
                    idc = 1302;
                    //text = "\z\addons\dayz_code\gui\status\status_thirst_inside_ca.paa";
                    x = 0.935 * safezoneW + safezoneX;
                    y = 0.93 * safezoneH + safezoneY;
                    w = 0.075;
                    h = 0.10;
                };
    //TEMP ICON
                class RscPicture_1306: RscPictureGUI
                {
                    idc = 1306;
                    //text = "\z\addons\dayz_code\gui\status\status_temp_ca.paa";
                    x = 0.845 * safezoneW + safezoneX;
                    y = 0.93 * safezoneH + safezoneY;
                    w = 0.075;
                    h = 0.10;
                };
    //BLOOD ICON - BLEEDING
                class RscPicture_1303: RscPictureGUI
                {
                    idc = 1303;
                    text = "\z\addons\dayz_code\gui\status\status_bleeding_ca.paa";
                    x = 0.875 * safezoneW + safezoneX;
                    y = 0.93 * safezoneH + safezoneY;
                    w = 0.075;
                    h = 0.10;
                    colorText[] = {1,1,1,0.5};
                };
    //NOISE ICON
                class RscPicture_1304: RscPictureGUI
                {
                    idc = 1304;
                    text = "\z\addons\dayz_code\gui\status\status_noise.paa";
                    x = 0.960 * safezoneW + safezoneX;
                    y = 0.825 * safezoneH + safezoneY;
                    w = 0.075;
                    h = 0.10;
                };
    //VISIBLE ICON
                class RscPicture_1305: RscPictureGUI
                {
                    idc = 1305;
                    text = "\z\addons\dayz_code\gui\status\status_visible.paa";
                    x = 0.960 * safezoneW + safezoneX;
                    y = 0.875 * safezoneH + safezoneY;
                    w = 0.075;
                    h = 0.10;
                };
    //FPS
                class RscText_1321: RscTextGUIK
                {
                    idc = 1321;
                    text = "fps";
                    x = 0.960 * safezoneW + safezoneX;
                    y = 0.93 * safezoneH + safezoneY;
                    w = 0.037 * safezoneW;
                    h = 0.047 * safezoneH;
                    size = 0.065;
                    sizeEx = 0.065;
                    colorText[] = {1,1,1,0.0};
                };
    //FPS BACKGROUND
                class RscText_1322: RscPictureGUI
                {
                    idc = 1322;
                    //text = "\z\addons\dayz_code\gui\status\status_bg.paa";
                    x = 0.960 * safezoneW + safezoneX;
                    y = 0.93 * safezoneH + safezoneY;
                    w = 0.037 * safezoneW;
                    h = 0.047 * safezoneH;
                    colorText[] = {1,1,1,0.0};
                };
                /*-----------------------------------------------*/
                //SURVIVOR KILLS
    class RscText_1400: RscTextGUIK
                {
                    idc = 1400;
                    text = "1000";
                    x = 0.683 * safezoneW + safezoneX;
                    y = 0.931 * safezoneH + safezoneY;
                    w = 0.037 * safezoneW;
                    h = 0.047 * safezoneH;
                    colorText[] = {1,1,1,1.0};
                    size = 0.03;
                    sizeEx = 0.03;
                };
    //BANDIT KILLS
                class RscText_1402: RscTextGUIK
                {
                    idc = 1402;
                    text = "1000";
                    x = 0.726 * safezoneW + safezoneX;
                    y = 0.931 * safezoneH + safezoneY;
                    w = 0.037 * safezoneW;
                    h = 0.047 * safezoneH;
                    colorText[] = {1,1,1,1.0};
                    size = 0.03;
                    sizeEx = 0.03;
                };
    //ZOMBIE KILLS
                class RscText_1403: RscTextGUIK
                {
                    idc = 1403;
                    text = "1000";
                    x = 0.769 * safezoneW + safezoneX;
                    y = 0.931 * safezoneH + safezoneY;
                    w = 0.037 * safezoneW;
                    h = 0.047 * safezoneH;
                    colorText[] = {1,1,1,1.0};
                    size = 0.03;
                    sizeEx = 0.03;
                };
    //BLOOD AMOUNT
    class RscText_1420: RscTextGUIK
                {
                    idc = 1420;
                    text = "1000";
                    x = 0.915 * safezoneW + safezoneX;
                    y = 0.842 * safezoneH + safezoneY;
                    w = 0.040 * safezoneW;
                    h = 0.047 * safezoneH;
                    colorText[] = {0.8,0.07,0.06,1.0};
                    size = 0.03;
                    sizeEx = 0.03;
                };
    //HUMANITY AMOUNT
    class RscText_1421: RscTextGUIK
                {
                    idc = 1421;
                    text = "1000";
                    x = 0.915 * safezoneW + safezoneX;
                    y = 0.862 * safezoneH + safezoneY;
                    w = 0.040 * safezoneW;
                    h = 0.047 * safezoneH;
                    colorText[] = {1,1,1,1.0};
                    size = 0.03;
                    sizeEx = 0.03;
                };
    //SERVER RESTART AMOUNT
    class RscText_1422: RscTextGUIK
                {
                    idc = 1422;
                    text = "1000";
                    x = 0.915 * safezoneW + safezoneX;
                    y = 0.882 * safezoneH + safezoneY;
                    w = 0.040 * safezoneW;
                    h = 0.047 * safezoneH;
                    colorText[] = {1,0.8,0,1.0};
                    size = 0.03;
                    sizeEx = 0.03;
                };
    //BLOOD LABEL
    class RscText_1423: RscTextGUIK
                {
                    idc = 1423;
                    text = "Кровь:";
                    x = 0.845 * safezoneW + safezoneX;
                    y = 0.842 * safezoneH + safezoneY;
                    w = 0.08 * safezoneW;
                    h = 0.047 * safezoneH;
                    colorText[] = {1,1,1,1.0};
                    size = 0.03;
                    sizeEx = 0.03;
                };
    //HUMANITY LABEL
    class RscText_1424: RscTextGUIK
                {
                    idc = 1424;
                    text = "Хума:";
                    x = 0.845 * safezoneW + safezoneX;
                    y = 0.862 * safezoneH + safezoneY;
                    w = 0.08 * safezoneW;
                    h = 0.047 * safezoneH;
                    colorText[] = {1,1,1,1.0};
                    size = 0.03;
                    sizeEx = 0.03;
                };
    //RESTART LABEL
    class RscText_1425: RscTextGUIK
                {
                    idc = 1425;
                    text = "Рестарт:";
                    x = 0.845 * safezoneW + safezoneX;
                    y = 0.882 * safezoneH + safezoneY;
                    w = 0.08 * safezoneW;
                    h = 0.047 * safezoneH;
                    colorText[] = {1,1,1,1.0};
                    size = 0.03;
                    sizeEx = 0.03;
                };
    //Players Online Label
    class RscText_1426: RscTextGUIK
                {
                    idc = 1426;
                    text = "Игроки:";
                    x = 0.845 * safezoneW + safezoneX;
                    y = 0.822 * safezoneH + safezoneY;
                    w = 0.08 * safezoneW;
                    h = 0.047 * safezoneH;
                    colorText[] = {1,1,1,1.0};
                    size = 0.03;
                    sizeEx = 0.03;
                };
    //Players Online Amount
    class RscText_1427: RscTextGUIK
    {
                    idc = 1427;
                    text = "1000";
                    x = 0.915 * safezoneW + safezoneX;
                    y = 0.822 * safezoneH + safezoneY;
                    w = 0.040 * safezoneW;
                    h = 0.047 * safezoneH;
                    colorText[] = {1,0.8,0,1.0};
                    size = 0.03;
                    sizeEx = 0.03;
                };
    /*
    //Players Cash Label
    class RscText_1428: RscPictureGUI
                {
                    idc = 1428;
                    text = "custom\gui\status\dollars.paa";
                    x = 0.845 * safezoneW + safezoneX;
                    y = 0.802 * safezoneH + safezoneY;
                    w = 0.02 * safezoneW;
                    h = 0.02 * safezoneH;
    align = "right";
                };
    //Players Cash Amount
    class RscText_1429: RscTextGUIK
    {
                    idc = 1429;
                    text = "1000";
                    x = 0.915 * safezoneW + safezoneX;
                    y = 0.802 * safezoneH + safezoneY;
                    w = 0.040 * safezoneW;
                    h = 0.047 * safezoneH;
                    colorText[] = {1,0.8,0,1.0};
                    size = 0.03;
                    sizeEx = 0.03;
                };
    //Players Bank Balance Label
    class RscText_1430: RscPictureGUI
                {
                    idc = 1430;
                    text = "custom\gui\status\Bank.paa";
                    x = 0.845 * safezoneW + safezoneX;
                    y = 0.782 * safezoneH + safezoneY;
                    w = 0.02 * safezoneW;
                    h = 0.02 * safezoneH;
    align = "right";
                };
    //Players Bank Balance 
    class RscText_1431: RscTextGUIK
    {
                    idc = 1431;
                    text = "1000";
                    x = 0.915 * safezoneW + safezoneX;
                    y = 0.782 * safezoneH + safezoneY;
                    w = 0.040 * safezoneW;
                    h = 0.047 * safezoneH;
                    colorText[] = {1,0.8,0,1.0};
                    size = 0.03;
                    sizeEx = 0.03;
                };
    */
    class RscText_1431:Hw_RscText
    {
    idc = 1431;
    type = CT_STRUCTURED_TEXT;
    size = 0.040;
    x = 0.885 * safezoneW + safezoneX;
                y = 0.782 * safezoneH + safezoneY;
    w = 0.2; h = 0.087;
    colorText[] = {1,1,1,1};
    lineSpacing = 2;
    colorBackground[] = {0,0,0,0};
    text = "";
    shadow = 2;
    class Attributes {
    align = "right";
    };
    };
     
        };
    };
  2. I installed AsReMixhud

    my description.ext

    #include "CfgServerTrader\cfgServerTrader.hpp"
     
    respawn = "BASE";
    respawndelay = 5;
    onLoadMission="DayZ_Epoch Napf";
    OnLoadIntro = "Welcome to Napf";
    OnLoadIntroTime = False;
    OnLoadMissionTime = False;
    disabledAI = true;
    disableChannels[]={0,2,6};
    enableItemsDropping=0;
    #include "custom\loot\CfgBuildingLoot.hpp" 
     
    briefing = 0;
    debriefing = 0;
     
    onPauseScript = "";
    loadScreen = "dayz epoch.jpg";
     
    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;
     
    #include "addons\playerhud\commonhud.hpp"
    #include "hw.hpp"
     
    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)";
    };
    //
    // the loading screen itself
    //
    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 nicePic : RscPicture
    {
    style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
    x = safezoneX + safezoneW/2 - 0.25;
    y = safezoneY + safezoneH/2 - 0.2;
    w = 0.5;
    h = 0.4;
    text = "img\nicePic.paa";
    };
    */
    };
    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};
    };
    };
    };
     
    class RscTitles
    {
    #include "addons\playerhud\hud.hpp"
    #include "RC\desc_inc.h"
    };
     
    #include "defines.hpp"
    #include "gold\common.hpp"
    #include "gold\bank_dialog.hpp"
    #include "gold\give_player_dialog.hpp"
    #include "custom\extra_rc.hpp"                      //Right Click Menu Actions
    #include "custom\snap_pro\snappoints.hpp"
×
×
  • Create New...