Feature Title
NPCs Names Distributor support
Motivation
Users were requesting a compatibility between QuickLoot IE and NND, specifically for a feature, where looting NPCs reveals their name. Quick Loot interface is not detected by NND and thus this revealing doesn't work.
Feature Description
Adding support for NND should be quite easy. An example of NND's API integration can be found here, but make sure to grab latest version of NND_API. In the example another mod is utilizing GetName function to retrieve distributed name for specific actor. In case of QuickLoot, you'd want to use RevealName function when appropriate (opening loot interface).
When done properly, this should make it so that with NND's Obscurity enabled, player would see something like "Bandit" when hovering crosshair over dead bandit, but once quick loot appears "Bandit" should be replaced with whatever real name NND had for that bandit. That part of API was never used previously 🙂 It should work, but in case it doesn't please let me know, so I can provide a fix on NND side.
Note: there is one caveat though, revealing of names in different situations NND are separately controlled by options in INI config. But unfortunately, NND_API doesn't provide any way to either read those settings nor to provide a specific reason to reveal the name (e.g. looting dead NPC, NPC talking to the player, or any other). As such, I'd advise to create such option on QuickLoot's side so that users could match this behavior in default interactions handled by NND as well as QuickLoot. Actually, technically, you can try reading this option directly from NPCsNamesDistributor.ini. The option is Obscurity:bObituary in the ini and is false by default if omitted in the ini (or ini isn't there). Additionally, if QuickLoot also works for pickpocketing a Obscurity:bStealing option controls revealing names there as well and is also false by default.
Hope I've described everything 🙂 Let me know if you'll have any further questions.
Additional Context
No response
Feature Title
NPCs Names Distributor support
Motivation
Users were requesting a compatibility between QuickLoot IE and NND, specifically for a feature, where looting NPCs reveals their name. Quick Loot interface is not detected by NND and thus this revealing doesn't work.
Feature Description
Adding support for NND should be quite easy. An example of NND's API integration can be found here, but make sure to grab latest version of NND_API. In the example another mod is utilizing
GetNamefunction to retrieve distributed name for specific actor. In case of QuickLoot, you'd want to useRevealNamefunction when appropriate (opening loot interface).When done properly, this should make it so that with NND's Obscurity enabled, player would see something like "Bandit" when hovering crosshair over dead bandit, but once quick loot appears "Bandit" should be replaced with whatever real name NND had for that bandit. That part of API was never used previously 🙂 It should work, but in case it doesn't please let me know, so I can provide a fix on NND side.
Note: there is one caveat though, revealing of names in different situations NND are separately controlled by options in INI config. But unfortunately, NND_API doesn't provide any way to either read those settings nor to provide a specific reason to reveal the name (e.g. looting dead NPC, NPC talking to the player, or any other). As such, I'd advise to create such option on QuickLoot's side so that users could match this behavior in default interactions handled by NND as well as QuickLoot. Actually, technically, you can try reading this option directly from
NPCsNamesDistributor.ini. The option isObscurity:bObituaryin the ini and isfalseby default if omitted in the ini (or ini isn't there). Additionally, if QuickLoot also works for pickpocketing aObscurity:bStealingoption controls revealing names there as well and is alsofalseby default.Hope I've described everything 🙂 Let me know if you'll have any further questions.
Additional Context
No response