Skyrim Special Edition

File information

Last updated

Original upload

Created by

team blackout

Uploaded by

onvil

Virus scan

Safe to use

Tags for this mod

About this mod

unofficial addon to Precision - Accurate Melee Conditions which adds a framework for locational damage using .yaml files.

Requirements
Permissions and credits
Changelogs
THIS PROBABLY DOESNT WORK AND IM NOT GOING TO FIX IT ANY TIME SOON

unofficial addon to Precision - Accurate Melee Conditions which adds a framework for locational damage using .yaml files


this mod doesn't do anything by itself (unless you use the optional file)


locational damage effects are entries that have to be made by an author so if you aren't making any effects, you may want to come back after some configurations hopefully come out

presumably you could use this alongside your favorite injury system, where this framework handles getting hit and applying the effects that require bandaging or tourniquets or whatever

using the framework


hit effects are contained in .yaml files that have a "_PLD" suffix
your configuration will not be read if it does not have a "_PLD" suffix

they are set up as following:

  • a flat damage multiplier
  • a spell to apply
  • any keywords the attacker's weapon must have
  • if the attack must be a power attack
  • if the attack must be a critical hit
  • *vrey improtant* the node name(s) the collision must have in order to apply the aforementioned spell and damage multiplier

the effects can be spread among different .yaml files so you don't have to have one 1000-line configuration file

i've made and included an optional mod using this framework to add locational damage to humanoid actors to hopefully jumpstart other people's efforts in making their own configurations


limitations


  • this framework kind of relies on the collision you're hitting having node names
so for simple actors like wisps you shouldnt expect locational damage to ever happen





the following is a copy-paste of the optional file's .yaml, serving as a mini tutorial for making your own hit effects

# consider this a tutorial on formatting your hit effect(s)
# any additional conditions you might want should be conditioned or scripted in the magic effect
# entries begin with a hyphen(-)



# head "concussion" effect
# temporarily lowers magicka and shout regeneration speed
# only applies when using weapons with mace or warhammer keywords
-
# flat multiplier to the damage received by collision
  damageMult: 1.1
# keywords that the weapon must have to apply the effect
# can be an array or single entry
  weaponKeywords:
  # weaptypemace
  - "Skyrim.esm|0x1E714"
  # weaptypewarhammer
  - "Skyrim.esm|0x6D930"

# spell that should be applied when hitting a specific bone
# formatted as "*PLUGIN_NAME*|*LOCAL_FORM_ID*"
  spell: "PrecisionLocationalDamage.esp|0xD62"

# should the spell only be applied on a critical hit?
  spellOnlyCriticalHits: false

# should the spell only be applied on a power attack?
# stacks with spellOnlyCriticalHits
  spellOnlyPowerAttacks: true

# exact node names that will apply the spell on hit
# can be an array or single entry
  nodeNames: "NPC Head [Head]"



# neck hit effect
# drains small amount of health over time
# only applies on sharp weapons
# no restrictions since its pretty hard to hit the neck
-
  damageMult: 1.1
  weaponKeywords:
    # weaptypebattleaxe
    - "Skyrim.esm|0x6D932"
    # weaptypedagger
    - "Skyrim.esm|0x1E713"
    # weaptypegreatsword
    - "Skyrim.esm|0x6D931"
    # weaptypesword
    - "Skyrim.esm|0x1E711"
    # weaptypewaraxe
    - "Skyrim.esm|0x1E712"

  spell: "PrecisionLocationalDamage.esp|0x12C5"
  spellOnlyCriticalHits: false
  spellOnlyPowerAttacks: false
  nodeNames: "NPC Neck [Neck]"



# torso hit effect
# increases incoming damage
# applies on critical hit with any weapon
-
  spell: "PrecisionLocationalDamage.esp|0x12C9"
  spellOnlyCriticalHits: true
  spellOnlyPowerAttacks: false
  nodeNames:
    - "NPC COM [COM ]"
    - "NPC Spine [Spn0]"
    - "NPC Spine1 [Spn1]"
    - "NPC Spine2 [Spn2]"
 
# arm hit effect
# temporarily slows attack speed
# 30% chance of proccing
-
  damageMult: 0.9
  spell: "PrecisionLocationalDamage.esp|0x12CD"
  spellOnlyCriticalHits: false
  spellOnlyPowerAttacks: true
  nodeNames:
    - "NPC L UpperArm [LUar]"
    - "NPC L Forearm [LLar]"
    - "NPC L Hand [LHnd]"
    - "NPC R UpperArm [RUar]"
    - "NPC R Forearm [RLar]"
    - "NPC R Hand [RHnd]"

# leg hit effect
# staggers the target once
# kinda annoying and strong so the player isnt affected by it and theres only a 30% chance of it happening (in the magic effect)
-
  damageMult: 0.9
  spell: "PrecisionLocationalDamage.esp|0x12D0"
  spellOnlyCriticalHits: false
  spellOnlyPowerAttacks: true
  nodeNames:
    - "NPC L Thigh [LThg]"
    - "NPC L Calf [LClf]"
    - "NPC L Foot [Lft ]"
    - "NPC R Thigh [RThg]"
    - "NPC R Calf [RClf]"
    - "NPC R Foot [Rft ]"



# tail hit effect for beast races
# target's movespeed is slowed because theyre off balance by the tail or something i dont know
# 30% chance of happening (in the magic effect)
-
  damageMult: 0.85
  spell: "PrecisionLocationalDamage.esp|0x12D1"
  spellOnlyCriticalHits: false
  spellOnlyPowerAttacks: true
  nodeNames:
    - "TailBone01"
    - "TailBone02"
    - "TailBone03"
    - "TailBone04"
    - "TailBone05"