yungsock Posted May 7, 2023 Share Posted May 7, 2023 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 More sharing options...
seven Posted May 8, 2023 Share Posted May 8, 2023 You can change the names that display in their health bar by editing Localization.txt. Link to comment Share on other sites More sharing options...
khzmusik Posted May 8, 2023 Share Posted May 8, 2023 (edited) 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 May 8, 2023 by khzmusik (see edit history) 1 Link to comment Share on other sites More sharing options...
yungsock Posted May 8, 2023 Author Share Posted May 8, 2023 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👍 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now