Resolved How Can I Change the NPC Title Color?

Telol

Heir
Hello everyone,

I'm trying to change the title color of an NPC in my game/server, but I'm not sure which file or setting controls this. I've checked system /NpcName_classic but haven't found a clear option for modifying NPC title colors.
 
if you using legacy you need the npcname if you using the classic then you need the npcname_classic
I have tried everything, but the title color doesn’t change for certain NPCs on the server. I have modified both files, but nothing works. Is there any other way?
 
Did you manage to also change title color for custom npc(servermanager, npc buffer, class manager, etc) that is not listed on npcname client files?
 
Did you manage to also change title color for custom npc(servermanager, npc buffer, class manager, etc) that is not listed on npcname client files?
Yes, I tried, but I didn’t succeed. I used the NPCs that the server has, and the ones whose appearance I changed wouldn’t change their title.
I don’t know how to do it. If you’ve found the solution, could you tell me?
 
you can change only the title color of an npc.
you find or add npcs here NpcName_Classic-eu
their colors are made through reverse HEX
for server npcs with ID higher than 31000 you must use smaller numbers and place then on the list NpcName_Classic-eu accordingly
example like server buffer with id 40010 or gmshop with id 40013 -> first you change to something smaller ->then you add line with name and title in NpcName_Classic-eu

if it's wearing any weapon or shield (it' block's the npc title color and forces it to be white)
not true
 
Did you manage to also change title color for custom npc(servermanager, npc buffer, class manager, etc) that is not listed on npcname client files?
first: try to add your npcname and title color in npcname-classic.dat
second: look in the xml of this npc if it's wearing any weapon or shield (it' block's the npc title color and forces it to be white)

done.
 
Why is it taking the NPC name from the .xml (server) instead of from the client?
If I remember correctly there is a config parameter for this - it asks you if you want to read names from server or client side. Can't remember which .properties file.
 
If I remember correctly there is a config parameter for this - it asks you if you want to read names from server or client side. Can't remember which .properties file.

I enabled it in the config, but it still takes it from the server and not the client.


# Можно использовать имя и/или титул NPC установленный в бд сервера вместо клиентского
# По умолчанию выключено и используются клиентские
ServerSideNpcName = False
ServerSideNpcTitle = False
ServerSideMonsterTitleLvl = False
AgroMonsterNameRed = False
 
I enabled it in the config, but it still takes it from the server and not the client.


# Можно использовать имя и/или титул NPC установленный в бд сервера вместо клиентского
# По умолчанию выключено и используются клиентские
ServerSideNpcName = False
ServerSideNpcTitle = False
ServerSideMonsterTitleLvl = False
AgroMonsterNameRed = False
does your npc have this:


<set name="displayId" value="40013"/> "some NPCid"
?!?!
 
Back
Top