]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Attempt to move the repeater of the damage effect client side, using entcs to get...
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 25 Aug 2011 14:04:50 +0000 (17:04 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 25 Aug 2011 14:04:50 +0000 (17:04 +0300)
commitfe8fa62ddd3321825b7628645e3d4b809f07929d
tree1739d54b65a3ddecad458e5debad2770403739be
parentf2a79cba0897fb6f6cb7ebeecb596b5547af3ddd
Attempt to move the repeater of the damage effect client side, using entcs to get the player's origin. Previously, the server would send the effect to all clients every 0.1 seconds (lots of bandwidth). With this change, it will only send it once per damage event, and the client will find the origin and repeat it. Not guaranteed to work yet, and this commit might break it!
defaultXonotic.cfg
qcsrc/client/damage.qc
qcsrc/client/gibs.qc
qcsrc/server/autocvars.qh
qcsrc/server/cl_client.qc
qcsrc/server/cl_player.qc
qcsrc/server/g_damage.qc
qcsrc/server/g_violence.qc