Skyrim Special Edition
0 of 0

File information

Last updated

Original upload

Created by

vintagedice

Uploaded by

vsky1

Virus scan

Safe to use

Tags for this mod

About this mod

Allows perk authors to easily create perks to inflict Staggers and Knockdowns on hits according to whatever perk conditions they like.

Requirements
Permissions and credits
Changelogs
Overview

Using Perk Entry Point Extender (PEPE) this mod adds in perk entries for staggering and knocking down actors.
This mod won't do anything on it's own to your game, its a modder's resource that allows modders to create complicated  conditions on when to trigger staggers and knockdowns from weapon attacks, and allows for easy control of how much stagger and how much knockback force is used when they want to trigger one of these effects.

This mod uses the PEPE GROUP Knockback with categories 1 and 2, and aliases the Mod Attack Damage perk entry. Refer to the PEPE page for more details on how that works.

If both a stagger and knockdown perk entry would trigger for the same action, the knockdown behaviour wins.

Stagger

Stagger uses category 1 (Rank 2 perk in the creation kit). See the first image on the mod page for an example.

The final result of all the perk entries on a hit are divided by 100 and passed to the stagger magic effect. You can create multiple perk entries that add more to the value to create stronger staggers after applying more perks.

For Information on how skyrim interprets the stagger values, refer to the source code README.md

Knockdown

Stagger uses category 1 (Rank 2 perk in the creation kit). See the second image on the mod page for an example.

The perk entry result is divided by 10 and then passed as the push force. Just passing in 1 will make them fall in place essentiall. For reference Werewolf power attack swings push at 14 units, which would be 140 for a knockdown perk.

If the actor that would be knocked down has the ImmuneStrongUnrelentingForce keyword they are instead staggered at 100 magnitude.

Limitations

The "IsPowerAttacking" function will always be false on an SKPEPE perk. I do not hook into the way the game processes perk entries when a hit happens, which is the only time IsPowerAttacking can be true. Use the IsAttackType function for the four different power attack keywords instead.

Compatibility and Notes

This Common-Lib NG plugin so it works on any version of Skyrim if you've got Address Library for SKSE Plugins up to date

This mod currently uses the vanilla skyrim mechanics to inflict a stagger and knockdown. It is untested with poise mods but they may be incampatible as they modify how staggers are done. In the future could have this dynamically change to damage poise if a poise mod is installed depending on how feasible that is and demand.

This mod shouldn't leave anything on a savefile, and is safe to remove midgame, although any dependant perk mods may not be.


Credits
Source code

NoahBoddie for PEPE.
doodlum for the function offsets to the native stagger function taken from the chocolate poise source code.
mrowrpurr for the very helpful skyrim plugin tutorials.