VentZer0 Posted September 7, 2014 Report Share Posted September 7, 2014 works nice, but how do change the icons to the standard ones, or more precise .. what is the path for the standard dayz icons. in the dayz_code/gui those are all these 1.8 icons that look like chalk marks, i absolutely do not like those. Link to comment Share on other sites More sharing options...
Sukkaed Posted September 7, 2014 Report Share Posted September 7, 2014 Don't you need to define displayCtrl 1199 for name tags? Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted September 8, 2014 Report Share Posted September 8, 2014 The download only has st_humanity_bandit.paa, st_humanity_survivor.paa and zombie.paa. The other .paa files are missing. Link to comment Share on other sites More sharing options...
cen Posted September 8, 2014 Report Share Posted September 8, 2014 Don't you need to define displayCtrl 1199 for name tags? Good catch, please use this updated ATD_Hud.h code (replace the entire file) #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 { 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; }; }; }; }; The download only has st_humanity_bandit.paa, st_humanity_survivor.paa and zombie.paa. The other .paa files are missing. The other icons are already included in epoch. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted September 8, 2014 Report Share Posted September 8, 2014 The paths to the custom paa files confused me. It seems the path points to the client files and not the custom files. What's this about player tags? Link to comment Share on other sites More sharing options...
cen Posted September 9, 2014 Report Share Posted September 9, 2014 It points to the client files because they are already included in epoch by default :) The player tag fix is for seeing name tags when tagged as friendly or in safezones if they are forced on. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted September 9, 2014 Report Share Posted September 9, 2014 It points to the client files because they are already included in epoch by default :) The player tag fix is for seeing name tags when tagged as friendly or in safezones if they are forced on. Not the st_humanity_bandit.paa, st_humanity_survivor.paa and zombie.paa. The paths for those should point to a custom folder where they are stored on the server for players to download when connecting. By default, the ATD_Hud.h file is looking for them in dayz_code\gui\status\ For example: //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}; }; }; I changed the path to "custom\gui\zombie.paa" because that's where I stored that file on my server. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted September 9, 2014 Report Share Posted September 9, 2014 Good catch, please use this updated ATD_Hud.h code (replace the entire file) The formating on that is messed up because of the spoiler code. Can you post a link to download the updated file? Link to comment Share on other sites More sharing options...
redrum.fk Posted September 9, 2014 Report Share Posted September 9, 2014 Yeah tried doing everything it says start my server up now server status says unknown and i cannot shut it down to fix any problems or change it back. Pretty sure i missed something somewhere:( OOPS figured it out thx though:) Link to comment Share on other sites More sharing options...
cen Posted September 9, 2014 Report Share Posted September 9, 2014 Not the st_humanity_bandit.paa, st_humanity_survivor.paa and zombie.paa. The paths for those should point to a custom folder where they are stored on the server for players to download when connecting. By default, the ATD_Hud.h file is looking for them in dayz_code\gui\status\ For example: //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}; }; }; I changed the path to "custom\gui\zombie.paa" because that's where I stored that file on my server. This path would be in your mission folder, not server: text = "dayz_code\gui\status\zombie.paa"; If you copy the zip download and place it in your root mission folder. The formating on that is messed up because of the spoiler code. Can you post a link to download the updated file? Link to new files: https://www.dropbox.com/s/iqg0c0zhcswvv4n/ATD-HUD-FILES.zip?dl=0 Also attached.ATD-HUD-FILES.zip Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted September 9, 2014 Report Share Posted September 9, 2014 This path would be in your mission folder, not server: text = "dayz_code\gui\status\zombie.paa"; If you copy the zip download and place it in your root mission folder. Link to new files: https://www.dropbox.com/s/iqg0c0zhcswvv4n/ATD-HUD-FILES.zip?dl=0 Also attached. So you meant to have a dayz_code folder in the mission file? I changed the path for those three files to custom\gui to conform with the rest of my custom content that is in the mission file. Link to comment Share on other sites More sharing options...
Darth_Rogue Posted September 9, 2014 Report Share Posted September 9, 2014 I removed this from my server as it was causing server crashing on a restart and client crashing when exiting the server. It was also spamming the RPT with Server/Client object XXX not found. Not sure what the deal is, but it doesn't play nice with my Oveproch package. Rolled back to stock for now. Link to comment Share on other sites More sharing options...
cen Posted September 9, 2014 Report Share Posted September 9, 2014 So you meant to have a dayz_code folder in the mission file? I changed the path for those three files to custom\gui to conform with the rest of my custom content that is in the mission file. Yes, that's how I have my mission files set up. I'm very OCD when it comes to my mission file :D Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted September 9, 2014 Report Share Posted September 9, 2014 Ah, I see. Having dayz_code in my mission file would confuse me since that's a folder normally on a client's computer. Link to comment Share on other sites More sharing options...
cen Posted September 9, 2014 Report Share Posted September 9, 2014 Yea I mimic the folder structure so for version updates I know exactly which files to diff :) Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted September 10, 2014 Report Share Posted September 10, 2014 When I first installed this on my server, I copied the contents of ATD_Hud.h to my description.ext file because I already have RscTitles defined in it. I'd like to keep the description.ext file clean and would prefer not to copy the contents of ATD_Hud.h to description.ext. How can I solve this problem? Link to comment Share on other sites More sharing options...
cen Posted September 10, 2014 Report Share Posted September 10, 2014 Copy the code in RscTitles in description.ext over to ATD_Hud.h Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted September 10, 2014 Report Share Posted September 10, 2014 Copy the code in RscTitles in description.ext over to ATD_Hud.h As the saying goes... "Six of one, half dozen of another"... I'll just keep the code in the description.ext. Link to comment Share on other sites More sharing options...
DMDNathan Posted September 10, 2014 Report Share Posted September 10, 2014 Getting this error =( running zupa's gold coins as well is that would break it i think no? File mpmissions\DayZ_Epoch_11.Chernarus\dayz_code\gui\ATD_Hud.h, line 16: .RscStructuredText: Member already defined. kinda looks odd to like its missing the black background 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 { had to remove that Link to comment Share on other sites More sharing options...
cen Posted September 10, 2014 Report Share Posted September 10, 2014 move your existing RscTitles code from description.ext into the ATD_Hud.h file. Link to comment Share on other sites More sharing options...
ComatoseBadger Posted September 10, 2014 Report Share Posted September 10, 2014 This works pretty well......I like it cen 1 Link to comment Share on other sites More sharing options...
OSUapoc Posted September 11, 2014 Report Share Posted September 11, 2014 I'm pretty lost when dealing with Class defines and how that whole system works. Two things: 1) Anyone have any good reference material on making the HUDs and dealing with the related class definitions? 2) What would the changes be to incorporate the bank/cash values to the HUD? I have them in the stock ASREMIX implementation, but I do not see how I would port that class over to the CEN style version. Thanks! Link to comment Share on other sites More sharing options...
f3cuk Posted September 12, 2014 Report Share Posted September 12, 2014 I'm pretty lost when dealing with Class defines and how that whole system works. Two things: 1) Anyone have any good reference material on making the HUDs and dealing with the related class definitions? 2) What would the changes be to incorporate the bank/cash values to the HUD? I have them in the stock ASREMIX implementation, but I do not see how I would port that class over to the CEN style version. Thanks! You might want to read into these, helped me a lot. Also I could provide you with an updated version of this including a customization to display coins (but since i don't have a bank on my server you need to add that yourself if you want it). cen and SmokeyBR 2 Link to comment Share on other sites More sharing options...
OSUapoc Posted September 12, 2014 Report Share Posted September 12, 2014 f3cuk, thanks for the links! I had forgot about KK's blog. If you could share that snippet for adding the coins, I'd appreciate it! I've pretty well sorted out all the inner workings of the regular scripting, but just starting to learn how the GUIs are set up. EDIT: Nevermind! I think I've got it sorted on my own. Thanks again for the tutorial link, it helped greatly. Link to comment Share on other sites More sharing options...
xviolence Posted September 14, 2014 Report Share Posted September 14, 2014 You might want to read into these, helped me a lot. Also I could provide you with an updated version of this including a customization to display coins (but since i don't have a bank on my server you need to add that yourself if you want it). It would be great if you could provide us with your updated version. 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