Raised This Month: $51 Target: $400
 12% 

HL HUD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 05-05-2009 , 08:24   HL HUD
Reply With Quote #1

i´m wundering why nobody makes a plug with a special sprite for the hud. we know all HL hud can show maximum 255HP.... why nobody made this?
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-05-2009 , 08:42   Re: HL HUD
Reply With Quote #2

what?
Arkshine is offline
ALpa # Gun
BANNED
Join Date: May 2009
Location: In a Hole Somewhere :D
Old 05-05-2009 , 08:48   Re: HL HUD
Reply With Quote #3

you mean the Health Hud? if u use amx_heal 1000000 it shows only 255 but he had 1000000.
ALpa # Gun is offline
Send a message via MSN to ALpa # Gun
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 05-05-2009 , 09:06   Re: HL HUD
Reply With Quote #4

the problem is in sprite u have only 255... if we make one sprite with example. 600000 ... wen can see more then 255 ;)
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 05-05-2009 , 09:08   Re: HL HUD
Reply With Quote #5

It's impossible, that's why.
__________________
hleV is offline
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 05-05-2009 , 09:09   Re: HL HUD
Reply With Quote #6

Make a new hud and delete the old one?
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.
TitANious is offline
Send a message via MSN to TitANious
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 05-05-2009 , 09:09   Re: HL HUD
Reply With Quote #7

Quote:
Originally Posted by hleV View Post
It's impossible, that's why.
hmm tried?
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-05-2009 , 09:47   Re: HL HUD
Reply With Quote #8

It's not a matter of sprite. It exists sprites 0 to 9. The Health message use a byte as health value. You can't go above 1 << 8, so 255 is the max. ( If I'm right )
Arkshine is offline
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 05-05-2009 , 10:14   Re: HL HUD
Reply With Quote #9

That sounds highly probable to me, arkshine

And One, try reading what you've written before hitting that "Post" button.

Then delete it, then go outside.

And then just make sure not to post it once you get back inside.
purple_pixie is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-05-2009 , 10:19   Re: HL HUD
Reply With Quote #10

Quote:
Originally Posted by arkshine View Post
... The Health message use a byte as health value. You can't go above 1 << 8, so 255 is the max. ( If I'm right )
Yes, 255 is the max value an 8-bit byte can hold. 1 << 7 is the max left-shift as 1 << 8 will put you in the 9th (non-existent) bit.

255 = 1111 1111
__________________

Last edited by Bugsy; 05-05-2009 at 10:27.
Bugsy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode