Skip to content

Animation overrides

kNVSE lets you replace an animation group for specific weapons, actors, races, plugins, or all actors without overwriting vanilla KF files.

You can set up overrides in three ways:

  1. JSON files in Data\Meshes\AnimGroupOverride (recommended for most mods; supports script conditions, priorities, BSAs, and sharing one animation folder across multiple forms).
  2. Plugin and Form ID folders under Data\Meshes\AnimGroupOverride.
  3. NVSE scripts using kNVSE’s registration commands.

All file-based overrides live under Data\Meshes\AnimGroupOverride:

Data\Meshes\AnimGroupOverride\
MyMod.esp\ Plugin folder (loose files only)
_male\ 3rd-person animations for forms from MyMod.esp
_1stperson\ 1st-person animations for forms from MyMod.esp
0012AB\ Form ID folder (one form from MyMod.esp)
_male\2hrreloadp.kf
_1stperson\2hrreloadp.kf
MyAnims\ Custom folder referenced by a JSON file
ServiceRifle\
_male\2haaim.kf
_1stperson\2haaim.kf
MyMod.json JSON config file (must be directly in AnimGroupOverride)
MyAnims.bsa Optional BSA archive (used by JSON entries)

Inside any override folder, kNVSE only scans immediate subfolders named _male (3rd person) and _1stperson (1st person). Other folders placed next to _male and _1stperson are ignored. KF files inside subfolders of _male and _1stperson are also loaded.

  • Plugin folder: Name a folder after a loaded .esp or .esm (for example, FalloutNV.esm or MyWeaponMod.esp). If that plugin is not in the load order, the folder is skipped.
  • Plugin-wide animations: Files placed directly under <Plugin.esp>\_male\ or <Plugin.esp>\_1stperson\ apply to any actor whose reference, equipped weapon, base form, or race comes from that plugin.
  • Form ID folder: Create a subfolder inside the plugin folder named after a form’s hex ID. The first two hex digits (the load order index) are ignored and automatically replaced with the plugin’s load order index, so 0012AB and FF0012AB both resolve to form 12AB of that plugin.
    • Folder names starting with _ are never treated as form IDs.
    • Non-hex names or missing form IDs are logged and skipped.
  • Plugin and Form ID folders only read loose files (they do not read BSAs).

A Form ID folder or a JSON form field can target any of these form types:

  • An actor reference
  • A weapon
  • An actor base form (NPC or creature)
  • A race
  • A form list (BGSListForm) containing any of the above, including nested form lists

Form lists are expanded once when kNVSE loads overrides. Forms added to a form list later by scripts are not included.

JSON config files must be placed directly inside Data\Meshes\AnimGroupOverride (subfolders are not searched for .json files). Each file must contain a JSON array of entry objects.

[
{
"mod": "FalloutNV.esm",
"form": "0E9C3B",
"folder": "MyAnims\\ServiceRifle"
},
{
"mod": "FalloutNV.esm",
"form": ["0E9C3B", "0E7E87"],
"folder": "MyAnims/ServiceRifleSprint",
"condition": "IsKeyPressed 42",
"pollCondition": true,
"priority": 10
},
{
"mod": "OptionalDLC.esm",
"folder": "MyAnims/LowHealth",
"condition": "GetAV Health < 50"
}
]
Field Type Default Description
folder string Required Path relative to Data\Meshes\AnimGroupOverride containing _male and/or _1stperson. Forward slashes (/) and escaped backslashes (\\) both work.
mod string none Plugin filename that owns the form IDs in form. If mod is specified and that plugin is not loaded, the entry is skipped.
form string or array of strings none One or more hex form IDs. The load order prefix is replaced with mod’s index. If mod or form is omitted, the entry applies to all actors.
condition string none Script expression that must evaluate to non-zero for this override to play.
pollCondition boolean false Re-evaluates condition while looping animations are playing. Requires condition.
priority integer 0 Ordering across all JSON entries. Higher numbers take precedence over lower numbers.
matchBaseAnimGroup boolean false Applies base-group overrides (no weapon-type, sneak/swim, or power armor prefix) to all variants of that base group. See matchBaseAnimGroup below.

