You are viewing a potentially older version of this package. View all versions.
Entity378-HexiBetterShotgunFixed-0.3.7 icon

HexiBetterShotgunFixed

Shotguns now fire pellets (Updated to V50)

Date uploaded 4 months ago
Version 0.3.7
Download link Entity378-HexiBetterShotgunFixed-0.3.7.zip
Downloads 1523
Dependency string Entity378-HexiBetterShotgunFixed-0.3.7

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

Better Shotgun

Improves the vanilla shotgun by replacing the normal hit detection with a pellet spread.
This is a temporary version of the HexiBetterShotgun that works for V50 of the game.
As soon as the original creator of the mod releases an update I will deprecate this mod.

What does it do?

Shotguns will now fire 10 pellets rather than either a single hitscan (Nutcracker) or a massive hit area (player). Each pellet also has a tracer so you can visually see if the pellets hit or not.

Damage is based on number of pellets that hit; 20hp per pellet to players, or hits/2+1 (1,2,2,3,3...) shovels worth rounded down to enemies.

Why?

Vanilla hit detection for shotguns is super weird and results in things like hitting things beside or behind you, as well as seemingly not hitting at all despite something being directly in front of you.

Nutcrackers also had separate hit detection logic which could be cheesed by hiding behind thin pipes. They now use the same pellet system the player will have, so doing this is no longer a guarantee like an actual wall is.

Shotguns should be far more consistent up close, and usually less lethal at range due to having spread.

Config

Configurable aspects:

  • Number of pellets, split between tight and loose
  • Spread of pellets in degrees, split between tight and loose

CHANGELOG

0.1.0

Initial Release.

0.2.0

Pellets now add up their hits and deal damage all at once, which will allow more in-depth damage in the future (damage falloff at range). This also prevents piercing through low hp enemies.

Note: Pellet grouping now means Nutcrackers hitting you with 3+ pellets is lethal rather than being a critical injury for relevant hp amounts.

Damage to enemies is now hits/2+1 (rounded down) rather than one damage per pellet. You can still one-shot 5 health enemies but you now need to hit with 8 pellets and not 5, though 2 health enemies still only need 2 pellets.

Code cleanup and referenced git repo for link.

0.2.1

Removed LC_API as a dependency as it's not currently needed.

0.2.2

Properly removed LC_API as a dependency.

Fixed spiders not taking the right amount of damage.

0.3.0

Added config settings for pellet count and spread, synced to clients.

Added missing BepInEx dependency.

0.3.1

Fixed load errors.

0.3.2

Removed spider fix as this is fixed in vanilla now.

0.3.3

Fixed multi-player config sync error.

0.3.4

Support for V50.

0.3.5

Fixed an issue where the mod was not patching shotgun functions correctly.

0.3.6

Now, it should sync damage properly and should support the Hitmarker mod.

0.3.7

Updated for V56.

0.3.8

Added the ability to configure whether the nutcracker can kill other enemies or not.

1.0.0

Support V62.