-
Member
putting circle around yourself
Hi All,
I searched the forums to find posts on how to put a cricle around myself and i found some references to editing a circles.xml file whcih no longer exists in config. I found this code,
<audacity_test center="me" radius="15">
<style color="192,192,64,64" stroke="3" dash="Dash" />
</audacity_test>
which apparently woprked in the past.
How do I put a circle around my character for 15 yard?
THank you
-
Contributor
-
Post Thanks / Like - 1 Thanks
cherouvim13 (1 members gave Thanks to SeaDragon for this useful post)
-
Member
i guess that works. i remember the old circles had capabilities that if you had a certain skill equipped it would show the circles if not it didnt. for example it could show circles if only audacity skill was used. Thanks ill use that meanwhile. Better than nothing.
Thanks for the pointer.
-
Contributor
Hi,
define youself:
PHP Code:
AudacityDecorator = new WorldDecoratorCollection(
new GroundCircleDecorator(Hud)
{
...
}
);
to draw this AudacityDecorator if and only if you have Audacity as passive you have to make a query
PHP Code:
IBuff BuffAudacity = Hud.Game.Me.Powers.GetBuff(AudacitySno);
if (BuffAudacity != null && BuffAudacity.Active)
{
AudacityDecorator.Paint(layer, Hud.Game.Me, Hud.Game.Me.FloorCoordinate, "");
}
you can get 'uint' AudacitySno from
/interfaces/data/player/powers/IWizardPowerInfo.cs
Hud.Game.Me.Powers.UsedWizardPowers.Audacity.Sno
or
/doc/sno_powers_skills.txt
341540 X1_Wizard_Passive_Audacity Audacity
in general /doc and /interfaces is very helpfull if you want to build a plugin or snippet
greetz gjuz