Dev build/Linux: falling to death aftter fast travel (with Mountain and Hills mod) [RESOLVED]

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

Dev build/Linux: falling to death aftter fast travel (with Mountain and Hills mod) [RESOLVED]

Post by pango »

@Vondur character's got killed twice after fast traveling from the east to Deerwood, Dwynnen with Mountains and Hills mod enabled:
https://www.youtube.com/watch?v=Zpndien9HS8&t=1486
https://www.youtube.com/watch?v=Zpndien9HS8&t=1621

I traced the problem back to two lines in StreamingWorld.RepositionPlayer:

Code: Select all

                // If desired position is higher then minimum position then we can safely use that
                if (position.y > targetPosition.y)
                    targetPosition.y = position.y;
Trying to be on the safe side, the player can only be relocated upward, but in this situation the terrain has such a steep drop next to the town that it makes the player appear way above ground to dangerous heights.

Gamesave in Aldton, Dwynnen, which is located east of Deerwood. All you have to do is fast travel to Deerwood to reproduce the issue.
Attachments
SAVE318.zip
(335.5 KiB) Downloaded 142 times
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

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

Re: Dev build/Linux: falling to death aftter fast travel (with Mountain and Hills mod)

Post by pango »

I created a PR
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

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

Re: Dev build/Linux: falling to death aftter fast travel (with Mountain and Hills mod)

Post by Interkarma »

Resolved by Pango in pending PR.

Locked