Help me! How to eliminate affix labels from rare minions! menu

User Tag List

Results 1 to 6 of 6
  1. #1
    Asparz's Avatar Member
    Reputation
    1
    Join Date
    Feb 2018
    Posts
    12
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help me! How to eliminate affix labels from rare minions!

    I've struggled to remove rare minion's affix labels, but I'm not able to do it yet.

    Please instruct me! how to edit or folk scripts in the EliteMonsterAffixPlugin.cs

    Help me! How to eliminate affix labels from rare minions!
  2. #2
    SeaDragon's Avatar Contributor
    Reputation
    321
    Join Date
    Aug 2016
    Posts
    1,041
    Thanks G/R
    140/299
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Asparz View Post
    I've struggled to remove rare minion's affix labels, but I'm not able to do it yet.

    Please instruct me! how to edit or folk scripts in the EliteMonsterAffixPlugin.cs
    This is my own change, but KJ doesn't recommend modifying the default plugin. You should create a new plugin and disable the default plugin.

    Code:
     public void PaintWorld(WorldLayer layer)
            {
    
                var monsters = Hud.Game.AliveMonsters;
                foreach (var monster in monsters)
                {
    				bool illusionist = false;
    				if(monster.SummonerAcdDynamicId == 0)
    				{
    					illusionist = false;
    				}
    				else
    				{
    					illusionist = true;
    				}
    				if (monster.Rarity == ActorRarity.Normal || monster.Rarity == ActorRarity.Unique || monster.Rarity == ActorRarity.Boss) {
                    foreach (var snoMonsterAffix in monster.AffixSnoList)
                    {
                        WorldDecoratorCollection decorator;
                        if (!AffixDecorators.TryGetValue(snoMonsterAffix.Affix, out decorator)) continue;
    
                        string affixName = null;
                        if (CustomAffixNames.ContainsKey(snoMonsterAffix.Affix))
                        {
                            affixName = CustomAffixNames[snoMonsterAffix.Affix];
                        }
                        else affixName = snoMonsterAffix.NameLocalized;
    
                        decorator.Paint(layer, monster, monster.FloorCoordinate, affixName);
                    }
    				}
    				
                    if (monster.Rarity == ActorRarity.Champion)
    				{
    					if (illusionist == false)
    					{
                    	foreach (var snoMonsterAffix in monster.AffixSnoList)
                    	{
                        	WorldDecoratorCollection decorator;
                        	if (!AffixDecorators.TryGetValue(snoMonsterAffix.Affix, out decorator)) continue;
    
                        	string affixName = null;
                        	if (CustomAffixNames.ContainsKey(snoMonsterAffix.Affix))
                        	{
                            	affixName = CustomAffixNames[snoMonsterAffix.Affix];
                        	}
                        	else affixName = snoMonsterAffix.NameLocalized;
    
                        	decorator.Paint(layer, monster, monster.FloorCoordinate, affixName);
                    	}
    					}
    				}
    				if (monster.Rarity == ActorRarity.Rare)
    				{
    					if (illusionist == false)
    					{
                    	foreach (var snoMonsterAffix in monster.AffixSnoList)
                    	{
                        	WorldDecoratorCollection decorator;
                        	if (!AffixDecorators.TryGetValue(snoMonsterAffix.Affix, out decorator)) continue;
    
                        	string affixName = null;
                        	if (CustomAffixNames.ContainsKey(snoMonsterAffix.Affix))
                        	{
                            	affixName = CustomAffixNames[snoMonsterAffix.Affix];
                        	}
                        	else affixName = snoMonsterAffix.NameLocalized;
    
                        	decorator.Paint(layer, monster, monster.FloorCoordinate, affixName);
                    	}
    					}
    				}
                }
            }

  3. Thanks Asparz (1 members gave Thanks to SeaDragon for this useful post)
  4. #3
    Asparz's Avatar Member
    Reputation
    1
    Join Date
    Feb 2018
    Posts
    12
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you for your help...
    but I still don't know how to create a new plugin for using the code that you provided.
    I'm sorry. Could you give me information in detail?

    p.s. I just want to remove rare minion's affix as modifying the default plugin.
    Last edited by Asparz; 04-08-2018 at 04:57 AM.

  5. #4
    SeaDragon's Avatar Contributor
    Reputation
    321
    Join Date
    Aug 2016
    Posts
    1,041
    Thanks G/R
    140/299
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    GLQ_EliteMonsterAffixPlugin.cs - Pastebin.com
    This is the plugin for my own use
    It is also a modification from the default plugin
    To use it, you need to disable the default plugin first, otherwise they will repeat.
    I modified the style of the affix, if you don't like it, you can modify the code yourself.

  6. Thanks Asparz (1 members gave Thanks to SeaDragon for this useful post)
  7. #5
    Asparz's Avatar Member
    Reputation
    1
    Join Date
    Feb 2018
    Posts
    12
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much. This is what I wanted.

  8. #6
    23hd's Avatar Member
    Reputation
    2
    Join Date
    Oct 2018
    Posts
    6
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by SeaDragon View Post
    GLQ_EliteMonsterAffixPlugin.cs - Pastebin.com
    This is the plugin for my own use
    It is also a modification from the default plugin
    To use it, you need to disable the default plugin first, otherwise they will repeat.
    I modified the style of the affix, if you don't like it, you can modify the code yourself.
    How to disable default

Similar Threads

  1. [How To] Plz help me! How to eliminate affix labels from rare minions!
    By Asparz in forum TurboHUD Support
    Replies: 0
    Last Post: 04-07-2018, 01:01 AM
  2. Replies: 0
    Last Post: 02-19-2018, 07:17 AM
  3. Replies: 6
    Last Post: 07-13-2009, 05:33 PM
  4. [How To] Prevent Flight Master From Summoning Minions
    By Bowser2222 in forum World of Warcraft Exploits
    Replies: 14
    Last Post: 04-05-2009, 12:54 AM
All times are GMT -5. The time now is 03:20 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