Opened 8 months ago

Last modified 3 months ago

#14839 new defect

ULTIMA8: Bad render order on barrel at docks

Reported by: OMGPizzaGuy Owned by: OMGPizzaGuy
Priority: normal Component: Engine: Ultima
Version: Keywords:
Cc: Game: Ultima VIII: Pagan

Description

Version 2.8.0
After Devon becomes Tempest, an additional barrel appears on the docks. This does not appear to render in the correct order. We may need to verify this in the original game. Save game is attached

Attachments (3)

ultima8.055 (444.5 KB ) - added by OMGPizzaGuy 8 months ago.
image-20240110-193135.png (227.0 KB ) - added by OMGPizzaGuy 8 months ago.
image-20240517-174821.png (219.3 KB ) - added by OMGPizzaGuy 4 months ago.

Download all attachments as: .zip

Change History (10)

by OMGPizzaGuy, 8 months ago

Attachment: ultima8.055 added

by OMGPizzaGuy, 8 months ago

Attachment: image-20240110-193135.png added

comment:1 by OMGPizzaGuy, 4 months ago

Barrel is created with Item::I_legalCreateAtCoords at function 0581:25F0
However the position does not appear to match original game. See latest screenshot.

by OMGPizzaGuy, 4 months ago

Attachment: image-20240517-174821.png added

comment:2 by OMGPizzaGuy, 4 months ago

Barrel Position:
ScummVM: 11583, 4687, 48
Original: 11615, 4735, 48 (+32, +48, 0)

Barrel Dimensions: 64, 64, 16

comment:3 by OMGPizzaGuy, 4 months ago

This appears to be attempting to create the barrel in a loop until a valid position is found. Seems we incorrectly mark the position as valid.

comment:4 by OMGPizzaGuy, 4 months ago

In 548c6e01:

ULTIMA8: Update fast area during item create from usecode.
Fixes invalid placement of barrel #14839

comment:5 by OMGPizzaGuy, 4 months ago

Owner: set to OMGPizzaGuy
Resolution: fixed
Status: newclosed

comment:6 by OMGPizzaGuy, 4 months ago

Resolution: fixed
Status: closednew

Reverted previous fix: updating the fast area would cause NPCs to blink in & out to existence when moving in Central Tenebrae. A proper fix might be to expand the fast area rather than updating it completely.

comment:7 by OMGPizzaGuy, 3 months ago

In 2c5de6e0:

ULTIMA8: Expand fast area during item create from usecode.
The previous attempt to fix would cause NPCs to blink in & out to existence when moving in Central Tenebrae.
Fixes invalid placement of barrel #14839

Note: See TracTickets for help on using tickets.