Jump to content

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


Zupa

Recommended Posts

 

 

Let this be a lesson to all scripters out there....even the best of us can get excited and push an update that's not 100%.  lol!  Thanks Zupa!   :D

Link to comment
Share on other sites

still doesnt work for non admins. ;)

 

Working here for everyone.

 

Have you eddit the AH configs to allow

 

5001 and  -3

 

And

/*  Revert Keybinds
*/ _RCK = false;	/* true or false */	/* recommended:  true  Removes custom Keybinds and sets back the default ones */
Link to comment
Share on other sites

/*

class ZHUD_SLIDER_1900: ZHUD_SLIDER

{

idc = 3401;

x = 0.298906 * safezoneW + safezoneX;

y = 0.302 * safezoneH + safezoneY;

w = 0.397031 * safezoneW;

h = 0.044 * safezoneH;

};

class ZHUD_TEXT_3001: ZHUD_TEXT

{

idc = -1;

text = "Picture Transparency"; //--- ToDo: Localize;

x = 0.298906 * safezoneW + safezoneX;

y = 0.247 * safezoneH + safezoneY;

w = 0.417656 * safezoneW;

h = 0.033 * safezoneH;

sizeEx = 2 * GUI_GRID_H ;

};

*/

Link to comment
Share on other sites

Lol

 

Well people can have a sneakpeak to whats next cus of it :P

/*

class ZHUD_SLIDER_1900: ZHUD_SLIDER

{

idc = 3401;

x = 0.298906 * safezoneW + safezoneX;

y = 0.302 * safezoneH + safezoneY;

w = 0.397031 * safezoneW;

h = 0.044 * safezoneH;

};

class ZHUD_TEXT_3001: ZHUD_TEXT

{

idc = -1;

text = "Picture Transparency"; //--- ToDo: Localize;

x = 0.298906 * safezoneW + safezoneX;

y = 0.247 * safezoneH + safezoneY;

w = 0.417656 * safezoneW;

h = 0.033 * safezoneH;

sizeEx = 2 * GUI_GRID_H ;

};

*/

Sweet cant wait, I figured it best to put it in a spoiler since most don't click em anyways!

Nice work ZUPA, so ive got the Bottom Text HUD starting automatically with the clients now and my next search is for the default icon setup for new players...

Will post it up if I find it before a reply.

Link to comment
Share on other sites

Inside of your ZHB folder is a fn_initVariables.sqf

Open it in notepad and edit starting at line 47

 

// Starting positions
Z_HUD_pos = [
0,0,0,0,0,0,0,0, // Bottom SIde
0,0,3,4,5,6,0,0, // Right Side
0,0,0,0,0,0,0,0, // Top side
0,0,0,0,0,0,0,0  // Left side
];
Modify this for your players default Icon HUD at startup.

I AM MERELY PROVIDING THIS FOR THOSE THAT CANT GET THEIR PLAYERS TO SAVE THEIR HUDS.

As in my players too.

Everything is functional, just nothing saves, not even for admins.

Testing out v1.2hotfix c with several setups

1. with proper commanding menus listed and revert keybinds false

2. with commanding menus check false and revert keybinds false

3. Removed all addons. Used vanilla epoch and the first 2 setups. still not saving.

Hope the above fix helps you guys out.

Link to comment
Share on other sites

sry mate im not stupid, but im very mad cause it does not work :D :D :D

no infi after adding these changes.

Link to comment
Share on other sites

Inside of your ZHB folder is a fn_initVariables.sqf

Open it in notepad and edit starting at line 47

 

// Starting positions
Z_HUD_pos = [
0,0,0,0,0,0,0,0, // Bottom SIde
0,0,3,4,5,6,0,0, // Right Side
0,0,0,0,0,0,0,0, // Top side
0,0,0,0,0,0,0,0  // Left side
];
Modify this for your players default Icon HUD at startup.

I AM MERELY PROVIDING THIS FOR THOSE THAT CANT GET THEIR PLAYERS TO SAVE THEIR HUDS.

As in my players too.

Everything is functional, just nothing saves, not even for admins.

Testing out v1.2hotfix c with several setups

1. with proper commanding menus listed and revert keybinds false

2. with commanding menus check false and revert keybinds false

3. Removed all addons. Used vanilla epoch and the first 2 setups. still not saving.

Hope the above fix helps you guys out.

 

 

Do you press activate button after changing the hud?

Link to comment
Share on other sites

Where i can change white info color to green?

as I understand must be  somewhere in ZHudBuilder.hpp 

class ZHUD_STRTEXT or other?

 

ZHUD_STRTEXT

 

In ZHUDBUILDER.HPP

 

Give it a color, 

  colorText[] = {1, 1, 1, 1};

Red, Green, Blue, Opacity ( 0 -1) 

 

0-1 or 0-256

Link to comment
Share on other sites

I have this working great with some custom icons for my servers. I still am having the issue with infistar blocking the HUD builder from non admin. 

_allowedDialogs = [-1,-3,602,5001,65430,65431,65432,65433,65434,65440,65441,65442,65443];

I have also turned off all battleye filters. Anyone have the next step for me? lol I appreciate any help

Link to comment
Share on other sites

 

check you description.ext.... try in this order 

 

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

 

 

thank you very very much it works!!!!

Link to comment
Share on other sites

I have this working great with some custom icons for my servers. I still am having the issue with infistar blocking the HUD builder from non admin.

_allowedDialogs = [-1,-3,602,5001,65430,65431,65432,65433,65434,65440,65441,65442,65443];

I have also turned off all battleye filters. Anyone have the next step for me? lol I appreciate any help

Is revert keybinds on?

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...