Skip to content

Conversation

@AdamTadeusz
Copy link
Contributor

Description

In the original pressing the attack key cancels a reload if one is in progress, the weapon is only fired if the attack key is still held after the reload is stopped.

In the original beginning a reload from a completely empty clip will cue a shotgun rack that will play at the end of the reload sequence. This can be skipped by pressing the attack key, the rack will then try to play the next time the weapon is reloaded even though there could still be ammunition in the clip and the weapon was just fired. This PR adds this mechanic with a slight adjustment so this shotgun rack cannot be skipped

This PR also makes the reloading of the shotgun quicker. The original does not let the full reload animation play and instead loads a fresh shell every ~0.5 seconds

Also gives the firing of the shotgun priority over the reload keys, so like in the original the shotgun can be fired while holding the reload keys as long as you have ammunition

Toolchain

  • Windows MSVC VS2022
  • Linux GCC Distro Native [Specify distro + GCC version]
  • Linux GCC 10 Sniper 3.0

Linked Issues

  • fixes #

@AdamTadeusz AdamTadeusz requested a review from a team April 28, 2025 10:52
@AdamTadeusz AdamTadeusz changed the title Remove delayed fire from the supa7, adds more weapon racking like in OG (plus a little extra), faster reloading of supa7 Remove delayed fire from the supa7, adds more weapon racking like in OG (plus a little extra), faster reloading of supa7, attack priority over reload Apr 28, 2025
@brysondev brysondev requested a review from a team April 30, 2025 21:51
@AdamTadeusz AdamTadeusz merged commit 7730c77 into NeotokyoRebuild:master Jun 28, 2025
7 checks passed
@AdamTadeusz AdamTadeusz deleted the 213_Supa7WeaponRackMechanicAndRemoveDelayedFire branch June 28, 2025 15:38
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.

4 participants