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

Player dual wielding support #277

Open
wants to merge 1 commit into
base: ez2/mapbase
Choose a base branch
from

Conversation

Blixibon
Copy link
Collaborator

@Blixibon Blixibon commented Aug 25, 2024

This PR allows the player to use dual pistols in the same way that npc_assassin can. For the time being, this can only be initiated via a new CreateLeftHandGun input. Dual wielding generally allows the player to fire their weapon twice as fast with twice as much ammo, but the weapon also becomes twice as inaccurate over time. Dual wielded weapons can also (optionally) use their own viewmodel or icons specified in the weapon script.

This PR currently only integrates player dual wielding into weapon_pistol and weapon_pulsepistol.

@Blixibon Blixibon force-pushed the ez2/feature/player-dual-pistols branch from a82e774 to 2b61b02 Compare August 25, 2024 16:19
@Blixibon Blixibon requested a review from 1upD August 25, 2024 16:42
@Blixibon Blixibon marked this pull request as ready for review August 25, 2024 16:42
Copy link

@1upD 1upD left a comment

Choose a reason for hiding this comment

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

I left two questions I'd like to address before approving the review

@Blixibon Blixibon force-pushed the ez2/feature/player-dual-pistols branch from 2b61b02 to 6526a95 Compare August 25, 2024 18:36
@Blixibon Blixibon requested a review from 1upD August 25, 2024 20:44
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.

2 participants