I added this to my files , And I thought it will be nice to share this here .
Example:
Go to Source\_Interface\WndField.cpp
After that, add #define _THOUSANDER_STATUS to Neuz "VersionCommon.h"
In case you're using Ketchup V15 & V18 files, add the define to "kCommon.h" too.
Enjoy
hope this will help some.
Example:
You must be registered to see links
Go to Source\_Interface\WndField.cpp
Under the function
Replace the
with:
p2DRender->TextOut( x - (int)(nCharFP*5.8f), lpFP->rect.top - nTopGap, cbufFp, dwColor, 0xff000000 );
Replace the
else
{
}
with:
#ifdef _THOUSANDER_STATUS
{
if( pMover->GetHitPoint() >= 10000 && pMover->GetHitPoint() < 1000000 )
nCharHP = wsprintf(cbufHp, "%dk", pMover->GetHitPoint() / 1000);
else if( pMover->GetHitPoint() >= 1000000 )
nCharHP = wsprintf(cbufHp, "%dm", pMover->GetHitPoint() / 1000000);
else
nCharHP = wsprintf(cbufHp, "%d", pMover->GetHitPoint() );
if( pMover->GetManaPoint() >= 10000 && pMover->GetManaPoint() < 1000000 )
nCharMP = wsprintf(cbufMp, "%dk", pMover->GetManaPoint() / 1000);
else if( pMover->GetManaPoint() >= 1000000 )
nCharMP = wsprintf(cbufMp, "%dm", pMover->GetManaPoint() / 1000000);
else
nCharMP = wsprintf(cbufMp, "%d", pMover->GetManaPoint() );
if( pMover->GetFatiguePoint() >= 10000 && pMover->GetFatiguePoint() < 1000000 )
nCharFP = wsprintf(cbufFp, "%dk", pMover->GetFatiguePoint() / 1000);
else if( pMover->GetFatiguePoint() >= 10000 )
nCharFP = wsprintf(cbufFp, "%dm", pMover->GetFatiguePoint() / 1000000);
else
nCharFP = wsprintf(cbufFp, "%d", pMover->GetFatiguePoint() );
int x = lpHP->rect.right - 82;
p2DRender->TextOut( x - (int)(((float)nCharHP / 2.0f) * size.cx), lpHP->rect.top - nTopGap, cbufHp, dwColor, 0xff000000 );
p2DRender->TextOut( x - (int)(((float)nCharMP / 2.0f) * size.cx), lpMP->rect.top - nTopGap, cbufMp, dwColor, 0xff000000 );
p2DRender->TextOut( x - (int)(((float)nCharFP / 2.0f) * size.cx), lpFP->rect.top - nTopGap, cbufFp, dwColor, 0xff000000 );
if( pMover->GetHitPoint() >= 10000 && pMover->GetHitPoint() < 1000000 )
nCharHP = wsprintf(cbufHp, "%dk", pMover->GetHitPoint() / 1000);
else if( pMover->GetHitPoint() >= 1000000 )
nCharHP = wsprintf(cbufHp, "%dm", pMover->GetHitPoint() / 1000000);
else
nCharHP = wsprintf(cbufHp, "%d", pMover->GetHitPoint() );
if( pMover->GetManaPoint() >= 10000 && pMover->GetManaPoint() < 1000000 )
nCharMP = wsprintf(cbufMp, "%dk", pMover->GetManaPoint() / 1000);
else if( pMover->GetManaPoint() >= 1000000 )
nCharMP = wsprintf(cbufMp, "%dm", pMover->GetManaPoint() / 1000000);
else
nCharMP = wsprintf(cbufMp, "%d", pMover->GetManaPoint() );
if( pMover->GetFatiguePoint() >= 10000 && pMover->GetFatiguePoint() < 1000000 )
nCharFP = wsprintf(cbufFp, "%dk", pMover->GetFatiguePoint() / 1000);
else if( pMover->GetFatiguePoint() >= 10000 )
nCharFP = wsprintf(cbufFp, "%dm", pMover->GetFatiguePoint() / 1000000);
else
nCharFP = wsprintf(cbufFp, "%d", pMover->GetFatiguePoint() );
x = lpHP->rect.right - 30;
p2DRender->TextOut( x - (int)(((float)nCharHP / 2.0f) * size.cx), lpHP->rect.top - nTopGap, cbufHp, dwColor, 0xff000000 );
p2DRender->TextOut( x - (int)(((float)nCharMP / 2.0f) * size.cx), lpMP->rect.top - nTopGap, cbufMp, dwColor, 0xff000000 );
p2DRender->TextOut( x - (int)(((float)nCharFP / 2.0f) * size.cx), lpFP->rect.top - nTopGap, cbufFp, dwColor, 0xff000000 );
LPWNDCTRL lpHP = GetWndCtrl( WIDC_CUSTOM1 );
int nWidthCustom = lpHP->rect.Width();
int nGap = (int)( ((nWidthCustom / 2.0f) + (size.cx / 2.0f)) );
p2DRender->TextOut( lpHP->rect.right - nGap, lpHP->rect.top - nTopGap, "/", dwColor, 0xff000000 );
p2DRender->TextOut( lpMP->rect.right - nGap, lpMP->rect.top - nTopGap, "/", dwColor, 0xff000000 );
p2DRender->TextOut( lpFP->rect.right - nGap, lpFP->rect.top - nTopGap, "/", dwColor, 0xff000000 );
}
#endif //_THOUSANDER_STATUS
After that, add #define _THOUSANDER_STATUS to Neuz "VersionCommon.h"
In case you're using Ketchup V15 & V18 files, add the define to "kCommon.h" too.
Enjoy
hope this will help some.
Last edited: