Thread: Cool new hp bar

Page 1 of 5 123 ... LastLast
Results 1 to 10 of 46
  1. #1 Cool new hp bar 
    Registered Member

    Join Date
    Aug 2008
    Posts
    2,823
    Thanks given
    362
    Thanks received
    447
    Rep Power
    965


    This: [Only registered and activated users can see links. ]

    Find
    Code:
    						npcScreenPos(((Entity) (obj)), ((Entity) (obj)).height + 15);
    and replace the whole block of code that it was in with this.

    Code:
    					try {
    						npcScreenPos(((Entity) (obj)), ((Entity) (obj)).height + 15);
    						if (spriteDrawX > -1) {
    							int i1 = (((Entity) (obj)).currentHealth * 30) / ((Entity) (obj)).maxHealth;
    							if (i1 > 30) {
    								i1 = 30;
    							}
    							int HpPercent = (((Entity) (obj)).currentHealth * 54) / ((Entity) (obj)).maxHealth;
    							if (HpPercent > 54) {
    								HpPercent = 54;
    							}
    							if (!hitbarToggle) {
    								DrawingArea.method336(5, spriteDrawY - 3, spriteDrawX - 15, 65280, i1);
    								DrawingArea.method336(5, spriteDrawY - 3, (spriteDrawX - 15) + i1, 0xff0000, 30 - i1);
    							} else {
    								HPBarEmpty.drawAdvancedSprite(spriteDrawX - 28, spriteDrawY - 5);//3
    								int type = ((double)HpPercent/56 > 0.25) ? ((double)HpPercent/56 > 0.5) ?  0 : 2 : 3;
    								HPBarFull = new Sprite(sign.signlink.findcachedir() + "Sprites/Player/HP " + type + ".PNG", HpPercent, 7);
    								HPBarFull.drawAdvancedSprite(spriteDrawX - 27, spriteDrawY - 4);
    							}
    						}
    					} catch (Exception e) {
    					}
    And add these sprites: [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Extreme Donator

    Jilic-Matt's Avatar
    Join Date
    May 2011
    Age
    26
    Posts
    1,614
    Thanks given
    799
    Thanks received
    495
    Rep Power
    540
    gj fritz
    Reply With Quote  
     

  4. #3  
    Registered Member
    Mimi's Avatar
    Join Date
    Feb 2011
    Age
    25
    Posts
    860
    Thanks given
    253
    Thanks received
    91
    Rep Power
    195
    Thanks mate
    Reply With Quote  
     

  5. #4  
    Registered Member
    Mimi's Avatar
    Join Date
    Feb 2011
    Age
    25
    Posts
    860
    Thanks given
    253
    Thanks received
    91
    Rep Power
    195
    had to change some codes but thanks

    Sorry for double post
    Reply With Quote  
     

  6. #5  
    Donator

    Tringan's Avatar
    Join Date
    Feb 2011
    Age
    24
    Posts
    2,104
    Thanks given
    381
    Thanks received
    334
    Rep Power
    297
    it rlly looks a cool hp bar nice job won't be using ;b
    Reply With Quote  
     

  7. #6  
    Registered Member
    thim slug's Avatar
    Join Date
    Nov 2010
    Age
    25
    Posts
    4,142
    Thanks given
    1,079
    Thanks received
    1,137
    Discord
    View profile
    Rep Power
    5000
    I use gradients to draw mine, they look pretty kool gj.
    Reply With Quote  
     

  8. Thankful user:


  9. #7  
    q.q


    Join Date
    Dec 2010
    Posts
    6,535
    Thanks given
    1,072
    Thanks received
    3,534
    Rep Power
    4752
    Look sexy, nice job.
    Reply With Quote  
     

  10. #8  
    Registered Member
    Kamiel's Avatar
    Join Date
    Jul 2010
    Age
    25
    Posts
    1,272
    Thanks given
    66
    Thanks received
    166
    Rep Power
    295
    lol, fuck
    I'll just improve mine, I got many other ideas for it ghehe.

    I was the first to do this right ?
    Reply With Quote  
     

  11. #9  
    Extreme Donator

    Jilic-Matt's Avatar
    Join Date
    May 2011
    Age
    26
    Posts
    1,614
    Thanks given
    799
    Thanks received
    495
    Rep Power
    540
    Quote Originally Posted by kamiliusbom View Post
    lol, ****
    I'll just improve mine, I got many other ideas for it ghehe.

    I was the first to do this right ?
    :/ mts
    Reply With Quote  
     

  12. #10  
    Registered Member
    Kamiel's Avatar
    Join Date
    Jul 2010
    Age
    25
    Posts
    1,272
    Thanks given
    66
    Thanks received
    166
    Rep Power
    295
    Quote Originally Posted by Jilic-Matt View Post
    yeh u were first
    he only did this cos u said ur not gonna release lol i was in a call with him
    P.S. might release sometime
    straight from my showoff.
    btw, was gonna release, just wanted to go a little bit further than this to make it look way better.
    Reply With Quote  
     

Page 1 of 5 123 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. cool.
    By Unkn0wn in forum RuneScape Underground
    Replies: 1
    Last Post: 02-25-2011, 08:29 PM
  2. [Cool]My Client's Startup[Cool]
    By TheRedArmy in forum Show-off
    Replies: 11
    Last Post: 02-19-2010, 06:56 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •