Skip to content

Conversation

@Rainyan
Copy link
Collaborator

@Rainyan Rainyan commented Feb 10, 2026

Description

Fix SRS quickswitching so that we don't cancel the player's scoped state nor block their shoot inputs with the bolting animation.

Note that the quickswitching to block the bolting anim is a separate mechanic from limiting the SRS fire-rate (in plugin-parity), i.e. the player should still not be able to bypass their m_flNextAttack fire rate limit as determined by the weapon script's cycle time.

Toolchain

  • Windows MSVC VS2022

Linked Issues

@Rainyan Rainyan changed the title Bug/srs quickswitch parity Fix SRS quickswitching Feb 10, 2026
@Rainyan Rainyan requested a review from a team February 10, 2026 14:12
@Rainyan Rainyan added the Tournament Priority Issues to be prioritized for the upcoming NT;RE tournament label Feb 10, 2026
Copy link
Contributor

@Agiel Agiel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good other than the scope thing. One nit I have is that I feel like OGNT initiates the reload a bit faster when empty, but that might be out of scope (pun intended) for this issue.

@Agiel Agiel requested a review from a team February 10, 2026 19:29
@Rainyan
Copy link
Collaborator Author

Rainyan commented Feb 10, 2026

One nit I have is that I feel like OGNT initiates the reload a bit faster when empty, but that might be out of scope (pun intended) for this issue.

I think I'll leave this outside the PR for now.

Another thing I noticed is that we go to the SRS scope instantly, whereas in OGNT there is a delay (eyeballed from 60fps video, it looks like 0.1 seconds) of the viewmodel's scope being raised in front of the camera (presumably to a pos offset defined in the weapon script?), before we actually zoom and render the scoped HUD texture.

Also the OGNT SRS scope FOV change is instant, whereas we do a lerp like with the non-sniper guns, which could change the aim feel especially for quickscoping.

edit: I added a new bug for the problems mentioned above (except for the reload thing which should probably be added as its own bug?): #1663

@Rainyan Rainyan requested a review from Agiel February 10, 2026 21:40
@Agiel Agiel requested a review from a team February 10, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tournament Priority Issues to be prioritized for the upcoming NT;RE tournament

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SRS quickswitching should be (plugin) parity

2 participants