Q2 SV_CalcGunOffset

Discuss programming topics for the various GPL'd game engine sources.
Post Reply
JasonX
Posts: 422
Joined: Tue Apr 21, 2009 2:08 pm

Q2 SV_CalcGunOffset

Post 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?
qbism
Posts: 1236
Joined: Thu Nov 04, 2004 5:51 am
Contact:

Re: Q2 SV_CalcGunOffset

Post 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.
Post Reply