Jump to content

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


Zupa

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

Link to comment
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 ^^

Link to comment
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. 

Link to comment
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.  

Link to comment
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

Link to comment
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 ^^

Link to comment
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 : )

Link to comment
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

Link to comment
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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...