Jump to content
Sign in to follow this  
Susux

[Help]GEM

Recommended Posts

Hi pkodev family!

 

I need help for Gem names color changing..

anyone can share me guide how to do it.that will be nice.

like on that pics..

 

1.jpg

Edited by Susux

Share this post


Link to post
Share on other sites

Hello! There's not a guide for creating that since it requires c++ knowledge and source code edition. If you want to do that you should learn how to work with source code(client-side) or pay someone for creating this modification for u, it's client-side.


lelouch_signature_by_vahntheknight-d4uafwj.png

Share this post


Link to post
Share on other sites

void CItemCommand::AddHint( int x, int y )
function responsible for rendering the hint displayed when an item is hovered

Inside said function contains snippet of code that loops through stones:
CStoneInfo* pStoneInfo = NULL;

DWORD color = -1;

int nCount = CStoneSet::I()->GetLastID() + 1;

for( int i=0; i<nCount; i++ )
{ ... 
PushHint( buf, color, 5, 1);
// buf - the string to be rendered onto the hint
// color - the color
// 5 - height
// 1 - font
...}

  • Like 1

kong.png

a2.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...