Irbyz / aftershock-xe

AfterShock XE is a fork of the AfterShock mod for OpenArena FPS game.
https://discord.gg/fd79Ktf
GNU General Public License v2.0
12 stars 8 forks source link

true zoom sensitivity #123

Closed kler01 closed 5 years ago

kler01 commented 5 years ago

something that would modify the native +zoom cmd with a pitch/yaw modification found here : http://openarena.wikia.com/wiki/Configuration_examples/Scale_mouse_sensitivity_with_zoom or a sens modification would be really cool :) either as something along the lines of "cg_truezoom 1 or 0" or/and a different variable with the ability to fine tweak it with specific values

dedavidd commented 5 years ago

cg_fovbase (default 115) : the value cg_fov that is assumed to be your most common that you have adjusted your mouse sensitivity to. cg_fovbasevertical (default 75): the vertical field of view of you most common cg_fov. see the openarena wikia for details.

cg_zoomSensitivityASmode value 0: looks at cg_fovbasevertical (default 75) to calculate the sensitivity from the fov value 1: looks at cg_fovbase (default 115) to calculate the sensitivity dynamically during zooming and zoom transitions. following the formula from the ODS spreadsheet value 2: looks at cg_fovbase but instead of the zoomsensitivity scaling it changes the m_pitch and m_yaw cvars. follows ODS spreadsheet formula value 3: (daviddmodus) looks at cg_fovbase and does the quickest possible calculation