momentum-mod/game

FOV converter in settings

Closed this issue · 3 comments

Is your feature request related to a problem?

Players coming from Quake 3 would like to be able to convert their horizontal FOV to Source's weird FOV. There are tools online that can do this like https://casualhacks.net/Source-FOV-calculator.html

Describe the solution you'd like

Add an FOV converter in the settings that takes horizontal FOV and converts it to Source FOV.

Describe alternatives you've considered, if any.

No response

Additional context

No response

Link you posted isn't loading for me!

But this sounds good, something that could be done purely in Panorama JS if we have details of how Q3 FOV maps to Source.

The math isn't bad at all, not sure why that page isn't loading for you but it has a very compact JS implementation right there in the source.

Here's the source code for that page (txt file because github is stupid)
Source FOV calculator.txt