Relentless Posted January 21, 2018 Report Share Posted January 21, 2018 Hello Epoch-Community! Today I want to release our RLNT Weapon HUD! Basic information: Game version: Epoch 1.0.6.2 (Overwatch and Origins compatible) Maps: compatible with all maps Addons: compatible with all addonsThe RLNT Weapon HUD grants a clean visual HUD for all Epoch players to display their weapons. Also you can setup something that we call Quick-Slot-Items. These are items you can choose which will be also displayed in the HUD and accessible by hotkeys. I know you want to see how it looks like so here is a little preview: Spoiler Feature requests and bug reporting: We have an own chart to display all things we are currently working, things that are already done and things that are already suggested or reported. Look it up here! If you want to report or suggest anything else that is NOT already mentioned on this chart, do that here! Features: General Multi-Weapon-Support (compatible with one or two primaries Quick-Slot-Items (adjustable item type and amount) Visibles (toggable in config) hotkeys weapon names (localized) item names (localized) item amounts Customizables (adjustable in config) hotkeys item type item amount colors of the boxes colors of the texts colors of the hotkeys Other The script/addon includes a huge error prevention mechanic. Whenever it detects an error in your installation or in your configuration it will either automatically fix it or inform you. It also detects the amount of boxes that are needed to display everything you set up. The Weapon HUD has a huge config you can adjust to fit your personal preferences. Everything you need to know is explained in there. It also supports custom weapons and items. You can now toggle the Weapon HUD with a function in case you want to include a button in your player menu! And if that's not enough for you, here is a picture overview: Credits: Authors: Relentless (GitHub) Thonikum (GitHub) @Sp4rkY - taught me most in SQF (GitHub) @salival - always helping me with issues when my brain is mud again (GitHub) @iben - often helps with issues, also got the GitHub design from him (GitHub) LordGolies - made an awesome Atom SQF-linter (GitHub) Epoch-Discord - filled with nice guys that often help (join the Discord) Download and install instructions:Downloading is not recommended at the moment, we are working on some fixes -> watch the table Everything is explained on our RLNT GitHub! Changelog (real changelog [here]): Sp4rkY, oldmatechoc, totis and 5 others 8 Link to comment Share on other sites More sharing options...
BigEgg Posted January 21, 2018 Report Share Posted January 21, 2018 Finally it is centered. Will be using this. +1 Relentless, DieTanx and nova 1 1 1 Link to comment Share on other sites More sharing options...
Relentless Posted January 21, 2018 Author Report Share Posted January 21, 2018 5 minutes ago, BigEgg said: Finally it is centered. Will be using this. +1 Thanks to the ArmA 2 GUI editor after you fixed it for me nova and BigEgg 2 Link to comment Share on other sites More sharing options...
nova Posted January 21, 2018 Report Share Posted January 21, 2018 This looks simply amazing!!! well done guys. I'm gunna try this soon Link to comment Share on other sites More sharing options...
kingpapawawa Posted January 21, 2018 Report Share Posted January 21, 2018 @Relentless need to close out a couple items at the end of stringtable Relentless 1 Link to comment Share on other sites More sharing options...
Relentless Posted January 21, 2018 Author Report Share Posted January 21, 2018 58 minutes ago, kingpapawawa said: @Relentless need to close out a couple items at the end of stringtable Oh, you are right. I did this but didn't push it to the right version. Thanks for the hint. Link to comment Share on other sites More sharing options...
Relentless Posted January 21, 2018 Author Report Share Posted January 21, 2018 Link to comment Share on other sites More sharing options...
kingpapawawa Posted January 21, 2018 Report Share Posted January 21, 2018 @Relentless I also have a few client side errors.. script works but no error display if trying to bandage with no bandage in gear. etc Spoiler Error in expression <; "setup" call RLNT_wh_errorCheck; if (rlnt_wh_errorsFound) exitWith { "error" > Error position: <rlnt_wh_errorsFound) exitWith { "error" > Error Undefined variable in expression: rlnt_wh_errorsfound File mpmissions\__CUR_MP.Chernarus\rlnt\functions\RLNT_wh_setup.sqf, line 23 Error in expression < "update" call RLNT_wh_errorCheck; if (rlnt_wh_errorsFound) exitWith { "error" > Error position: <rlnt_wh_errorsFound) exitWith { "error" > Error Undefined variable in expression: rlnt_wh_errorsfound File mpmissions\__CUR_MP.Chernarus\rlnt\functions\RLNT_wh_update.sqf, line 16 Error in expression < "bandage" call RLNT_wh_errorCheck; if (rlnt_wh_errorsFound) exitWith {}; _it> Error position: <rlnt_wh_errorsFound) exitWith {}; _it> Error Undefined variable in expression: rlnt_wh_errorsfound File mpmissions\__CUR_MP.Chernarus\rlnt\addons\Weapon HUD\actions\bandage.sqf, line 16 Error in expression <ainkiller" call RLNT_wh_errorCheck; if (rlnt_wh_errorsFound) exitWith {}; _it> Error position: <rlnt_wh_errorsFound) exitWith {}; _it> Error Undefined variable in expression: rlnt_wh_errorsfound File mpmissions\__CUR_MP.Chernarus\rlnt\addons\Weapon HUD\actions\painkiller.sqf, line 16 Link to comment Share on other sites More sharing options...
Relentless Posted January 21, 2018 Author Report Share Posted January 21, 2018 @kingpapawawa Open rlnt/functions/RLNT_wh_error.sqf and go to line 64 and place a semicolon behind the closing bracket. Should look like that: if (!isNil "rlnt_wh_item2") then { { if ((toLower rlnt_wh_item2) != (toLower _x)) then { rlnt_wh_errorsFound = true; ["error","WH","Detected that item 2 isn't a supported item!"] call RLNT_wh_postDebug; ["error","WH","Make sure the item you set is in the rlnt_wh_itemList!"] call RLNT_wh_postDebug; } } forEach rlnt_wh_itemList; }; //<---- Here if ((isNil "rlnt_wh_item1") && !(isNil "rlnt_wh_item2")) then { rlnt_wh_item1 = rlnt_wh_item2; rlnt_wh_item1 = nil; ["fix","WH", localize STR_RLNT_WH_ERROR_ITEM_SWITCH] call RLNT_wh_postDebug; ["fix","WH", localize STR_RLNT_WH_ERROR_ITEM_SWITCH_HINT] call RLNT_wh_postDebug; }; Thanks for mentioning that error, it's fixed in the next version. Link to comment Share on other sites More sharing options...
Relentless Posted January 21, 2018 Author Report Share Posted January 21, 2018 Link to comment Share on other sites More sharing options...
kingpapawawa Posted January 21, 2018 Report Share Posted January 21, 2018 (edited) @DAmNRelentless rlnt_wh_itemList i have not edited. have not edited any configs. Spoiler "[RLNT][ERROR][WH] Detected that item 1 isn't a supported item!" "[RLNT][ERROR][WH] Make sure the item you set is in the rlnt_wh_itemList!" "[RLNT][ERROR][WH] Detected that item 1 isn't a supported item!" "[RLNT][ERROR][WH] Make sure the item you set is in the rlnt_wh_itemList!" "[RLNT][ERROR][WH] Detected that item 1 isn't a supported item!" "[RLNT][ERROR][WH] Make sure the item you set is in the rlnt_wh_itemList!" "[RLNT][ERROR][WH] Detected that item 1 isn't a supported item!" "[RLNT][ERROR][WH] Make sure the item you set is in the rlnt_wh_itemList!" "[RLNT][ERROR][WH] Detected that item 2 isn't a supported item!" "[RLNT][ERROR][WH] Make sure the item you set is in the rlnt_wh_itemList!" "[RLNT][ERROR][WH] Detected that item 2 isn't a supported item!" "[RLNT][ERROR][WH] Make sure the item you set is in the rlnt_wh_itemList!" "[RLNT][ERROR][WH] Detected that item 2 isn't a supported item!" "[RLNT][ERROR][WH] Make sure the item you set is in the rlnt_wh_itemList!" "[RLNT][ERROR][WH] Detected that item 2 isn't a supported item!" "[RLNT][ERROR][WH] Make sure the item you set is in the rlnt_wh_itemList!" "[RLNT][FIXED][WH] " Error in expression <g format ["[RLNT][FIXED][%1] %2", _tag, _name]; }; case "other": { if (RLNT_wh_> Error position: <_name]; }; case "other": { if (RLNT_wh_> Error Undefined variable in expression: _name File mpmissions\__CUR_MP.Chernarus\rlnt\functions\RLNT_wh_debug.sqf, line 39 "[RLNT][FIXED][WH] " Error in expression <g format ["[RLNT][FIXED][%1] %2", _tag, _name]; }; case "other": { if (RLNT_wh_> Error position: <_name]; }; case "other": { if (RLNT_wh_> Error Undefined variable in expression: _name File mpmissions\__CUR_MP.Chernarus\rlnt\functions\RLNT_wh_debug.sqf, line 39 Error in expression <Values select 0]; ["fix","WH", localize STR_RLNT_WH_ERROR_BLOOD_INJECTION_AMOUNT> Error position: <STR_RLNT_WH_ERROR_BLOOD_INJECTION_AMOUNT> Error Undefined variable in expression: str_rlnt_wh_error_blood_injection_amount File mpmissions\__CUR_MP.Chernarus\rlnt\functions\RLNT_wh_error.sqf, line 74 also get 0 rolling messages Edited January 21, 2018 by kingpapawawa spelling Link to comment Share on other sites More sharing options...
Relentless Posted January 21, 2018 Author Report Share Posted January 21, 2018 @kingpapawawa everything you reported is fixed now, thanks Link to comment Share on other sites More sharing options...
kingpapawawa Posted January 22, 2018 Report Share Posted January 22, 2018 7 hours ago, DAmNRelentless said: sorry I am so good at finding problems lol This seems to fix the client side spam. mostly. I get this but the hud works. Messages work. nothing seems wrong with Install. "[RLNT][ERROR][WH] Something seems to be wrong with your Weapon HUD installation!" "[RLNT][ERROR][WH] It's recommended to check the installation or reinstall the whole script." also.. rlnt_wh_showWeaponNames = false; /* default: true */ does not disable weapon names being displayed but does disable item names display. rlnt_wh_showItemName = false; /* default: true */ not in the code anywhere except in this config. Link to comment Share on other sites More sharing options...
Relentless Posted January 22, 2018 Author Report Share Posted January 22, 2018 @kingpapawawa I appreciate your bug reports, that helps improving the script. How should I find them without people who test it? Interesting points you listed there, I will take a look into that asap. Thanks for the report. I would love to talk to you on Discord if you have it. My name is given in the thread. Feel free to message me there. Link to comment Share on other sites More sharing options...
WLF Posted January 23, 2018 Report Share Posted January 23, 2018 Hi! 1. Is it possible to extend a number of hotkeys (6,7,8,9)? 1a. Is it possible to use a key modificators for hot keys (Shift+4 for Bandage, Alt+5 for Painkillers)? 2. Is it possible to make 'rlnt_wh_item1_keyName' a little less and move it in a corner of box? (of course, optionally) 3. Is it possible to remove a double background of boxes (I mean a frame around of each boxes)? 4. Is it possible to make a whole interface of WeaponHUD a little bit smaller? Link to comment Share on other sites More sharing options...
WLF Posted January 23, 2018 Report Share Posted January 23, 2018 Hello again! I changed a rlnt_wh_item1 to "ItemAntibiotic" and rlnt_wh_item2 to "ItemBloodbag" in RLNT_wh_config.sqf. I press "5", animation begins, but I havent a message about using bloodbag and amount of blood not increased. With default values of rlnt_wh_item1 and rlnt_wh_item2 all works fine. Spoiler "PRELOAD_ Functions\init [[L 1-1-A:1 REMOTE],any]" "MPframework inited" "Res3tting B!S effects..." "dayz_preloadFinished reset" "Loading custom client compiles" CLICK ACTIONS: loading... "Deploy Anything: loading version 2.8.2 ..." "Deploy Anything: waiting for login..." "z\addons\dayz_code\system\REsec.sqf:Monitoring Remote Exe..." "Service Points: loading config..." ["Sent to server: PVDZ_plr_Login1",["76561198000206238",B 1-1-A:1 (W0LF)]] ["Sent to server: PVDZ_send",[B 1-1-A:1 (W0LF),"dayzSetDate",[B 1-1-A:1 (W0LF)]]] "PLAYER RESULT: true" [50.146,"z\addons\dayz_code\system\scheduler\sched_init.sqf","Scheduler started"] No owner ["Sent to server: PVDZ_plr_Login2",["5",B 1-1-B:1 (W0LF),"76561198000206238",9,[["Mk48_DZ","M1911_DZ","ItemGPS","ItemKnife","ItemEtool","ItemCompass"],["100Rnd_762x51_M240","20Rnd_762x51_DMR","ItemMorphine","ItemPainkiller","ItemAntibiotic",["7Rnd_45ACP_1911",4],"7Rnd_45ACP_1911","7Rnd_45ACP_1911","7Rnd_45ACP_1911","7Rnd_45ACP_1911","ItemBandage","ItemAntibacterialWipe"],"M14_Gh_DZ"]]] ["Date & time received:",[2012,8,2,8,37]] ["Local date on this client:",[2012,8,2,8,37]] "z\addons\dayz_code\system\antihack.sqf: Plants libs tests done!" 2nd UV set needed, but not defined in ReportStack not available "Sent to server PVDZ_plr_LoginRecord: [76561198000206238, 5, 0, W0LF]" [] No owner No owner [56.134,"onPreloadStarted"] "[RLNT][WH] Setup was triggered!" "[RLNT][WH] Error Check was triggered!" "[RLNT][FIXED][WH] Detected that no custom blood injection amount is set! (rlnt_wh_bloodSettings = [#,-1])" "[RLNT][FIXED][WH] Automatically fixed; set amount to Epoch value." "[RLNT][WH] Item amount is 2." "[RLNT][WH] Weapon amount is 2." "[RLNT][WH] Display style is 4." "[RLNT][WH] Font: [1033,1037,1041,1045,1046,1050,1051]; Background: [1031,1035,1039,1043,1048]; Hotkey: [1034,1038,1042,1047,1052]" "[RLNT][WH] The Weapon HUD is style 4." "[RLNT][WH] Update function was triggered!" "[RLNT][WH] Error Check was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" [58.137,"onPreloadFinished"] "player_forceSave called from fsm" Fresnel k must be >0, given n=0.8,k=0 Fresnel k must be >0, given n=0.8,k=0 Warning: looped for animation: ca\anims\characters\data\anim\sdr\mov\erc\stp\non\non\amovpercmstpsnonwnondnon_amovpercmstpsraswpstdnon_end.rtm differs (looped now 0)! MoveName: amovpercmstpsnonwnondnon_amovpercmstpsraswpstdnon_end "keyboard_keys reset" "[RLNT][WH] Action function was triggered!" "[RLNT][WH] Error Check was triggered!" "[RLNT][WH] W0LF is trying to take Antibiotics (Quick-Item)!" "[RLNT][WH] Error Check was triggered!" "[RLNT][WH] Notification was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Action function was triggered!" "[RLNT][WH] Error Check was triggered!" "[RLNT][WH] W0LF is trying to self blood bag (Quick-Item)!" "[RLNT][WH] Error Check was triggered!" "[RLNT][WH] Switch function was triggered!" Link to comment Share on other sites More sharing options...
Relentless Posted January 23, 2018 Author Report Share Posted January 23, 2018 21 hours ago, WLF said: Hi! 1. Is it possible to extend a number of hotkeys (6,7,8,9)? 1a. Is it possible to use a key modificators for hot keys (Shift+4 for Bandage, Alt+5 for Painkillers)? 2. Is it possible to make 'rlnt_wh_item1_keyName' a little less and move it in a corner of box? (of course, optionally) 3. Is it possible to remove a double background of boxes (I mean a frame around of each boxes)? 4. Is it possible to make a whole interface of WeaponHUD a little bit smaller? 1. Yes but the items or whatever you want to use wouldn't be displayed on the HUD 1a. Marked a requested feature 2. Marked as requested feature, @BigEgg asked me a similar thing so I might add another style 3. Fairly easy to do, marked as requested feature 4. No without redoing the whole Dialog, you could try adjusting the width and heights manually but I don't think that's very effective Link to comment Share on other sites More sharing options...
Relentless Posted January 23, 2018 Author Report Share Posted January 23, 2018 18 hours ago, WLF said: Hello again! I changed a rlnt_wh_item1 to "ItemAntibiotic" and rlnt_wh_item2 to "ItemBloodbag" in RLNT_wh_config.sqf. I press "5", animation begins, but I havent a message about using bloodbag and amount of blood not increased. With default values of rlnt_wh_item1 and rlnt_wh_item2 all works fine. Reveal hidden contents "PRELOAD_ Functions\init [[L 1-1-A:1 REMOTE],any]" "MPframework inited" "Res3tting B!S effects..." "dayz_preloadFinished reset" "Loading custom client compiles" CLICK ACTIONS: loading... "Deploy Anything: loading version 2.8.2 ..." "Deploy Anything: waiting for login..." "z\addons\dayz_code\system\REsec.sqf:Monitoring Remote Exe..." "Service Points: loading config..." ["Sent to server: PVDZ_plr_Login1",["76561198000206238",B 1-1-A:1 (W0LF)]] ["Sent to server: PVDZ_send",[B 1-1-A:1 (W0LF),"dayzSetDate",[B 1-1-A:1 (W0LF)]]] "PLAYER RESULT: true" [50.146,"z\addons\dayz_code\system\scheduler\sched_init.sqf","Scheduler started"] No owner ["Sent to server: PVDZ_plr_Login2",["5",B 1-1-B:1 (W0LF),"76561198000206238",9,[["Mk48_DZ","M1911_DZ","ItemGPS","ItemKnife","ItemEtool","ItemCompass"],["100Rnd_762x51_M240","20Rnd_762x51_DMR","ItemMorphine","ItemPainkiller","ItemAntibiotic",["7Rnd_45ACP_1911",4],"7Rnd_45ACP_1911","7Rnd_45ACP_1911","7Rnd_45ACP_1911","7Rnd_45ACP_1911","ItemBandage","ItemAntibacterialWipe"],"M14_Gh_DZ"]]] ["Date & time received:",[2012,8,2,8,37]] ["Local date on this client:",[2012,8,2,8,37]] "z\addons\dayz_code\system\antihack.sqf: Plants libs tests done!" 2nd UV set needed, but not defined in ReportStack not available "Sent to server PVDZ_plr_LoginRecord: [76561198000206238, 5, 0, W0LF]" [] No owner No owner [56.134,"onPreloadStarted"] "[RLNT][WH] Setup was triggered!" "[RLNT][WH] Error Check was triggered!" "[RLNT][FIXED][WH] Detected that no custom blood injection amount is set! (rlnt_wh_bloodSettings = [#,-1])" "[RLNT][FIXED][WH] Automatically fixed; set amount to Epoch value." "[RLNT][WH] Item amount is 2." "[RLNT][WH] Weapon amount is 2." "[RLNT][WH] Display style is 4." "[RLNT][WH] Font: [1033,1037,1041,1045,1046,1050,1051]; Background: [1031,1035,1039,1043,1048]; Hotkey: [1034,1038,1042,1047,1052]" "[RLNT][WH] The Weapon HUD is style 4." "[RLNT][WH] Update function was triggered!" "[RLNT][WH] Error Check was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" [58.137,"onPreloadFinished"] "player_forceSave called from fsm" Fresnel k must be >0, given n=0.8,k=0 Fresnel k must be >0, given n=0.8,k=0 Warning: looped for animation: ca\anims\characters\data\anim\sdr\mov\erc\stp\non\non\amovpercmstpsnonwnondnon_amovpercmstpsraswpstdnon_end.rtm differs (looped now 0)! MoveName: amovpercmstpsnonwnondnon_amovpercmstpsraswpstdnon_end "keyboard_keys reset" "[RLNT][WH] Action function was triggered!" "[RLNT][WH] Error Check was triggered!" "[RLNT][WH] W0LF is trying to take Antibiotics (Quick-Item)!" "[RLNT][WH] Error Check was triggered!" "[RLNT][WH] Notification was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Switch function was triggered!" "[RLNT][WH] Action function was triggered!" "[RLNT][WH] Error Check was triggered!" "[RLNT][WH] W0LF is trying to self blood bag (Quick-Item)!" "[RLNT][WH] Error Check was triggered!" "[RLNT][WH] Switch function was triggered!" thanks for reporting, I'll take a look into that Link to comment Share on other sites More sharing options...
gelo534 Posted January 24, 2018 Report Share Posted January 24, 2018 Hello, can you make the icons small? they are too big Link to comment Share on other sites More sharing options...
npploveyou Posted January 24, 2018 Report Share Posted January 24, 2018 resolved Link to comment Share on other sites More sharing options...
pudgess Posted January 27, 2018 Report Share Posted January 27, 2018 how to reduce the size of the icons? to reduce all exactly 2 Link to comment Share on other sites More sharing options...
pudgess Posted January 29, 2018 Report Share Posted January 29, 2018 probably need to edit RLNT_weaponhud.hpp only once to resize all twice?( make icons smaller Link to comment Share on other sites More sharing options...
Vendetta5555 Posted February 8, 2018 Report Share Posted February 8, 2018 08.02.2018 14:26:01: ADMIN (79.105.149.107:2304) 2e9e9775930cc66ecb82ca227ce9dee2 - #7 "1","_nameItem1","_isListedItem2","_amountItem2","_nameItem2","_boxes","_namePrimary","_nameSecondary", "_nameHandgun","_style","" Link to comment Share on other sites More sharing options...
salival Posted February 8, 2018 Report Share Posted February 8, 2018 3 hours ago, Vendetta5555 said: 08.02.2018 14:26:01: ADMIN (79.105.149.107:2304) 2e9e9775930cc66ecb82ca227ce9dee2 - #7 "1","_nameItem1","_isListedItem2","_amountItem2","_nameItem2","_boxes","_namePrimary","_nameSecondary", "_nameHandgun","_style","" I guess your scripts.txt is kicking for _box Link to comment Share on other sites More sharing options...
pudgess Posted February 8, 2018 Report Share Posted February 8, 2018 who can help resize icons to small ones? ((( 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