Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions game/neo/scripts/game_sounds_weapons.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1133,6 +1133,62 @@
"wave" "weapons/pz/pz_reload.wav"
}

// PZ252 reload in per-step pieces (sv_neo_reload_experimental).

"weapon_pz.reload_unload"
{
"channel" "CHAN_ITEM"
"soundlevel" "SNDLVL_NORM"
"volume" "1.0"
"pitch" "PITCH_NORM"
"wave" ")weapons/pz/pz_reload_unload.wav"
}

"weapon_pz.reload_unload_part2"
{
"channel" "CHAN_ITEM"
"soundlevel" "SNDLVL_NORM"
"volume" "1.0"
"pitch" "PITCH_NORM"
"wave" ")weapons/pz/pz_reload_unload_part2.wav"
}

"weapon_pz.reload_load"
{
"channel" "CHAN_ITEM"
"soundlevel" "SNDLVL_NORM"
"volume" "1.0"
"pitch" "PITCH_NORM"
"wave" ")weapons/pz/pz_reload_load.wav"
}

"weapon_pz.reload_load_part2"
{
"channel" "CHAN_ITEM"
"soundlevel" "SNDLVL_NORM"
"volume" "1.0"
"pitch" "PITCH_NORM"
"wave" ")weapons/pz/pz_reload_load_part2.wav"
}

"weapon_pz.reload_load_part3"
{
"channel" "CHAN_ITEM"
"soundlevel" "SNDLVL_NORM"
"volume" "1.0"
"pitch" "PITCH_NORM"
"wave" ")weapons/pz/pz_reload_load_part3.wav"
}

"weapon_pz.reload_cycle"
{
"channel" "CHAN_ITEM"
"soundlevel" "SNDLVL_NORM"
"volume" "1.0"
"pitch" "PITCH_NORM"
"wave" ")weapons/pz/pz_reload_cycle.wav"
}

//-------------------

"weapon_pz.npc_reload"
Expand Down
7 changes: 7 additions & 0 deletions game/neo/scripts/weapon_pz.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#base "weapon_pz_reload_phases.txt"

// ZR68S

WeaponData
Expand All @@ -17,6 +19,11 @@ WeaponData
"CycleTime" "0.090909" // time between shots
"ReloadReadyBeforeEnd" "0.543" // the reload is done at the last reload click, this long before its animation ends
// the charging handle is home 0.400 before the end, the alternative value

// Reload phases (sv_neo_reload_experimental): the rows come from neoAssets, timed from its Blender markers
"ReloadPhases" {}
// Chamber capacity is gameplay data; the phase timing comes from neoAssets.
"ChamberedRound" "1"

"TPMuzzleFlashScale" "0.3"

Expand Down
Loading