[ADVANCED CLIMBING] Dev build/LInux: climbing state not restored by saving/reloading [RESOLVED 0.10.23]

Bug topics that have been resolved.
Locked
User avatar
pango
Posts: 2348
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

[ADVANCED CLIMBING] Dev build/LInux: climbing state not restored by saving/reloading [RESOLVED 0.10.23]

Post by pango » Tue Apr 16, 2019 10:49 pm

If you create a gamesave while hanging from a wall or a ceiling, you may be in for a surprise when reloading because you'll be falling immediately, in some cases to your death if you have no levitation or slowfalling.
The only way out if you really must use that save is to use console commands.
(There may be an extra corner case if you try reloading after disabling Advanced Climbing; But let's assume game is reloaded with similar options).

This can be tested just about anywhere, attached gamesave is near the top of a dungeon shaft.
Attachments
SAVE218.zip
(292.6 KiB) Downloaded 62 times
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

BansheeXYZ
Posts: 555
Joined: Fri Oct 23, 2015 8:19 pm

Re: Dev build/LInux: climbing state not restored by saving/reloading

Post by BansheeXYZ » Wed Apr 17, 2019 2:57 am

Hmmm. Anything that requires a key to be held down is going to stop when you load a save. That seems normal.

User avatar
Jay_H
Posts: 3253
Joined: Tue Aug 25, 2015 1:54 am

Re: Dev build/LInux: climbing state not restored by saving/reloading

Post by Jay_H » Wed Apr 17, 2019 3:38 am

I know that, at least with the Advanced Climbing System, you grip to the wall without button presses once climbing mode activates. This does indeed fail when reloading, which can be extremely dangerous.
Come join Lysandus' Tomb, a Daggerfall Unity fan Discord.
In-progress guide for Quest Pack 1 here.

BansheeXYZ
Posts: 555
Joined: Fri Oct 23, 2015 8:19 pm

Re: Dev build/LInux: climbing state not restored by saving/reloading

Post by BansheeXYZ » Wed Apr 17, 2019 6:41 am

I also know that in classic climbing (both classic and DFU), the moment you hit esc to save, you drop, so you'd be saving in mid-air. In other words, it's only possible to save in the usual climb mode via quicksaving in DFU.

As for advanced climb mode, yeah, there is no held key, so it's possible to save while climbing, so you'd figure that IsClimbing would be a status that would be saved and restored.

User avatar
JorisVanEijden
Posts: 100
Joined: Mon Aug 12, 2019 5:02 pm

Re: [ADVANCED CLIMBING] Dev build/LInux: climbing state not restored by saving/reloading

Post by JorisVanEijden » Wed Jan 29, 2020 6:45 pm

I took a stab at it and saving and loading the IsClimbing state is real easy.
Unfortunately at the first few climbing checks the player's capsule collider is not touching the walls yet so climbing is immediately deactivated and you start falling.

If someone knows from the top of their heads why this is I'd love to hear it. Otherwise I'll take another stab at it later on.

The easiest "fix" might be to disallow saving when climbing :)

User avatar
pango
Posts: 2348
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: [ADVANCED CLIMBING] Dev build/LInux: climbing state not restored by saving/reloading

Post by pango » Sat Apr 25, 2020 9:27 pm

JorisVanEijden wrote:
Wed Jan 29, 2020 6:45 pm
The easiest "fix" might be to disallow saving when climbing :)
Saw a streamer ruin his quicksave that way. I was around so I saved the day by suggestion "tgm", but I'm really thinking that, unless saving/restoring climbing state is not too difficult to get right, then prevent saving while climbing would be a very good workaround.
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
Interkarma
Posts: 5478
Joined: Sun Mar 22, 2015 1:51 am

Re: [ADVANCED CLIMBING] Dev build/LInux: climbing state not restored by saving/reloading

Post by Interkarma » Sat Apr 25, 2020 10:52 pm

This was the next advanced climbing issue I was going to look at. Once this one is solved, climbing should be reasonable stable.

User avatar
pango
Posts: 2348
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: [ADVANCED CLIMBING] Dev build/LInux: climbing state not restored by saving/reloading

Post by pango » Sat Apr 25, 2020 11:19 pm

In case it proves too tricky, or if it can buy you some time, I wrote the workaround that I described above:
https://github.com/Interkarma/daggerfal ... e-climbing
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

Locked