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

Pistol-Whipping (Guns as Melee Weapons) #1335

Merged
merged 30 commits into from
Dec 11, 2024

Conversation

angelofallars
Copy link
Contributor

@angelofallars angelofallars commented Dec 11, 2024

Description

Adds the ability to use guns as melee weapons and throwing weapons.

The gun melee attack is a Light Attack done with a right click. The attack rate is slower than average melee weapons.

The cooldown on melee attacks after shooting has been removed entirely, so you can right-click immediately after shooting (like in hero shooters 😎). The cooldown on shooting after a melee attack has been set to a constant 0.5 seconds.

Balance

Technically speaking, weaving shooting and pistol-whipping lowers your overall DPS in most cases, because you can't shoot for 0.5 seconds after doing a melee attack. With skillful usage, however, it provides some key tactical advantages:

  • Preserving ammo by dealing damage without firing a shot.
  • Deal stamina damage as a natural effect of dealing melee Blunt damage.
    • Most non-pistol guns have increased blunt stamina damage factors to help with this.
  • Bypassing Piercing resists of armors with a higher Piercing resist than Blunt resist like plate carriers.
  • Doing the combo of right-clicking immediately after shooting deals a big burst of damage.

Pistol-whipping also helps as a last resort when you run out of ammo. However, it's almost always better to use a proper melee weapon instead of a gun as a pure melee weapon, because you can't power attack with guns and the guns' melee attack rate are slower by design than most melee weapons.

Shotguns benefit the most from pistol-whipping, because their ideal range is close-range where a melee attack can be performed, and their low fire rate means they're not affected too much by the 0.5s shooting cooldown.

Guns have received throwing damage. You can throw guns at the enemy once you're out of ammo to deal extra damage. I think this makes fights a little more spectacular to watch.

Melee damage sorted by group (from least to greatest):

  1. Revolver
  2. Pistol (+ Energy Pistol)
  3. Sniper rifle
  4. Rifle (+ Energy Rifle)
  5. Sub Machine Gun
  6. Shotgun
  7. Light Machine Gun (L6 saw)
  8. Heavy Machine Gun

Media

mk 58

image

Kardashev-Mosin (Wielded)

image

Basic Combat

video-2024-12-12_02.21.mp4

Particle Decelerator Combo (80 damage)

video-2024-12-12_06.13.mp4

Combo: Shoot + Power Attack, wait 1.6s then Power Attack + Throw

This combo costs 90 stamina which almost depletes 100 stamina leaving you vulnerable, so the Vigor trait can help you pull off this combo.

Changelog

🆑 Skubman

  • add: Pistol-whipping has been added. You can press right click with a gun to perform a Light Attack. Most guns will deal Blunt damage, apart from the Kardashev-Mosin dealing Piercing/Slash damage with its bayonet. Weaving bullets and melee attacks correctly will give you the upper hand in combat.
  • add: Guns can now be thrown to deal the same damage as their melee damage.

@github-actions github-actions bot added Changes: C# Changes any cs files Changes: YML Changes any yml files Changes: Localization Changes any ftl files labels Dec 11, 2024
@angelofallars angelofallars marked this pull request as ready for review December 11, 2024 22:37
Copy link
Member

@VMSolidus VMSolidus left a comment

Choose a reason for hiding this comment

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

Woah.

@VMSolidus
Copy link
Member

image

Oh hey, a test fail I've never seen before!

@angelofallars
Copy link
Contributor Author

image

Oh hey, a test fail I've never seen before!

Fixed 08b0647

@VMSolidus
Copy link
Member

IVAN, WORRY NOT, WHEN OUT OF BOOLET, USE MOSIN AS JAVELIN

@VMSolidus VMSolidus merged commit 5899f4e into Simple-Station:master Dec 11, 2024
10 of 11 checks passed
DEATHB4DEFEAT pushed a commit to DEATHB4DEFEAT/Einstein-Engines that referenced this pull request Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes: C# Changes any cs files Changes: Localization Changes any ftl files Changes: YML Changes any yml files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants