Misaligned Item Grade

Status
Not open for further replies.
⚠️
Self Deleted
Joined
Mar 1, 2021
Messages
12
Reaction score
0
Hi Ragezone,

Good Day.

May I request your assistance with my issue. Item grade logo is misaligned on all items. I already tried the item_edge but still show as misaligned.

#ifdef __ITEM_GRADE_EDGE
if (pItemElem->GetProp()->dwItemGrade == (DWORD)200)
{
CTexture* EdgeTexture;
EdgeTexture = m_textureMng.AddTexture(D3DDEVICE, MakePath(DIR_ITEM, "Item_EdgeUnique.dds"), 0xffff00ff);
EdgeTexture->Render(p2DRender, CPoint(x * 35, (y * 35) + 4), 255);
}
else if (pItemElem->GetProp()->dwItemGrade == (DWORD)300)
{
CTexture* EdgeTexture;
EdgeTexture = m_textureMng.AddTexture(D3DDEVICE, MakePath(DIR_ITEM, "Item_EdgeUltimate.dds"), 0xffff00ff);
EdgeTexture->Render(p2DRender, CPoint(x * 35, (y * 35) + 4), 255);
}
else if (pItemElem->GetProp()->dwItemGrade == (DWORD)400)
{
CTexture* EdgeTexture;
EdgeTexture = m_textureMng.AddTexture(D3DDEVICE, MakePath(DIR_ITEM, "Item_EdgeBaruna.dds"), 0xffff00ff);
EdgeTexture->Render(p2DRender, CPoint(x * 35, (y * 35) + 4), 255);
}
#endif //__ITEM_GRADE_EDGE

misaligned edg - Misaligned Item Grade - RaGEZONE Forums
 
Hi Ragezone,

Good Day.

May I request your assistance with my issue. Item grade logo is misaligned on all items. I already tried the item_edge but still show as misaligned.

#ifdef __ITEM_GRADE_EDGE
if (pItemElem->GetProp()->dwItemGrade == (DWORD)200)
{
CTexture* EdgeTexture;
EdgeTexture = m_textureMng.AddTexture(D3DDEVICE, MakePath(DIR_ITEM, "Item_EdgeUnique.dds"), 0xffff00ff);
EdgeTexture->Render(p2DRender, CPoint(x * 35, (y * 35) + 4), 255);
}
else if (pItemElem->GetProp()->dwItemGrade == (DWORD)300)
{
CTexture* EdgeTexture;
EdgeTexture = m_textureMng.AddTexture(D3DDEVICE, MakePath(DIR_ITEM, "Item_EdgeUltimate.dds"), 0xffff00ff);
EdgeTexture->Render(p2DRender, CPoint(x * 35, (y * 35) + 4), 255);
}
else if (pItemElem->GetProp()->dwItemGrade == (DWORD)400)
{
CTexture* EdgeTexture;
EdgeTexture = m_textureMng.AddTexture(D3DDEVICE, MakePath(DIR_ITEM, "Item_EdgeBaruna.dds"), 0xffff00ff);
EdgeTexture->Render(p2DRender, CPoint(x * 35, (y * 35) + 4), 255);
}
#endif //__ITEM_GRADE_EDGE

View attachment 169999

__ITEM_GRADE_EDGE has nothing to do with the issue your having.
 
Hi Ketchup,

Ok, so I guess I was wrong. What controls the position of the item_grade edge and where can I find it?

Again: __ITEM_GRADE_EDGE has nothing to do with the issue.

The issue is most likely in tooltip and it needs to be made wider but this issue has nothing to do with said system.
 
Status
Not open for further replies.
Back