Jump to content

TrueAllegiant

Members
  • Content Count

    26
  • Joined

  • Last visited

  • Days Won

    3

TrueAllegiant last won the day on July 22

TrueAllegiant had the most liked content!

Community Reputation

6 Neutral

2 Followers

About TrueAllegiant

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hey I was testing some stuff on my server and I got the cop uniforms set to each rank. I gave my uniform to a civ to see if textures loads on him but it didn't work . Any ideas how to get textures to load on civs with each rank of uniform?
  2. Few new updates getting better
  3. There will be a updated version to come if your all lucky
  4. How do i display how much the player is wanted for on players screen. I've tried life_fnc_wantedCrimes but no good
  5. Let me know what you think, I will realise if you guys like it.
  6. I'm trying to get how much you wanted for on hud. I'm not sure the variable, LIFEctrl(4) ctrlSetText format["%1%2",round((1-(getDammage player))*100),""]; LIFEctrl(5) ctrlSetText format["%1%2",(life_hunger),""]; LIFEctrl(6) ctrlSetText format["%1%2",(life_thirst),""]; LIFEctrl(13) ctrlSetText format["%1%2",round((1-(getFatigue player))*100),""]; LIFEctrl(1) progressSetPosition (1 - (damage player)); LIFEctrl(2) progressSetPosition (life_hunger / 100); LIFEctrl(3) progressSetPosition (life_thirst / 100); LIFEctrl(12) progressSetPosition (1 - (getFatigue player)); As I'm trying to sort it out for my Hud
  7. Authers: Kureo & Zalac Edited by: FadedHazard Difficulty: Easy Version: Working on 5.0 (Not tested on 4.4) How to Instal the new Player_HUD: Step 1: Download the new Player_Hud Download here Step 2: Go to core/functions and drag and drop (fn_hudUpdate.sqf) and (fn_hudSetup.sqf) into the folder: Step 3: Go to dialog folder and drag and drop new_HUD.hpp into folder: Step 4: Go into description.ext and put under Class RscTitles, this: change hud_stats.hpp Step 5: Go into dialog folder, open MasterHandler.hpp and add change hud_stats.hpp Step 6: Put the Icon into the Icon folder (drag and drop) Step 7: Go to init.sqf, under paste this under it
  8. FN_HudUpdate.sqf https://pastebin.com/kMAVqtmg FN_Hudstetup https://pastebin.com/Q7XrJzFM
  9. Yeah I used the version you gave me but its not updates damage food or water
  10. It's not updating when hit and thirst and that
  11. Can anyone help sort this problem please? FN_hudUpdate #include "..\..\script_macros.hpp" #define IDC_LIFE_BAR_FOOD 2200 #define IDC_LIFE_BAR_WATER 2201 #define IDC_LIFE_BAR_HEALTH 2202 #define IDC_LIFE_FOOD_TEXT 1000 #define IDC_LIFE_WATER_TEXT 1001 #define IDC_LIFE_HEALTH_TEXT 1002 #define LIFEdisplay (GVAR_UINS ["playerHUD",displayNull]) #define LIFEctrl(ctrl) ((GVAR_UINS ["playerHUD",displayNull]) displayCtrl ctrl) /* File: fn_hudUpdate.sqf Author: Dillon "Itsyuka" Modine-Thuen Description: Updates the HUD when it needs to. */ disableSerialization; if(isNull LIFEdisplay) then {[] call life_fnc_hudSetup;}; LIFEctrl(IDC_LIFE_BAR_FOOD) progressSetPosition (1 / (100 / life_hunger)); LIFEctrl(IDC_LIFE_BAR_WATER) progressSetPosition (1 / (100 / life_thirst)); LIFEctrl(IDC_LIFE_BAR_HEALTH) progressSetPosition (1 - (damage player)); LIFEctrl(IDC_LIFE_FOOD_TEXT) ctrlsetText format["%1", life_hunger]; LIFEctrl(IDC_LIFE_WATER_TEXT) ctrlsetText format["%1", life_thirst]; LIFEctrl(IDC_LIFE_HEALTH_TEXT) ctrlsetText format["%1", round((1 - (damage player)) * 100)]; FN_hudSetup #include "..\..\script_macros.hpp" /* File: fn_hudSetup.sqf Author: Bryan "Tonic" Boardwine Description: Setups the hud for the player? */ private["_alpha","_version","_p","_pg"]; disableSerialization; _alpha = CONTROL(46,1001); _version = CONTROL(46,1000); 2 cutRsc ["playerHUD","PLAIN"]; _version ctrlSetText format["BETA: 0.%1.%2",(productVersion select 2),(productVersion select 3)]; [] call life_fnc_hudUpdate; [] spawn { private["_dam"]; while {true} do { _dam = damage player; waitUntil {(damage player) != _dam}; [] call life_fnc_hudUpdate; }; }; hud_stats.hpp #define INFINITE 1e+1000 #define IDC_LIFE_BAR_FOOD 2200 #define IDC_LIFE_BAR_WATER 2201 #define IDC_LIFE_BAR_HEALTH 2202 #define IDC_LIFE_PICTURE_FOOD 1200 #define IDC_LIFE_PICTURE_WATER 1201 #define IDC_LIFE_PICTURE_HEALTH 1202 #define IDC_LIFE_FOOD_TEXT 1000 #define IDC_LIFE_WATER_TEXT 1001 #define IDC_LIFE_HEALTH_TEXT 1002 /* Name: Dillon "Itsyuka" Modine-Thuen File: ui.hpp */ class playerHUD { idd = -1; duration = INFINITE; movingEnable = 0; fadein = 0; fadeout = 0; name = "playerHUD"; onLoad = "uiNamespace setVariable ['playerHUD',_this select 0]"; objects[] = {}; controls[] = { LIFE_UI_BACK, LIFE_BAR_FOOD, LIFE_BAR_WATER, LIFE_BAR_HEALTH, LIFE_PICTURE_FOOD, LIFE_PICTURE_WATER, LIFE_PICTURE_HEALTH, LIFE_FOOD_TEXT, LIFE_WATER_TEXT, LIFE_HEALTH_TEXT }; /* Background */ class LIFE_UI_BACK: Life_RscBackground { colorBackground[] = {0,0,0,0.5}; x = 0.917656 * safezoneW + safezoneX; y = 0.819 * safezoneH + safezoneY; w = 0.0825 * safezoneW; h = 0.11 * safezoneH; }; /* Progress Bars */ class LIFE_BAR_FOOD: Life_RscProgress { idc = IDC_LIFE_BAR_FOOD; x = 0.938281 * safezoneW + safezoneX; y = 0.83 * safezoneH + safezoneY; w = 0.061875 * safezoneW; h = 0.022 * safezoneH; }; class LIFE_BAR_WATER: Life_RscProgress { idc = IDC_LIFE_BAR_WATER; x = 0.938281 * safezoneW + safezoneX; y = 0.863 * safezoneH + safezoneY; w = 0.061875 * safezoneW; h = 0.022 * safezoneH; }; class LIFE_BAR_HEALTH: Life_RscProgress { idc = 2202; x = 0.938281 * safezoneW + safezoneX; y = 0.896 * safezoneH + safezoneY; w = 0.061875 * safezoneW; h = 0.022 * safezoneH; }; /* Text */ class LIFE_FOOD_TEXT: Life_RscText { idc = IDC_LIFE_FOOD_TEXT; text = ""; x = 0.958906 * safezoneW + safezoneX; y = 0.8344 * safezoneH + safezoneY; w = 0.020625 * safezoneW; h = 0.011 * safezoneH; }; class LIFE_WATER_TEXT: Life_RscText { idc = IDC_LIFE_WATER_TEXT; text = ""; x = 0.958905 * safezoneW + safezoneX; y = 0.8674 * safezoneH + safezoneY; w = 0.020625 * safezoneW; h = 0.011 * safezoneH; }; class LIFE_HEALTH_TEXT: Life_RscText { idc = IDC_LIFE_HEALTH_TEXT; text = ""; x = 0.958906 * safezoneW + safezoneX; y = 0.9004 * safezoneH + safezoneY; w = 0.020625 * safezoneW; h = 0.011 * safezoneH; }; /* Icons */ class LIFE_PICTURE_FOOD: life_RscPicture { idc = IDC_LIFE_PICTURE_FOOD; text = "icons\food.paa"; x = 0.922813 * safezoneW + safezoneX; y = 0.83 * safezoneH + safezoneY; w = 0.03; h = 0.04; }; class LIFE_PICTURE_WATER: life_RscPicture { idc = IDC_LIFE_PICTURE_WATER; text = "icons\water.paa"; x = 0.922813 * safezoneW + safezoneX; y = 0.863 * safezoneH + safezoneY; w = 0.03; h = 0.04; }; class LIFE_PICTURE_HEALTH: life_RscPicture { idc = IDC_LIFE_PICTURE_HEALTH; text = "icons\health.paa"; x = 0.922813 * safezoneW + safezoneX; y = 0.896 * safezoneH + safezoneY; w = 0.03; h = 0.04; }; }; https://imgur.com/hLU16tC
  12. for the house u need to put money in bank and unlocking cars i have no idea
  13. There seems to be a issue with the 5.0 unlocking cars and houses. I've been scrolling though and I can't see any problems with the Mission file at all.
  14. It's not making taze sound when i taze someone?
×
×
  • Create New...