Skip to content

Partial reloads 02: Add empty lowered sprint animation for the Tachi - #194

Closed
sunzenshen wants to merge 1 commit into
stack/reload-zr68c/10-layoutfrom
stack/reload-zr68c/11-tachi-low
Closed

sunzenshen wants to merge 1 commit into
stack/reload-zr68c/10-layoutfrom
stack/reload-zr68c/11-tachi-low

Conversation

@sunzenshen

@sunzenshen sunzenshen commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Description

Implements the animation for sprinting with an empty Tachi. Used by NeotokyoRebuild/neo#2310 , which
plays them while an empty pistol is lowered (sprint, ladder).

Previously the slide of an empty Tachi would slide forward when the player started sprinting.


Overview of Changes

  • Three authored slots in jinrai_tachi: idletolowempty, lowidleempty, lowtoidleempty. Each is the
    shipped clip (idletolow, lowidle, lowtoidle) with the slide and its catch (slide, catch2) held at their
    idle01empty pose. No other bone differs.
  • QC (tachi/viewmodel.qci): lowidleempty has the activity ACT_VM_IDLE_LOWERED_EMPTY (added by the neo PR)
    and node 3; idletolowempty (transition "0" "3") and lowtoidleempty (transition "3" "0") are the engine's
    transitions into and out of it, as idletolow and lowtoidle are for a loaded gun. Both team models use the Jinrai
    SMDs.
  • Models: both Tachi models recompiled.
  • README: "Lowered pistols with an empty magazine".

How to Review

  • Text: the three $sequence lines in tachi/viewmodel.qci; the new SMDs (diff each against its shipped source: only
    the slide and catch lines change).
  • viewmodels.blend: three new slots in the Tachi scene; nothing else changes.

Checks (measured)

check result
new clip vs its shipped source only the slide and catch channels differ, on every frame, at the idle01empty values
export (Tachi) rc 0; ROM CHECK 1 projects, no clamped pose; 3 authored slots, PACE 0 warnings; shipped SMDs unchanged; the tree is clean after the export
compile, 2 projects rc 0, 0 warnings; every shipped sequence of both Tachi models identical to the compile without the new clips; a recompile gives the same .vvd/.vtx bytes, .mdl differs only in 6 bytes (studiomdl's uninitialized runtime pointer slots)
in game with the neo PR see the neo PR

How to Test

See the neo PR (NeotokyoRebuild/neo#2310).


Toolchain

  • Windows MSVC VS2022
  • Linux GCC Distro Native (Linux Mint 22.3, GCC 13.3.0)

Related

An empty Tachi idles with its slide held back, but its shipped lowered
clips (idletolow, lowidle, lowtoidle) show the slide forward, so a
sprint closes the slide of an empty pistol.

The Tachi gets three authored slots, made by script from the shipped
lowered clips with the slide and its catch held at their idle01empty
pose: idletolowempty, lowidleempty (activity ACT_VM_IDLE_LOWERED_EMPTY)
and lowtoidleempty. The two transitions link node 0 with a new node 3,
so the engine plays them into and out of the empty lowered pose.

The Tachi models are recompiled. Shipped clips are unchanged.
This was referenced Nov 10, 2026
@sunzenshen
sunzenshen marked this pull request as ready for review November 10, 2026 04:42
@sunzenshen

sunzenshen commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor Author

Demo:

tachi-empty-sprint-slide-stays-back.mp4

The idea is to interrupt the PR stack and merge either this one or #196 depending on whether we want to merge the Tachi + Milso empty sprint PRs together or individually.

@sunzenshen sunzenshen changed the title Partial reloads 02: Add empty lowered clips for the Tachi Partial reloads 02: Add empty lowered sprint animation for the Tachi Nov 10, 2026
@sunzenshen

Copy link
Copy Markdown
Contributor Author

Closing in favor of reviewing #196 as a consolidated PR, with the commits showing the staged evolution of the combined feature.

@sunzenshen sunzenshen closed this Nov 12, 2026
This was referenced Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant