FovSlider
Set your third person field of view from 60 to 150 degrees in the game settings, without changing your resolution or aspect ratio. Client side, nobody else needs it.
| Last updated | 3 days ago |
| Total downloads | 15 |
| Total rating | 1 |
| Categories | Mods |
| Dependency string | Ryanlt-FovSlider-1.0.1 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
HoldfastModding-BepInExPack_Holdfast
BepInEx pack for Holdfast: Nations At War. Preconfigured and ready to use.
Preferred version: 5.4.2305README
FovSlider
A BepInEx mod for Holdfast: Nations At War that lets you set your third person field of view. The game locks third person at 102.5 degrees, so the only way to widen it has been to change your resolution or play in a narrower aspect ratio with black bars. FovSlider sets it directly, anywhere from 60 to 150 degrees.
The orbit camera uses the same FOV, so looking around your character no longer zooms in. Spyglass, binocular and cannon zoom still work in third person, and zooming out returns to your setting. First person keeps the game's own FOV slider.
This is a client-side mod. It changes nothing for anyone else on the server, works on any server you join, and nobody else needs it installed.
Install
With a mod manager. Install through r2modman or Thunderstore Mod Manager and launch the game from the manager. BepInEx is pulled in as a dependency, so there is nothing else to set up.
By hand. Install
BepInExPack_Holdfast
into the game folder and run the game once so it creates its folders. Then download FovSlider.dll from the
latest release and put it here:
Steam\steamapps\common\Holdfast Nations At War\BepInEx\plugins\FovSlider\FovSlider.dll
Did it work?
Open BepInEx\LogOutput.log and look for:
[Info : BepInEx] Loading [FovSlider 1.0.1]
If it is not there, the mod was not loaded. See Troubleshooting.
Settings
Open the game's settings and go to the Game tab. Under the first person camera settings there is a new Third Person Camera section with a Third Person FOV slider. The camera updates as you drag.
ConfigurationManager shows the same setting under FovSlider if you prefer it.
You can also edit BepInEx\config\com.ryannlt.fovslider.cfg, which is written on first run. Changes made in the
file apply the next time you start the game.
| Setting | Default | Range | Effect |
|---|---|---|---|
ThirdPersonFov |
102.5 |
60 to 150 |
Third person field of view in degrees. |
The value is the horizontal FOV, the same kind of number as the game's own first person slider.
Troubleshooting
Nothing in the log at all, or no log. BepInEx is not running. Check that winhttp.dll and a BepInEx
folder sit next to Holdfast NaW.exe. If you use a mod manager, launch the game from it rather than from Steam.
Mod loads but the FOV does not change. Check you are in third person, since first person uses the game's own setting. If you edited the config file, restart the game.
The game crashes on launch after adding the mod. Remove the .dll, launch to confirm the game is fine, then
open an issue with BepInEx\LogOutput.log attached.
Building
Only needed if you want to change something. Otherwise use the release above.
Requires: the game installed, BepInEx installed in an r2modman profile, and a .NET SDK for the compiler.
powershell -ExecutionPolicy Bypass -File .\build.ps1
That compiles the mod and copies the .dll into the r2modman profile's BepInEx\plugins\FovSlider\. Restart the
game to load it. Add -NoDeploy to build without copying, which is useful while the game is running and holding
the file. -ProfileName picks a profile other than Dev.
package.ps1 builds the same way and stages an uploadable Thunderstore zip in Package\.
The script expects the default install path:
C:\Program Files (x86)\Steam\steamapps\common\Holdfast Nations At War
Edit $GameDir at the top of the script if yours differs.
The .csproj is for IDE support only. build.ps1 is the real build.
Why there is no CI build
Building needs Assembly-CSharp.dll from a real install. Those are AGS files, not mine to redistribute, so
they cannot be committed here and a GitHub Actions runner has no way to get them. Releases are built locally and
uploaded by hand.
Compatibility
Built against Holdfast with BepInEx 5.4.23.5 (Mono). It patches the game's camera FOV method by name, so it usually survives game updates. If AGS changes how the camera sets its FOV it will stop working rather than misbehave. Open an issue if that happens.
License
MIT. Do what you like with it, no warranty.