[V9.1] [RNN] GoblinsPlugin menu

User Tag List

Results 1 to 6 of 6
  1. #1
    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)

    [V9.1] [RNN] GoblinsPlugin

    Decorators and notifications (TTS) for goblins seen by you. Includes a counter (the default position is for 1920x1080 resolution, modify xPor and yPor to change it) .
    The same goblin will not be counted or reported multiple times, and if a group of goblins of the same type are detected simultaneously, the total number will be reported.
    Inspired by the GLQ_GoblinPlugin plugin ( GLQ_GoblinPlugin.cs - Pastebin.com ) .I have used their decorators because I am used to them.
    (For devs: the method used to account/differentiate goblins may seem absurd but it is effective, although I have not tested it with low levels (less than 70) . It is based on registering the maximum health, which is different for each goblin).



    Download: GoblinsPlugin.cs

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

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

    Code:
    	Hud.GetPlugin<RNN.GoblinsPlugin>().Enabled = true;
    	Hud.RunOnPlugin<RNN.GoblinsPlugin>(plugin => 
    	{
    		plugin.EnableSpeak = true;
    														
    		plugin.MalevolentSpeak = "Malevolent Tormentor";	// null -> NameLocalized , "" -> no Speak 
    		plugin.BloodSpeak = null;		// "Blood Thief" 
    		plugin.OdiousSpeak = null;		// "Odious Collector" 
    		plugin.GemSpeak = null;			// "Gem Hoarder" 
    		plugin.GelatinousSpeak = null;		// "Gelatinous Sire" 
    		plugin.GelatinousSplit1Speak = "";	// "" -> no Speak 
    		plugin.GelatinousSplit2Speak = "";
    		plugin.GildedSpeak = null;		// "Gilded Baron" 
    		plugin.InsufferableSpeak = null;	// "Insufferable Miscreant" 
    		plugin.MenageristSpeak = null;		// "Menagerist Goblin" 
    		plugin.RainbowSpeak = null;		// "Rainbow Goblin" 
    		plugin.FiendSpeak = null;		// "Treasure Fiend" 
    		plugin.TreasureSpeak = null;		// "Treasure Goblin" 
    		plugin.DevilhandSpeak = null;		// "Snitchley" 						
    
    		plugin.VisionSpeak = "";			// "Vision Goblin" speak when found. "" for nothing (ex. if you are installed EnmityVisionplugin)
    		plugin.TextVisionGoblin = "Vision Goblin";	// to differentiate it from the treasure goblins, will be used instead of namelocalized for report and decorators
    			
    		plugin.ShowCounter = true;		// Counter Icon
    		plugin.xPor = 0.324f;			// To set the x coordinate of the icon 
    		plugin.yPor = 0.850f;			// To set the y coordinate of the icon 
    		plugin.Opacity = 0.80f;			// 0f..1f  Opacity for icon texture				
    		plugin.SizeMultiplier = 0.5f;		// Size multiplier for icon 
    	}  );
    Last edited by RNN; 1 Week Ago at 08:49 AM. Reason: minor changes

    [V9.1] [RNN] GoblinsPlugin
  2. Thanks BeeAntOS, LittleDez13, Sersla, sokolsu, ipaman, 731113 (6 members gave Thanks to RNN for this useful post)
  3. #2
    LazyDruid's Avatar Member
    Reputation
    3
    Join Date
    Sep 2019
    Posts
    53
    Thanks G/R
    4/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    RNN,

    I came across this nifty plugin of yours while trying to nab confirmed sno id's of goblins for use in another plugin ( Prrovoss.Popups.MonsterAppearedPopup ).

    File download ( not copy / paste ).. and file move to turbohud\plugins\rnn structure...

    Thud compiles fine and runs.. but if i attempt to add the customization to PluginEnablerOrDisablerPlugin.cs .. a direct copy and paste to it.. compile yields exception.

    Code:
    2020.12.11 09:35:35.897	20.12.9.0	error while initializing plugins
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(404,7) : error CS0103: The name 'EnableSpeak' does not exist in the current context
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(406,7) : error CS0103: The name 'MalevolentSpeak' does not exist in the current context
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(407,7) : error CS0103: The name 'BloodSpeak' does not exist in the current context
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(408,7) : error CS0103: The name 'OdiousSpeak' does not exist in the current context
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(409,7) : error CS0103: The name 'GemSpeak' does not exist in the current context
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(410,7) : error CS0103: The name 'GelatinousSpeak' does not exist in the current context
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(411,7) : error CS0103: The name 'GelatinousSplit1Speak' does not exist in the current context
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(412,7) : error CS0103: The name 'GelatinousSplit2Speak' does not exist in the current context
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(413,7) : error CS0103: The name 'GildedSpeak' does not exist in the current context
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(414,7) : error CS0103: The name 'InsufferableSpeak' does not exist in the current context
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(415,7) : error CS0103: The name 'MenageristSpeak' does not exist in the current context
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(416,7) : error CS0103: The name 'RainbowSpeak' does not exist in the current context
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(417,7) : error CS0103: The name 'FiendSpeak' does not exist in the current context
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(418,7) : error CS0103: The name 'TreasureSpeak' does not exist in the current context
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(419,7) : error CS0103: The name 'DevilhandSpeak' does not exist in the current context
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(421,7) : error CS0103: The name 'ShowCounter' does not exist in the current context
    2020.12.11 09:35:35.898	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(422,7) : error CS0103: The name 'xPor' does not exist in the current context
    2020.12.11 09:35:35.899	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(423,7) : error CS0103: The name 'yPor' does not exist in the current context
    2020.12.11 09:35:35.899	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(424,7) : error CS0103: The name 'Opacity' does not exist in the current context
    2020.12.11 09:35:35.899	20.12.9.0		D:\TurboHud\Plugins\User\PluginEnablerOrDisablerPlugin.cs(425,7) : error CS0103: The name 'SizeMultiplier' does not exist in the current context
    However.. i realized your posting was missing the plugin. in the custimization referrence.. to access the

    Code:
    					Hud.GetPlugin<RNN.GoblinsPlugin>().Enabled = true;
    					Hud.RunOnPlugin<RNN.GoblinsPlugin>(plugin => 
    					{
    						plugin.EnableSpeak = true;
    
    						plugin.MalevolentSpeak = "Malevolent Tormentor";	// null -> NameLocalized , "" -> no Speak 
    						plugin.BloodSpeak = null;		// "Blood Thief" 
    						plugin.OdiousSpeak = null;		// "Odious Collector" 
    						plugin.GemSpeak = null;		// "Gem Hoarder" 
    						plugin.GelatinousSpeak = null;		// "Gelatinous Sire" 
    						plugin.GelatinousSplit1Speak = "";	// "" -> no Speak 
    						plugin.GelatinousSplit2Speak = "";
    						plugin.GildedSpeak = null;		// "Gilded Baron" 
    						plugin.InsufferableSpeak = null;	// "Insufferable Miscreant" 
    						plugin.MenageristSpeak = null;		// "Menagerist Goblin" 
    						plugin.RainbowSpeak = null;		// "Rainbow Goblin" 
    						plugin.FiendSpeak = null;		// "Treasure Fiend" 
    						plugin.TreasureSpeak = null;		// "Treasure Goblin" 
    						plugin.DevilhandSpeak = null;		// "Snitchley" 						
    
    						plugin.ShowCounter = true;		// Counter Icon
    						plugin.xPor = 0.318f;			// To set the x coordinate of the icon 
    						plugin.yPor = 0.850f;			// To set the y coordinate of the icon 
    						plugin.Opacity = 0.80f;		// 0f..1f  Opacity for icon texture				
    						plugin.SizeMultiplier = 0.5f;		// Size multiplier for icon 
    					}  );
    Just a heads up..
    Last edited by LazyDruid; 04-26-2021 at 08:05 PM.

  4. Thanks RNN, sokolsu (2 members gave Thanks to LazyDruid for this useful post)
  5. #3
    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)
    Thanks you, fixed

  6. Thanks LazyDruid (1 members gave Thanks to RNN for this useful post)
  7. #4
    sokolsu's Avatar Member
    Reputation
    1
    Join Date
    Feb 2021
    Posts
    1
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    possible update v9.2?

  8. #5
    Bitesizedballz's Avatar Member
    Reputation
    1
    Join Date
    Mar 2021
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    RNN, noticed a small typo in the first couple of strings of code. Not sure how big of a difference it would make if any.

    Rnn2.png

  9. #6
    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)
    reuploaded

    Update
    bugs fixed, and changes for compatibility

Similar Threads

  1. [V9.1] [RNN] BuildsIcons&Coe
    By RNN in forum TurboHUD Community Plugins
    Replies: 107
    Last Post: 10-05-2023, 10:35 AM
  2. [V9.0] [INTERNATIONAL] [RNN] LogChat
    By RNN in forum TurboHUD Community Plugins
    Replies: 19
    Last Post: 01-08-2021, 09:14 AM
  3. [V9.1] [RNN] Shield Of Fury Stacks
    By RNN in forum TurboHUD Community Plugins
    Replies: 17
    Last Post: 06-02-2020, 01:33 PM
  4. [V9.1] [RNN] Resource in Portrait
    By RNN in forum TurboHUD Community Plugins
    Replies: 0
    Last Post: 04-08-2020, 08:12 AM
  5. [V9.1] [RNN] Singularity & Coe
    By RNN in forum TurboHUD Community Plugins
    Replies: 1
    Last Post: 03-27-2020, 09:33 AM
All times are GMT -5. The time now is 11:58 PM. 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