Discuss programming topics for the various GPL'd game engine sources.
Moderator: InsideQC Admins
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?
- Posts: 422
- Joined: Tue Apr 21, 2009 2:08 pm
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.
- Posts: 1236
- Joined: Thu Nov 04, 2004 5:51 am
Return to Engine Programming
Who is online
Users browsing this forum: No registered users and 3 guests