View Issue Details

IDProjectCategoryView StatusLast Update
0006594The Dark ModSaving/Loadingpublic25.01.2025 14:22
Reporterthebigh Assigned To 
PrioritynormalSeveritynormalReproducibilityalways
Status newResolutionopen 
OSallOS Versionall 
Product VersionTDM 1.00 
Target VersionTDM 2.14 
Summary0006594: FOV settings not saved correctly in save games
DescriptionThis bug was originally reported by ClockWood on the forum:

https://forums.thedarkmod.com/index.php?/topic/22606-bug-report-fov-resets-after-loading-save-file/#findComment-498605

Only the first save of a playthrough properly saves the FOV settings. Changing FOV after that leads to weirdness where the new value is only displayed when you're holding an object and immediately reverts when you drop it.
Steps To ReproducePlay Closemouthed Shadows, because it has a crate right by the starting location.

Save.

Change the FOV.

Save.

Load.

FOV has changed back to the original value. Now pick up the crate. The FOV snaps to the new value only as long as you're holding it.
TagsFOV

Activities

nbohr1more

nbohr1more

04.12.2024 18:22

developer   ~0016926

Looks like both Player.cpp and Target.cpp have fov "event" code that might be forcing the default fov on restore
stgatilov

stgatilov

25.01.2025 14:22

administrator   ~0016963

There is "zoomFov" interpolation, supposedly used for spyglass.
It is set on mission start and saved in savefile.

Most likely there is logical issue, like trying to drive single value by several independent features (player FOV settings / gameplay zoom).
It should be solved by making separate values: one is player-controlled fov, the other is the gameplay adjustment.
Camera parameters are computed on-the-fly from these independent variables.
The adjustment can be zoom factor (it we want spyglass view to be affected by fov changes) or interpolation parameter towards zoomed fov (if we want to make spyglass view fixed regardless of player fov).

Issue History

Date Modified Username Field Change
02.12.2024 20:16 thebigh New Issue
02.12.2024 20:16 thebigh Tag Attached: FOV
03.12.2024 16:47 nbohr1more Product Version TDM 2.12 => TDM 2.06
04.12.2024 03:49 nbohr1more Product Version TDM 2.06 => TDM 1.00
04.12.2024 18:23 nbohr1more Note Added: 0016926
25.01.2025 14:22 stgatilov Note Added: 0016963
25.01.2025 14:22 stgatilov Target Version => TDM 2.14