[V9.1] [INTERNATIONAL] [RNN] OtherCoeBar & MyCoeBar menu

These ads disappear when you log in.

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25
  1. #16
    RNN's Avatar Elite User
    Reputation
    520
    Join Date
    Sep 2018
    Posts
    737
    Thanks G/R
    80/502
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by LittleDez13 View Post
    Is it possible to make one more adjustment, in case there is no cruzader / rgk in the group, the dps bar remains visible on the boss?
    Done, download it again
    (BKP100 replaces CrusaderP100 )
    Last edited by RNN; 04-19-2020 at 05:18 AM.

    These ads disappear when you log in.

  2. #17
    LittleDez13's Avatar Member
    Reputation
    2
    Join Date
    Mar 2020
    Posts
    18
    Thanks G/R
    6/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi RNN!

    Thx for tale your timw.

    Very good for me now.

    Congrats.

  3. #18
    LittleDez13's Avatar Member
    Reputation
    2
    Join Date
    Mar 2020
    Posts
    18
    Thanks G/R
    6/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi RNN.

    Yesterday a new situation occurred to me.

    Push with sader (BK) as only one DPS char. In this case, supportcoebar is not shown with progress <100%.

    Is it possible to change that?

    Thx again.

  4. #19
    LittleDez13's Avatar Member
    Reputation
    2
    Join Date
    Mar 2020
    Posts
    18
    Thanks G/R
    6/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi RNN.

    In the OtherCoeBar plugin is it possible to hide MyBar? I am already using the specific MyCoeBarPlus plugin.

    Hugs.


    Originally Posted by RNN View Post
    Supported TurboHUD version: 9.x

    I have decided to publish in your own thread the plugin for the coe that i uploaded in another. There are 2 versions:

    1- OtherCoeBar : Coe for all players, is drawn next to the portrait.



    Download: OtherCoeBar.cs

    Installation: Place OtherCoeBar.cs in "plugins\RNN\OtherCoeBar.cs"

    Custom code (in Plugins\User\PluginEnablerOrDisablerPlugin.cs , Optional) :

    Code:
    	Hud.GetPlugin<RNN.OtherCoeBar>().Enabled = true;	
    	Hud.RunOnPlugin<RNN.OtherCoeBar>(plugin =>
    	{	
    		plugin.OffsetX = 0.047f;	// 0f..1f  To set the x coordinate of the icon
    		plugin.OffsetY = 0.071f;	// 0f..1f  To set the y coordinate of the icon
    		plugin.MoveMyBar = false;	// Change position of My Bar 	
    		plugin.OffsetX_Me = 0.46f;	// 0f..1f  To set the x coordinate of the icon for Me (MoveMyBar is true)
    		plugin.OffsetY_Me = 0.25f;	// 0f..1f  To set the y coordinate of the icon (MoveMyBar is true)
    		plugin.SizeMultiplier = 0.65f;	// 0f..1f  Size multiplier for icons
    		plugin.Opacity = 1.0f;		// 0f..1f  Opacity for icons and text
    		plugin.ShowInactiveRed = false;	// inactive elements show as red (active with yellow frame)	
    		plugin.GuessGROnly = false;	// Guess only in GR the COE status of a remote player (Red Bar)
    		plugin.ProgressBarWidth = 2;	// Width progressbar Coe (pixels)
    	}  );

    2- MyCoeBar : Coe exclusively for your character and that you can draw anywhere on the screen.

    Download: MyCoeBar.cs



    Code:
    	Hud.GetPlugin<RNN.MyCoeBar>().Enabled = true;			
    	Hud.RunOnPlugin<RNN.MyCoeBar>(plugin =>
    	{	
    		plugin.OffsetX_Me = 0.53f;	// 0f..1f  To set the x coordinate of the icon 
    		plugin.OffsetY_Me = 0.46f;	// 0f..1f  To set the y coordinate of the icon 
    		plugin.SizeMultiplier = 0.75f;	// 0f..1f  Size multiplier for icons
    		plugin.Opacity = 0.75f;		// 0f..1f  Opacity for icon texture
    		plugin.ShowInactiveRed = true;	// inactive elements show as red (active with yellow frame)
    		plugin.OnlyGR = false;		// Show in GR only
    		plugin.ProgressBarWidth = 2;	// Width progressbar Coe (pixels)
    	}  );
    ----------------------------

    Extra:

    MyCoeBar + (Spirit Barrage + Nayr + Singularity) , (only) for your character

    plugins\RNN\MyCoeBarPlus.cs



    remove or disable MyCoeBar before, this plugin includes it

    Code:
    	Hud.GetPlugin<RNN.MyCoeBarPlus>().Enabled = true;			
    	Hud.RunOnPlugin<RNN.MyCoeBarPlus>(plugin =>
    	{				
    		/* Necro */
    		plugin.Singularity = true;	// Enable Icons Build Singularity	
    		plugin.Nayr = true;		// Enable Icons Build Nayr	
    		/* WitchDoctor	*/
    		plugin.SpiritBarrage = true;	// Enable Icons Build Spirit Barrage	
    		plugin.SBWarning = 2.0f;	// 9.0f...0f Text will take the color yellow when it reaches this value
    		plugin.ShowGlobes = true;	// Health Globes Counter (floor)
    		plugin.ShowBigBadVoodoo = false;	// Show Big Bad Voodoo
    		plugin.ShowSpiritWalk = false;		// Show Spirit Walk icon
    		plugin.ShowLocust = false;		// Locust Affected Monster Counters (Total \n Elites) at  distance = YardsLocustHaunt
    		plugin.ShowHaunted = false;		// Haunted Affected Monster Counters (Total \n Elites) at distance = YardsLocustHaunt
    		plugin.YardsLocustHaunt = 40;		// Yards for Monsters Counters (Locust and Haunted)
    		/* Common */
    		plugin.Xpor = 0.53f;		// 0f..1f  To set the x coordinate of the icon 
    		plugin.Ypor = 0.45f;		// 0f..1f  To set the y coordinate of the icon 
    		plugin.Opacity = 0.75f;		// 0f..1f  Opacity for icon texture
    		plugin.SizeMultiplier = 0.75f;	// 0f..1f  Size multiplier for icons
    		plugin.ShowInactiveRed = true;	// inactive elements show as red (active with yellow frame)
    		plugin.ProgressBarWidth = 2;	// Width progressbar Coe (pixels)
    		plugin.OnlyGR = false;		// Show in GR only				
    	}  );

  5. Thanks Wasted75 (1 members gave Thanks to LittleDez13 for this useful post)
  6. #20
    RNN's Avatar Elite User
    Reputation
    520
    Join Date
    Sep 2018
    Posts
    737
    Thanks G/R
    80/502
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by LittleDez13 View Post
    Hi RNN.

    In the OtherCoeBar plugin is it possible to hide MyBar? I am already using the specific MyCoeBarPlus plugin.

    Hugs.
    Update

    Added HideMyBar (OtherCoeBar)

  7. Thanks LittleDez13, Wasted75 (2 members gave Thanks to RNN for this useful post)
  8. #21
    LittleDez13's Avatar Member
    Reputation
    2
    Join Date
    Mar 2020
    Posts
    18
    Thanks G/R
    6/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very good RNN!!!

    Thx so much!!!

    Originally Posted by RNN View Post
    Update

    Added HideMyBar (OtherCoeBar)

  9. #22
    LittleDez13's Avatar Member
    Reputation
    2
    Join Date
    Mar 2020
    Posts
    18
    Thanks G/R
    6/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by LittleDez13 View Post
    Hi RNN.

    Yesterday a new situation occurred to me.

    Push with sader (BK) as only one DPS char. In this case, supportcoebar is not shown with progress <100%.

    Is it possible to change that?

    Thx again.
    I was able to resolve this issue with the inclusion of the verification below:



    ...

    public bool OnlyBK { get; set; } // Show BK Coe all the time of the GR if he is the only DPS

    ...

    ...

    // Checks if BK is the only DPS

    OnlyBK = (!Hud.Game.Players.Any(p => (p.HeroClassDefinition.HeroClass != BKHeroClass) && (p.HeroClassDefinition.HeroClass != HeroClass.Monk) && (p.HeroClassDefinition.HeroClass != HeroClass.Barbarian))) ? true : false;

    BKP100 = (OnlyBK) ? false : true;

    ...

    Now, if the BK is the only DPS, its COE is shown throughout GR.

  10. #23
    RNN's Avatar Elite User
    Reputation
    520
    Join Date
    Sep 2018
    Posts
    737
    Thanks G/R
    80/502
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Yes, it can be valid, I can think of several ways that will normally work. For example, you could check the number of players if you did not want to complicate yourself: show the coe of all if there are less than 4 players. Line 178

    Code:
    	var SwapBarCoe = BKP100 && Hud.Game.Players.Any(p => p.HeroClassDefinition.HeroClass == BKHeroClass);
    Code:
    	var SwapBarCoe = BKP100 && Hud.Game.Players.Any(p => p.HeroClassDefinition.HeroClass == BKHeroClass) && (Hud.Game.NumberOfPlayersInGame == 4) ;
    This code would fail if you and two dps push but it is not usual, in 3 there are usually 2 support. Another option would be to require that there be 4 players or 3 without a monk.

    All of these codes will never be 100 reliable. Imagine another player comes in (town) when GR is started and you are pushing with 3 players. Further checks would be necessary (p.InGreaterRift)
    The most correct way would be to observe in advance how many players have the coe buff, although there will still be discrepancies in the event of deaths. As this plugin ( SupportCoeBar) is used by few people, I preferred not to get complicated

    My recommendation: simplicity and use the above code, checking only if the number of players is 4 .
    Last edited by RNN; 2 Weeks Ago at 08:57 AM.

  11. #24
    Pe1a0's Avatar Member
    Reputation
    2
    Join Date
    Mar 2017
    Posts
    49
    Thanks G/R
    3/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if ((Hud.Game.Me.HeroClassDefinition.HeroClass != HeroClass.Barbarian)

    how can i set it up for Barb and Monk?

  12. #25
    RNN's Avatar Elite User
    Reputation
    520
    Join Date
    Sep 2018
    Posts
    737
    Thanks G/R
    80/502
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Pe1a0 View Post
    if ((Hud.Game.Me.HeroClassDefinition.HeroClass != HeroClass.Barbarian)

    how can i set it up for Barb and Monk?
    I guess you mean the SupportCoeBar.cs plugin and line 173

    Code:
    if ((Hud.Game.Me.HeroClassDefinition.HeroClass != HeroClass.Barbarian) || (Hud.Game.Me.Offense.SheetDps > 1000000) || (Hud.Game.Me.Defense.HealthMax < 1000000) ) return;
    Replace it with

    Code:
    if (((Hud.Game.Me.HeroClassDefinition.HeroClass != HeroClass.Barbarian) && (Hud.Game.Me.HeroClassDefinition.HeroClass != HeroClass.Monk)) || (Hud.Game.Me.Offense.SheetDps > 1000000) || (Hud.Game.Me.Defense.HealthMax < 1000000) ) return;

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [V9.0] [INTERNATIONAL] [RNN] BLueLines
    By RNN in forum TurboHUD Community Plugins
    Replies: 21
    Last Post: 04-12-2020, 10:46 AM
  2. [V9.0] [INTERNATIONAL] [RNN] OtherShrinePlugin
    By RNN in forum TurboHUD Community Plugins
    Replies: 64
    Last Post: 03-24-2020, 11:05 PM
  3. [V9.0] [INTERNATIONAL] [RNN] TimersBarGR
    By RNN in forum TurboHUD Community Plugins
    Replies: 33
    Last Post: 01-20-2020, 03:20 PM
  4. [V9.0] [INTERNATIONAL] [RNN] LogChat
    By RNN in forum TurboHUD Community Plugins
    Replies: 17
    Last Post: 12-09-2019, 11:28 AM
  5. [V9.0] [INTERNATIONAL] [RNN] Icount
    By RNN in forum TurboHUD Community Plugins
    Replies: 17
    Last Post: 09-29-2019, 09:02 AM
All times are GMT -5. The time now is 03:03 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search