Adjust fov range check
The field of view (fov) has been adjusted in Legacy so the default value is always "natural" by default, regardless of actual the resolution. This is done by using the horizontal FOV formula
There are still a few fov adjustment left to do in the code though. These value have been designed for the 4/3 screen era, and are not adequate when used with nowadays 16/9 screens.
The competition configs we ship have a range check from [90, 120]. The modern equivalent would be [73.74, 104.82]. Currently [90,120] on Legacy would be [106.26, 133.27] in other mods, so our values are"shifted" and need to be fixed.
- MGs and Tanks use a specific "zoomed" fov of 55 and 75, respectively, and are properly adjusted automatically too.
- Maximum fov value is forced to 160, while the minimum fov is forced to 90. We might want to lower this value to allow for quick zoom when shooting?
In attachment a few screenshots for fov comparison between Legacy and other mods. Legacy fov 90 is the equivalent of other mod fov 106.
To be noted: some players use some "zoom" script to temporarily reduce the field of view but ease aiming on target (spread will still be the same).
Funnily enough, that wasn’t possible in the 4/3 era, but when 16:9 screen came on market, suddenly the [90, 106] range was zoomed.
With Legacy forcing the minimum at 90, we’re more or less back to the original design.
I’m not strictly against allowing a zoom here, just pointing it out - thought that was funny.