FOV ...
Scale pitch sensitivity for mouse (mouse y delta) and the keyboard pitchspeed by multiplying it by fov_y/90.
Scale yaw sensitivity for mouse (mouse x delta) and the keyboard yawspeed by multiplying it by fov_x/90.
Or is this wrong to do? Because it ties input speed to the video mode (since fov_y is calculated in a way that depends on the aspect ratio).
Or maybe just do it for FOV < 90 (so that unreasonably small fov get scaled, but fov that someone might actually use like 90-120 are unaffected). And only use fov_x/90 for the multipler for both to keep the video mode out of the equation (I mean wouldn't it suck to have a nice setup just to find that if you changed to a video mode with a slightly different aspect ratio it messed with your aim).
Sensitivity and Keyboard scaling on fov
Sensitivity and Keyboard scaling on fov
The night is young. How else can I annoy the world before sunsrise? Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
Re: Sensitivity and Keyboard scaling on fov
How about this: modify the command line parser to support math and cvar substitution (even a second command line language), and provide a cvar with the sole purpose of reporting the fov scaling as calculated by the engine. Then the user can use that value in fov changing scripts.
Leave others their otherness.
http://quakeforge.net/
http://quakeforge.net/
Re: Sensitivity and Keyboard scaling on fov
dp has a sensitivity scaler field, sent as a stat so the client can see it.
a big problem with automagic scaling is mods that do it automatically anyway. now you can't change your angle at all when zoomed in.
if its for users, just let the user set it when they change the fov.
a big problem with automagic scaling is mods that do it automatically anyway. now you can't change your angle at all when zoomed in.
if its for users, just let the user set it when they change the fov.
Re: Sensitivity and Keyboard scaling on fov
That doesn't sound very user-friendly. I was thinking of ways to "automagically" make something transparent to the user without thought.taniwha wrote:How about this: modify the command line parser to support math and cvar substitution (even a second command line language), and provide a cvar with the sole purpose of reporting the fov scaling as calculated by the engine. Then the user can use that value in fov changing scripts.
Just thinking about the problem in the abstract.Spike wrote:dp has a sensitivity scaler field, sent as a stat so the client can see it.
a big problem with automagic scaling is mods that do it automatically anyway. now you can't change your angle at all when zoomed in.
if its for users, just let the user set it when they change the fov.
The night is young. How else can I annoy the world before sunsrise? Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
Re: Sensitivity and Keyboard scaling on fov
doesn't quake ship with a zoom alias (bound to f11) that does this? Perhaps i'm mistaken....
I know one thing I did in my autoexec.cfg was change the alias to modify m_pitch and m_yaw instead, so that I could experiment with different sensitivities without it being reset every time i zoom in/out.
I know one thing I did in my autoexec.cfg was change the alias to modify m_pitch and m_yaw instead, so that I could experiment with different sensitivities without it being reset every time i zoom in/out.
Re: Sensitivity and Keyboard scaling on fov
Yeah, a truly horrific one. It sets your sensitivity to 3 after you let go of the key.metlslime wrote:doesn't quake ship with a zoom alias (bound to f11) that does this? Perhaps i'm mistaken....
alias zoom_in "sensitivity 2;fov 90;wait;fov 70;wait;fov 50;wait;fov 30;wait;fov 10;wait;fov 5;bind F11 zoom_out"
alias zoom_out "sensitivity 4;fov 5;wait;fov 10;wait;fov 30;wait;fov 50;wait;fov 70;wait;fov 90;bind F11 zoom_in; sensitivity 3"
The night is young. How else can I annoy the world before sunsrise? Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
Re: Sensitivity and Keyboard scaling on fov
How about if the fov change came from svc_stufftext then don't auto-scale, otherwise assume that it's either from the user or a cfg file and do.
I wouldn't auto-scale by changing the value of sensitivity (that's evil), just add a scaling factor to the calculations. But beware of ints in the input subsystem.
I definitely wouldn't be inclined to add a second text parser either. It seems as though every new subsystem that's added gets it's own text parser and it's beyond the point of silliness.
Agree with not auto-scaling for fov > 90 too.
I wouldn't auto-scale by changing the value of sensitivity (that's evil), just add a scaling factor to the calculations. But beware of ints in the input subsystem.
I definitely wouldn't be inclined to add a second text parser either. It seems as though every new subsystem that's added gets it's own text parser and it's beyond the point of silliness.
Agree with not auto-scaling for fov > 90 too.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for