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

Bug topics that have been resolved.
Locked
User avatar
pango
Posts: 1762
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 » Mon Jul 22, 2019 7:51 pm

@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 51 times
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
pango
Posts: 1762
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 » Mon Jul 22, 2019 9:02 pm

I created a PR
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
Interkarma
Posts: 5013
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 » Mon Aug 19, 2019 8:15 am

Resolved by Pango in pending PR.

Locked