Forum

Page 1 of 1

Q2 SV_CalcGunOffset

PostPosted: Wed Jan 24, 2018 3:50 am
by JasonX
I'm trying to create a small weapon bob effect like the one in Doom in the Q2 codebase. After inspecting the SV_CalcGunOffset function, it seems that some sort of animation is already written here, but nothing happens in game. Is it possible that this code is being overridden by something else?

Re: Q2 SV_CalcGunOffset

PostPosted: Fri Feb 02, 2018 7:23 pm
by qbism
Cool to see Q2 get some modding and map interest recently.

Anyway, that function just modifies angles. It doesn't change x,y,z. Although it looks like ID might have thought about bob.