branchrust_reboot/main/ServerBulletRadiusFixcancel

5 Commits over 0 Days - ∞cph!

15 Days Ago
Fixed BaseProjectile ServerUse adding AI aim cone even when a human player was shooting
16 Days Ago
Improve ServerUse for weapons with >0 thickness. Previously a sphercast would find all hits along the bullet's travel, and then hit the first valid solid object. But imagine a theoretical bullet with e.g. 20m thickness, hitting the ground in the middle of a crowd of players. That bullet hits the ground first, so that's considered the canonical hit, and no players take damage at all. In this updated version, we only exit once we've done damage to something that can actually take damage, otherwise we keep looking through all the hits. Since this means we might now find valid hits behind solid static objects, we now also check for visibility of the hit.
16 Days Ago
Minor edit, don't need a separate method here
16 Days Ago
Added a backup generic hit pos so the attack heli rockets crosshair doesn't ever have to reset confusingly to the center of the UI
16 Days Ago
Get rid of most of the unused commented code