[0.10.25] Dungeon spawned quest NPCs half buried in the ground

Curated user bug reports with enough information to reproduce problem. Moderators will move topics here from Help & Support once a bug has been confirmed and enough information has been provided.
Post Reply
User avatar
pango
Posts: 2601
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

[0.10.25] Dungeon spawned quest NPCs half buried in the ground

Post by pango »

Quest NPCs spawned in dungeons can be more or less badly buried in the ground:
Screenshot.jpg
Screenshot.jpg (135.95 KiB) Viewed 168 times
My guess is that this issue, that has been otherwise fixed in 2016 by AlignBillboardToBase(), is doing a come back because that function is not called for billboards added dynamically by quests; Clicking on "Align to Surface" button in the editor fixes the issue.

(or dungeons explicitly excluded?)
Attachments
SAVE744.zip
(211.24 KiB) Downloaded 7 times
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

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

Re: [0.10.25] Dungeon spawned quest NPCs half buried in the ground

Post by Interkarma »

pango wrote: Mon Aug 31, 2020 10:50 pm (or dungeons explicitly excluded?)
That's setting the origin point. Sprites in dungeons have a different origin point relative to stored coordinates than sprites in exterior world. That conditional is just for initial placement.

NPCs should be aligned to base using their size & scale data. Will need to look into why this doesn't happen for NPCs placed in dungeons by quests.

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

Re: [0.10.25] Dungeon spawned quest NPCs half buried in the ground

Post by pango »

Okay, so that must be a different problem then...

I noticd that the button calls AlignToGround() -> AlignControllerToGround()
CreateFoe.FinalizeFoe() calls the latter, but nothing similar in CreateNpc, I assume a similar logic would be useful there.
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
BadLuckBurt
Posts: 568
Joined: Sun Nov 05, 2017 8:30 pm

Re: [0.10.25] Dungeon spawned quest NPCs half buried in the ground

Post by BadLuckBurt »

This may tie into the bug where the handpainted models sink into the floor. I hope you can figure out whats going on
Daggerfall Unity on UESP: https://en.uesp.net/w/index.php?title=T ... fall_Unity
Daggerfall Unity on Nexus Mods: https://www.nexusmods.com/daggerfallunity
My github repositories with mostly DFU related stuff: https://github.com/BadLuckBurt

Post Reply