Welcome,
Guest
. Please
login
or
register
.
July 06, 2025, 01:57:14 PM
News:
tastyspleen.net discord server:
http://discord.tastyspleen.net
Home
Forum
Help
TinyPortal
Search
Calendar
Login
Register
tastyspleen::quake 2 community
»
Forum
»
Quake Related Topics
»
Quake
(Moderator:
[BTF]DeathStalker
) »
Two technical questions about Quake 4
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Two technical questions about Quake 4 (Read 96 times)
Starshot
Newbie
Posts: 2
Rated:
Two technical questions about Quake 4
«
on:
July 02, 2025, 04:00:22 PM »
Hey everybody,
I got two questions regarding Quake 4:
1. Is there a way to permenatly save the "pm_speed command" to the configfile (or anywhere else) so I don't have to put it in manually everytime I die?
2. Is there a way to fixate the weapon so that it won't move around when I stand still or walk?
Logged
QwazyWabbit
Carpal Tunnel Member
Posts: 1377
Rated:
Re: Two technical questions about Quake 4
«
Reply #1 on:
July 03, 2025, 07:03:14 AM »
1. From the source code it looks like the pm_* cvars are stored in a def/player.def file. Look there.
2. I'm not sure if it can be de-animated. You might try setting g_gun_pitch, g_gun_yaw, g_gun_roll to zero and see if that's what you want. Otherwise, I'd investigate what g_gunViewStyle does for you.
Logged
Starshot
Newbie
Posts: 2
Rated:
Re: Two technical questions about Quake 4
«
Reply #2 on:
July 03, 2025, 01:03:03 PM »
Thanks for your reply.
Sorry I forgot to mention that I'm on the original vanilla DVD Quake 4. So I only have the configfile.
As for those commands: those are all command lines for your weapon positioning. Like for instance if you like your gun higher shown or more to the right or shouldered etc.
Logged
QwazyWabbit
Carpal Tunnel Member
Posts: 1377
Rated:
Re: Two technical questions about Quake 4
«
Reply #3 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.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
tastyspleen::quake 2 community
»
Forum
»
Quake Related Topics
»
Quake
(Moderator:
[BTF]DeathStalker
) »
Two technical questions about Quake 4
El Box de Shoutamente
Last 10 Shouts:
|iR|Focalor
July 04, 2025, 06:33:05 AM
RyU
June 29, 2025, 06:27:46 PM
Q2 must never die
|iR|Focalor
May 26, 2025, 01:17:30 PM
-Unh0ly-
May 24, 2025, 10:08:35 PM
https://drive.google.com/file/d/1qwsj3EM4s5svp0b8oJLZt_An6990RB-o/view?usp=sharing
QUAKE 2 RTX
-Unh0ly-
May 22, 2025, 05:45:28 PM
https://drive.google.com/file/d/1VB1if3QjStPWCpbB33vbx7OOef-Negd3/view?usp=sharing
DUST 2 HD TEXTURES PUT IN BASEQ2 folder
Yotematoi
May 17, 2025, 08:33:15 AM
Yo desde el año 2007 me enfermé de Q2, es incurable
Morir y revivir es costumbre, lástima q el QT estaba bueno
ImperiusDamian
May 12, 2025, 01:45:35 AM
Quake II is not 27 years old. I refuse to accept THAT much time has gone by.
|iR|Focalor
May 11, 2025, 02:33:39 PM
-Unh0ly-
May 03, 2025, 08:02:46 AM
198.179.6.200:30634
Yotematoi
May 02, 2025, 10:27:47 AM
Note for Player-4109 "Remember, the Guinness Book of Records does not include cowards who shot at someone by treachery."
Show 50 latest
User
Welcome,
Guest
. Please
login
or
register
.
July 06, 2025, 01:57:14 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced search