Date uploaded | 9 months ago |
Version | 0.3.3 |
Download link | Hexi-HexiBetterShotgun-0.3.3.zip |
Downloads | 48498 |
Dependency string | Hexi-HexiBetterShotgun-0.3.3 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
Better Shotgun
Improves the vanilla shotgun by replacing the normal hit detection with a pellet spread.
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.