Quote:
Originally Posted by WooTheFck
How do i enable legend icon on RoC source. Because when i reach 150 didnt show Legend Icon.
thanks.
|
Open:
Source\_Common\MoverRender.cpp
Find this:
Quote:
else if(checkhero == LEGEND_CLASS_HERO) //їµїхАП °жїм.
{
//strPath = MakePath( DIR_ICON, "icon_Hero.dds");
//pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
pTexture = g_Neuz.m_pHeroIcon;
if(pTexture != NULL)
{
point.y -= pTexture->m_size.cy + 5;
pTexture->Render( &g_Neuz.m_2DRender, point );
}
}
|
And below add this:
Quote:
#ifdef __3RD_LEGEND16
else if(checkhero == LEGEND_CLASS_LEGENDHERO) //їµїхАП °жїм.
{
strPath = MakePath( DIR_ICON, "Your Icon Name");
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
//pTexture = g_Neuz.m_pHeroIcon;
if(pTexture != NULL)
{
point.y -= pTexture->m_size.cy + 5;
pTexture->Render( &g_Neuz.m_2DRender, point );
}
}
#endif // __3RD_LEGEND16
|
Rebuild.
And add "
Your Icon Name. Example: "LegendIcon.png)" in the client(Item folder)