[ENGLISH] [BM] HealthBarOnElitePlugin menu

User Tag List

Page 4 of 5 FirstFirst 12345 LastLast
Results 46 to 60 of 63
  1. #46
    ThatGuy9's Avatar Member
    Reputation
    1
    Join Date
    Aug 2018
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by RNN View Post
    Is case sensitive
    Order = 20100;
    Better write it between lines 25 and 26
    now it works fine, thank you

    [ENGLISH] [BM] HealthBarOnElitePlugin
  2. #47
    RNN's Avatar Legendary
    Reputation
    810
    Join Date
    Sep 2018
    Posts
    1,051
    Thanks G/R
    103/773
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by xratedownz View Post
    Hey. How did you do that changes? Can you share codes?
    I do not like the idea of ​​publishing the modified whole plugin of another person, he would have to add it if he considers it interesting. I can write here part of the code that I have changed:

    a) to avoid the health bug I changed several lines from the 60

    Code:
                foreach (var monster in monstersElite)
                {
                        var hptext = ValueToString(monster.CurHealth * 100 / monster.MaxHealth, ValueFormat.NormalNumberNoDecimal);
                        var layout = TextFont.GetTextLayout(hptext);
                        var w = monster.CurHealth * w1 / monster.MaxHealth;
    to
    Code:
    	 foreach (var monster in monstersElite)
    	{
    		var wint = monster.CurHealth / monster.MaxHealth ; var hptext = "";
    		if ((wint < 0) || (wint > 1)) { wint = 1; hptext = "bug"; }
    		else { hptext = ValueToString(wint * 100 , ValueFormat.NormalNumberNoDecimal); }
    		var w = wint * w1 ;
    		var layout = TextFont.GetTextLayout(hptext);

    b) to mark an elite that is invulnerable to damage, for example one of the elites of a pack who put on the shield
    add between line 88-89
    Code:
                        if (monster.Invulnerable) {    BackgroundBrushInvul.DrawRectangle(monsterX, monsterY, w1, h);  }

    Although you have to define something like

    IFont BackgroundBrushInvul = Hud.Render.CreateBrush(200, 0, 0, 0, 0);
    Last edited by RNN; 12-17-2018 at 10:18 AM.

  3. #48
    bm206's Avatar Active Member
    Reputation
    73
    Join Date
    Mar 2017
    Posts
    285
    Thanks G/R
    57/64
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I only adapted the plugin. Originally it was from an Asian user, but it has not adapted to a current TurboHUD version. I did that then. So do not worry, post your complete plugin and keep developing it! We will all benefit from it.

  4. #49
    RNN's Avatar Legendary
    Reputation
    810
    Join Date
    Sep 2018
    Posts
    1,051
    Thanks G/R
    103/773
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Then I upload the modified plugin:

    [C#] HealthBarOnElitePlugin - Pastebin.com

    Important: I removed quite a bit of perspective by changing the line
    var monsterY = monster.FloorCoordinate.ToScreenCoordinate (). Y - py * 12;
    to
    var monsterY = monster.FloorCoordinate.ToScreenCoordinate (). Y - py * 8;
    can interfere with the plugin of the circles

    Ex. Pack with shield

    shield.jpg
    Last edited by RNN; 12-18-2018 at 08:43 AM.

  5. #50
    xratedownz's Avatar Member
    Reputation
    1
    Join Date
    Feb 2009
    Posts
    226
    Thanks G/R
    23/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just formatted my computer and this plugin doesnt working properly for me anymore. I see the %hp but not the bars. No exceptions...
    Here is the screenshot;
    Screenshot - 6c7eadb6a5c03197fbc359b1cd888708 - Gyazo

  6. #51
    bm206's Avatar Active Member
    Reputation
    73
    Join Date
    Mar 2017
    Posts
    285
    Thanks G/R
    57/64
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I see the bars on the screenshot.

  7. #52
    RNN's Avatar Legendary
    Reputation
    810
    Join Date
    Sep 2018
    Posts
    1,051
    Thanks G/R
    103/773
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    I imagine you are referring to this other plugin :
    https://www.ownedcore.com/forums/dia...barplugin.html


    To the modified plugin that I uploaded before I forgot to put an Order, under line 30 ( base.Load (hud) ; ), I have already added it. It is convenient to do this to delay the execution with respect to the rest of the plugins: if several plugins paint in the same area of ​​the screen, since the last one will prevail and it will be what we see.
    Last edited by RNN; 12-18-2018 at 08:25 AM.

  8. Thanks xratedownz (1 members gave Thanks to RNN for this useful post)
  9. #53
    xratedownz's Avatar Member
    Reputation
    1
    Join Date
    Feb 2009
    Posts
    226
    Thanks G/R
    23/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by bm206 View Post
    I see the bars on the screenshot.
    There is no circle bars on the buttom of monsters.
    The picture at the OP shows %hp bar and also circle bars buttom of the monsters.
    I dont have that circle bars.

    PS: Sorry my bad. It is another plugin.
    Last edited by xratedownz; 12-18-2018 at 09:16 AM.

  10. #54
    daneriks1990's Avatar Member
    Reputation
    1
    Join Date
    May 2017
    Posts
    16
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any way to add healthbar for rift guardian also?

  11. #55
    MrOne's Avatar Contributor
    Reputation
    163
    Join Date
    Mar 2017
    Posts
    322
    Thanks G/R
    66/141
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by daneriks1990 View Post
    any way to add healthbar for rift guardian also?
    Line 54:
    change
    Code:
    if (monster.Rarity == ActorRarity.Champion || monster.Rarity == ActorRarity.Rare)
    to
    Code:
    if (monster.Rarity == ActorRarity.Champion || monster.Rarity == ActorRarity.Rare || monster.Rarity == ActorRarity.Boss)
    If I helped you, click "Give Thanks!"

  12. #56
    icheck's Avatar Banned
    Reputation
    6
    Join Date
    Jan 2019
    Posts
    36
    Thanks G/R
    11/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you would also have to make another change similar to this, or you will only see a gray rectangle

    if (monster.Rarity == ActorRarity.Champion) ChampionBrush.DrawRectangle(monsterX, monsterY, (float)w, h);
    to
    if (monster.Rarity == ActorRarity.Champion || monster.Rarity == ActorRarity.Boss ) ChampionBrush.DrawRectangle(monsterX, monsterY, (float)w, h);

    This plugin is useful to see the life of the elites because sometimes it is difficult to point them with many monsters, but in the boss there is no problem and you can see your life at the top of the screen. I do not think it is necessary for you to make those changes, better to get used to looking up in my opinion.

  13. #57
    Romanmas's Avatar Member
    Reputation
    11
    Join Date
    Mar 2017
    Posts
    187
    Thanks G/R
    9/9
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hello everyone!
    How do I add letters from curses Decrepify - "D" and Frialty - "F" on elite like Locust and Haunt - "L" and "H"?

  14. #58
    MrDeluxxxe's Avatar Member
    Reputation
    1
    Join Date
    Feb 2018
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey.
    Is it possible to move the whole bar to the top of the mobs instead to the floor? I tried to change some "Y" values, but not sure...

    Thx in advance
    Andi

  15. #59
    Jembo's Avatar Active Member
    Reputation
    33
    Join Date
    Nov 2018
    Posts
    112
    Thanks G/R
    28/30
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by MrDeluxxxe View Post
    Hey.
    Is it possible to move the whole bar to the top of the mobs instead to the floor? I tried to change some "Y" values, but not sure...

    Thx in advance
    Andi
    Change Line 66 to:
    *If you want to move it higher - raise the number "28"
    Code:
                        var monsterY = monster.FloorCoordinate.ToScreenCoordinate().Y - 28;

  16. #60
    Romanmas's Avatar Member
    Reputation
    11
    Join Date
    Mar 2017
    Posts
    187
    Thanks G/R
    9/9
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Romanmas View Post
    Hello everyone!
    How do I add letters from curses Decrepify - "D" and Frialty - "F" on elite like Locust and Haunt - "L" and "H"?
    can someone help?

Page 4 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. English --> Chinese
    By Login Error in forum Community Chat
    Replies: 4
    Last Post: 02-04-2008, 07:00 PM
  2. [Guide] Proper English Language
    By aggiish in forum Community Chat
    Replies: 31
    Last Post: 02-04-2008, 02:29 PM
  3. Omg,Funniest Thing I ever saw!!! ENGLISH PWNED!!!!
    By anmer in forum Screenshot & Video Showoff
    Replies: 10
    Last Post: 11-12-2007, 10:15 AM
  4. Chinese Names in English WoW
    By pandaman in forum World of Warcraft Exploits
    Replies: 8
    Last Post: 08-12-2006, 05:40 AM
All times are GMT -5. The time now is 04:27 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search