-
Active Member
[ENGLISH] [Gigi] EliteBarPlugin
Example Customization:
PHP Code:
Hud.RunOnPlugin<Gigi.EliteBarPlugin>(plugin =>
{
//Colors and Fonts
plugin.BossBrush = Hud.Render.CreateBrush(255, 125, 120, 120, 0); //different boss BossBrush
plugin.NameFont = Hud.Render.CreateFont("tahoma", 6f, 200, 255, 0, 0, false, false, true); //different MonsterType Font
//Display Options
plugin.JuggernautHighlight = false; //disable red jugger JuggernautHighlight
plugin.CircleNonIllusion = false; //disable non-clone detection
plugin.MissingHighlight = false; //disable notification for missing blues
plugin.ShowRareMinions = false; //disable rare minions in list
plugin.ShowDebuffAndCC = false; //disable debuff and cc in list
plugin.ShowMonsterType = false; //disable monstertype in healtbar
plugin.ShowBossHitBox = false; //disable hitbox on bosses
plugin.PercentageDescriptor = "0.0"; //Change %-Numbers to X.X%
foreach(MonsterAffix afx in Enum.GetValues(typeof(MonsterAffix)))
plugin.DisplayAffix.Add(afx, afx.ToString("G")); //set affix string for each affix you want to be displayed
//Position and Scaling
plugin.XPos = Hud.Window.Size.Width * 0.125f; //move elitebar to XPos
plugin.YPos = Hud.Window.Size.Height * 0.0333f; //move elitebar to YPos
plugin.XScaling = 0.8f; //shrink XScaling (width) of elitebar to 80%
plugin.YScaling = 1.05f; //stretch YScaling (height) of elitebar by 5% (hint: alignment doesn't adapat!)
});
Changelog:
- v2.0: recommited to ownedcore
Source: \plugins\Gigi\EliteBarPlugin.cs
Last edited by d3gigi; 03-26-2017 at 01:25 PM.
Reason: fixed typo
-
Post Thanks / Like - 23 Thanks
Csavo,
johnbl,
Vern1701,
(Sarge),
cherouvim13,
bm206,
song min cheol,
PsychoPyro202,
Wasted74,
prrovoss,
patricos,
DysfunctionaI,
Downunder,
Aiste,
mumungan,
dvh224,
SuperNightmare,
kjh27,
icheck,
mois,
731113,
HoaryWitch,
AitorRosellTorralba (23 members gave Thanks to d3gigi for this useful post)
-
Contributor
Hi,
Have little problem with this plugin:
2017.03.26 18:50:31.214 Change.cs(80,13) : warning CS0162: Unreachable code detected.
2017.03.26 18:50:31.214 Change.cs(80,33) : error CS0103: The name "Enum" does not exist in the current context.
line 80 my file:
80: foreach(MonsterAffix afx in Enum.GetValues(typeof(MonsterAffix)))
81: plugin.DisplayAffix.Add(afx, afx.ToString("G")); //set affix string for each affix you want to be displayed
When i comment this two lines exception gone
-
Active Member
Originally Posted by
MrOne
Hi,
Have little problem with this plugin:
2017.03.26 18:50:31.214 Change.cs(80,13) : warning CS0162: Unreachable code detected.
2017.03.26 18:50:31.214 Change.cs(80,33) : error CS0103: The name "Enum" does not exist in the current context.
line 80 my file:
80: foreach(MonsterAffix afx in Enum.GetValues(typeof(MonsterAffix)))
81: plugin.DisplayAffix.Add(afx, afx.ToString("G")); //set affix string for each affix you want to be displayed
When i comment this two lines exception gone
The problem is not in the plugin - it's your customization file. You are missing a directive in your customization file, because you blindly copied & pasted the example configuration without running it through an IDE first or chechking in before usage.
Either add each affix you want to be displayed by hand with a descriptor of your choice or use the correct directive to be able to make use of the name "Enum".
I won't give any support (or answer requests) via private messaging. Ask your questions about a plugin within its thread!
-
Savvy ? 🐒
Well, you have issue configuring it, not with the plugin itself.
Add a 'using System;' in your Change.cs file ; )
Last edited by JackCeparou; 03-26-2017 at 12:16 PM.
Reason: typo
-
Member
Hi,
I don't get it... I have put the plugin to \plugins\Gigi\EliteBarPlugin.cs and started the game + TurboHUD. Should I already see the plugin if there are elites around, or is there anything I have to do before it appears? All other plugins I tried seemed to work, but I don't see any bars from your plugin. Please help me.
-
Savvy ? 🐒
Just retested it, works here.
or is there anything I have to do before it appears?
Nope, it should work out of the box.
Dumb question but : have you copy/pasted the code block or the code inside the external link ?
-
Active Member
Originally Posted by
DaBear78
Hi,
I don't get it... I have put the plugin to \plugins\Gigi\EliteBarPlugin.cs and started the game + TurboHUD. Should I already see the plugin if there are elites around, or is there anything I have to do before it appears? All other plugins I tried seemed to work, but I don't see any bars from your plugin. Please help me.
It should work out of the box - same way as any other plugin. Make sure you copied the correct file - as Jack mentioned. If you are certain you copied the correct files, post your logs for plugins.txt and exceptions.txt for one startup of thud.
I won't give any support (or answer requests) via private messaging. Ask your questions about a plugin within its thread!
-
Active Member
Can @RealGsus use this for his tool? It would be a good addition, I feel.
-
Active Member
Originally Posted by
Vern1701
Can @RealGsus use this for his tool? It would be a good addition, I feel.
He has my blessings.
I won't give any support (or answer requests) via private messaging. Ask your questions about a plugin within its thread!
-
Post Thanks / Like - 1 Thanks
-
Contributor
It's already on my ToDo list
Wanna customize THUD the easy way? Check out
..:: TCT | TurboHUD Customization Tool ::..
in the TurboHUD Plugin Review Zone
-
Member
someone upload the file please?? i cant seem to get this to work.
edit: nevermind sorry got it working. had to change gibi to default
Last edited by blackpc; 03-27-2017 at 03:38 PM.
-
Active Member
Originally Posted by
blackpc
someone upload the file please?? i cant seem to get this to work.
No worries man. I can see how this can be troublesome for a few people. This should point you into the right direction:
Originally Posted by
blackpc
edit: nevermind sorry got it working. had to change gibi to default
Default is not the correct folder. Once again: The screenshot will point you towards the correct direction (where to put the file). It's my nickname: Gigi
I won't give any support (or answer requests) via private messaging. Ask your questions about a plugin within its thread!
-
Member
Originally Posted by
d3gigi
No worries man. I can see how this can be troublesome for a few people. This should point you into the right direction:
Default is not the correct folder. Once again: The screenshot will point you towards the correct direction (where to put the file). It's my nickname: Gigi
sorry, i knew that was the link for it, what i ment was "namespace Turbo.Plugins.Default" is what i had to change for it too work for me.
-
Member
Originally Posted by
RealGsus
It's already on my ToDo list
Yes RealGsus, because there are people like me who are clueless from customizing with codes and this is very very helpful plugin.
-
Active Member
Originally Posted by
blackpc
sorry, i knew that was the link for it, what i ment was "namespace Turbo.Plugins.Default" is what i had to change for it too work for me.
blackpc, my son! what gigi, and all of us are trying to tell you is to NOT put your plugins into \plugins\User folder. Put them in a new folder in plugins named "Gigi" in this case (just like the download link writes \plugins\Gigi\EliteBarPlugin.cs