momentum-mod / game

Momentum Mod - Standalone Source Movement Speedrunning (READ README)
https://momentum-mod.org
Other
514 stars 206 forks source link

FOV converter in settings #2126

Open chovelyoukai opened 4 months ago

chovelyoukai commented 4 months ago

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

tsa96 commented 4 months ago

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.

chovelyoukai commented 4 months ago

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.

chovelyoukai commented 4 months ago

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