Xonotic Forums
weapon view model position command? - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Community (https://forums.xonotic.org/forumdisplay.php?fid=6)
+--- Forum: Xonotic - General (https://forums.xonotic.org/forumdisplay.php?fid=18)
+--- Thread: weapon view model position command? (/showthread.php?tid=10051)



weapon view model position command? - cynthiadams - 08-14-2025

Hello,
Is there a console command that lets you change the weapon position? I'm not referring to the options menu. In the Quake games, there are commands like "cg_gunx/y/z" that you could use.

I prefer middle shots, but the middle weapon model option is too large. Turning off weapon models can be confusing since there are only four ammo types in Xonotic.


RE: weapon view model position command? - bones_was_here - 08-14-2025

Code:
cl_gunoffset is "0 0 0" ["0 0 0"] Adjust the weapon viewmodel position, applies only to your own first person view and is relative to cl_gunalign
It takes a vector so it has to be set with quotes.