Jump to content
Zupa

[Release] ZHB - Zupa's Hud & Builder. V1.2

Recommended Posts

ZHB - Zupa's Hud & Builder. V1.2 Hotfix
 


This is a selfbooting addon inside your mission pbo with easy installation. 

It will add a hud and hud builder on your server. Default pressing 8 for hud builder and 9 to toggle on and of.

 

 

Future plans

  • Opacity on images.
  • More options.
  • Saving to redis.
  • Config to allow hud builder or to disable it
  • Define your own keybinds.

 

Changelog

 

V1.2

  • Fixed a wrongly named variable
  • Infistar should work now correctly.

 

Commits

https://github.com/DevZupa/ZHB-A3/commit/070b15162a10c475d2872c564fb73a22a8e377d8

https://github.com/DevZupa/ZHB-A3/commit/abb6e4da1d32d953528fd27f5302fa83388dae16

https://github.com/DevZupa/ZHB-A3/commit/afc50e71910c4ab684b41aea444cff6c981055d6

 

V1.1

  • KeyUp Handlers.

 

Download


 

https://github.com/DevZupa/ZHB-A3

 

Feel free to push fixes/addition to the git.

 

Installation
 
Battleye Filters in Scripts.txt
 
Edit the following exceptions to the 7 xxx , only copy the part that starts with !
Search for the tag word and place the rest behind it.


7 displayAddEventHandler !"ZupaKeyUpWorking = (findDisplay 46) displayAddEventHandler ['KeyUp', '_this call ZHB_fnc_handleKey'];"

7 displayRemoveEventHandler !"(findDisplay 46) displayRemoveEventHandler ['KeyUp',ZupaKeyUpWorking];"

7 createDialog !="createDialog \"Z_HUD_Builder\";" 

7 playableUnits  !",count playableUnits ,_align,_valign"
  • Edit your filters as stated above.
  • Place the ZHB folder in your mission pbo.
  • Place the folowing on the bottom of your description.ext

If you already have a RscTiles or CfgFunctions, place the includes in there ofcourse.


#include "ZHB\ZHudBuilder.hpp"
class RscTitles
{
#include "ZHB\ZHud.hpp"
};
class CfgFunctions {
#include "ZHB\ZHB_Functions.hpp"
};

4. Add the following in your antihack as exception.

Z_HUD_Builder
    
5001, -3

5. DONE - Change the fn_initVariables to your likings.
 
You can edit the default hud in the initVariables.sqf
 

// Starting positions
Z_HUD_pos = [
0,0,0,0,0,0,0,0, // Bottom SIde -> left to right
0,0,3,4,5,6,0,0, // Right Side -> bottom to top
0,0,0,0,0,0,0,0, // Top side -> right to left
0,0,0,0,0,0,0,0  // Left side -> top to bottom
];

 
Numbers are as following:
 

// 0 = Nothing/ Blank
// 1 fps
// 2 players
// 3 damage
// 4 crypto
// 5 hunger
// 6 thirst
// 7 grid
// 8 fatique
// 9 Restart
// 10 Toxicity
// 11 Stamina
// 12 Energy

Extra

  • Restart timer is default disabled to be picked ( change in initVariables.sqf)
  • icons are 6 kb paa's, CAN U BELIEVE IT? SO SMALL

 

Screenshot
 
N9Pekye.jpg
 
8m8QCaL.jpg

Share this post


Link to post
Share on other sites

Clan Logo placement ?

 

You got to bare in mind.

 

People don't like tooo much stuff in there face thats not game related ^^

 

teamspeak text and logo's annoy more then anything else ( also streamers can't play the server then).

 

I'll build it in but just a heads up on that. Might be for later releases tho. Depends how much i'm in the mood ^^

Share this post


Link to post
Share on other sites

Ok just thought of admin side that shows server fps also so they can monitor server fps performance

 

Would lower the server fps since the server is constantly sending data to the admins. So not sure if thats what u want

 

And i don't think "admins" can do something about it anyways. 

Share this post


Link to post
Share on other sites

I'd say drop the restart timer.  Those aren't always accurate anyways depending on when the server was actually restarted.  Also, stamina and fatigue are not the same.  Once you run out of stamina your fatigue starts going up.  You can make an argument both ways for showing both of them or just one or the other, depending on your preferences.  

Share this post


Link to post
Share on other sites

teamspeak text and logo's annoy more then anything else ( also streamers can't play the server then).

I'll build it in but just a heads up on that. Might be for later releases tho. Depends how much i'm in the mood ^^

Good thought on the streamers. I don't mind putting it in by hand :-). I use it to request ideas, bug reports, and to help players find an admin if one doesn't happen to be in game.

Thanks

Share this post


Link to post
Share on other sites

Hey Zupa,

I know it may not be possible but,any chance of transparency adjustment (slider)?

I personally would prefer to see through the icons background a little better.

STENCH

+1

Share this post


Link to post
Share on other sites

Changed to release 1.0

 

More options added later in releases. Will be easy to update to newer realease cus it's a addon that auto boots.

 

