]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
w_arc: various teleport/warp related fixes.
authorRudolf Polzer <rpolzer@localhost>
Fri, 16 May 2014 19:27:56 +0000 (21:27 +0200)
committerRudolf Polzer <rpolzer@localhost>
Sun, 18 May 2014 18:53:24 +0000 (20:53 +0200)
commita84b696dfa64e566e791cab2a026c42bbba4e518
treea8bab11fac3c54d245824e937e9fb8a6c6028790
parentfca9d306878750e9523e97225c36a4237559b729
w_arc: various teleport/warp related fixes.

- Reset arc beam on warp/teleport.
- Lock arc beam for a RTT after reset (so the beam is straight at
  matching times/locations on client/server, after which everything is
  consistent again).
- Use unwarped view origin and angles on client to fix behaviour when
  the client is currently predicting the warp, as there's no signal for
  begin of warp prediction.
- Fix TrueAim-like logic on client when standing right against a wall
  (use the same avoid-shotorigin-poking-into-solid hack as other TrueAim
  code does).

warpzonelib: provide unwarped origin/angles in a variable.
qcsrc/client/View.qc
qcsrc/client/csqcmodel_hooks.qc
qcsrc/common/weapons/w_arc.qc
qcsrc/server/t_teleporters.qc
qcsrc/server/weapons/tracing.qc
qcsrc/warpzonelib/client.qc
qcsrc/warpzonelib/client.qh