Forums » Bugs

Zoom Key Resets FOV where it shouldn't

Oct 02, 2008 slime73 link
The Zoom key will reset your fov to 75 if you press it anywhere, even if the HUD doesn't have focus, which it shouldn't.
Oct 03, 2008 yodaofborg link
Yes, this happens even while typing, for instance, if I have set fov to 65, and I type in the chatbox (or console) Hi VO, it will reset me back to 75.
Oct 04, 2008 raybondo link
heh cool.
Oct 05, 2008 maq link
I assumed it's like that because it might be bound to keys not used for typing, say joystick or mouse buttons (which should work even if you are in chat).
Tho now i see i may have been wrong... >.>
Oct 05, 2008 a1k0n link
It's because the key-up events are sent regardless of context, in order to prevent keys from "sticking"; e.g. you press a key, change context (say, open a menu), release it, and return to your original context (exit the menu), and the key is "stuck".

The "zoom" thing is a stupid hack which reduces your FOV on key-down, and then set it back on key-up. Except it just hardcodes those values.
Oct 05, 2008 blacknet link
Can you suggest a better way to do the zoom than the stupid hack?