CatStation/Content.Shared/Weapons/Ranged/Components
metalgearsloth 51b7af73f7
Double bullet speeds (#34971)
* Double bullet speeds

The only reason we had it at 20m/s was tunneling reasons.

The quick maths is (BodyA size + BodyB size) / frametime. Currently the game is doing substepping AFAIK so we can use 0.016 as the frametime therefore with a 0.40 width body we can get up to 40.625 (assuming the target is no narrower than 0.25 which given my thindows change last year should be a decently safe assumption).

* Fix

* Fix impact visuals, as they overshoot otherwise

* Revert changes

---------

Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
2025-12-07 16:35:06 +00:00
..
ActionGunComponent.cs make dragons breathe fire (#26746) 2024-05-07 17:25:41 -07:00
AmmoComponent.cs Automatically add trash tag to spent bullet casings (#40829) 2025-10-12 18:34:20 +00:00
AmmoProviderComponent.cs Spray nozzle can suck puddles into tank directly! (#30600) 2025-05-25 23:36:16 -04:00
AutoShootGunComponent.cs Star Wars 14: Shuttle weapon update (#23644) 2024-01-21 19:58:40 +11:00
BallisticAmmoProviderComponent.cs Implement some field-level deltas (#28242) 2024-12-21 15:54:11 +11:00
BasicEntityAmmoProviderComponent.cs Gun + PKA fixes (#16244) 2023-05-08 22:37:40 +10:00
BatteryAmmoProviderComponent.cs Predict powercells, chargers and PowerCellDraw (#41379) 2025-11-24 16:52:11 +00:00
BatteryWeaponFireModesComponent.cs Allow pacifists to use disabling modes of energy magnum and energy shotgun (#41029) 2025-10-30 19:19:36 +00:00
ChamberMagazineAmmoProviderComponent.cs Rework the Flare Gun & add a Security Shell Gun. (#32829) 2024-11-06 15:27:10 +01:00
ClothingSlotAmmoProviderComponent.cs Spray nozzle can suck puddles into tank directly! (#30600) 2025-05-25 23:36:16 -04:00
ContainerAmmoProviderComponent.cs Add access to gun components (#30688) 2024-08-09 17:39:27 +10:00
FlyBySoundComponent.cs Gun auto state handlers (#15186) 2023-04-13 18:08:56 -07:00
GrapplingGunComponent.cs Grappling gun's ReelRate can be changed (#30493) 2024-07-31 00:26:18 +10:00
GunComponent.cs Double bullet speeds (#34971) 2025-12-07 16:35:06 +00:00
GunRequiresWieldComponent.cs Add conditional camera offset based on cursor - Hristov Rework, Part 1 (#31626) 2025-01-28 00:20:45 +01:00
GunSpreadModifierComponent.cs Give kammerer tighter spread so it's not a complete downgrade to the enforcer (#37616) 2025-05-19 15:45:18 -07:00
GunWieldBonusComponent.cs Add conditional camera offset based on cursor - Hristov Rework, Part 1 (#31626) 2025-01-28 00:20:45 +01:00
MagazineAmmoProviderComponent.cs Add access to gun components (#30688) 2024-08-09 17:39:27 +10:00
RechargeBasicEntityAmmoComponent.cs Hivelord mob (#31322) 2024-09-11 09:52:27 -04:00
RechargeCycleAmmoComponent.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
ReflectiveComponent.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
RevolverAmmoProviderComponent.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
SharedAmmoCounterComponent.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
SolutionAmmoProviderComponent.cs Implement some field-level deltas (#28242) 2024-12-21 15:54:11 +11:00
SpeedLoaderComponent.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
TargetedProjectileComponent.cs Make projectiles not hit crit mobs unless clicked on (#27905) 2024-05-11 11:42:11 -04:00
UseDelayOnShootComponent.cs Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00