-
Member
Disable illusionist copy point in mini map and show pylons at progress bar
Hi there~
i have two questions.
1. Disable illusionist copy dot in mini map
> what plugin or file paint elite monster dots at mini map?
> i want to disable illusionist copy dot in mini map, but i can't find that plugin or file.
2. Progress bar problem
> there are no pylons type and finding time in progress bar.
> i need that plugins or file.
thanks.
-
Legendary
1) File: Default\Monsters\StandarMonstersPlugin.cs
Locate
Code:
if (monster.Rarity == ActorRarity.Rare)
{
EliteLeaderDecorator.Paint(layer, monster, monster.FloorCoordinate, monster.SnoMonster.NameLocalized);
}
replace with
Code:
if (monster.Rarity == ActorRarity.Rare)
{
if (monster.SummonerAcdDynamicId == 0)
EliteLeaderDecorator.Paint(layer, monster, monster.FloorCoordinate, monster.SnoMonster.NameLocalized);
}
2) GLQ_GreaterRiftPylonMarkerPlugin
Original
Modified v8 / Modififed v9
-
Post Thanks / Like - 2 Thanks
-
Member
Great!!!
Thanks a lot !!!
-
Legendary
It is not correct what I said. The file Default\Monsters\StandarMonstersPlugin.cs is configured by default to hide illusions (HideOnIllusions = true) , but only applies it to minions, not to blue or yellow elites (Rares and minions of Rares can make copies) , It would be necessary to replace this line:
Code:
if (HideOnIllusions && (monster.SummonerAcdDynamicId != 0) && (monster.Rarity == ActorRarity.RareMinion)) continue;
to
Code:
if (HideOnIllusions && (monster.SummonerAcdDynamicId != 0) && ((monster.Rarity == ActorRarity.RareMinion) || (monster.Rarity == ActorRarity.Rare) || (monster.Rarity == ActorRarity.Champion))) continue;
or bet stronger and write
Code:
if (HideOnIllusions && (monster.SummonerAcdDynamicId != 0) && (monster.Rarity != ActorRarity.Normal)) continue;
Remove the previous change and write the second code
and if you have the MonsterCirclePlugin I think you also have to make similar changes
Edited:
I've been looking at it and the only change it would make in the MonsterCirclePlugin is:
Code:
if (monster.Rarity == ActorRarity.RareMinion) {
RareMinionDecorator.Paint(layer, monster, monster.FloorCoordinate, monster.SnoMonster.NameLocalized);
}
Code:
if (monster.Rarity == ActorRarity.RareMinion) {
if (monster.SummonerAcdDynamicId == 0)
RareMinionDecorator.Paint(layer, monster, monster.FloorCoordinate, monster.SnoMonster.NameLocalized);
}
And this would be the result, only 3 circles on map and minimap. They have copies of both the rare and their minions
Last edited by RNN; 04-05-2019 at 09:20 AM.
-
Post Thanks / Like - 1 Thanks
program73 (1 members gave Thanks to RNN for this useful post)
-
Member
i just change the code like below but it works good.
if (monster.Rarity == ActorRarity.RareMinion)
{
// EliteMinionDecorator.Paint(layer, monster, monster.FloorCoordinate, monster.SnoMonster.NameLocalized); //jch : delete
}
...
if (monster.Rarity == ActorRarity.Rare)
{
if (monster.SummonerAcdDynamicId == 0) //jch : add
EliteLeaderDecorator.Paint(layer, monster, monster.FloorCoordinate, monster.SnoMonster.NameLocalized);
}
and i already removed minion circle in MonsterCirclePlugin.
thanks
-
Legendary
But the Champions also create illusions. I opted not to show any illusion on the minimap, but on the map I do show the illusions of the elites with a blurred circle (hitbox).
-
Post Thanks / Like - 1 Thanks
program73 (1 members gave Thanks to RNN for this useful post)
-
Member
as your code, it works good!
Thanks
-
Active Member
how to remove minion circle in MonsterCirclePlugin ?
-
Legendary
To remove all circles of minions, look for these lines:
Code:
if (monster.Rarity == ActorRarity.RareMinion) {
RareMinionDecorator.Paint(layer, monster, monster.FloorCoordinate, monster.SnoMonster.NameLocalized);
}
and change it like that
Code:
if (monster.Rarity == ActorRarity.RareMinion) {
// RareMinionDecorator.Paint(layer, monster, monster.FloorCoordinate, monster.SnoMonster.NameLocalized);
}
But if you just want to remove the circles of the minions' illusions, use this code instead:
Code:
if (monster.Rarity == ActorRarity.RareMinion) {
if (monster.SummonerAcdDynamicId == 0)
RareMinionDecorator.Paint(layer, monster, monster.FloorCoordinate, monster.SnoMonster.NameLocalized);
}
Last edited by RNN; 04-15-2019 at 09:02 AM.
-
Active Member
Originally Posted by
RNN
To remove all circles of minions, look for these lines:
Code:
if (monster.Rarity == ActorRarity.RareMinion) {
RareMinionDecorator.Paint(layer, monster, monster.FloorCoordinate, monster.SnoMonster.NameLocalized);
}
and change it like that
Code:
if (monster.Rarity == ActorRarity.RareMinion) {
// RareMinionDecorator.Paint(layer, monster, monster.FloorCoordinate, monster.SnoMonster.NameLocalized);
}
But if you just want to remove the circles of the minions' illusions, use this code instead:
Code:
if (monster.Rarity == ActorRarity.RareMinion) {
if (monster.SummonerAcdDynamicId == 0)
RareMinionDecorator.Paint(layer, monster, monster.FloorCoordinate, monster.SnoMonster.NameLocalized);
}
Dont Know what I did wrong, but somehow minion circles did not disappear.
-
Legendary
Maybe you have installed \plugins\CB\MonsterCirclePlugin.cs or \plugins\CB\MonsterCirclePlugin_Mod.cs
Find a line that has the text "RareMinionDecorator.Paint" and write // at the beginning