So only changes in description.ext ( which shouldn't have to be changed in future releases).

 

So only copy files over old files ^^

Share this post


Link to post
Share on other sites

Having this enabled breaks some keybinds.  'F1' to open admin tools with Infistar and also 'H' to holster weapons stops working.  There may be more, but those are the two I've found so far.

 

hmm, i didn't had problems with infistar myself, but indeed H was a problem, i remade that function myself, but i forgot it was influenced.

 

Thats the downside for button handlersin arma 3.

 

Gotta come up with somethhing easy for everyone i guess

 

BUt that is for tomorrow evening, workday in the morning : )

Share this post


Link to post
Share on other sites

hi,

yes, the keys no longer work after that. normal epoch AT or AH no longer goes open....

H dont work...

 there is something wrong with the keydownhandler....

 

but still it is already a dream, but we still like to wait...

 

you are still the best :-) , thanks again

Share this post


Link to post
Share on other sites

Having this enabled breaks some keybinds.  'F1' to open admin tools with Infistar and also 'H' to holster weapons stops working.  There may be more, but those are the two I've found so far.

Yea just installed and tested myself ... cannot access the stock AH with the F1 key anymore but I didn't try the holstering to see if its broken.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By Mattiman338
      Hi all, doing up a server for myself and a few friends but am having one issue which I am clueless as to why it is happening. It doesn't really affect game play but does make it difficult navigating through certain tasks.
      The issue arises with ZSC and Virtual Garage dialogs only as far as I have tested. Certain buttons within dialogs do not show, such as the deposit and withdraw buttons for the bankers and the store vehicle button in the Virtual Garage dialog.
      I am running InfiSTAR admin tools and antihack and as far as I know, that could be the culprit with these problems but I have checked the servers .RPT and checked for errors with ZSC and the Virtual Garage with nothing coming up.
      There are InfiSTAR logs showing though and one refers to a dialog. 
       
      In-game screens
      And my .RPT from the last restart to when I tested the dialogs to gather screenshots
       
       
      All help is appreciated as I can't find anything to do with infiSTAR in the script installs.
      Thanks all!
    • By Tricks
      I have been browsing the forums looking for unique mods to add to my server. I noticed Juandayz deleted a lot of his mods before leaving the community. Just curious if anyone has them all and would possibly repost them giving him full credit? I am particularly interested in his "Admin Skin" and "Debug" mods.
       
      Thanks community, here's hoping someone will step up!
    • By chi
      I had this debug back in 1.0.5.1. I was wondering if someone could tell me why this isnt showing up when I place it in my selfactions.
       
      if((speed player <= 1) && _canDo) then {      //default = 1 not 1000
              if (s_player_toggle < 0) then {
                    s_player_toggle = player addAction[("<t color=""#c70000"">" + ("Toggle Stats") +"</t>"),"custom\custom_stats\custom_stats_my_tweak.sqf","",5,false,true,"",""];
              };
      } else {
                      player removeAction s_player_toggle;
                      s_player_toggle = -1;
      };
      // -----------------------------------------------------------------------------------------------------------------------------------------------------------
       
      Thanks guys!!
    • By Cherdenko
      Edit: Should be also working for 1062, as ive seen some servers running this
      Hello guys i've decided to release my "Debug Monitor". It's not much like a monitor but its looking quiet nice.
      This was originally for my Napf and Chernarus server and i thought why not share it, since the players seemed to like it.
      So how does it look like?
      Download Link:
      https://mega.nz/#F!OBYz2QSI!PlskDOd_JQ-Y1s_SKdMSaA how to initialize? simply put an   you want to use your own path?
       
      You want to change the color of the font?
       
      you want to change the restart timer?
       
       
      @juandayz's edit:
      this is how it looks:
      update.sqf:
      and also comment out in hud.hpp:
       
      Hope you like it.
    • By DirtySanchez
      Hey everybody,
      Here is another goodie from me to YOU!
      Real Health System v0.3
      This was started because a couple of community members at EpochMod.Com/Forums got together and took a basic idea and ran with it.
      Their initial work on Hunger and Thirst gave me the inspiration to make it even more involved and more realistic.
      From there I took it that next step and started looking at the other debug values that Epoch gives us and wham, ideas started pouring out!
      I still have many ideas left to add and tweak but this is a good start for the entire community to use in the meantime.
      So, all variables involved here kinda work with each other as well as work with the current health system in place made by Epoch.
      hunger
      thirst
      wet
      temp
      soiled
      toxicity
      immunity
      bloodpressure
      stamina
      damage
      rain
      That's the current list of all variables that come into play.
      Any modifications to this script must be shared back to me(to add to the current script) for the rest of the community to enjoy.
      Please consider donating to Donkey Punch to keep not only the scripts coming but this community alive!
      https://github.com/donkeypunchepoch/DP-Real-Health-System
      Whats in it so far
      too wet, lower temperaturetoo soiled, increase toxicitytoo toxic, lower immunitytoo low of immunity, raise temp - tox lower staminabloddpressure too high, lower stamina, raise temp, increase damage headwound too great, raise temp, lower immunity, raise tox, erase stamina, increase damage Update, just got to understanding bleeding will add it into at least one current and any future ideas that require it.
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...