Exterior locations aren't cleared when traveling

Report specific bugs in Daggerfall Unity. Please read guidelines before posting.
User avatar
Nystul
Posts: 1103
Joined: Mon Mar 23, 2015 8:31 am

Re: Exterior locations aren't cleared when traveling

Post by Nystul » Tue May 22, 2018 6:36 am

This is great! Will update distant terrain soon and this will be awesome - thank you so much!

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

Re: Exterior locations aren't cleared when traveling

Post by Interkarma » Tue May 22, 2018 7:07 am

It's my pleasure! I'm finally happy to be sorting this after I let it beat me a couple of years ago.

I've just pushed an update to branch that refines how player is positioned when loading a pre-floating-y save. Loading from interiors and dungeon saves will just work. If player is outside then they will be aligned to ground level at whatever position in world they were at. Odds are player will be on ground and not even notice. If they were on top of a building or levitating outside, then they'll just end up at ground level the first time they load an old save. The mechanism is disabled once they save again.

This solution should also be compatible with other terrain samplers - unlike my first pass which required everyone to bump their sampler version to force a reposition.

Post Reply