View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006594 | The Dark Mod | Saving/Loading | public | 02.12.2024 20:16 | 25.01.2025 14:22 |
Reporter | thebigh | Assigned To | |||
Priority | normal | Severity | normal | Reproducibility | always |
Status | new | Resolution | open | ||
OS | all | OS Version | all | ||
Product Version | TDM 1.00 | ||||
Target Version | TDM 2.14 | ||||
Summary | 0006594: FOV settings not saved correctly in save games | ||||
Description | This 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 Reproduce | Play 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. | ||||
Tags | FOV | ||||
Looks like both Player.cpp and Target.cpp have fov "event" code that might be forcing the default fov on restore | |
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). |
|
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 |