Jump to content

Change Weapon Names In Game


calvin000

Recommended Posts

I would like to know if anyone could make this mod which would allow you to rename any weapon in your inventory to what you want like maybe by a nickname you refer it to or even just numbers. I would like this a lot if this mod already is out there someone link me.

Link to comment
Share on other sites

I think that might be tricky. The only way I know for the player to enter text is the special menumode where you name your character (showNameMenu). There is a setName function in NVSE for objects but I think it changes the baseID not a specific refID. And between those two is a giant gulf/chasm that I don't know how to bridge. Luthienanarion did something very similar (for actors) with his Renamer rifle, so something like it may be possible.

Link to comment
Share on other sites

The renamer rifle had an issue (minor for sure) that the player's name would display as whatever the last name typed in was until you restarted the game. Not even remotely game breaking, but it's there.

 

I've played with an idea of how to implement a keyboard input using a custom menu and a super tedious script that would watch for each keystroke and input them based on key (localization would be an issue, but not important right now). This would work, but would take a little bit of time to get going. Plus side would be it could be used anywhere, no need to reuse the player name menu. Down side is it would not be easily mod portable, it would need to be a master file that other mods could use.

 

The second major issue is what devin said. SetName renames the base form, not a reference to it. So every instance of that weapon in the game would get renamed. There's another sort of fix for this, that has its own set of issues. Short of it would be to make a clone of the weapon, rename the clone, then store the original base form and new name to be regenerated each time the game is restarted (clones are not persistent). There are a host of problems that I have yet to figure out with this, such as what happens if the weapon is put in a container, etc.

Link to comment
Share on other sites

I've played with an idea of how to implement a keyboard input using a custom menu and a super tedious script that would watch for each keystroke and input them based on key

Would you be able to feed the txt input back into a game asset like a note or terminal entry? I know a lot of people would be ecstatic for some form of a diary.

Link to comment
Share on other sites

Making notes and stuff is beyond anything we can do right now with scripting. What could be done would be to store strings in arrays, and maybe write a custom menu or just use message boxes to create a journal mod.
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...