• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Custom naming NPCs/zombies

yungsock

Refugee
Hello, sorry if this is a silly easy question or already answered. I am wondering how to give custom names to NPCs and special zombies like Guns Nerds & Steel does for his Patrons. Thank you for any help with my clueless nature.

 
You can change the names that display in their health bar by editing Localization.txt.


That will work for zombies. NPC Core characters are different.

NPC Core characters have a list of names that are chosen randomly when the character is created. Those names are defined in the entity class XML for the character itself, in the character's "Names" property.

For example, here is the list of names for the NPC Core nurse character:

<property name="Names" value="Nancy,Nan,Nanny,Nanna,Ratchet,Nightingale" />




Those names are defined on each entity class, not on a "base" character template, so they would have to be changed on each. (For example, the nurse with an M60 and the nurse with a knife are two different entity classes.)

These are the entries that GNS changed to those of his supporters.

These names show up in the dialog boxes when talking to the characters. They do not show up in the health bars above each entity (assuming that is enabled). Those, like the zombies, are defined in Localization.txt.

 
Last edited by a moderator:
That will work for zombies. NPC Core characters are different.

NPC Core characters have a list of names that are chosen randomly when the character is created. Those names are defined in the entity class XML for the character itself, in the character's "Names" property.

For example, here is the list of names for the NPC Core nurse character:

<property name="Names" value="Nancy,Nan,Nanny,Nanna,Ratchet,Nightingale" />




Those names are defined on each entity class, not on a "base" character template, so they would have to be changed on each. (For example, the nurse with an M60 and the nurse with a knife are two different entity classes.)

These are the entries that GNS changed to those of his supporters.

These names show up in the dialog boxes when talking to the characters. They do not show up in the health bars above each entity (assuming that is enabled). Those, like the zombies, are defined in Localization.txt.
Thank you! I couldnt find this info anywhere and your explanation is much appreciated, thank you👍

 
Back
Top