Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TF2] Prevent inspecting weapons in more scenarios #1130

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Ashetf2
Copy link

@Ashetf2 Ashetf2 commented Mar 19, 2025

Description

First, I know that there's a similar pr already. I personally was working on this since maybe 2 or 3 weeks ago (check this), but my pr is more general, and also complementary except for the flamethrower which i didn't notice.

Fixes the first issue in ValveSoftware/Source-1-Games#4273

Prevents inspecting when:

  • Shooting
  • Reloading (before, doing this interrupted the reload)
  • Zooming (from the hip too, for the Classic)
  • Charging a ball with the Loose Cannon
  • Playing a horn (before, doing this interrupted deploying the banner)
  • Firing the flamethrower and the dragon's fury, when it doesn't have charge

I have also checked the other pr's code and it works for what it says (charging mangler, stickybombs, mediguns but i personally don't agree about that)

Videos
Desktop.2025.03.03.-.18.22.12.10.DVR.mp4
Desktop.2025.03.03.-.18.23.50.11.DVR.mp4
Desktop.2025.03.03.-.18.24.32.12.DVR.mp4
Desktop.2025.03.03.-.18.25.58.13.DVR.mp4
Desktop.2025.03.19.-.00.18.53.09.DVR.mp4

Finally, players can still inspect when taunting (noticeable when eating sandvich, eureka effect teleport), inspect and then zoom in, and charge with the classic but I have already spent more time that i would like on this and it's nitpicky c:

Ashetf2 added 2 commits March 17, 2025 15:01
Prevents inspecting when:
- Firing
- Reloading
- Zooming
- Charging a ball with the loose cannon
inspecting while playing can actually prevent the player from deploying the banner, so this is necessary
Bitl added a commit to BitlDevelopmentStudios/source-sdk-2013-bds-base that referenced this pull request Mar 23, 2025
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.

1 participant