Notes on JSON entries:

  • Plugin-wide overrides: JSON entries cannot target an entire plugin by itself. Providing mod without form creates a global override that only activates when mod is loaded. Use a plugin folder (MyMod.esp\_male\) for plugin-wide overrides.
  • Invalid forms: If a valid hex ID in form does not exist in mod, only that form is skipped. If an entry contains a malformed (non-hex) form ID, the entire entry is skipped.
  • Duplicate folder + form: If two entries point to the same folder for the same form, kNVSE keeps the first entry’s condition, pollCondition, and matchBaseAnimGroup, while moving the entry up to the later entry’s priority position.
  • BSAs and archives: For each JSON entry, kNVSE loads files in three passes so loose files always win:
    1. .bsa files placed directly in Data\Meshes\AnimGroupOverride (reading paths under meshes\animgroupoverride\<folder>\).
    2. BSAs loaded normally by the game (reading _male, _1stperson, and their direct mod1, mod2, mod3, hurt, human, male, and female subfolders only).
    3. Loose files in Data\Meshes\AnimGroupOverride\<folder>\.

A condition string is compiled as a script function and executed with the actor as the calling reference. If the script returns a non-zero value, the override is allowed to play.

For single-line expressions, kNVSE automatically wraps the string in SetFunctionValue (...):

"condition": "IsSneaking && GetCurrentAmmoRounds == 0"

For multi-line conditions, write the full function body, call SetFunctionValue yourself, and separate lines with %r:

"condition": "int iRounds%rlet iRounds := GetCurrentAmmoRounds%rSetFunctionValue (iRounds == 0)"

Conditions are checked each time an animation group is selected. If a condition fails to compile, the override is disabled and the error is written to kNVSE.log.

Normally, a condition is only checked when an animation group starts playing. Setting "pollCondition": true tells kNVSE to keep checking the condition while looping animations are active:

  • If a higher-priority polled override’s condition becomes true, kNVSE restarts the animation group to switch to it.
  • If the currently playing polled override’s condition becomes false, kNVSE restarts the animation group to fall back to the next valid animation.

pollCondition only runs for standard looping groups: Idle, walk/run/strafe (Forward through FastRight), TurnLeft/TurnRight, jump loops, BlockIdle, hand grips, and Aim/AimIS (including their Up/Down variants). Attack loops (AttackLoop*), dynamic/special idles, one-shot animations (attacks, reloads, equips), and script-queued animations (such as QueueNextAnim) are not polled.

When "matchBaseAnimGroup": true is set, kNVSE checks the base animation group (stripped of weapon type, sneak/swim, and power armor prefixes) before checking the full animation group.

For example, if you override mtidle.kf with matchBaseAnimGroup: true, that override will play in place of 2haidle.kf, sneak2haidle.kf, pa2haidle.kf, and other weapon/stance variants whenever its condition passes, even if another mod has a weapon-specific override for 2haidle.kf.

Name your KF files after the vanilla animation group you want to replace, such as 2hrreloadp.kf, 1hpaim.kf, sneak2haforward.kf, or mtidle.kf.

kNVSE ignores everything starting from the first _ or space in the filename when identifying the animation group. For example, 2hrreloadp.kf, 2hrreloadp_2.kf, and 2hrreloadp_tactical.kf all map to the 2hrreloadp group.

If the filename does not match any game animation group, kNVSE opens the KF file and reads the animation group stored inside it.

All KF files for the same animation group in the same folder (and same conditional subfolder) are grouped into one set.

  • Random (default): Every time the animation group plays, kNVSE picks one file from the set at random.
  • Ordered (_order_): If any filename in the set contains _order_, kNVSE sorts the files alphabetically by path and plays them in sequence, wrapping back to the first file after the last.

Example of a 3-step melee combo using _order_:

_1stperson\
1hmattackleft_order_1.kf
1hmattackleft_order_2.kf
1hmattackleft_order_3.kf

Each skeleton tracks its own order counter, so the player’s 1st-person and 3rd-person animations count independently.

For random variants of aim, attack, mine-placement, and throw groups that have Up and Down variants (aimup, aimdown, attack3up, attack3down, etc.), kNVSE matches the variant index of the Up/Down animation to the base animation so pitch blending stays consistent.

Placing KF files inside a subfolder with one of the following names restricts them to play only when that condition is met:

Subfolder Plays when
male The actor is male.
female The actor is female.
human The actor is the player or an NPC (not a creature).
hurt The actor has crippled legs.
mod1, mod2, mod3 The actor’s equipped weapon has weapon mod slot 1, 2, or 3 attached.

Example layout for a weapon whose scope is weapon mod 2:

