]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Disable keepaway ball pickup delay 1432/head
authorbones_was_here <bones_was_here@xonotic.au>
Fri, 7 Jul 2023 10:02:41 +0000 (20:02 +1000)
committerterencehill <piuntn@gmail.com>
Tue, 14 Jan 2025 14:22:42 +0000 (14:22 +0000)
commit631838ce6dfbdb204df43c346c80b8bc557adb30
treeee2ec586ee26565aede8ad7e23779d19b16ef0d0
parentc42cc19fc482ea8ec461dc1249a3495e5d26d780
Disable keepaway ball pickup delay

The delay was frustrating when getting a bckill in midair but being
unable to pick up the ball despite having travelled through it.

We still need to prevent instant pickup by the previous owner so the
ball can be dropped manually. Sharing a field from KH for this with the
same 0.5s delay as used when throwing a weapon.
qcsrc/common/gamemodes/gamemode/keepaway/sv_keepaway.qc
qcsrc/common/gamemodes/gamemode/keyhunt/sv_keyhunt.qc
qcsrc/common/gamemodes/gamemode/tka/sv_tka.qc