maxjoiner 284 Posted August 27, 2013 Health Status Bar Script 2.0By Maxjoiner Description: This script adds an health status bar integrated into general info unit. Usage: In editor in init player put: nul = [this] execVM "maxhealthstatusbar.sqf"; and copy this files: health.jpg and description from download folder in your mission folder like the mission test. Media: TnjRiymn3g4 **This video is the health status bar version 1.0** Download Page: www.armaholic.com/page.php?id=22109 Share this post Link to post Share on other sites
bob100101 10 Posted August 27, 2013 Suggestion: Description.ext: #include <Max_HealthStatusBar.hpp> Max_HealthStatusBar.hpp: class RscPicture { type = CT_STATIC; idc = -1; style = ST_PICTURE; colorBackground[] = {0, 0,0,0}; colorText[] = {0,0.5,0.8,0.8};//verde//{0, 0.5,0.8, 0.8}; font = "PuristaMedium"; //FontM//PuristaMedium//TahomaB sizeEx = 0; }; class RscTitles { titles[] ={health}; class health100 { idd=-1; movingEnable = true; duration=6; // Fade Duration fadein=0; // Fade Time name = "health100"; // Name in Editor controls[]={Picture}; class Picture : RscPicture { x = 0.78; // X-Axis dex-six y = 0.12; // Y-Axis su-giu w = 0.30; //WindowWidth h = 0.01; //Window Height text = "health.jpg"; // Graphic Direction sizeEx = 0.01; style=48; }; }; class health90 { idd=-1; movingEnable = true; duration=6; // Fade Duration fadein=0; // Fade Time name = "health90"; // Name in Editor controls[]={Picture}; class Picture : RscPicture { x = 0.78; // X-Axis dex-six y = 0.12; // Y-Axis su-giu w = 0.27; //WindowWidth h = 0.01; //Window Height text = "health.jpg"; // Graphic Direction sizeEx = 0.01; style=48; }; }; class health80 { idd=-1; movingEnable = true; duration=6; // Fade Duration fadein=0; // Fade Time name = "health80"; // Name in Editor controls[]={Picture}; class Picture : RscPicture { x = 0.78; // X-Axis dex-six y = 0.12; // Y-Axis su-giu w = 0.24; //WindowWidth h = 0.01; //Window Height text = "health.jpg"; // Graphic Direction sizeEx = 0.01; style=48; }; }; class health70 { idd=-1; movingEnable = true; duration=6; // Fade Duration fadein=0; // Fade Time name = "health70"; // Name in Editor controls[]={Picture}; class Picture : RscPicture { x = 0.78; // X-Axis dex-six y = 0.12; // Y-Axis su-giu w = 0.21; //WindowWidth h = 0.01; //Window Height text = "health.jpg"; // Graphic Direction sizeEx = 0.01; style=48; }; }; class health60 { idd=-1; movingEnable = true; duration=6; // Fade Duration fadein=0; // Fade Time name = "health60"; // Name in Editor controls[]={Picture}; class Picture : RscPicture { x = 0.78; // X-Axis dex-six y = 0.12; // Y-Axis su-giu w = 0.18; //WindowWidth h = 0.01; //Window Height text = "health.jpg"; // Graphic Direction sizeEx = 0.01; style=48; }; }; class health50 { idd=-1; movingEnable = true; duration=6; // Fade Duration fadein=0; // Fade Time name = "health50"; // Name in Editor controls[]={Picture}; class Picture : RscPicture { x = 0.78; // X-Axis dex-six y = 0.12; // Y-Axis su-giu w = 0.15; //WindowWidth h = 0.01; //Window Height text = "health.jpg"; // Graphic Direction sizeEx = 0.01; style=48; }; }; class health40 { idd=-1; movingEnable = true; duration=6; // Fade Duration fadein=0; // Fade Time name = "health40"; // Name in Editor controls[]={Picture}; class Picture : RscPicture { x = 0.78; // X-Axis dex-six y = 0.12; // Y-Axis su-giu w = 0.12; //WindowWidth h = 0.01; //Window Height text = "health.jpg"; // Graphic Direction sizeEx = 0.01; style=48; }; }; class health30 { idd=-1; movingEnable = true; duration=6; // Fade Duration fadein=0; // Fade Time name = "health30"; // Name in Editor controls[]={Picture}; class Picture : RscPicture { x = 0.78; // X-Axis dex-six y = 0.12; // Y-Axis su-giu w = 0.09; //WindowWidth h = 0.01; //Window Height text = "health.jpg"; // Graphic Direction sizeEx = 0.01; style=48; }; }; class health20 { idd=-1; movingEnable = true; duration=6; // Fade Duration fadein=0; // Fade Time name = "health20"; // Name in Editor controls[]={Picture}; class Picture : RscPicture { x = 0.78; // X-Axis dex-six y = 0.12; // Y-Axis su-giu w = 0.06; //WindowWidth h = 0.01; //Window Height text = "health.jpg"; // Graphic Direction sizeEx = 0.01; style=48; }; }; class health10 { idd=-1; movingEnable = true; duration=6; // Fade Duration fadein=0; // Fade Time name = "health10"; // Name in Editor controls[]={Picture}; class Picture : RscPicture { x = 0.78; // X-Axis dex-six y = 0.12; // Y-Axis su-giu w = 0.03; //WindowWidth h = 0.01; //Window Height text = "health.jpg"; // Graphic Direction sizeEx = 0.01; style=48; }; }; class health0 { idd=-1; movingEnable = true; duration=6; // Fade Duration fadein=0; // Fade Time name = "health0"; // Name in Editor controls[]={Picture}; class Picture : RscPicture { x = 0.78; // X-Axis dex-six y = 0.17; // Y-Axis su-giu w = 0; //WindowWidth h = 0.01; //Window Height text = "health.jpg"; // Graphic Direction sizeEx = 0.01; style=48; }; }; }; Share this post Link to post Share on other sites
maxjoiner 284 Posted August 28, 2013 Thanks for Your appreciated suggestion! Share this post Link to post Share on other sites
Pomi Git 256 Posted November 6, 2013 Hey maxjoiner I just stumbled upon this. Nice idea. Any chances you could make an addon version so it runs in every mission automatically? Share this post Link to post Share on other sites
Janez 534 Posted November 6, 2013 Hi, great script. Can you make a version displaying numbers? Share this post Link to post Share on other sites