-
Active Member
Player label size
Hello.
Can someone help?
I want to increase size for player label for wiz, but I do not see where in OtherPlayersPlugin.cs
Would be great if I could do that via PluginEnablerOrDisablerPlugin.cs
Thanks, M
Last edited by ch25; 08-21-2019 at 11:12 AM.
-
Active Member
Originally Posted by
ch25
Hello.
Can someone help?
I want to increase size for player label for wiz, but I do not see where in OtherPlayersPlugin.cs
Would be great if I could do that via PluginEnablerOrDisablerPlugin.cs
Thanks, M
Sorry but, what does this plugin does exactly ?
-
Contributor
NOT TESTED,
Hud.RunOnPlugin<OtherPlayersPlugin>(plugin => {
plugin.DecoratorByClass[HeroClass.Wizard] = new WorldDecoratorCollection(
new MapLabelDecorator(Hud)
{
LabelFont = Hud.Render.CreateFont("tahoma", 6f, 255, 250, 50, 180, false, false, 128, 0, 0, 0, true),
Up = true,
},
new GroundLabelDecorator(Hud)
{
BackgroundBrush = Hud.Render.CreateBrush(255, 0, 0, 0, 0),
BorderBrush = Hud.Render.CreateBrush(255, 250, 50, 180, 1),
TextFont = Hud.Render.CreateFont("tahoma", 6f, 255, 250, 50, 180, false, false, 128, 0, 0, 0, true), // this one
}
);
});
-
Member
Originally Posted by
ch25
Hello.
Can someone help?
I want to increase size for player label for wiz, but I do not see where in OtherPlayersPlugin.cs
Would be great if I could do that via PluginEnablerOrDisablerPlugin.cs
Thanks, M
i have
OtherPlayersNameColorByClassPlugin
by BM and its very easy to change all DIFFerent sizes of each class and color if you open it up
-
Post Thanks / Like - 1 Thanks
ch25 (1 members gave Thanks to wad1532 for this useful post)