JBMod / jbmod

Official bug tracker and request tracker for JBMod
https://www.jbmod.com/
14 stars 1 forks source link

FOV commands that ACTUALLY change your fov #57

Closed StressedCatInABox closed 1 year ago

StressedCatInABox commented 1 year ago

Is your feature request related to a problem? Please describe. Playing on the HL2 campaign breaks your fov on the start of the first map seemingly, and it would be nice to change my fov back to default. Right now, the fov commands only change your viewmodel fov in some weird way, and doesn't actually change it...

Describe the solution you'd like Add viewmodel fov and desired fov commands to the game

Describe alternatives you've considered Fix the fov breaking or smth, or how the fov currently gets changed.

Additional context Current fov command basically just does this: image

TEAMJBMOD commented 1 year ago

fov should work on almost every map that isn't d1_trainstation_01.

The reason it doesn't work there is because the fov command changes your default FOV, while the map's scripts change your actual FOV. And it doesn't properly reset it - it just changes it to 75 when it's done. That makes the game behave similarly to if you were in the middle of zooming which is why the viewmodel gets messed up.

I don't know why it doesn't seem to happen in HL2. This is partially fixed in the next release until I can look into it more. It should work properly as long as you use default FOV.