Skip to content

Partial reloads 12: Resume a Kyla reload after the cylinder is out - #2298

Closed
sunzenshen wants to merge 1 commit into
stack/reload-zr68c/70-tachifrom
stack/reload-zr68c/80-kyla
Closed

sunzenshen wants to merge 1 commit into
stack/reload-zr68c/70-tachifrom
stack/reload-zr68c/80-kyla

Conversation

@sunzenshen

@sunzenshen sunzenshen commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Description

Depends on NeotokyoRebuild/neoAssets#184 (layer 12: the Kyla sources, its resume clip and phases file).

Partial reloads 12: resume a Kyla reload after the cylinder is out. This PR builds on layer 11 (#2297, the Tachi) and
pairs with neoAssets layer 12. Next: #2299 (13, MilSO).

The Kyla's reload visibly takes the cylinder out. With this PR, a switch after the cylinder is out no longer cancels the
reload: the next draw brings the revolver up without its cylinder and continues the reload (drawunloaded_reload),
loading 6 rounds. The phase code of layers 06-08 is generic, so this PR is data only.

  • Kyla script: #base "weapon_klya9_reload_phases.txt" and "ReloadPhases" {}, plus the sound entry
    weapon_kyla.reload_load. No ChamberedRound: a double-action revolver has no chamber to keep and no bolt to cycle,
    so there is no +1 and no cycle step.
  • Phases: 1_unload (cylinder out, f17) with the resume, and 2_load at master's ammo credit (f53, 1.767 s), so an
    uninterrupted reload keeps master's timing. A tactical reload discards the remaining rounds, as master does.
  • The flag sv_neo_reload_experimental defaults to 1 while the stack is reviewed (Partial reloads 06: Resume a ZR68C reload after the magazine is unloaded #2293); with the flag at 0 the
    Kyla behaves as on master.

How to review

  1. weapon_kyla.txt: the two lines and the sound entry.
  2. The neoAssets layer 12 phases file and drawunloaded_reload.
  3. Test in game: "How to test".

How to test

  1. Load a map (the flag is 1 by default) and take the Kyla. Fire two rounds, reload, and switch away after the
    cylinder is out (about 0.6 s). Switch back: the revolver comes up without its cylinder, the new cylinder goes in,
    and the gun has 6 rounds.
  2. Switch before the cylinder comes out: the reload cancels and keeps the old rounds.
  3. Repeat with sv_neo_reload_experimental 0 (set before the map loads): master.

Results

Layer 12 build (this PR + neoAssets layer 12), Linux Debug, ntre_engage_ctg:

case result
uninterrupted reload 4 -> 0 at 0.57 s, 6 at 1.77 s, ends 2.37 s; reserve 18 -> 12, as master
switch after the cylinder is out drawunloaded_reload plays; 6 rounds at 1.845 s after the draw; the sound piece plays
switch before the unload reload cancelled, 4 kept
switch after the load plain draw, 6 kept
flag 0 master
a phase table with no cycle row runs, no warnings

Known: the resume (2.47 s) is 0.1 s longer than the reload (a full draw plus a 6-frame tilt at the original hand pace).

Toolchain

  • Linux GCC Distro Native (Linux Mint 22.3, GCC 13.3.0)

Linked Issues

The Kyla script gets the reload phases from neoAssets: #base
"weapon_klya9_reload_phases.txt" and "ReloadPhases" {}. A switch after
the cylinder is out resumes with drawunloaded_reload and loads six
rounds; a switch before it cancels the reload. No ChamberedRound: the
revolver has no chamber and no cycle step, so the phase table ends at
2_load. The resume plays the new sound piece weapon_kyla.reload_load.
No code changes.
@sunzenshen

Copy link
Copy Markdown
Contributor Author

Closing to clear the board in favor of the PR stack of sunzenshen#34

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

Labels

Animations Animation stuff. Including the syncronizing of animations between client and server based on state.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants