Valve Posted October 25, 2011 Share Posted October 25, 2011 How to change the color from that retail light green to anything else ? Quote Link to comment Share on other sites More sharing options...
0 Darule Posted October 25, 2011 Share Posted October 25, 2011 AbstractNpcInfo.java -> \l2jserver\gameserver\network test this lines writeD(0x00); // Title color 0=client default writeD(0x00); //pvp flag writeD(0x00); // karma writeD(_npc.getAbnormalEffect()); // C2 writeD(_clanId); //clan id writeD(_clanCrest); //crest id writeD(_allyId); // ally id writeD(_allyCrest); // all crest writeC(_npc.isFlying() ? 2 : 0); // C2 writeC(0x00); // title color 0=client Quote Link to comment Share on other sites More sharing options...
0 Valve Posted October 25, 2011 Author Share Posted October 25, 2011 AbstractNpcInfo.java -> \l2jserver\gameserver\network test this lines writeD(0x00); // Title color 0=client default writeD(0x00); //pvp flag writeD(0x00); // karma writeD(_npc.getAbnormalEffect()); // C2 writeD(_clanId); //clan id writeD(_clanCrest); //crest id writeD(_allyId); // ally id writeD(_allyCrest); // all crest writeC(_npc.isFlying() ? 2 : 0); // C2 writeC(0x00); // title color 0=client I want do change title color only for specific npcs... it's client side or server side ? Quote Link to comment Share on other sites More sharing options...
0 Godly Posted October 25, 2011 Share Posted October 25, 2011 I think that its both client and server side. Quote Link to comment Share on other sites More sharing options...
0 Darule Posted October 25, 2011 Share Posted October 25, 2011 I want do change title color only for specific npcs... it's client side or server side ? Then you must create a config where you will place the npc's id and their new color. Or check the NpcName-e.dat and play with the RGB configs there are 3 colors for each npc try to change them and see what happens. If you dont want to mess with ur system then u will have to do it from core. Quote Link to comment Share on other sites More sharing options...
0 Simmo Posted October 25, 2011 Share Posted October 25, 2011 npcname-e.dat thing doesn't work. Quote Link to comment Share on other sites More sharing options...
0 Darule Posted October 25, 2011 Share Posted October 25, 2011 npcname-e.dat thing doesn't work. What exactly did u changed on what? Did u spawn the right npc? I just want to know that u did it right to be sure about it. Quote Link to comment Share on other sites More sharing options...
0 Simmo Posted October 25, 2011 Share Posted October 25, 2011 Yes I done it correctly, even tried setting serverside title to 0 on all npcs. 9C E8 A9 is the most common value. 9CE8A9 is the green colour. so find+replacing those with other values does not work. Even tried changing reserved from -1 to 0 to 1. still nothing. Quote Link to comment Share on other sites More sharing options...
0 Darule Posted October 25, 2011 Share Posted October 25, 2011 Then maybe u should try the core side, although i still have some doubts if its not possible through client modding, ill test it tomorrow too from client side and if it wont work ill try to make a code for custom npc color title with config and share it .. probly :D Quote Link to comment Share on other sites More sharing options...
0 Simmo Posted October 25, 2011 Share Posted October 25, 2011 Hmm, i'll snoop around the files and let you know if i find anything. Quote Link to comment Share on other sites More sharing options...
Question
Valve
How to change the color from that retail light green to anything else ?
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
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.