Resource icon

Separate FOV for First-Person and Third-Person

Dabir

Nitpicker
What now?
Adds new console variables for first-person and third-person FOV, and automatically switches your FOV when switching between the two views.

Why...
120 degrees is a pretty nice FOV for playing in first-person, in my opinion. It gives you a nice wide view and a feeling of speed. However, that's waaaaay too wide for third-person, 90 or 100 would be better. So, why not both?

How does it work?
The console variable fpfov is your FOV in first-person. It defaults to 120.
The console variable tpfov is your FOV in third-person. It defaults to 90, or whatever you set fov to in autoexec.cfg.
If you try to set fov manually with this script loaded, it'll be overwritten immediately and do nothing. You can still use fov to check your current FOV.

Show me!


Changelog
V2
Uses the console variable for first/third-person instead of using a fake HUD to consult the camera, which fixes that weird delay between switching views and the FOV changing.
 

Attachments

  • VL_FPFOV-v1.lua
    1.6 KB · Views: 118
  • VL_FPFOV-v2.lua
    1.1 KB · Views: 132
Last edited:

Dabir

Nitpicker
V2
Uses the console variable for first/third-person instead of using a fake HUD to consult the camera, which fixes that weird delay between switching views and the FOV changing.
 

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Top