Modhold
Skyrim SE
Freev1.0.0

NPC Reference Renamer (NRR)

A small utility that lets you rename an NPC in game and fix blank names.

DJ OMAC3 @djomac
1Unique downloads
1Downloads
5Views
0Vouches
–no scores yetScore
Overview

This is a small tool I made for myself using AI. I figured I would share it. I'm not a programmer, but I will support this as best I can.

There are several naming tools for Skyrim, but the ones I found were either expansive renaming mods that allow you to rename everything, had serious bugs, or used a large name distribution system. I just wanted something simple that lets you rename a couple of NPCs in-game.

The other issue is some of these renamers change the actual base name. For example, let's say you wanted to make a copy of a bandit and then turn them into a follower. Easily done, but you might want them to have a unique name like Matilda. However, if you change the base name to Matilda, then you would see bandits spawning with that name too.

Instead, this mod changes the display name and does not touch the base name. This tool will let you rename actors in general, which includes animals, dragons and dynamically spawned NPCs with FFxxxxxx reference IDs. Renamed NPCs retain their names across saves and reloads. However, if Skyrim resets, deletes, or replaces a dynamically spawned NPC, its replacement won't automatically inherit the custom name.

This tool may also help fix an NPC with the blank name bug (see the Technical Stuff section).

**I would not use this on named NPCs, especially ones involved in quests.**

Installation and Use

Install the required mods.
Install with your mod manager.

In game, aim your crosshair at an NPC and hit the hotkey. The default is shift+T, but you can change that in the .json file included with this mod. A textbox will appear on screen for you to enter the new name. When renaming someone, make sure you don't have a different NPC selected in the console.

If you can't get an NPC under your crosshair, you can also select them in the console, close the console, and then press the hotkey.

After renaming an NPC, look away and then back at them to see their updated name.

A

Technical Stuff

This mod uses the SKSE Papyrus function ObjectReference.SetDisplayName() to change an individual actor's displayed name without modifying its underlying NPC base record. The change is persistent in the save game.

Both SKSE's SetDisplayName() and Skyrim's quest-alias display naming interact with the reference's ExtraTextDisplayData. This is why conflicts can occur when a quest alias attempts to control the same NPC's displayed name. The SetDisplayName() function has a force parameter: if force=false, the rename can fail; if you use force=true, you can overwrite an alias-generated name and potentially interfere with the quest's intended display name.

This mod uses force=false to avoid overriding quest aliases that control an NPC's display name. This reduces the risk of interfering with quest-related naming, although it cannot guarantee compatibility with every quest or follower mod.

Mods that handle display names incorrectly may cause an issue. An example is with My Home is Your Home. MHiYH has a bug where its quest alias has Uses Stored Text enabled without actually supplying a replacement display name. That can cause names modified by another mod to disappear and end up blank.  This in turn causes you not to be able to interact with that NPC. However, you may be able to fix that with this mod.

In my testing, I reproduced the problem by assigning a home through MHiYH, which caused the NPC's name to go blank, and then used this tool to restore the name. However, this may not work in every situation, particularly if a quest alias is still controlling the display name. In those cases, you may need to resolve the underlying quest-alias issue. This might involve completing the relevant quest or using xEdit to remove an incorrectly configured "Uses Stored Text" flag from an alias that doesn't have a Display Name assigned. Only make that change if you've confirmed the flag is unnecessary.

BTW, if you use MHiYH, then I would recommend using this patch that fixes this bug:
[My Home is Your Home - Blank Name Fix](https://www.nexusmods.com/skyrimspecialedition/mods/101127)

Requirements

Credits

Looking at all these helped me plan out how I wanted to do this mod, so I feel like they deserve some cred:

  • Jaxonz Renamer
  • Paradise Halls Enhanced (PAHE)
  • Simple Renamer by sinzzz
  • My Home is Your Home - Blank Name Fix by Robin595

Permissions

Patches and translations welcome. List this mod as a required mod on your page, link it and credit me.

Before you download

This mod needs other mods

NPC Reference Renamer (NRR) needs these to work. Download and install them too.

Required 3

Modhold needs you: authors wanted
Modhold is growing

Authors, we need you

Players are joining every day and they're looking for mods. Post yours on a site with written rules, fair moderation and free downloads for players. Nothing gets pulled for the tools you used.

86Joined today
947Joined all time