[INT] [Extended] TriunesWillPlugin menu

These ads disappear when you log in.

Page 1 of 3 123 LastLast
Results 1 to 15 of 42
  1. #1
    hakache's Avatar Active Member CoreCoins User
    Reputation
    30
    Join Date
    Jun 2012
    Posts
    22
    Thanks G/R
    6/27
    Trade Feedback
    0 (0%)

    [INT] [Extended] TriunesWillPlugin

    TriunesWillPlugin

    A simple plugin that draws ground decorators and timers on the new buff circles from the Season 18 Theme (Triune's Will).
    You can easily disable the decorator for some buff circles by changing the value of EnableLove (Damage), EnableCreation (Cooldown) or EnableDetermination (Resource Cost) from true to false at the start of the file.

    Also adds an additional ground decorator on the circle when you are buffed by it (Thanks JarJar & RNN). You can disable this option by changing the value of EnableInsideMarker from true to false at the start of the file.

    You can change the radius of the circle decorator and the inside marker with CircleRadius & InsideRadius values in the plugin.

    Customization Options :
    Code:
    	    Hud.RunOnPlugin<Extended.Actors.TriunesWillPlugin>(plugin =>
    			{
    	     		plugin.Enabled = true;
    
    	     		plugin.EnableLove = true;	        // Enable Damage Circle
    	     		plugin.EnableCreation = true;           // Enable Cooldown Circle
    	     		plugin.EnableDetermination = true;	// Enable Resource Cost Circle
    
    	     		plugin.EnableInsideMarker = true;	// Enable additional decorator when you are buffed by a circle
    			});
    Add Triune's Will buffs to PlayerBottomBuffList :
    Add this code into your PluginEnablerOrDisabler.cs to add the circles buff in the Player Bottom BuffList plugin (Draws buffs at the feet of your character).
    Code:
    	Hud.RunOnPlugin<PlayerBottomBuffListPlugin>(plugin =>
    			{
        	plugin.RuleCalculator.Rules.Add(new BuffRule(483606) { IconIndex = 2, MinimumIconCount = 1, ShowTimeLeft = false, ShowStacks = false }); // Love (Damage)
        	plugin.RuleCalculator.Rules.Add(new BuffRule(483606) { IconIndex = 8, MinimumIconCount = 1, ShowTimeLeft = false, ShowStacks = false }); // Creation (Cooldown)
        	plugin.RuleCalculator.Rules.Add(new BuffRule(483606) { IconIndex = 5, MinimumIconCount = 1, ShowTimeLeft = false, ShowStacks = false }); // Determination (RCR)
                		});
    Screenshots :

    The Triune Circles Decorators (Click for larger screenshot).

    The additional "Inside Marker" Decorator (Click for larger screenshot).

    Additional Informations :
    If you're looking for a similar plugin for Oculus, you can check out my ExtendedOculusPlugin.
    If you want text labels on the circles and/or the circles indicated on the minimap, you can check out TriunesWillPlugin RNN Version.

    Installation :
    To install, put TriunesWillPlugin.cs file into --> TurboHUD / plugins / Extended / Actors /

    Download :
    TriunesWillPlugin.cs
    Last edited by hakache; 1 Week Ago at 02:42 PM. Reason: Some informations.

  2. Thanks RNN, profredseries, mois, BeeAntOS, imnotabotuser, van9999, (Sarge) (7 members gave Thanks to hakache for this useful post)
  3. #2
    Saico's Avatar Member CoreCoins User
    Reputation
    9
    Join Date
    Apr 2019
    Posts
    194
    Thanks G/R
    15/8
    Trade Feedback
    0 (0%)
    Fast one, waiting for season start to test, where can I change to enlarge(resize) the border of the circle ? Ty

  4. #3
    hakache's Avatar Active Member CoreCoins User
    Reputation
    30
    Join Date
    Jun 2012
    Posts
    22
    Thanks G/R
    6/27
    Trade Feedback
    0 (0%)
    Code:
    new GroundCircleDecorator(Hud)
                    {
                        Brush = Hud.Render.CreateBrush(255, 255, 0, 128, -2),
                        Radius = 10.0f,
                    },
    In the GroundCircleDecorators, change the -2 to anything you want (-3 instead of -2 will probably fit your needs to make the borders thicker).

    Last edited by hakache; 3 Weeks Ago at 01:47 PM.

  5. Thanks jpppsychomb (1 members gave Thanks to hakache for this useful post)
  6. #4
    RNN's Avatar Contributor CoreCoins User
    Reputation
    203
    Join Date
    Sep 2018
    Posts
    339
    Thanks G/R
    58/193
    Trade Feedback
    0 (0%)
    positive value = draw the circle inwards, positive value = draw it outwards (-2 -> thickness 2)

  7. Thanks hakache (1 members gave Thanks to RNN for this useful post)
  8. #5
    Saico's Avatar Member CoreCoins User
    Reputation
    9
    Join Date
    Apr 2019
    Posts
    194
    Thanks G/R
    15/8
    Trade Feedback
    0 (0%)
    Originally Posted by hakache View Post
    Code:
    new GroundCircleDecorator(Hud)
                    {
                        Brush = Hud.Render.CreateBrush(255, 255, 0, 128, -2),
                        Radius = 10.0f,
                    },
    In the GroundCircleDecorators, change the -2 to anything you want (-3 instead of -2 will probably fit your needs to make the borders thicker).

    In fact I want to Enlarge lol, but I gonna change to test

    positive value = draw the circle inwards, positive value = draw it outwards (-2 -> thickness 2)
    Oh got it, thank you RNN

  9. #6
    hakache's Avatar Active Member CoreCoins User
    Reputation
    30
    Join Date
    Jun 2012
    Posts
    22
    Thanks G/R
    6/27
    Trade Feedback
    0 (0%)
    To change the actual size of the circle, "Radius = 10.0f" is what you have to change

  10. #7
    popoiill's Avatar Member CoreCoins User
    Reputation
    10
    Join Date
    Feb 2019
    Posts
    14
    Thanks G/R
    2/9
    Trade Feedback
    0 (0%)
    Copy my code and modify the release, but didn't add the original author?

    Is this the rule that the community agrees with?

  11. #8
    hakache's Avatar Active Member CoreCoins User
    Reputation
    30
    Join Date
    Jun 2012
    Posts
    22
    Thanks G/R
    6/27
    Trade Feedback
    0 (0%)
    Don't be silly, the code is pretty simple, its the same code than OculusPlugin and we released it during the same minute, which was unfortunate I guess. I would have been pretty fast to change the colors of "your decorators", add bools to enable/disable decorators (so an additional function) and make a post with screenshots, within what... 30 seconds ? Sure, sure.

    This is my plugin, I prepared the code with the decorators and the bools before the season start and I only had to check the actors for the circles after the season start, which I did right at season start. I released this code to my mates in private 1 hour before (@ 17:38 exactly) I made it public as well. So just stop it already, thanks.

    Add Triune's Will Buffs to PlayerBottomBuffList :

    Code:
    	Hud.RunOnPlugin<PlayerBottomBuffListPlugin>(plugin =>
    			{
        	plugin.RuleCalculator.Rules.Add(new BuffRule(483606) { IconIndex = 2, MinimumIconCount = 1, ShowTimeLeft = false, ShowStacks = false }); // Love (Damage)
        	plugin.RuleCalculator.Rules.Add(new BuffRule(483606) { IconIndex = 8, MinimumIconCount = 1, ShowTimeLeft = false, ShowStacks = false }); // Creation (Cooldown)
        	plugin.RuleCalculator.Rules.Add(new BuffRule(483606) { IconIndex = 5, MinimumIconCount = 1, ShowTimeLeft = false, ShowStacks = false }); // Determination (RCR)
                		});
    Add this code into your PluginEnablerOrDisabler.cs to add the circles buff in the Player Bottom BuffList plugin (Draws buffs at the feet of your character) :



    Enjoy !

    Last edited by hakache; 3 Weeks Ago at 12:13 PM. Reason: Add TriunesWill BottomBuffList Customize Code.

  12. #9
    JarJarD3's Avatar Contributor CoreCoins User
    Reputation
    91
    Join Date
    Oct 2017
    Posts
    356
    Thanks G/R
    41/87
    Trade Feedback
    0 (0%)
    Great plugin @hakache!
    And showing when you are inside is awesome!
    I have created alternate version of OculusPlugin that has a different approach to highlighting the circle when you are inside (buff is on).
    I might try to adapt your plugin to change circle style or color, as I like this way it better

  13. Thanks RNN, BeeAntOS (2 members gave Thanks to JarJarD3 for this useful post)
  14. #10
    hakache's Avatar Active Member CoreCoins User
    Reputation
    30
    Join Date
    Jun 2012
    Posts
    22
    Thanks G/R
    6/27
    Trade Feedback
    0 (0%)
    Thanks, you're welcome !

    To change the decorator when you are inside you can just track the buff and check the distance between the circle and you (In case of duplicate circles in party) :



    It highlights the buff circle with an additional decorator when you have the buff from it.
    Here is the code : TriunesWillPlugin w/ Inside Marker !
    The "Inside Marker" can be disabled using the "EnableInsideMarker" bool at the start of the file.

    EDIT : To see the decorators as they are on the screenshot, set the values CircleRadius to 10 and InsideRadius to 9 in the plugin.

    Hope this helps !
    Last edited by hakache; 3 Weeks Ago at 07:49 AM.

  15. Thanks RNN, TobiaSBooN (2 members gave Thanks to hakache for this useful post)
  16. #11
    RNN's Avatar Contributor CoreCoins User
    Reputation
    203
    Join Date
    Sep 2018
    Posts
    339
    Thanks G/R
    58/193
    Trade Feedback
    0 (0%)
    I had thought that same change, it seems better to look at the buff directly.

    But do circles of the same type are stacked? If the answer is no, you could sort by distance and take the closest one, so: [C#] TriunesWillPlugin - Pastebin.com

    I will copy only the PaintWorld lines:

    Code:
    		public void PaintWorld(WorldLayer layer)
    		{
    			if (Hud.Game.IsInTown) return;
    				
    			bool Inside = false;
    			
    			if (EnableLove) 
    			{
    				var love = Hud.Game.Actors.Where(x => x.SnoActor.Sno == ActorSnoEnum._generic_proxy && x.GetAttributeValueAsInt(Hud.Sno.Attributes.Power_Buff_1_Visual_Effect_None, 483606) == 1).OrderBy(d => d.CentralXyDistanceToMe);
    				if (EnableInsideMarker && Hud.Game.Me.Powers.BuffIsActive(483606, 2))	{	Inside = true;	}
    				foreach (var actor in love)
    				{
    					LoveDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
    					if (Inside) { LoveInsideDecorator.Paint(layer, actor, actor.FloorCoordinate, null); Inside = false; }
    				}
    			}
    
    			if (EnableCreation) 
    			{
    				var creation = Hud.Game.Actors.Where(x => x.SnoActor.Sno == ActorSnoEnum._generic_proxy && x.GetAttributeValueAsInt(Hud.Sno.Attributes.Power_Buff_7_Visual_Effect_None, 483606) == 1).OrderBy(d => d.CentralXyDistanceToMe);;
    				if (EnableInsideMarker && Hud.Game.Me.Powers.BuffIsActive(483606, 8))	{	Inside = true;	}
    				foreach (var actor in creation)
    				{
    					CreationDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
    					if (Inside) { CreationInsideDecorator.Paint(layer, actor, actor.FloorCoordinate, null); Inside = false; }
    				}
    			}
    
    			if (EnableDetermination) 
    				{
    				var determination = Hud.Game.Actors.Where(x => x.SnoActor.Sno == ActorSnoEnum._generic_proxy && x.GetAttributeValueAsInt(Hud.Sno.Attributes.Power_Buff_6_Visual_Effect_None, 483606) == 1).OrderBy(d => d.CentralXyDistanceToMe);;
    				if (EnableInsideMarker && Hud.Game.Me.Powers.BuffIsActive(483606, 5) )	{	Inside = true;	}
    				foreach (var actor in determination)
    				{
    					DeterminationDecorator.Paint(layer, actor, actor.FloorCoordinate, null);
    					if (Inside) { DeterminationInsideDecorator.Paint(layer, actor, actor.FloorCoordinate, null); Inside = false; }			
    				}
    			}
    		}
    https://i.imgur.com/mll2BGJ.png
    Last edited by RNN; 2 Weeks Ago at 04:50 PM. Reason: minor changes

  17. Thanks hakache, BeeAntOS (2 members gave Thanks to RNN for this useful post)
  18. #12
    Saico's Avatar Member CoreCoins User
    Reputation
    9
    Join Date
    Apr 2019
    Posts
    194
    Thanks G/R
    15/8
    Trade Feedback
    0 (0%)
    Originally Posted by hakache View Post
    Don't be silly, the code is pretty simple, its the same code than OculusPlugin and we released it during the same minute, which was unfortunate I guess. I would have been pretty fast to change the colors of "your decorators", add bools to enable/disable decorators (so an additional function) and make a post with screenshots, within what... 30 seconds ? Sure, sure.

    This is my plugin, I prepared the code with the decorators and the bools before the season start and I only had to check the actors for the circles after the season start, which I did right at season start. I released this code to my mates in private 1 hour before (@ 17:38 exactly) I made it public as well. So just stop it already, thanks.

    Add Triune's Will Buffs to PlayerBottomBuffList :

    Code:
    	Hud.RunOnPlugin<PlayerBottomBuffListPlugin>(plugin =>
    			{
        	plugin.RuleCalculator.Rules.Add(new BuffRule(483606) { IconIndex = 2, MinimumIconCount = 1, ShowTimeLeft = false, ShowStacks = false }); // Love (Damage)
        	plugin.RuleCalculator.Rules.Add(new BuffRule(483606) { IconIndex = 8, MinimumIconCount = 1, ShowTimeLeft = false, ShowStacks = false }); // Creation (Cooldown)
        	plugin.RuleCalculator.Rules.Add(new BuffRule(483606) { IconIndex = 5, MinimumIconCount = 1, ShowTimeLeft = false, ShowStacks = false }); // Determination (RCR)
                		});
    Add this code into your PluginEnablerOrDisabler.cs to add the circles buff in the Player Bottom BuffList plugin (Draws buffs at the feet of your character) :



    Enjoy !

    I put your customized code in PluginEnablerorDisabler

    and could not see the icon buffs from triune as you screenshoted

    Mine is showing oculus and IP text and Ip icon and oculus ? Buff somehow. Screenshot_2.png

    Any ideias ?

  19. #13

  20. #14
    Saico's Avatar Member CoreCoins User
    Reputation
    9
    Join Date
    Apr 2019
    Posts
    194
    Thanks G/R
    15/8
    Trade Feedback
    0 (0%)
    Oh, I already identified what were those plugin from my screenshot Screenshot_4.png it was some plugins of Gigi that I added.

    But I took them out and still can`t see the icons from triune, dont know what is happening, just turned bool to true (Realized they were false by default) and stills not working.

    Hud.RunOnPlugin<PlayerBottomBuffListPlugin>(plugin =>
    {
    plugin.RuleCalculator.Rules.Add(new BuffRule(483606) { IconIndex = 2, MinimumIconCount = 1, ShowTimeLeft = true, ShowStacks = true }); // Love (Damage)
    plugin.RuleCalculator.Rules.Add(new BuffRule(483606) { IconIndex = 8, MinimumIconCount = 1, ShowTimeLeft = true, ShowStacks = true }); // Creation (Cooldown)
    plugin.RuleCalculator.Rules.Add(new BuffRule(483606) { IconIndex = 5, MinimumIconCount = 1, ShowTimeLeft = true, ShowStacks = true }); // Determination (RCR)
    });
    I also noticed that the plugin regularly is drawing ground circles when is no Triune in it > Screenshot_4.png that bug ocurred after I switched original plugin to your Triunes w Inside Marker. Maybe something missin in the code RNN ? Ty in advance.
    Last edited by Saico; 3 Weeks Ago at 08:31 AM.

  21. #15
    RNN's Avatar Contributor CoreCoins User
    Reputation
    203
    Join Date
    Sep 2018
    Posts
    339
    Thanks G/R
    58/193
    Trade Feedback
    0 (0%)
    For the first question, look where you added the ip and the ring as in Screenshot_2.png
    I tried the code and it works

    Code:
    		plugin.RuleCalculator.Rules.Add(new BuffRule(483606) { IconIndex = 2, MinimumIconCount = 1, ShowTimeLeft = false }); // Love (Damage)
    		plugin.RuleCalculator.Rules.Add(new BuffRule(483606) { IconIndex = 8, MinimumIconCount = 1, ShowTimeLeft = false }); // Creation (Cooldown)
    		plugin.RuleCalculator.Rules.Add(new BuffRule(483606) { IconIndex = 5, MinimumIconCount = 1, ShowTimeLeft = false }); // Determination (RCR)
    What complement do you say you tried and that works badly for you? Tell me the exact link. I think I did not understand you. You say a circle appears when it shouldn't?


    Nor is it wrong to draw the second circle on top of the original. I left both configurable radios and so it's easy to change it

    Last edited by RNN; 3 Weeks Ago at 05:51 AM.

Page 1 of 3 123 LastLast

Similar Threads

  1. Custom Items with Extended Cost
    By Nephilim in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 11-09-2007, 07:40 AM
  2. photo shop cs3 extended keys
    By bomber1392 in forum Art & Graphic Design
    Replies: 10
    Last Post: 11-01-2007, 10:54 AM
  3. Extending WoWModelViewer's Capabilities
    By GoddessVesta in forum World of Warcraft Model Editing
    Replies: 6
    Last Post: 08-28-2007, 06:23 PM
  4. How to Extend time with a scammed Account
    By Memphiz in forum WoW Scam Prevention
    Replies: 6
    Last Post: 06-02-2007, 03:16 PM
  5. ~ Extended Duration items ~
    By jacca in forum World of Warcraft Exploits
    Replies: 1
    Last Post: 07-15-2006, 02:33 AM
All times are GMT -5. The time now is 06:51 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search