-
Member
[v9.2] Range Circles
This is a very simple plugin to display circles around the player with customizable colors, distances, and thickness. Original credit goes to klamist. I have simply added a few simple changes to the code but I could not have written this myself and so he deserves 100% credit. He didn't seem to have published the plugin so I'm doing it in his honor. Shoutout to gjuz for teaching me the proper format/etiquette.
Update: The pastebin was giving people RangeCircles.cs.cs - I have updated and verified that everything works now. Users should only receive a RangeCircles.cs file now with the proper .cs format.
1.jpg
2.jpg
Save to TurboHUD\plugins\glew
RangeCircles - Pastebin.com
Default toggle key is 9. Guides to changing the settings and hotkeys are found within RangeCircles.cs
Also my first submission. If I broke a rule or have poor etiquette I'm sorry, correct me and I'll fix it!
I also think this plugin is so simple it wouldn't make a bad addition to the default THUD plugins.
Last edited by Glew; 11-20-2020 at 03:32 AM.
-
Post Thanks / Like - 1 Thanks
731113 (1 members gave Thanks to Glew for this useful post)
-
Contributor
You'd better attach a screenshot
-
Member
Originally Posted by
SeaDragon
You'd better attach a screenshot
As soon as we've got a working THUD for this recent patch I'll definitely upload!
-
Member
-
Active Member
Got some exceptions
Code:
C:\Users\Desktop\TURBOHUD\TURBO S22\Plugins\glew\RangeCircles.cs(6,31) : error CS0246: The type or namespace name 'BasePlugin' could not be found (are you missing a using directive or an assembly reference?)
2020.11.19 13:58:25.088 20.11.19.0 C:\Users\Desktop\TURBOHUD\TURBO S22\Plugins\glew\RangeCircles.cs(8,16) : error CS0246: The type or namespace name 'GroundCircleDecorator' could not be found (are you missing a using directive or an assembly reference?)
2020.11.19 13:58:25.088 20.11.19.0 C:\Users\Desktop\TURBOHUD\TURBO S22\Plugins\glew\RangeCircles.cs(9,16) : error CS0246: The type or namespace name 'GroundCircleDecorator' could not be found (are you missing a using directive or an assembly reference?)
2020.11.19 13:58:25.088 20.11.19.0 C:\Users\Desktop\TURBOHUD\TURBO S22\Plugins\glew\RangeCircles.cs(18,30) : error CS0115: 'RangeRound.Load(IController)': no suitable method found to override
2020.11.19 13:58:25.088 20.11.19.0 C:\Users\Desktop\TURBOHUD\TURBO S22\Plugins\glew\RangeCircles.cs(6,43) : error CS0535: 'RangeRound' does not implement interface member 'IPlugin.Hud'
2020.11.19 13:58:25.088 20.11.19.0 C:\Users\Desktop\TURBOHUD\TURBO S22\Plugins\glew\RangeCircles.cs(6,43) : error CS0535: 'RangeRound' does not implement interface member 'IPlugin.Enabled'
2020.11.19 13:58:25.088 20.11.19.0 C:\Users\Desktop\TURBOHUD\TURBO S22\Plugins\glew\RangeCircles.cs(6,43) : error CS0535: 'RangeRound' does not implement interface member 'IPlugin.Order'
2020.11.19 13:58:25.088 20.11.19.0 C:\Users\Desktop\TURBOHUD\TURBO S22\Plugins\glew\RangeCircles.cs(6,43) : error CS0535: 'RangeRound' does not implement interface member 'IPlugin.PerformanceCounters'
-
Member
Originally Posted by
Saico
Got some exceptions
Code:
C:\Users\Desktop\TURBOHUD\TURBO S22\Plugins\glew\RangeCircles.cs(6,31) : error CS0246: The type or namespace name 'BasePlugin' could not be found (are you missing a using directive or an assembly reference?)
2020.11.19 13:58:25.088 20.11.19.0 C:\Users\Desktop\TURBOHUD\TURBO S22\Plugins\glew\RangeCircles.cs(8,16) : error CS0246: The type or namespace name 'GroundCircleDecorator' could not be found (are you missing a using directive or an assembly reference?)
2020.11.19 13:58:25.088 20.11.19.0 C:\Users\Desktop\TURBOHUD\TURBO S22\Plugins\glew\RangeCircles.cs(9,16) : error CS0246: The type or namespace name 'GroundCircleDecorator' could not be found (are you missing a using directive or an assembly reference?)
2020.11.19 13:58:25.088 20.11.19.0 C:\Users\Desktop\TURBOHUD\TURBO S22\Plugins\glew\RangeCircles.cs(18,30) : error CS0115: 'RangeRound.Load(IController)': no suitable method found to override
2020.11.19 13:58:25.088 20.11.19.0 C:\Users\Desktop\TURBOHUD\TURBO S22\Plugins\glew\RangeCircles.cs(6,43) : error CS0535: 'RangeRound' does not implement interface member 'IPlugin.Hud'
2020.11.19 13:58:25.088 20.11.19.0 C:\Users\Desktop\TURBOHUD\TURBO S22\Plugins\glew\RangeCircles.cs(6,43) : error CS0535: 'RangeRound' does not implement interface member 'IPlugin.Enabled'
2020.11.19 13:58:25.088 20.11.19.0 C:\Users\Desktop\TURBOHUD\TURBO S22\Plugins\glew\RangeCircles.cs(6,43) : error CS0535: 'RangeRound' does not implement interface member 'IPlugin.Order'
2020.11.19 13:58:25.088 20.11.19.0 C:\Users\Desktop\TURBOHUD\TURBO S22\Plugins\glew\RangeCircles.cs(6,43) : error CS0535: 'RangeRound' does not implement interface member 'IPlugin.PerformanceCounters'
Should work as expected now.
Last edited by Glew; 11-19-2020 at 11:03 PM.
-
Post Thanks / Like - 1 Thanks
Saico (1 members gave Thanks to Glew for this useful post)
-
Contributor
1. Just change the name space to any directory path you need so the plugin can go anywhere you want, namely this line at the top:
Code:
namespace Turbo.Plugins.Default
2. Your link is broken atm and needs to be fixed manually.
-
Member
i cant DL is normal ? or only cut and create a new note ?
-
Member
Link is updated. Sorry for the hassle!
-
Member
Originally Posted by
Stormreaver
1. Just change the name space to any directory path you need so the plugin can go anywhere you want, namely this line at the top:
Code:
namespace Turbo.Plugins.Default
2. Your link is broken atm and needs to be fixed manually.
Fixed the link.
Last edited by Glew; 11-19-2020 at 11:04 PM.
-
Contributor
Hi,
it's better for custom plugin to use a custom namespace - such that all of your own plugin can be found in that namespace.
in your case
Code:
namespace Turbo.Plugins.glew
and add
Code:
using Turbo.Plugins.Default;
at the top.
thus the plugin should be installed to HUD/plugins/glew
Originally Posted by
Glew
Original credit goes to
klamist. I have simply added a few simple changes to the code but I could not have written this myself and so he deserves 100% credit.
that's the way all of our plugins can be improved. you'll need an idea and a baseline to code with. so keep adjusting - learning by doing...
greetz gjuz
-
Member
Thanks for taking the time to educate me! I'll make the changes within the hour. I'm not sure which, but I definitely use your plugins, I recognize gjuz for sure. So thanks x2!
-
Member
The pastebin was giving people RangeCircles.cs.cs - I have updated and verified that everything works now. Users should only receive a RangeCircles.cs file now with the proper .cs format.