1
Quake / Re: Two technical questions about Quake 4
« on: July 04, 2025, 06:58:32 AM »
OK. I'll have to take your word on that. I don't have the original source code for Q4 and I don't think it was ever published. Only the game code I found online as Q4SDK. I assumed it wasn't too far from the original game. If the q4sdk was more advanced then I guess there isn't a fix in the vanilla game code, seems kind of a cheat anyway if a client can change his speed. I see the default speed is 160 in q4sdk and there are no limits or clamps on the value it can be set to.
Those are not gun positioning commands. Those are acceleration values applied to the gun animation when the player view changes in response to turns and jumps, etc., bobbing. The gun position variables are g_gun_x, g_gun_y, g_gun_z that position the gun in the view.
I hope someone else can answer more authoritatively for you.
Those are not gun positioning commands. Those are acceleration values applied to the gun animation when the player view changes in response to turns and jumps, etc., bobbing. The gun position variables are g_gun_x, g_gun_y, g_gun_z that position the gun in the view.
I hope someone else can answer more authoritatively for you.