tf2classic / tf2classic-issue-tracker

For reporting bugs in Team Fortress 2 Classic.
10 stars 0 forks source link

zoom animation causes issues with custom zoom_sensitivity_ratio #346

Open SArpnt opened 2 months ago

SArpnt commented 2 months ago

from what i've seen with both tf2 and tf2c, the zoom sensitivity system works like this: (change in sensitivity) = (current fov) / (normal fov) * zoom_sensitivity_ratio the sniper rifle always zooms in to 20 fov, and the revolver always zooms in to 40 fov. when scoping in with either weapon, there's a zoom in animation that lowers the fov until it hits the target fov

there's a few consequences of this that seem like a mistake if players are expected to be able to change the zoom sensitivity ratio, although i'm not sure if this is expected to be done since it's a console command not provided in any of the settings menus.

  1. changing the main fov changes the sensitivity while zoomed in if a player changes from fov 90 to fov 130, the scope will look the same, but the mouse movement will be much slower unless the zoom sensitivity ratio is adjusted to match. i assume most people playing tf2c also play tf2, so any sniper will likely have a lot of trouble trying to use a high fov since by default it will completely ruin any muscle memory. this is still an issue in standard tf2, but it's much less relevant since the fov range is so limited.

  2. the zoom sensitivity ratio applies instantly when zooming in, including during the animation if a player tries to set the zoom_sensitivity ratio so that the sensitivity is the same (the distance the mouse needs to move to do a full turn), then it will go too fast during the zoom in animation

  3. the two different zoom levels can't have their sensitivity adjusted individually luckily the way the math works out, if a player changes from 90 fov to 130 fov, they can set zoom_sensitivity ratio to 1.44444 and it will behave the same again for both weapons (except for the zoom animation which is still a problem), but if the player wants the revolver to have no sensitivity change (the same rotation from the same mouse movement) there is no way to do that without also affecting the sniper rifle.

i'm not sure if this is the correct place to bring these up but i don't know of any better place to bring these up.

even if the zoom sensitivity ratio isn't meant to be changed, i would reccomend counteracting point 1 by adjusting the behaviour above fov 90. from 75 to 90 is fine as is since it matches tf2, but i think above 90 degrees should make the zoomed in sensitivity match whatever it would be zoomed in at 90 degrees (since most people playing tf2c also play tf2, and can't set the higher fov in tf2) and because above 90 degrees it doesn't make much sense to adjust the sensitivity at all, since large fovs don't create the illusion of panning and there is no reasonable way to match pixel distances.