Turn off health pool world labels menu

User Tag List

Results 1 to 11 of 11
  1. #1
    Xaggee's Avatar Member
    Reputation
    2
    Join Date
    May 2020
    Posts
    19
    Thanks G/R
    2/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Turn off health pool world labels

    I'd like to disable only the hp pool labels that display near the edge of the screen.

    What line of code would I add to my PluginEnablerOrDisablerPlugin.cs file to do so?

    Thank you.

    Turn off health pool world labels
  2. #2
    BeeAntOS's Avatar Active Member
    Reputation
    30
    Join Date
    Oct 2017
    Posts
    119
    Thanks G/R
    239/28
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Are you using GlobesPlugin ([V9.1] [INTERNATIONAL] [RNN] GlobesPlugin) by @RNN?..

    If so, configure the plugin in question by adding the lines below into the "PluginEnablerOrDisablerPlugin",
    or change its value with colored line below if it already exists in "PluginEnablerOrDisablerPlugin":

    Code:
    			Hud.GetPlugin<RNN.GlobesPlugin>().Enabled = true;
    			Hud.RunOnPlugin<RNN.GlobesPlugin>(plugin => {
    				plugin.LabelHealth = false;
    			});
    Last edited by BeeAntOS; 12-07-2020 at 09:29 AM.
    "When you reach the top, get ready to drop!"

  3. #3
    Xaggee's Avatar Member
    Reputation
    2
    Join Date
    May 2020
    Posts
    19
    Thanks G/R
    2/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not using that plugin but I'm trying to disable the labels at the edge of the screen within the play area, specifically the HP pools.

  4. #4
    BeeAntOS's Avatar Active Member
    Reputation
    30
    Join Date
    Oct 2017
    Posts
    119
    Thanks G/R
    239/28
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Xaggee View Post
    I'm not using that plugin but I'm trying to disable the labels at the edge of the screen within the play area, specifically the HP pools.

    Got it, in that case, I think you can do that by configuring official "MarkerPlugin.cs" via "PluginEnablerOrDisabler.cs".

    Code:
    		public void Customize()
    		{
    			...
    
    			Hud.GetPlugin<MarkerPlugin>().HealingWellDecorator.ToggleDecorators<GroundLabelDecorator>(false);
    		
    			...
    		}
    "When you reach the top, get ready to drop!"

  5. #5
    Xaggee's Avatar Member
    Reputation
    2
    Join Date
    May 2020
    Posts
    19
    Thanks G/R
    2/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Still seems to be enabled

    Capture.PNG

  6. #6
    BeeAntOS's Avatar Active Member
    Reputation
    30
    Join Date
    Oct 2017
    Posts
    119
    Thanks G/R
    239/28
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Xaggee View Post
    Still seems to be enabled

    Capture.PNG
    Hi...

    I was away for a few days since I had to format my computer.

    Would you also try this?
    Code:
    		public void Customize()
    		{
    			...
    
    			Hud.GetPlugin<MarkerPlugin>().HealingWellDecorator.ToggleDecorators<GroundLabelDecorator>(groundLabelVisible = false);
    		
    			...
    		}
    "When you reach the top, get ready to drop!"

  7. #7
    Xaggee's Avatar Member
    Reputation
    2
    Join Date
    May 2020
    Posts
    19
    Thanks G/R
    2/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    error CS0103: The name 'groundLabelVisible' does not exist in the current context

  8. #8
    BeeAntOS's Avatar Active Member
    Reputation
    30
    Join Date
    Oct 2017
    Posts
    119
    Thanks G/R
    239/28
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Xaggee View Post
    error CS0103: The name 'groundLabelVisible' does not exist in the current context

    Even if the experts of this business do not come to our aid, let's continue looking for a solution...

    Try this too, let's see what happens:
    Code:
    		public void Customize()
    		{
    			...
    
    			Hud.RunOnPlugin<MarkerPlugin>(plugin => {
    				plugin.Enabled = true;
    				plugin.HealingWellDecorator.Remove(GroundLabelDecorator);
    			}
    
    			...
    		}
    "When you reach the top, get ready to drop!"

  9. #9
    RNN's Avatar Legendary
    Reputation
    813
    Join Date
    Sep 2018
    Posts
    1,055
    Thanks G/R
    104/776
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Line 81 does not "allow" to use ToogleDecorators in the custom code, undo your changes
    Code:
    	decorator.ToggleDecorators<GroundLabelDecorator>(groundLabelVisible); // do not display ground labels when the actor is on the screen
    (groundLabelVisible is a local variable, you cannot access it from elsewhere)

    a quick way to remove the ground label would be to change that line to this one:
    Code:
    	decorator.ToggleDecorators<GroundLabelDecorator>(false); // do not display ground labels when the actor is on the screen
    Without modifying the original file (with custom Code):

    Code:
    	Hud.RunOnPlugin<MarkerPlugin>(plugin => 
    	{
    		plugin.HealingWellDecorator.Decorators.RemoveAt(1);
    	}  ) ;
    ( Decorators is a List, you can delete one by specifying the position , the first corresponds to 0 )

  10. Thanks BeeAntOS, Xaggee (2 members gave Thanks to RNN for this useful post)
  11. #10
    Xaggee's Avatar Member
    Reputation
    2
    Join Date
    May 2020
    Posts
    19
    Thanks G/R
    2/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    	Hud.RunOnPlugin<MarkerPlugin>(plugin => 
    	{
    		plugin.HealingWellDecorator.Decorators.RemoveAt(1);
    	}  ) ;
    This seems to work. I found a fleeting shrine and it displayed but a health pool did not. GGs and thank you.

  12. #11
    soulzek's Avatar Member
    Reputation
    1
    Join Date
    Mar 2006
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    Hud.GetPlugin<MarkerPlugin>().HealingWellDecorator.Enabled = false;

Similar Threads

  1. Replies: 4
    Last Post: 02-18-2008, 05:02 AM
  2. How to make a fake virus and trick your freinds (turns off pc)
    By CraZe in forum Screenshot & Video Showoff
    Replies: 2
    Last Post: 10-29-2007, 05:45 PM
  3. Need to turn off cheat detection
    By kaitsusora in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 09-14-2007, 04:09 PM
  4. How to turn off window mode
    By insaneomato in forum World of Warcraft General
    Replies: 1
    Last Post: 05-31-2006, 11:18 PM
  5. Turn off drunk effect at Spider Boss in ZG
    By Kalen24 in forum World of Warcraft Exploits
    Replies: 1
    Last Post: 04-23-2006, 06:02 PM
All times are GMT -5. The time now is 05:30 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