groundlabeldecorator for specific items. menu

These ads disappear when you log in.

User Tag List

Results 1 to 4 of 4
  1. #1
    shab6969's Avatar Member
    Reputation
    1
    Join Date
    Dec 2017
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    groundlabeldecorator for specific items.

    hi,

    how do you guys display a groundlabel decorator for specific items like puzzle ring or bardiche regardless if its ancient or primal? if ancient set item drops has green decorators, how to we make it the same for specific items?

    These ads disappear when you log in.

  2. #2
    hkjhkh's Avatar Member
    Reputation
    4
    Join Date
    Mar 2018
    Posts
    36
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you need to identify the sno for the item and add a defined decorator to them. If you like to mark only ancient items you need to chec the item with a condition "item.AncientRank"

    like:

    // Bloodshards
    if (item.SnoItem.Sno == 2603730171)
    {
    BloodshardsDecorator.Paint(layer, item, item.FloorCoordinate, GetItemName(item));
    continue;
    }
    Last edited by hkjhkh; 12-01-2019 at 10:56 AM.

  3. #3
    shab6969's Avatar Member
    Reputation
    1
    Join Date
    Dec 2017
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok I managed to grab the specific UID for the item but how do you change the font color and background from your code?

  4. #4
    hkjhkh's Avatar Member
    Reputation
    4
    Join Date
    Mar 2018
    Posts
    36
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by shab6969 View Post
    ok I managed to grab the specific UID for the item but how do you change the font color and background from your code?
    on top you need to define a Decorator for your ITEM, the decorater name will be used later on the painter. So it's possible to give your single ITEM a unique color. The best way is to extend the default itemcustom.cs with an own code in your user folder

    // Bloodshards
    BloodshardsDecorator = new WorldDecoratorCollection(
    new GroundCircleDecorator(Hud)
    {
    Brush = Hud.Render.CreateBrush(192, 255, 0, 0, -2),
    Radius = 1.25f,
    },
    new GroundLabelDecorator(Hud)
    {
    BackgroundBrush = Hud.Render.CreateBrush(192,255,0,0, 0),
    BorderBrush = Hud.Render.CreateBrush(160, 0, 0, 0, -1),
    TextFont = Hud.Render.CreateFont("tahoma", 6, 255, 0, 0, 0, true, false, false),
    }
    );
    Last edited by hkjhkh; 12-01-2019 at 03:21 PM.

Similar Threads

  1. Looking for 2 items
    By Kibaa in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 09-28-2007, 01:49 AM
  2. Looking for an item......
    By Dailan in forum WoW Items & Quests
    Replies: 9
    Last Post: 08-23-2007, 10:44 AM
  3. Easy way to get more for your items/sell them
    By partytime0000 in forum WoW Scam Prevention
    Replies: 2
    Last Post: 06-24-2007, 02:19 PM
  4. +rep for quick item swap
    By Secondbanana in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 05-27-2007, 06:57 PM
  5. cant find blps for 2 items
    By nozzie in forum WoW ME Questions and Requests
    Replies: 4
    Last Post: 11-18-2006, 07:57 PM
All times are GMT -5. The time now is 08:53 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search