Skip to content

Conversation

@Blixibon
Copy link
Collaborator

This PR adds a new option to players which allow them to naturally start dual wielding pistols when picking up a second one. The CanDualWield keyvalue (used via logic_playerproxy) and the Enable/DisableDualWield inputs can be used to control this behavior. Prior to this PR, player dual wielding could only be engaged with the CreateLeftHandGun input on the weapon in question.

This PR also unites this behavior with npc_assassin, which had similar code to start using dual pistols when given a second pistol.

This PR also adds a new SetLeftHandGun input to capable weapons, which allows an existing fake gun model to be used instead of creating a new one.

@Blixibon Blixibon requested a review from 1upD January 26, 2025 18:30
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.

LGTM

@1upD 1upD merged commit f78fe66 into entropy-zero:ez2/mapbase Jan 28, 2025
5 checks passed
1upD pushed a commit that referenced this pull request May 1, 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.

2 participants