[v7.6] [INTERNATIONAL] [gjuz] FollowerPlugin menu

User Tag List

Results 1 to 8 of 8
  1. #1
    gjuz's Avatar Contributor
    Reputation
    121
    Join Date
    Mar 2017
    Posts
    228
    Thanks G/R
    49/118
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    [v7.6] [INTERNATIONAL] [gjuz] FollowerPlugin

    Supported TurboHUD version: 7.6



    Hi,

    this plugin marks your follower in the World and on the map
    [v7.6] [INTERNATIONAL] [gjuz] FollowerPlugin-follower-gif

    download: [C#] FollowerPlugin.cs
    install to: [Hud Folder]/plugins/gjuz/FollowerPlugin.cs


    greetz gjuz

    [v7.6] [INTERNATIONAL] [gjuz] FollowerPlugin
  2. Thanks ADV2015 (1 members gave Thanks to gjuz for this useful post)
  3. #2
    Flipfloppy's Avatar Member
    Reputation
    1
    Join Date
    Mar 2019
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello. Will you be updating this for 9.0? It’s one of my favorite and most useful plugins I just don’t know what code to change for update :/. Thanks for your work here

  4. #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)
    I have adapted it to version 9.0: FollowerPlugin.cs

  5. Thanks alex1788 (1 members gave Thanks to RNN for this useful post)
  6. #4
    wtfdc's Avatar Member
    Reputation
    1
    Join Date
    Mar 2020
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, RNN
    can u reupload the file again ? its missing from pastebin
    thx

  7. #5
    xblade2k7's Avatar Active Member
    Reputation
    48
    Join Date
    Jun 2009
    Posts
    277
    Thanks G/R
    101/32
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by wtfdc View Post
    Hi, RNN
    can u reupload the file again ? its missing from pastebin
    thx
    Error, this is a private paste or is pending moderation. If this paste belongs to you, please login to Pastebin to view it.
    NO, you now have a license for use a FREE plugin?, NO NO MAN. ASK TO ROSBOT for make private plugins

  8. #6
    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)
    Since it appears that a few ( if not all ) of the lead plugin developers have removed their pastebin code.. or disabled it... in what i can only assume is a moral outcry at the licencing of TurboHud by ROSBot ...

    Is there anyone who can actually help and get this working... RNN fixed it.. but that code has gone the way of the dodo bird.

    Its not like that site maintains any forum for code for turbohud plugins... so its kind of a lost cause at this point for any plugin development or help.. unless there is some re[ository and community other than this i know not of.

  9. #7
    Razorfish's Avatar Contributor
    Reputation
    188
    Join Date
    Apr 2019
    Posts
    178
    Thanks G/R
    19/158
    Trade Feedback
    0 (0%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by LazyDruid View Post
    Since it appears that a few ( if not all ) of the lead plugin developers have removed their pastebin code.. or disabled it... in what i can only assume is a moral outcry at the licencing of TurboHud by ROSBot ...

    Is there anyone who can actually help and get this working... RNN fixed it.. but that code has gone the way of the dodo bird.

    Its not like that site maintains any forum for code for turbohud plugins... so its kind of a lost cause at this point for any plugin development or help.. unless there is some re[ository and community other than this i know not of.
    Over at RB's TurboHUD Discord, I think I remember seeing some people talk about that plugin and post it for download in #plugins-chat (albeit under a different namespace, so idk who worked on it or just renamed it). There are a still a few people who pitch in to provide help for TH there.
    TurboHUD

  10. #8
    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)
    For those who need it . . .

    FollowerPlugin.cs


    Code:
    using System.Linq;
    using System.Collections.Generic;
    
    using Turbo.Plugins.Default;
    
    namespace Turbo.Plugins.RNN
    {
        public class FollowerPlugin : BasePlugin, IInGameWorldPainter
        {
            //4482	Hireling_Enchantress		Enchantress
            //52694	Hireling_Scoundrel		Scoundrel
            //52693	Hireling_Templer		Templer
    	private readonly ActorSnoEnum[] snoIds = new ActorSnoEnum[] { ActorSnoEnum._hireling_enchantress, ActorSnoEnum._hireling_templar, ActorSnoEnum._hireling_scoundrel };
    	public Dictionary<ActorSnoEnum, WorldDecoratorCollection> FollowerMapping { get; set; }
    		
    	public FollowerPlugin()
            {
                Enabled = true;
            }
     
            public override void Load(IController hud)
            {
                base.Load(hud);
    			
    	FollowerMapping = new Dictionary<ActorSnoEnum, WorldDecoratorCollection>();
    			
    	foreach (ActorSnoEnum sno in snoIds)
    	FollowerMapping.Add(sno, createWDC());
            }
    		
    		private WorldDecoratorCollection createWDC(int a = 220, int r=255, int g=51, int b=153, float strokeWidth_T=3f, float strokeWidth_C=5f, float strokeWidth_S=5f, float radiusM=8f, float radiusG=1f)
    		{
    			return new WorldDecoratorCollection(
    				new MapShapeDecorator(Hud)
    				{
    					Brush = Hud.Render.CreateBrush(a, r, g, b, strokeWidth_T),
    					ShapePainter = new TriangleShapePainter(Hud),
    					Radius = radiusM
    				},
    				new GroundShapeDecorator(Hud)
    				{
    					Brush = Hud.Render.CreateBrush(a, r, g, b, strokeWidth_S),
    					Radius = radiusG,
    					ShapePainter = WorldStarShapePainter.NewCross(Hud),
    					// RotationTransformator = new CircularRotationTransformator(Hud, 10)
    				},
    				new GroundCircleDecorator(Hud) {
                        			Brush = Hud.Render.CreateBrush(a, r, g, b, strokeWidth_C),
    				Radius = radiusG
    				}
    				);
    		}
    		
    		public void PaintWorld(WorldLayer layer)
            {
    			if (Hud.Game.NumberOfPlayersInGame > 1) return;
    			
    			foreach (var actor in Hud.Game.Actors.Where(x => snoIds.Contains(x.SnoActor.Sno)))
                {
                    FollowerMapping[actor.SnoActor.Sno].Paint(layer, actor, actor.FloorCoordinate, string.Empty);
                }
    		}
    	}
    }

    THANK YOU RAZORFISH for helping me find it.

    NOTE: Its a namespace plugin for RNN ... so put it accordingly in his plugin folder
    Last edited by LazyDruid; 04-28-2021 at 06:59 AM.

Similar Threads

  1. [v7.2] [INTERNATIONAL] [glq] MonsterRiftProgressionPlugin
    By SeaDragon in forum TurboHUD Community Plugins
    Replies: 23
    Last Post: 09-07-2021, 04:46 AM
  2. [v7.4] [INTERNATIONAL] [gjuz] NecSkeletalMagePlugin
    By gjuz in forum TurboHUD Community Plugins
    Replies: 24
    Last Post: 09-01-2019, 10:20 AM
  3. [v7.5] [INTERNATIONAL] [gjuz] CoEPowerfullPlugin
    By gjuz in forum TurboHUD Community Plugins
    Replies: 50
    Last Post: 08-30-2019, 05:04 AM
  4. [v7.5] [INTERNATIONAL] [gjuz] MonsterKrysbinPlugin
    By gjuz in forum TurboHUD Community Plugins
    Replies: 26
    Last Post: 08-07-2018, 04:38 PM
  5. [v7.3] [INTERNATIONAL] [gjuz] PlayerInTown
    By gjuz in forum TurboHUD Community Plugins
    Replies: 10
    Last Post: 11-30-2017, 06:11 PM
All times are GMT -5. The time now is 10:50 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