kylemcqueen75 Posted January 9, 2015 Report Share Posted January 9, 2015 Look, I have never had such a problem before. This is just confusing me endlessly. Installing the mod using the tut I get; ErrorMessage: File mpmissions\__cur_mp.Chernarus\dayz_code\gui\ATD_Hud.h, line 399: .RscTitles: Member already defined. Ok fine, I try following the OP's advice add my current RscTitles code to ATD_Hud.h Now because I use Group Manager I have this as my "current RscTitles;" class RscTitles { #include "dzgm\icons.hpp" }; After adding it to ATD_Hud.n, it cant find the dzgm folder at my root. What do I do? (These are my configs as they stand, broken :S) desc: 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 = ""; 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)"; }; // // 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 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"; 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}; //color[] = {1, 1, 1, 0.5}; font = "TahomaB"; size = 0.03; sizeEx = 0.03; x = 0; y = 0; w = 0.1; h = 0.2; }; //DONN sounds class CfgSounds { sounds[] = {error1}; class error1 { name="error1"; sound[]={error1.ogg,1,1}; titles[] = {}; }; }; #include "custom\snap_pro\snappoints.hpp" #include "extra_rc.hpp" #include "dzgm\defines.hpp" class RscTitles { #include "dzgm\icons.hpp" }; #include "dayz_code\gui\ATD_Hud.h" #include "dzgm\groupManagement.hpp" AD: #define CT_STATIC 0 #define ST_LEFT 0x00 #define ST_PICTURE 48 class RscStructuredText { access = ReadAndWrite; type = 13; idc = -1; style = 2; font = "Zeppelin33"; size = "0.025 * safezoneH"; colorText[] = {1,1,1,1}; colorBackground[] = {0, 0, 0, 0}; text = ""; shadow = 1; class Attributes { align = "center"; valign = "middle"; }; }; class RscTitles { #include "dzgm\icons.hpp" class playerStatusGUI { idd = 6900; movingEnable = 0; duration = 100000; name = "statusBorder"; onLoad = "uiNamespace setVariable ['DAYZ_GUI_display', _this select 0];"; class ControlsBackground { //PLAYER NAME class RscStructuredText_1199 : RscStructuredText { idc = 1199; x = 0.250001; y = 0.350001; w = 0.5; h = 0.1; }; //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 = "Blood Left:"; 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 = "Humanity:"; 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 = "Restart in (min):"; 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; }; }; }; }; I feel dumb. (Everyone who just read this and faceplamed im sorry D:) fyi: I just moved everything from ATD_hud to description iCEtIMed 1 Link to comment Share on other sites More sharing options...
happyman0073 Posted January 9, 2015 Report Share Posted January 9, 2015 Hey guys! I have a question (sry if it was already asked, ain't got the time to check all the comments): how to change the restart time to the restart time of my srever? thnx ;) Link to comment Share on other sites More sharing options...
se7en Posted January 9, 2015 Report Share Posted January 9, 2015 Ok @kylemcqueen75 dont feel dumb. I did same thing as u did on earlier post and actually ur next post helped me a lot! Btw got atm something like this: I would like to move COINS above Blood Left, and i did, amount displays good but... I would like to add "Coins:" text as well but just copy/paste +1 RscText_1426 doesnt seem to work. Propably need to add it somewhere. Edit: Ok, tried to add new text on gui but have no fckin idea how to: Found some dependencies between rsctexts in dayz_code\compile\player_updateGui.sqf but none of these are to labels, only to values. How then i can add just new text in there? After restart label code block in ATD_Hud i added: //GOLD LABEL class RscText_1426: RscTextGUIK { idc = 1426; text = "MYCOINS:"; 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; }; EDIT2:: Obviously made wrong edit and forgot about description.ext changes xDD Link to comment Share on other sites More sharing options...
N4mEL3sS Posted January 10, 2015 Report Share Posted January 10, 2015 How to change the color for the hero symbol. If i take a other picture with a blue color it's green in the game. Link to comment Share on other sites More sharing options...
iCEtIMed Posted January 29, 2015 Report Share Posted January 29, 2015 I feel dumb. (Everyone who just read this and faceplamed im sorry D:) fyi: I just moved everything from ATD_hud to description I have the same issue, but I will try pasting the whole ATD_hud to the description. It seems REALLY messy though..... :) iCEtIMed 1 Link to comment Share on other sites More sharing options...
Andiroo12 Posted January 30, 2015 Report Share Posted January 30, 2015 I had an issue with the code and i removed it but now everything is black and white....any ideas? Link to comment Share on other sites More sharing options...
iCEtIMed Posted January 31, 2015 Report Share Posted January 31, 2015 How to change the color for the hero symbol. If i take a other picture with a blue color it's green in the game. I didn't need to add the whole thing in the end, I just deleted the RSC Titles and class's that had already been defined from the HUD file and it worked nicely. iCEtIMed 1 Link to comment Share on other sites More sharing options...
Ethan_296 Posted February 7, 2015 Report Share Posted February 7, 2015 My players are reporting some of the HUD "falling off the bottom of the screen" http://postimg.org/image/kp0hbxlqx/ Anyone have any ideas on how to fix this? It doesn't happen to everyone but i think it has something to do with their resolution. Link to comment Share on other sites More sharing options...
hamthejam Posted February 24, 2015 Report Share Posted February 24, 2015 Hey guys! I have a question (sry if it was already asked, ain't got the time to check all the comments): how to change the restart time to the restart time of my srever? thnx ;) In the compile folder open player_updateGui.sqf and look at around line 43 for this: _RestartTime = 240-(round(serverTime/60)); and just change it to whatever you need.. Link to comment Share on other sites More sharing options...
Chong Posted February 24, 2015 Report Share Posted February 24, 2015 is there a possibility to implement kill messages in the top left corner ? Link to comment Share on other sites More sharing options...
Lingbo Posted March 4, 2015 Report Share Posted March 4, 2015 Thanks for the great work here Link to comment Share on other sites More sharing options...
Zonek Posted March 9, 2015 Report Share Posted March 9, 2015 Hello, I have a little problem on my Overpochins server... Thanks Link to comment Share on other sites More sharing options...
Gr8 Posted May 13, 2015 Report Share Posted May 13, 2015 Anybody had this problem in their Overpoch Server Before ? Notice the background icon. They work but they don't belong there. Is that normal? EDIT : I fixed it with Replacing all dayz_code\gui to dayz_code\gui\status cen 1 Link to comment Share on other sites More sharing options...
Bazlat Posted June 7, 2015 Report Share Posted June 7, 2015 I got everything installed and it's working the only issue I am having now is everything is showing as 1000, I checked all paths and they all seem to be pointing to the correct locations does anybody have a fix for this yet? Link to comment Share on other sites More sharing options...
sixgunzx2 Posted July 22, 2015 Report Share Posted July 22, 2015 I got everything installed and it's working the only issue I am having now is everything is showing as 1000, I checked all paths and they all seem to be pointing to the correct locations does anybody have a fix for this yet? bump Link to comment Share on other sites More sharing options...
Sporny Posted July 28, 2015 Report Share Posted July 28, 2015 Cant istall it correctly :( anyone can make a step by step install guide with SC? Link to comment Share on other sites More sharing options...
DaBoss Posted August 14, 2015 Report Share Posted August 14, 2015 Hello everyone! I have a problem with my hud, anyone know the solution? http://oi62.tinypic.com/dnoa4l.jpg Link to comment Share on other sites More sharing options...
Sporny Posted October 1, 2015 Report Share Posted October 1, 2015 Hello everyone! I have a problem with my hud, anyone know the solution? http://oi62.tinypic.com/dnoa4l.jpg Same here Link to comment Share on other sites More sharing options...
DZKitty Posted October 2, 2015 Report Share Posted October 2, 2015 Thank you! had to move it about though, it was all up the side for some reason. Link to comment Share on other sites More sharing options...
Sporny Posted October 2, 2015 Report Share Posted October 2, 2015 Please tell me whitch files you have taken.... i got the gui working, but without SC and it crashes SC system.... the bank shows "ANY Coins" and i can withdraw what i want :(The rpt says:[Money] call BIS_fnc_numberText, [Bank_Ba> Error position: <Money] call BIS_fnc_numberText, [Bank_Ba> Error Nicht definierte Variable in Ausdruck: money File mpmissions\__CUR_MP.chernarus\Scripts\Player_Hud\playerHud.sqf, line 22 Link to comment Share on other sites More sharing options...
DZKitty Posted October 2, 2015 Report Share Posted October 2, 2015 (edited) Please tell me whitch files you have taken.... i got the gui working, but without SC and it crashes SC system.... the bank shows "ANY Coins" and i can withdraw what i want :(The rpt says: [Money] call BIS_fnc_numberText, [Bank_Ba> Error position: <Money] call BIS_fnc_numberText, [Bank_Ba> Error Nicht definierte Variable in Ausdruck: money File mpmissions\__CUR_MP.chernarus\Scripts\Player_Hud\playerHud.sqf, line 22Using 3.0 Edited October 2, 2015 by DZKitty Link to comment Share on other sites More sharing options...
rss_adm Posted October 8, 2015 Report Share Posted October 8, 2015 (edited) Hello,I have a little problem on my Overpochins server... Hidden Content ThanksHow you did a horizontal position? In the middle. Edited October 8, 2015 by rss_adm Link to comment Share on other sites More sharing options...
MatthewK Posted December 3, 2015 Report Share Posted December 3, 2015 Hi. I'm still trying to understand how GUI code works.. For the life of me i can't get the blood , humanity and players online text to align left... Does anyone know what I've done wrong ? EDIT: Never mind... I made a silly type lol :p Link to comment Share on other sites More sharing options...
Ethan_296 Posted March 20, 2016 Report Share Posted March 20, 2016 Broken download link? EDIT: nvm found the second download link at the bottom of first post. <-- need more coffee. Link to comment Share on other sites More sharing options...
[Punisher] Posted August 20, 2016 Report Share Posted August 20, 2016 Hi everybody! could someone tell me how to complete the GUI image that I present! Thank you for your help and your response Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now