Skip to content

Help-Title

Featured Replies

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

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

  • Author

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.

  • Author

So,is it possible only through client modding?

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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.