From c51ceab4f0cd0d9ddb31d605442a7c8c0ea98b5e Mon Sep 17 00:00:00 2001 From: Alan Shen Date: Mon, 9 Nov 2026 02:57:17 -0700 Subject: [PATCH] Add reload phases to the Kyla 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. --- game/neo/scripts/game_sounds_weapons.txt | 14 ++++++++++++++ game/neo/scripts/weapon_kyla.txt | 4 ++++ 2 files changed, 18 insertions(+) diff --git a/game/neo/scripts/game_sounds_weapons.txt b/game/neo/scripts/game_sounds_weapons.txt index 623523511e..bd0ea5bbc9 100644 --- a/game/neo/scripts/game_sounds_weapons.txt +++ b/game/neo/scripts/game_sounds_weapons.txt @@ -136,6 +136,20 @@ //------------------ +// Kyla reload load piece (sv_neo_reload_experimental), played by a reload resumed after the unload. +// The file starts just before its first transient + +"weapon_kyla.reload_load" +{ + "channel" "CHAN_ITEM" + "soundlevel" "SNDLVL_NORM" + "volume" "1.0" + "pitch" "PITCH_NORM" + "wave" ")weapons/kyla/kyla_reload_load.wav" +} + +//------------------ + "weapon_kyla.npc_reload" { "channel" "CHAN_AUTO" diff --git a/game/neo/scripts/weapon_kyla.txt b/game/neo/scripts/weapon_kyla.txt index 8d56a57f53..47a0dd08d7 100644 --- a/game/neo/scripts/weapon_kyla.txt +++ b/game/neo/scripts/weapon_kyla.txt @@ -1,3 +1,5 @@ +#base "weapon_klya9_reload_phases.txt" + // Kyla WeaponData { @@ -14,6 +16,8 @@ WeaponData "Penetration" "10.0" "CycleTime" "0.363636" // time between shoots "ReloadReadyBeforeEnd" "0.600" // the reload is done at the last reload click, this long before its animation ends + // Reload phases (sv_neo_reload_experimental): the rows come from neoAssets, timed from its Blender markers + "ReloadPhases" {} "TPMuzzleFlashScale" "0.6"