Author Topic: Need a fixfov add-on  (Read 3200 times)

I really need an add-on where you use a command to set a fov and fix it to that, it would be very useful.
« Last Edit: July 26, 2017, 06:24:24 AM by Snaked_Snake »

just use the f button

just use the f button
I asked for the add-on, not the thing I have to do every time I change weapons.

nexus made a general command gui that may work well for you
forum post link

with that you can add a command to setFov and bind a key to it
if you wanted you could even tell it to toggle a loop that constantly uses setFov

PlayGUI.forceFOV = (number from 1 to 179); prevents servers from changing the FOV but also disables zooming. (to disable: PlayGUI.forceFOV = 0;)

edit: for screenshots, change PlayGUI to NoHudGUI

You could probably use Nexus's Server Command Gui to toggle between your preferred zoom ($Pref::Player::CurrentFOV) and your preferred FOV ($pref::Player::defaultFov)

edit: replaced [tt]
« Last Edit: May 12, 2018, 05:15:19 PM by dargereldren »

Honestly what I'd really prefer is the /fixfov add-on, these suggestions are nice but I really would like that one add-on.

as a server addon or client addon?

as a server addon or client addon?
Server add-on.

I know Tezuni's Prison Escape uses it, and it works really well, that's the one I'm thinking about.

a server addon to just set your FoV once?
or to make it unchangeable?

a server addon to just set your FoV once?
or to make it unchangeable?
A server add-on, so when you set the fov it stays at that, using weapons won't reset your fov to 90 like usual and it will stay at the fov you set it at.

it would probably be better to fix the weapons doing it
but it could be possible to save the original FoV to a client variable, then have a loop checking if the FoV has been set to 90 and then change it

The one I'm trying to describe goes like this

Because weapons reset your fov, you use the command /fixfov (fovnumber), so for me it would be /fixfov 106, Tezuni has it on his Prison Escape server, if you go on there you can see it.

is that after using the weapon, or before?

describe a use case and how it works

ie:
/setfov 110
use gun, FoV changes to 150
put away gun
FoV is automatically 110 again

or

use gun, FoV changes to 150
put away gun
/setfov 110
FoV is now 110
« Last Edit: July 27, 2017, 01:59:55 PM by phflack »

Here's how it is
/fixfov 106
Pull out gun, FOV stays 106
Put away gun
FOV still at 106

if it's a server addon, the server would need the addon for you to use it
and it wouldn't work out quite as well, there may be some jerkiness with FoV getting set and reset (not sure the setFoV function can be overwritten)

are you sure you want it to be a server addon and not a client one?
if it's a client addon then it'd work on any server you go to, and wouldn't have the jerkiness problem