Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewmodel FOV not being saved #643

Open
smug opened this issue Dec 17, 2021 · 2 comments
Open

Viewmodel FOV not being saved #643

smug opened this issue Dec 17, 2021 · 2 comments

Comments

@smug
Copy link

smug commented Dec 17, 2021

Discussed in #444 but no solution was given.

Viewmodel FOV will reset upon game restart.

@WinkelCode
Copy link

WinkelCode commented Jul 24, 2022

I'm having the same issue, other settings and progress saves fine but viewmodel FOV always resets to 85 on restart.

There are some older Discord messages on the SWAT4 CO-OP server where someone has the same issue and someone else replied that the setting is being saved for them.

@WinkelCode
Copy link

WinkelCode commented Jul 24, 2022

Workaround Discovered:

Open {mod folder}\System\Swat4X.ini and add the following

[Engine.FOVSettings]
FPFOV=85.0000

Replace 85.0000 with your desired viewmodel FOV, for example 95.0000.

Caveat: You still can't change it via the settings menu, but you can at least configure what it defaults back to.

For completeness: The normal FOV is saved in {mod folder}\System\User.ini under [Engine.PlayerController] as BaseFOV=97.330002, 97.330002 being the value to change, for example to 120.000000. For me this value is correctly saved when using the settings menu.


I am not an Unreal Engine expert so this came from trial and error based on information from the source code. I find it weird that BaseFOV is in User.ini, while the FOVSettings section has to be in Swat4X.ini (it doesn't work in User.ini), maybe there is still a way to make it properly save changes from the settings menu?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants