Hi,
is there a way to change the color for primal items? I want them to show up in a diffrent color when they drop.
Or can i at least add a sound if a primal drops?
Regards
Hi,
is there a way to change the color for primal items? I want them to show up in a diffrent color when they drop.
Or can i at least add a sound if a primal drops?
Regards
Last edited by h0meb0y; 06-12-2019 at 04:20 PM.
the code I am currently using in PluginEnablerOrDisablerPlugin.cs, hope you will like it
Hud.RunOnPlugin<ItemsPlugin>(plugin => {
plugin.EnableSpeakPrimal = true;
plugin.EnableSpeakPrimalSet = true;
// Show ancient and primal items on mini map.
plugin.AncientDecorator.Decorators.Add(new MapLabelDecorator(Hud) {
LabelFont = Hud.Render.CreateFont("tahoma", 6, 255, 235, 120, 0, true, false, false),
RadiusOffset = 14,
Up = true,
});
plugin.AncientSetDecorator.Decorators.Add(new MapLabelDecorator(Hud) {
LabelFont = Hud.Render.CreateFont("tahoma", 6, 255, 0, 170, 0, true, false, false),
RadiusOffset = 14,
Up = true,
});
plugin.PrimalDecorator.Decorators.Add(new MapLabelDecorator(Hud) {
LabelFont = Hud.Render.CreateFont("tahoma", 7, 255, 240, 20, 0, true, false, false),
RadiusOffset = 14,
Up = true,
});
plugin.PrimalSetDecorator.Decorators.Add(new MapLabelDecorator(Hud) {
LabelFont = Hud.Render.CreateFont("tahoma", 7, 255, 240, 20, 0, true, false, false),
RadiusOffset = 14,
Up = true,
});
});
Use the Code modifier when using code:
It looks much nicer.Code:Hud.RunOnPlugin<ItemsPlugin>(plugin =[> plugin.EnableSpeakPrimal = true; plugin.EnableSpeakPrimalSet = true; // Show ancient and primal items on mini map. plugin.AncientDecorator.Decorators.Add(new MapLabelDecorator(Hud) { LabelFont = Hud.Render.CreateFont("tahoma", 6, 255, 235, 120, 0, true, false, false), RadiusOffset = 14, Up = true, }); plugin.AncientSetDecorator.Decorators.Add(new MapLabelDecorator(Hud) { LabelFont = Hud.Render.CreateFont("tahoma", 6, 255, 0, 170, 0, true, false, false), RadiusOffset = 14, Up = true, }); plugin.PrimalDecorator.Decorators.Add(new MapLabelDecorator(Hud) { LabelFont = Hud.Render.CreateFont("tahoma", 7, 255, 240, 20, 0, true, false, false), RadiusOffset = 14, Up = true, }); plugin.PrimalSetDecorator.Decorators.Add(new MapLabelDecorator(Hud) { LabelFont = Hud.Render.CreateFont("tahoma", 7, 255, 240, 20, 0, true, false, false), RadiusOffset = 14, Up = true, }); });
If OP is talking about the ingame red beam, sorry, but that can't be fixed.
Last edited by Vern1701; 06-13-2019 at 02:17 AM.
I'll give this a try. I'll take screenshots of the results too and report back here if some people are wondering what it looks like.
Thank you S4000 !
Thanks @s4000.
Here's a couple of screenshots. You can see the item name (ie: Ancient Set ...) and on the minimap and map, there's an animated triangle breathing (growing and shrinking).
thud1.jpg
thud2.jpg
Higher resolution available here: Ancient/Primal visual cue THUD. - Album on Imgur
But how far can you see the item name? On the whole map or do you have to be near it?