Jump to content

Release: Another Generic Debug Monitor| or is it? 1.0.6+


Cherdenko

Recommended Posts

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? 45Cwdaz.png

Download Link:

how to initialize?
simply put an
 
  Reveal hidden contents

you want to use your own path?
 

  Reveal hidden contents

You want to change the color of the font?
 

  Reveal hidden contents

you want to change the restart timer?
 

 

  Reveal hidden contents

@juandayz's edit:

this is how it looks:

  Reveal hidden contents

update.sqf:

  Reveal hidden contents

and also comment out in hud.hpp:

  Reveal hidden contents

 

Hope you like it.

Link to comment
Share on other sites

  • 5 months later...
  On 11/13/2017 at 1:18 PM, dodget90 said:

hi can you help , where do i put this as i don't have the class RscTitles in my description.ext

class RscTitles {
	#include "scripts\HUD\HUD.hpp"
};
Expand  

As you said, you simply put it in your description.ext.
If you don't have the RscTitles codeblock yet, simply copy all three lines and paste them in your file otherwise just copy the #include line and paste it in your codeblock.

Link to comment
Share on other sites

when i try to enter  the server i get an error in the description ext "RscTitles: Member already defined." then thee server closes , okay edited now i get a resource title rebalance hud not found error , i can see myself in game but as soon as i click okay on therror i get put back to the server list

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...
  • 10 months later...

Hello everyone, I write through the translator, need help.

- How to move the monitor from the bottom to the center?
- How to increase space for cash, Bank, humanity, fps, players? 
- How to disable unnecessary values?

Screenshot attached. All thanks.

Безымянный.jpg

 

 

Link to comment
Share on other sites

  On 4/8/2019 at 4:32 PM, 1400 said:

Hello everyone, I write through the translator, need help.

- How to move the monitor from the bottom to the center?
- How to increase space for cash, Bank, humanity, fps, players? 
- How to disable unnecessary values?

Screenshot attached. All thanks.

Безымянный.jpg

 

 

Expand  

Try this to remove the values for the humanity and blood!

replace the hud.hpp with this one. Let me know it it works? I will see about moving the monitor to the middle...

#define EPOCH_X 0.955313
#define EPOCH_WIDTH 0.03125
#define HUMANITY_Y 0.51
#define BIG_START 0.37
#define BIG_WIDTH 0.08
#define BIG_GAP 0.01
#define SMALL_START 0.64
#define SMALL_WIDTH 0.035
#define SMALL_GAP 0.0035

class RebalancedHUD
{
idd = -1;
onLoad = "uiNamespace setVariable ['RebalancedHUD', _this select 0]";
fadein = 0.5;
fadeout = 0.5;
duration = 10e10;
controlsBackground[] = {};
objects[] = {};

//---------------------------------------------------------------------------------------------------------------------

class Base {
    colorText[] = {0, 0, 0, 0};
    colorBackground[] = {0, 0, 0, 0};
    font = "EtelkaNarrowMediumPro";
    text = "";
};

class FloatingText : Base {
    type = 0;
    style = 0x02;
    shadow = 2;
    
    colorText[] = {1, 1, 1, 0.7};
    
    size = 0.016 * safeZoneH;
    sizeEx = 0.016 * safeZoneH;
    
    class Attributes {
        font = "EtelkaNarrowMediumPro";
        align = "center"; 
        valign = "bottom";
    };

    x = EPOCH_X * safezoneW + safezoneX;
    w = EPOCH_WIDTH * safezoneW;
    h = 0.0176 * safezoneH;
};

class EpochIcon : Base {
    type = 0;
    style = 0x30 + 0x100;
    access = 0;

    colorText[] = {1, 1, 1, 0.7};
    
    size = 0;
    sizeEx = 0;
    lineSpacing = 0;
    
    x = EPOCH_X * safezoneW + safezoneX;
    w = EPOCH_WIDTH * safezoneW;
    h = 0.0556 * safezoneH;
};

class Slot : Base {
    type = 13;
    style = 0;
    
    colorText[] = {1, 1, 1, 1};
    colorBackground[] = {0.2, 0.2, 0.2, 0.4};
    
    class Attributes {
        font = "EtelkaNarrowMediumPro";
        align = "left"; 
        valign = "bottom";
    };
    
    size = 0.012 * safezoneH;
    sizeEx = 0.012 * safezoneH;
};

class BigBackground : Slot {
    y = 0.9148 * safezoneH + safezoneY;
    w = BIG_WIDTH * safezoneW;
    h = 0.07 * safezoneH;
};

class BigIcon : BigBackground {
    type = 0;
    style = 0x30 + 0x800;
    colorText[] = {1, 1, 1, 1};
};

class SmallBackground : Slot {
    y = 0.9358 * safezoneH + safezoneY;
    w = SMALL_WIDTH * safezoneW;
    h = 0.048 * safezoneH;
};

class SmallIcon : SmallBackground {
    type = 0;
    style = 0x30 + 0x800;
    colorText[] = {1, 1, 1, 1};
};

class controls {
    //-----------------------------------------------------------------------------------------------------------------

    class HumanityBackground: EpochIcon {
        idc = 7000;
        text = "\z\addons\dayz_code\gui\status\status_bg.paa";
        y = HUMANITY_Y * safezoneH + safezoneY;
    };
    class HumanityIcon : EpochIcon {
        idc = 7010;
        text = "scripts\HUD\images\survivor.paa";
        y = HUMANITY_Y * safezoneH + safezoneY;
    };
};
}; 

Link to comment
Share on other sites

Solved, thank you all .

  Reveal hidden contents

 

Безымянный.jpg

Link to comment
Share on other sites

  • 3 years later...
  • 2 years later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...