MyAnims\HuntingRifle\
_1stperson\
2hrAimIS.kf Played when no scope is attached
mod2\
2hrAimIS.kf Replaces the base file when mod 2 is attached

Important rules for conditional subfolders:

  • Conditions do not stack: Each file only gets one folder condition. Nesting two conditional subfolders (such as _male\female\mod1\) does not require both; kNVSE only applies one of them (mod1). Use a JSON condition if you need combined conditions.
  • Avoid these names in parent paths: kNVSE checks the full file path for \mod1\, \mod2\, \mod3\, \hurt\, \human\, \male\, and \female\. Do not name a parent JSON folder MyMod\female\Rifle, or every animation inside it will inherit the female condition.
  • Base files go directly in _male / _1stperson: Files directly inside _male or _1stperson are registered first so conditional subfolders override them. Avoid mixing arbitrary non-conditional subfolders alongside conditional subfolders for the same animation group.

Adding certain markers to a KF filename gives it special behavior:

Filename pattern Applies to Behavior
Contains _start Walk/run groups (forward to fastright), aimis Start transition animation.
Contains _stop Walk/run groups (forward to fastright), aimis Stop transition animation.
Contains _partial Reload groups Played for tactical/partial reloads (rounds remaining in magazine).
Contains _ammo_swap Reload groups Played when reloading after switching ammo types (player only).
Ends with _additive Weapon-slot groups Additive animation played on top of the normal animation in the same set.
Contains __<name> Any valid group Custom animation group that triggers scripted callbacks instead of replacing an animation.

Start and stop transitions (_start, _stop)

Section titled “Start and stop transitions (_start, _stop)”
  • Walk and run transitions (requires bBlendSmoothing and bMovementTransitions):
    • _start plays when an actor begins moving from a standstill (for example, 2haforward_start.kf) and hands over to the walk/run cycle at its End text key.
    • _stop plays when stopping (for example, 2haforward_stop_l.kf, 2haforward_stop_r.kf) and blends to idle at its End key. If you provide multiple _stop files, kNVSE picks the one whose first frame best matches the actor’s current foot position.
    • Third-person _start/_stop files do not play while the player is in 1st person unless the KF includes an allowFirstPerson text key.
  • Aim transitions (player only; requires bBlendSmoothing, bFixSpineBlendBug, and bAimTransitions):
    • Name the files after the aimis group (for example, 2haaimis_start.kf for hip-to-sights and 2haaimis_stop.kf for sights-to-hip).
    • If you only provide _start (or only _stop), kNVSE plays it in reverse when aiming is cancelled mid-transition.

A folder containing only _start and/or _stop files adds transitions without replacing the underlying walk, run, or aim animation.

MyAnims\ServiceRifleTransitions\
_1stperson\
2haaimis_start.kf
2haaimis_stop.kf

Partial and ammo-swap reloads (_partial, _ammo_swap)

Section titled “Partial and ammo-swap reloads (_partial, _ammo_swap)”
MyAnims\ServiceRifle\
_1stperson\
2hareloada.kf Full reload (magazine empty)
2hareloada_partial.kf Partial reload (same ammo still in magazine)
2hareloada_ammo_swap.kf Reload after changing ammo type (player only)
  • _partial files play when the magazine still has rounds of the same ammo type being loaded.
  • _ammo_swap files play for the player when reloading after switching ammo types (via the ammo-swap hotkey or the Pip-Boy).
  • Always include a normal reload KF alongside _partial or _ammo_swap files. A set with only one file always plays that file for every reload, and a set with multiple _partial files and no normal reload file falls back to the vanilla animation on full reloads.

A file whose stem ends with _additive (such as 2haaim_additive.kf) plays additively on top of the normal animation selected from the same set.

MyAnims\Sway\
_1stperson\
2haaim.kf
2haaim_additive.kf
  • Only one _additive file is used per set.
  • An _additive file must be paired with at least one normal animation file in the same set (an _additive-only set will not play).
  • Managed _additive files are intended for weapon-slot animations (aim, attack, reload, equip). For additive animations on other slots, use SetAnimAdditive and ActivateAnim.

A file named <animGroup>__<customName>.kf (using a double underscore, such as mtidle__CustomReload.kf) does not replace any animation. Instead, while any animation from that same _male or _1stperson folder plays, kNVSE runs scripts registered for <customName> via RegisterCustomAnimGroup every frame, passing the custom KF’s path.

The prefix before __ (or the KF’s internal sequence name) must still match a valid game animation group, and the file must reside inside a _male or _1stperson folder.

