[HELP]How to enable Legend icon in source?
Re: [HELP]How to enable Legend icon in source?
Quote:
Originally Posted by
FrenzyObz
hi guys..as title said..how to put or enable in source of Legend icon?because..when im level 150..it's still hero icon..i hope somebody will answer my quest..:blush:
Find the line
Code:
else if(checkhero == LEGEND_CLASS_HERO) //¿µ¿õÀÏ °æ¿ì.
and add below
Code:
#if __VER >= 16 //__3RD_LEGEND16
else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 130 && m_nLevel < 140)
{
strPath = MakePath( DIR_ICON, "icon_Hero.dds");
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
// pTexture = g_Neuz.m_pLegendIcon[0];
if(pTexture != NULL)
{
point.y -= pTexture->m_size.cy + 5;
pTexture->Render( &g_Neuz.m_2DRender, point );
}
}
else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 140 && m_nLevel < 150)
{
strPath = MakePath( DIR_ICON, "name of your icon");
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
// pTexture = g_Neuz.m_pLegendIcon[1];
if(pTexture != NULL)
{
point.y -= pTexture->m_size.cy + 5;
pTexture->Render( &g_Neuz.m_2DRender, point );
}
}
#endif // __3RD_LEGEND16
Re: [HELP]How to enable Legend icon in source?
Quote:
Originally Posted by
trashee09
Find the line
Code:
else if(checkhero == LEGEND_CLASS_HERO) //¿µ¿õÀÏ °æ¿ì.
and add below
Code:
#if __VER >= 16 //__3RD_LEGEND16
else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 130 && m_nLevel < 140)
{
strPath = MakePath( DIR_ICON, "icon_Hero.dds");
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
// pTexture = g_Neuz.m_pLegendIcon[0];
if(pTexture != NULL)
{
point.y -= pTexture->m_size.cy + 5;
pTexture->Render( &g_Neuz.m_2DRender, point );
}
}
else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 140 && m_nLevel < 150)
{
strPath = MakePath( DIR_ICON, "name of your icon");
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
// pTexture = g_Neuz.m_pLegendIcon[1];
if(pTexture != NULL)
{
point.y -= pTexture->m_size.cy + 5;
pTexture->Render( &g_Neuz.m_2DRender, point );
}
}
#endif // __3RD_LEGEND16
...
Didnt like everyone got that idea from iFlyff x.x?
eFlyff doesnt have a icon for that lol.
Re: [HELP]How to enable Legend icon in source?
Quote:
Originally Posted by
MisterKid
...
Didnt like everyone got that idea from iFlyff x.x?
eFlyff doesnt have a icon for that lol.
I didn't get that idea from anything o.o just came up with it.
after looking through eFlyff's icons and finding nothing though, I made my own
Re: [HELP]How to enable Legend icon in source?
Quote:
Originally Posted by
trashee09
Find the line
Code:
else if(checkhero == LEGEND_CLASS_HERO) //¿µ¿õÀÏ °æ¿ì.
and add below
Code:
#if __VER >= 16 //__3RD_LEGEND16
else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 130 && m_nLevel < 140)
{
strPath = MakePath( DIR_ICON, "icon_Hero.dds");
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
// pTexture = g_Neuz.m_pLegendIcon[0];
if(pTexture != NULL)
{
point.y -= pTexture->m_size.cy + 5;
pTexture->Render( &g_Neuz.m_2DRender, point );
}
}
else if(checkhero == LEGEND_CLASS_LEGENDHERO && m_nLevel >= 140 && m_nLevel < 150)
{
strPath = MakePath( DIR_ICON, "name of your icon");
pTexture = CWndBase::m_textureMng.AddTexture( g_Neuz.m_pd3dDevice, strPath, 0xffff00ff );
// pTexture = g_Neuz.m_pLegendIcon[1];
if(pTexture != NULL)
{
point.y -= pTexture->m_size.cy + 5;
pTexture->Render( &g_Neuz.m_2DRender, point );
}
}
#endif // __3RD_LEGEND16
not working trashee..:*:
Re: [HELP]How to enable Legend icon in source?
copy/pasting that code won't make it work. you have to change the following line:
Code:
strPath = MakePath( DIR_ICON, "name of your icon");
be sure to put the icon in your Icon folder
Re: [HELP]How to enable Legend icon in source?
gives error when compiling
Re: [HELP]How to enable Legend icon in source?
MoverRender.cpp
i change the name of icon to this..Legend_Mark.png..
Re: [HELP]How to enable Legend icon in source?
frenzy, try reading the error -.-*
LEGEND_CLASS_LEGENDHERO is not defined. I don't know what source you're using, but that's not what my source uses. Mine is LEGEND_CLASS_LEGEND_HERO (notice the 3rd '_' character in it).
Change all of those in the coding you added to that, and it might fix it. If not, then I don't know what to do.
Re: [HELP]How to enable Legend icon in source?
Quote:
Originally Posted by
MisterKid
...
Didnt like everyone got that idea from iFlyff x.x?
eFlyff doesnt have a icon for that lol.
iFlyff coded v16 after April 2011, Demon had it in October or November 2010(a few days after v16 OBT was released in Korea). It's also fairly natural for Legend to have its own icon as Master/Hero do.
Re: [HELP]How to enable Legend icon in source?
Quote:
Originally Posted by
ShadowDragon42
frenzy, try reading the error -.-*
LEGEND_CLASS_LEGENDHERO is not defined. I don't know what source you're using, but that's not what my source uses. Mine is LEGEND_CLASS_LEGEND_HERO (notice the 3rd '_' character in it).
Change all of those in the coding you added to that, and it might fix it. If not, then I don't know what to do.
ok...trying to fixed it now..ill just update if theres another erro..
Re: [HELP]How to enable Legend icon in source?
Try This :
"Neuz.h"
Find this
Then Paste this under it:
"Neuz.cpp"
Find This:
Then paste this under it:
MoverRender.cpp
Go to :
You will find codes under it replace them with this :
I hope it works to you coz it works better in mine.
Re: [HELP]How to enable Legend icon in source?
hi guys...where should i define this?
Moverrender.cpp