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

SP Ironsights #20, Tau Prediction Fix, SP Crossbow Bolts #21 #141

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

ampreeT
Copy link
Owner

@ampreeT ampreeT commented Sep 11, 2024

Changes:

  • Added feature SP_WEAPONS that controls whether to use single-player functionality for weapons
  • Added ironsights for weapon_357 and weapon_crossbow (Controlled by feature SP_WEAPONS)
  • Added regular crossbow bolts and changed crossbow skin (Controlled by feature SP_WEAPONS)
  • Added tau cannon prediction fix (Issue was caused by hooking CWeapon_Tau::ItemPostFrame() and setting IsMultiplayer to false)

Fixes #20 and #21

image

@ampreeT ampreeT linked an issue Sep 11, 2024 that may be closed by this pull request
@ampreeT
Copy link
Owner Author

ampreeT commented Sep 11, 2024

Currently, the only issues are the following:

  • Secondary attack on the crossbow does not fire from the center of the screen
  • Secondary attack on the crossbow still plays mp sound
  • Crossbow suffers from prediction issues caused by CWeapon_Crossbow::ItemPostFrame() being hooked, but this is needed currently for SP implementation

I'll make a new issue for the above once this gets merged in.

@ampreeT ampreeT merged commit e3847f3 into master Sep 12, 2024
4 checks passed
@ampreeT ampreeT deleted the sp-crossbow-bolts branch September 12, 2024 02:31
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.

Singleplayer Crossbow Bolts Singleplayer Crossbow/357 Ironsights
2 participants