]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Fix decals not appearing when a projectile with 0 size (blaster, crylink, hagar)...
authorterencehill <piuntn@gmail.com>
Sun, 8 Jan 2023 17:30:32 +0000 (18:30 +0100)
committerterencehill <piuntn@gmail.com>
Mon, 9 Jan 2023 11:11:26 +0000 (12:11 +0100)
commit4942d749e35fa3b5d5759d51bdae689492dd1c17
treefd68c8fa8682ca150eee97714bdc9db43f9c53ba
parentb797c4a2f024effefbbfcc9de4d2a39cb7ec79cb
Fix decals not appearing when a projectile with 0 size (blaster, crylink, hagar) hits a surface with a small angle. This fix also improves the previous fix for the same issue for hitscan weapons (1db2592)

Now the w_backoff factor is 2 for all weapons, except for the hook (-2) whose bomb explodes slightly below the floor
22 files changed:
qcsrc/common/effects/qc/damageeffects.qc
qcsrc/common/mutators/mutator/overkill/okhmg.qc
qcsrc/common/mutators/mutator/overkill/okmachinegun.qc
qcsrc/common/mutators/mutator/overkill/oknex.qc
qcsrc/common/mutators/mutator/overkill/okrpc.qc
qcsrc/common/weapons/weapon/arc.qc
qcsrc/common/weapons/weapon/blaster.qc
qcsrc/common/weapons/weapon/crylink.qc
qcsrc/common/weapons/weapon/devastator.qc
qcsrc/common/weapons/weapon/electro.qc
qcsrc/common/weapons/weapon/fireball.qc
qcsrc/common/weapons/weapon/hagar.qc
qcsrc/common/weapons/weapon/hlac.qc
qcsrc/common/weapons/weapon/hook.qc
qcsrc/common/weapons/weapon/machinegun.qc
qcsrc/common/weapons/weapon/minelayer.qc
qcsrc/common/weapons/weapon/mortar.qc
qcsrc/common/weapons/weapon/rifle.qc
qcsrc/common/weapons/weapon/seeker.qc
qcsrc/common/weapons/weapon/shockwave.qc
qcsrc/common/weapons/weapon/vaporizer.qc
qcsrc/common/weapons/weapon/vortex.qc