View Full Version : HUD display
Induce
07-25-2013, 07:08 PM
I'd like to see an option added for stamina.
Cheers
Xeromex
07-25-2013, 07:11 PM
What do you mean?
nachoo123
07-25-2013, 07:31 PM
Probably a hud plugin that checks your stamina so that you don't need to have your skill window open :)
Xeromex
07-25-2013, 07:32 PM
Probably a hud plugin that checks your stamina so that you don't need to have your skill window open :)
You mean it displays stamina?
Like this;
Stamina: 15:29
nachoo123
07-25-2013, 07:34 PM
You mean it displays stamina?
Like this;
Stamina: 15:29
Yeah, I think that's what he meant.
Avani
07-25-2013, 09:21 PM
Quickly made this, is this what you are looking for? It displays your stamina and changed color when your stamina gets low.
stamHUD = HUD.New(10, 23, "Stamina: ", 255, 255, 255)
stam2HUD = HUD.New(65, 23, "", 0, 255, 0)
_G['refreshHUD'] = Module.New("refreshHUD", function(module)
stam = math.floor(Self.Stamina()/60)
stam2 = math.floor(((Self.Stamina()/60-stam)*60))
stam2HUD:SetText(stam .. ":" .. stam2)
if Self.Stamina() <= 2400 then
stam2HUD:SetTextColor(210, 105, 30)
elseif Self.Stamina() <= 840 then
stam2HUD:SetTextColor(255, 0, 0)
end
end)
Induce
07-26-2013, 05:59 PM
Yes gentlemen, that's what I mean :]
Thanks Avani! Tested and works great.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.