Page 1 of 1

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

Posted: Mon Jul 22, 2019 7:51 pm
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.

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

Posted: Mon Jul 22, 2019 9:02 pm
by pango
I created a PR

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

Posted: Mon Aug 19, 2019 8:15 am
by Interkarma
Resolved by Pango in pending PR.