All pastes #2072924 Raw Edit

Mine

public text v1 · immutable
#2072924 ·published 2011-05-31 19:41 UTC
rendered paste body
[20:44:07] <divVerent> the issue is easy to explain
[20:44:09] <divVerent> but hard to fix
[20:44:26] <divVerent> I changed CSQC code to always set the player position... was needed to make the death cam smooth
[20:44:40] <divVerent> and that, due to an engine bug, breaks the gun model anims
[20:44:47] <divVerent> the problem is, LH considers this not a bug but a feature
[20:45:31] <divVerent> 18:10:04          @LordHavoc | viewmodelstuff is supposed to go away whenever csqc is active
[20:45:33] <divVerent> 18:10:12          @LordHavoc | it's the viewmodel bob
[20:46:21] <noobermin> what does it accomplish?
[20:48:22] <divVerent> basically, he says that it was a bug that the gun model animations worked in the first place
[20:48:29] <divVerent> because they SHOULD only work for mods not using CSQC
[20:52:34] <theShadow_> sobasically
[20:52:50] <theShadow_> we can have weapon animations, or CSQC
[20:52:52] <theShadow_> but not both
[20:52:52] <divVerent> yes
[20:53:05] <divVerent> until we let csqc draw the weapon model entirely
[20:53:16] <DiaboliK> which is what im working on
[20:53:16] <divVerent> then csqc has full control again
[20:53:27] <divVerent> till then, we probably have to live with having no weapon anims
[20:48:22] <divVerent> basically, he says that it was a bug that the gun model animations worked in the first place
[20:48:29] <divVerent> because they SHOULD only work for mods not using CSQC
[20:52:34] <theShadow_> sobasically
[20:52:50] <theShadow_> we can have weapon animations, or CSQC
[20:52:52] <theShadow_> but not both
[20:52:52] <divVerent> yes
[20:53:05] <divVerent> until we let csqc draw the weapon model entirely
[20:53:16] <DiaboliK> which is what im working on
[20:53:16] <divVerent> then csqc has full control again
[20:53:27] <divVerent> till then, we probably have to live with having no weapon anims
[20:53:40] <divVerent> as LH blocks fixes to this by saying the previous behaviour is a bug
[20:54:17] <noobermin> can we move toward csqc drawing it then?
[20:54:26] <divVerent> yes, but it is a very complicated and long move
[20:54:29] <divVerent> it's half a game rewrite

...

[21:02:24] <CIA-2> xonotic: [divVerent/fix_viewmodel_matrix] Rudolf Polzer  * 31961d0e8ad6 divVerent@darkplaces.git/ (clvm_cmds.c view.c): no idea why this fixes stuff, but it does
[21:03:02] <divVerent> this commit BTW is the fix that LH rejects
[21:03:05] <divVerent> it works fine for me...
[21:03:19] <divVerent> or rather, the preceding one
[21:03:26] <divVerent> I have no idea why the matrix math is backwards there
[21:04:40] <DiaboliK> another weird thing is it attaches all the players weapon models to me
[21:07:47] <divVerent> one thing is odd about my branch BTW... for unknown reason, it also fixes vieweffects glitches with warpzones
[21:07:51] <divVerent> not entirely sure why