-
Active Member
what is the filename of a customizer file ?
-
Active Member
I want to show the CoE all over a rift but not just on boss fight
I edited the plugin cs file directly because i didnt know how to customize it on a separate file.
I changed to
bJustAtBoss = false;
bDrawOnBossFeet = false;;
and
add the following statement to show CoE on crusader
DrawForHeroClass.Add(HeroClass.Crusader);
WatchThisClass = HeroClass.Crusader;
However When I started a greater rift, no CoE buff shown
Last edited by takayo72; 08-01-2018 at 04:43 AM.
-
Active Member
Change line 120:
Old: if (player.ActorId == 0) continue;
New: if (!player.HasValidActor) continue;
-
Post Thanks / Like - 1 Thanks
JarJarD3 (1 members gave Thanks to bm206 for this useful post)
-
Active Member
is your reply response to my question ?
-
Active Member
Yes! You have to change the code. gjuz stopped playing -> Code is not up to date.
-
Member
Hi,
is this plugin still working?
-
Active Member
-
Member
Originally Posted by
bm206
Thanks man! But what does this line do? Iam just curious
Will try later
-
Active Member
Because of some Turbohud changes it makes the plugin work again.
-
Post Thanks / Like - 1 Thanks
hurrikane (1 members gave Thanks to bm206 for this useful post)
-
Member
Thanks man,
but iam too stupid to make it work i guess :/
public void PaintTopInGame(ClipState clipState)
{
if (!_init) _init = Init();
if (clipState != ClipState.BeforeClip) return;
if (HideWhenUiIsHidden && Hud.Render.UiHidden) return;
if (!inGRift) return;
if (DrawForHeroClass.Any() && !DrawForHeroClass.Contains(Hud.Game.Me.HeroClassDefinition.HeroClass)) return;
var bosses = Hud.Game.AliveMonsters.Where(m => m.Rarity == ActorRarity.Boss);
if (bJustAtBoss && !bosses.Any()) return;
IMonster boss = bosses.FirstOrDefault();
foreach (var player in Hud.Game.Players.Where(p => p.HeroClassDefinition.HeroClass == WatchThisClass))
{
if (!player.HasValidActor) continue;
var buff = player.Powers.GetBuff(430674);
if ((buff == null) || (buff.IconCounts[0] <= 0)) continue;
-
Active Member
by Default:
the CoE is only drawn in BossFight, under the bosses feet
only the most powerful Element
only for barbarian players
CoE from Necromancer
only in GreaterRifts !!
-
Member
Is there a way to make CoE icon be in center / under character all time (like on picture)? I changed line 120, but it still not works.
bJustTheBest = true;
bJustAtBoss = false;
bDrawOnBossFeet = false;
bDrawCentered = true;
Thanks
-
Member
Can anyone tell me the exact line where i can increase the size of the COE icon?
thanks in advance
-
Active Member
should be line 57 or 60 ( not tested)
-
Post Thanks / Like - 1 Thanks
hurrikane (1 members gave Thanks to knight84 for this useful post)
-
Member
cant get it working. is that just for me or anyone else has that problem? logs/plugins.txt says its loaded, but it won't draw anything on the fight with the rg. tried to modify the drawfor and watchthisclass but it wont draw nothing from any of the classes.