Morrowind
0 of 0

File information

Last updated

Original upload

Created by

Stripes

Uploaded by

NoUsernamesNotTaken

Virus scan

Safe to use

About this mod

Aleist3r's name generator adapted to give names to generic NPCs

Permissions and credits
Changelogs
Utilizing Aleist3r's name generator code this mod assigns a random proper name to any NPC of a vanilla race that has a generic name.

Morrowind cannot change the name on the reference NPC only its base object, which isnt ideal for this use case. So this mod fakes it by overriding the tool tip and the dialogue menu header. It does not yet fix %name in the dialogue text.

Name data is saved on the NPC in your save game file so they will keep the name throughout the playthrough.

The goal of this mod is to be a stand alone functioning mod that can be utilized by other mods. It will be required by another project of mine in the near future.

Not all of the planned features are finished. Hoping to get an MCM and interop but will take some time as I broke the mod at every function lol so this release version is an earlier work in progress version, basically a mockup, a proof of concept if you will, but it works.

Credits:
Aleist3r for the random name generator data and code and generous permission to use it.
Ohayo for tooltip and menu title code

Modders:

To use this you don't have to know how to code, just give your NPC a generic name found in the table below. The name, NOT the ID. (Future plans to include an interop for ID)
note: names are case sensitive

Players:
Future plans to include mod config menu to allow toggling each name. In the mean time you can open the main.lua file with notepad or other txt editor and comment out or add entries to the nameTable.

It's the first table and at the very top of the script. Use 2 dashes -- to make a line a comment.
And dont forget the commas, except the last entry, it shouldn't get a comma.
note: names are case sensitive

Example commenting out NPCs:

local nameTable = {
    "random",
    "rng",
    "Bandit",
    "Griefer",
    "Bounty Hunter",
    "Guard",
    "Guard Captain",
    "Imperial Archer",
    "Legion Archer",
    "Legion Battlemage",
    "Legion Captain",
    "Legion Soldier",
    "Ordinator",
    "Ordinator Guard",
    "Ordinator in Mourning",
    "War Ordinator",
    "High Ordinator",
    "Hlaalu Guard",
    "Hlaalu Sharpshooter Guard",
    "Indoril Guard",
    "Redoran Guard",
    "Redoran Watchman",
    "Royal Guard",
    "Duke's Guard",
    "Telvanni Guard",
    "Telvanni Sharpshooter",
    "Telvanni War Wizard",
    "Buoyant Armiger",
    "Smuggler",
    "Egg Miner",
    "Miner",
    "Female Imperial Innocent",
    "Female Nord Innocent",
    "Rogue Necromancer",
    "Necromancer's Apprentice",
    "Skaal Honor Guard",
    "Skaal Hunter",
    "Skaal Tracker",
    "Thirsk Worker",
    "Reaver",
    "Berserker",
    "Fryse Hag",
    "Worshipper",
    "Roamer",
    "Roamer Chief",
    "Wandering Idiot",
    "Wandering Lunatic",
    "Insane Wanderer",
    "Gibbering Lunatic",
    "Confused Lunatic",
    "Dreamer",
    "Dreamer Guard",
    "Dreamer Prophet",
    "Dreamer Worker",
    "Vampire",
    "Cattle",
    --"Assassin",
    --"Dark Brotherhood Journeyman",
    --"Dark Brotherhood Apprentice",
    --"Dark Brotherhood Operator",
    --"Dark Brotherhood Punisher",
    --"Dark Brotherhood Assassin",
    "Dead Body",
    "Dead Hero",
    "Dead Adventurer",
    "Dead Dreamer",
    "Dead Egg Miner",
    "Dead Miner",
    "Dead Elite Ordinator",
    "Dead Ordinator",
    "Dead Smuggler",
    "Dead Warlock",
    --"Umbra",
    "RNG"
    }