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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..