Jump to content
  • 0

Help-Title


Question

Posted

Hello,

 

I m trying to change the title color of NPCs but i havent found any idea or share.

Should i try the same with pcinstance color?

Help would be appreciated :P

6 answers to this question

Recommended Posts

  • 0
Posted

AbstractNpcInfo.NpcInfo contains a writeD call for the npc title color:

writeD(0x00); // Title color 0=client default

So, you may add a new int field to L2Npc where you can store the title color (0 by default) and instead write writeD(0x00) just write, for example, writeD(npc.getTitleColor());

 

where getTitleColor() would return such new int field

  • 0
Posted

AbstractNpcInfo.NpcInfo contains a writeD call for the npc title color:

writeD(0x00); // Title color 0=client default

So, you may add a new int field to L2Npc where you can store the title color (0 by default) and instead write writeD(0x00) just write, for example, writeD(npc.getTitleColor());

 

where getTitleColor() would return such new int field

 

Biggboss,

 

I tried this alrdy before i post here but title does not appear when i change it.

  • 0
Posted

the only way to change the npc color server-side is by sending the proper information from the server to the client (which means, packet sending). if it didnt work for you, maybe is only avaliable with client mod

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.



×
×
  • Create New...