Because many distinct animations (idle forms, hit reactions, Pip-Boy actions) share the SpecialIdle and DynamicIdle groups, kNVSE matches overrides in these groups by exact filename. For example, to override pipboy.kf, your file must be named pipboy.kf. Variant suffixes like pipboy_2.kf will not match.

When an actor plays an animation group, kNVSE searches matching overrides in this order and plays the first one whose conditions pass:

  1. Form-specific overrides, checked in order:
    1. Actor reference
    2. Equipped weapon
    3. Actor base form (NPC or creature)
    4. Race
  2. Plugin-wide overrides for the plugins those forms belong to.
  3. Global (“everyone”) overrides.

(Exception: If a base-group override with matchBaseAnimGroup: true wins for the base group, it runs before weapon-specific or stance-specific overrides.)

When multiple overrides target the same form, plugin, or global level, kNVSE checks them in this order (highest priority first):

  1. Per-form order saved from the in-game Animations menu.
  2. Script-registered overrides (last registered wins).
  3. JSON entries, ordered by priority (highest priority wins; ties are broken by JSON filename and entry order, with later entries winning). Within a single JSON entry, loose files beat loaded game BSAs, which beat BSAs placed in AnimGroupOverride.
  4. Plugin and Form ID folders (sorted alphabetically; later names win).

If an override’s condition fails or its conditional subfolder does not match, kNVSE skips it and tries the next override down the list. If no override applies, the vanilla animation plays.

Scripts can add or disable overrides at runtime:

Script overrides take priority over folder and JSON overrides on the same form. Calling a registration command again for the same file with a new condition replaces the condition; calling it with enable set to 0 disables that set.

Run kNVSEReset in the in-game console to rescan Data\Meshes\AnimGroupOverride, reload JSON files, and reload edited KF files from disk the next time they play. Overrides registered by scripts and other plugins are preserved.

Open Settings > kNVSE in the main or pause menu and select the Animations tab to inspect and manage overrides without editing files.

  • Left panel: Lists every form, plugin, or global target that has overrides, grouped by category. Targets with multiple competing sources show the source count in parentheses.
  • Right panel: Lists the sources targeting the selected form in priority order (top is tried first), along with each source’s animations and individual variant files.
    • Source checkbox: Enables or disables that source for the selected form only.
    • Up / down arrows: Moves a source up or down in priority for the selected form.
    • Animation / file checkbox: Enables or disables that KF file across all forms that use it. Toggling an aim or attack animation automatically toggles its matching Up and Down variant files as well.
    • Dimmed entries: Indicate animations that will not play because they are disabled, their condition failed, or a higher-priority unconditional source overrides them.
    • Defaults: Resets the selected form’s source order and per-form toggles, and re-enables any disabled files used by that form.

A “source” is a JSON entry’s folder, a plugin folder (MyMod.esp), a Form ID folder (MyMod.esp\0012AB), or a script’s plugin. Note that if multiple mods install loose files into the same plugin folder (such as FalloutNV.esm), they appear together under that single plugin source.

Changes made in the Animations menu are saved to Data\NVSE\Plugins\kNVSE_overrides.json when the menu closes. You can also edit this file manually:

{
"disabled": [
"myoldpack\\servicerifle"
],
"disabledFiles": [
"animgroupoverride\\myanims\\servicerifle\\_1stperson\\2haaim.kf"
],
"order": [
"mypreferredpack\\servicerifle",
"fallbackpack\\servicerifle"
],
"forms": {
"falloutnv.esm:0e9c3b": {
"order": [
"mypreferredpack\\servicerifle",
"fallbackpack\\servicerifle"
],
"disabled": [
"fallbackpack\\servicerifle"
]
}
}
}
Key Description
disabled Sources disabled globally for every form. Only set by manual editing; re-enabling the source in the in-game menu removes it from this list.
disabledFiles Individual KF paths disabled everywhere (loose files start with animgroupoverride\; archive files start with meshes\animgroupoverride\).
order Global default source priority (first entry is tried first). Manual editing only.
forms Per-form order and disabled lists. Form keys use <plugin>:<6-digit local hex ID> (such as falloutnv.esm:0e9c3b), <plugin> for plugin-wide folders, or everyone for global overrides.

Form keys omit the load order index, so saved settings survive load order changes. Any newly installed source not yet listed in a saved order array is tried before the previously ordered sources.