Jump to content

Custom naming NPCs/zombies


Recommended Posts

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.

Link to comment
Share on other sites

1 hour ago, seven said:

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.

Edited by khzmusik (see edit history)
Link to comment
Share on other sites

16 hours ago, khzmusik said:

 

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👍

Link to comment
Share on other sites

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...