Documentation
Readme
View as plain text
NPCs React to Fire
-----------------
This SKSE-based plugin enables unused fire reaction voice lines for NPCs, regardless of whether the player has the "Intense Flames" perk.
In the vanilla game, these voice lines only trigger if the attacker has the vanilla Intense Flames perk. This means they are often never heard when using perk overhauls. This mod bypasses that requirement.
Voice lines will now play when the following conditions are met:
- The target is alive (not dead or in a bleedout state)
- The magic effect used has the "Fire Damage" keyword
- A valid topic exists for the target's voice type
This is a native code plugin written in C++. It does not use Papyrus scripts and is lightweight.
Code Only Runs when a magic effect has been applied on a actor and has magic fire damage keyword
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
(IF ANYONE KNOWS HOW TO MAKE A NPC SAY A LINE USING CommonLibSSENG pls lemme know! I want to make compatible for all versions)
CURRENTLY USING :
void PapyrusSay(RE::TESObjectREFR* target, RE::TESTopic* toSay, RE::Character* toSpeakAs, bool playerHead) {
if (target && toSay) {
using func_t = void (*)(std::int64_t, std::int64_t, RE::TESObjectREFR*, RE::TESTopic*, RE::Character*, bool);
static REL::Relocation<func_t> func{REL::VariantID(55689, 56220, 0x9D1470)}; //
return func(NULL, NULL, target, toSay, toSpeakAs, playerHead);
}
}
Requirements:
- SKSE64
- Skyrim Special Edition / Anniversary Edition / 1.6.70
Installation:
Install with a mod manager or manually drop the plugin into your SKSE/Plugins folder.
Notes:
This mod does not modify or override existing records. It uses runtime detection of the effect and target state to trigger the correct dialogue.
Author: [Your Name]