About Better NPC Names
Better NPC Names wil give the nameless NPC's a title and/or name instead of their id number or NPC type.
And has API to monetize your npc naming if other plugins are willing to use it.
Features :
- Setup custom titles
- Names will be generated on random
- Generated names will be having a Uppercase first letter
- A random initial can be generated.
- Set up how you want your npc name to be
- This will not modify existing custom npc names
- Corpse name will be having the npc full title and name instead of the generic Scarecrow or Scientist titles
- Option to use a player corpse panel instead of a simple box panel. (New v1.1.4)
- Does not interfere with BotReSpawn npc's
- Waits for server to be fully initiated after a restart or wipe before naming the npc
- When other plugins use the API the Name Buildup will be used from this config monetizing the npc names
- Now supports individual scientist type Titles (1.2.5)
Extra Bonus Features :
- Corpses of the npc will contain skulls body fat and human meat
- Corpses will take over npc inventory from custom npc
- Option to clear default loot
- Option to clear Beltbar items
- Option to clear Clothingbar items
- API support for other plugins
Configuration :
- {Title} : Uses the [Npc Titles] variables for each type
- {RandomName} : Uses the location for the generated name
- {RandomLetter} : Location for a initial
You can change the naming order around , see the examples below :
- "{Title} {RandomName} {RandomLetter}"
- "{RandomName} {RandomLetter}"
- "{Title} {RandomLetter} {RandomName}"
- "{Title} {RandomName}"
{ "Use Debug": false, "Name the npcplayertest": false, "Npc Titles": { "Frankenstein": "Frankenstein", "Scarecrow": "Scarecrow", "Scientist (Global fallback)": "Dr", "Scientists individual": { "scientistnpc_arena": "Gladiator", "scientistnpc_bradley": "Guard", "scientistnpc_bradley_heavy": "Heavy Guard", "scientistnpc_cargo": "Cargo Sailor", "scientistnpc_cargo_turret_any": "Cargo Officer", "scientistnpc_cargo_turret_lr300": "Cargo Guard", "scientistnpc_ch47_gunner": "Airman", "scientistnpc_excavator": "Digger", "scientistnpc_full_any": "Rougue", "scientistnpc_full_lr300": "Riflemen", "scientistnpc_full_mp5": "Trooper", "scientistnpc_full_pistol": "Gunman", "scientistnpc_full_shotgun": "Gunner", "scientistnpc_heavy": "Fatty", "scientistnpc_junkpile_pistol": "Junker", "scientistnpc_oilrig": "Oiler", "scientistnpc_outbreak": "Investigator", "scientistnpc_patrol": "Patroller", "scientistnpc_patrol_arctic": "Arctic", "scientistnpc_peacekeeper": "Peacekeeper", "scientistnpc_ptboat": "Sailor", "scientistnpc_rhib": "Frogmen", "scientistnpc_roam": "Roamer", "scientistnpc_roam_nvg_variant": "Nightswatch", "scientistnpc_roamtethered": "Tethered" }, "UnderwaterDweller": "UnderwaterDweller", "TunnelDweller": "TunnelDweller", "GingerbreadNPC": "Ginger", "npcplayertest": "playertest" }, "Name Buildup": "{Title} {RandomName} {RandomLetter}", "Corpse setup": { "Clear Deafault loot": false, "Clear Belt": false, "Clear Clothes": false } }
API :
string GiveName(global::HumanNPC npc, string Title,bool UseName,bool UseLetter) string GiveName(ScarecrowNPC npc, string Title,bool UseName,bool UseLetter)
example call :
if (BetterNpcNames != null) npc.displayName = (BetterNpcNames.Call<string>("GiveName",npc , configData.NpcTitle, true, true));
