Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

Camera locked below character after firearm malfunction.

Open Kozakow opened this issue 1 year ago • 1 comments

Describe the bug

When firearm malfunctions in a way that requires the use of the (m)end action while using the (*) snap-to-target mode, camera z-level position won't reset to the correct z-level. Identical bug as in #69766. #69800 fixed it for 90% of the cases, but this one is obscure enough that it stayed unnoticed Easily fixable by editing the .sav file, but it would be nice if it didn't happen in the first place. Might be hard to reproduce, given that malfunctions are extremely rare.

Attach save file

N/A

Steps to reproduce

  1. Put the character 1 z-level above the target.
  2. Shoot at it until a malfunction requiring (m)ending happens (stovepipe for example).
  3. Enjoy not being able to return your camera to the correct z-level.

Expected behavior

Not having my head stuck in the ground.

Screenshots

No response

Versions and configuration

  • OS: Windows
    • OS Version: 10.0.19045.4651 (22H2)
  • Game Version: cdda-experimental-2024-09-08-0259 6dc777e [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [ Dark Days Ahead [dda], Magiclysm [magiclysm], Disable NPC Needs [no_npc_food], Portal Storms Ignore NPCs [personal_portal_storms], Slowdown Fungal Growth [no_fungal_growth], SpeedyDex [speedydex], Stats Through Kills [stats_through_kills], Bombastic Perks [bombastic_perks], Work in Progress Limb Stuff [limb_wip], Translate Complex Dialogue [translate_dialogue] ]

Additional context

No response

Kozakow avatar Sep 08 '24 14:09 Kozakow

I've also had my view get stuck like this.

JohnHenryEton avatar Sep 11 '24 01:09 JohnHenryEton

I also ran into this problem, is there a way to fix it? It's a shame to lose a 60 hour save. 1-trimmed.tar.gz

svakob avatar Oct 03 '24 17:10 svakob

I just found a way to fix it. In the file #QXlhbmFtaSAx.sav in the save folder there is a view_offset_z field that must be set to 0

svakob avatar Oct 03 '24 17:10 svakob

Fixed by #76974

Related, #76975 would allow you to reset your view even should it get stuck again.

RenechCDDA avatar Nov 24 '24 07:11 RenechCDDA