Opened 2 years ago
Closed 2 months ago
#14808 closed defect (fixed)
TWINE: A couple of glitches from using the holomap
| Reported by: | antoniou79 | Owned by: | mgerhardy |
|---|---|---|---|
| Priority: | normal | Component: | Engine: TwinE |
| Version: | Keywords: | ||
| Cc: | Game: | Little Big Adventure |
Description
This is with ScummVM 2.9.0git built from master HEAD on Windows, with the English version of LBA from GOG.
I've been playing through the game and noticed that if I am using the holomap in an area where there are NPCs patroling (soldiers or civilians / workers) then after exiting the holomap, the NPCs may display glitched behavior.
This is not consistently reproducible.
The most noteworthy glitches were:
- A soldier was patroling near Twinsen in the starting island. After using the holomap, the soldier slided quickly as if in fast-forward for a long distance (and out of his normal patroling area) into a stack of trees nearby.
- Within the tavern(?) in Principal Island, after using the holomap, the waiter was teleported outside the "map" and kept looping his falling-from-a-height animation.
I've only a screenshot from the second glitch though to attach.
Attachments (3)
Change History (12)
by , 2 years ago
| Attachment: | scummvm-lba-win-1-00002.png added |
|---|
comment:1 by , 2 years ago
by , 2 years ago
| Attachment: | scummvm-00029.png added |
|---|
comment:2 by , 2 years ago
maybe some missing freezeTime()/unfreezeTime() calls (see ScopedEngineFreeze) in the holomap code...
comment:3 by , 2 years ago
debugger commands to reproduce it and limit the actors to the glitching one
scene_actor 2 change_scene 14 give_allitems
activate holomap - wait a little - disable holomap
by , 2 years ago
| Attachment: | twine-movement-glitch.mkv added |
|---|
comment:4 by , 2 years ago
Attached a video - it looks like the last position of the actor is not correct anymore and we are trying to lerp some random position against the last position before entering the holomap. If the random position is outside of the map, the actor might completely disappear and you would have to re-enter the scene to let it appear again.
---
# pre holomap actor 2
oldPos: 25749, 256, 27219!
pos: 25744, 256, 27190!
processActor: 25744, 256, 27190!
# holomap was active actor 2
oldPos: 25744, 256, 27190!
pos: 25744, 256, 27190!
processActor: 25744, 256, 27190!
## after doAnim() for actor 2
after: oldPos: 25744, 256, 27190!
after: pos: 25968, 256, 28636!
after: processActor: 25968, 256, 28636!
comment:5 by , 2 years ago
| Owner: | set to |
|---|---|
| Resolution: | → pending |
| Status: | new → closed |
should be fixed in master now (and is cherry-picked for a potential 2.8.1)
see https://github.com/scummvm/scummvm/commit/04c7c17b76e5ed3307687dd84a97cba7a6ad2f30
comment:6 by , 2 years ago
Thank you for the fix!
I've used the holomap a few times on a new local development build of ScummVM 2.9.0git and indeed I did not get the fast-sliding NPCs.
comment:8 by , 2 months ago
| Resolution: | pending → fixed |
|---|---|
| Status: | closed → pending |
Changing resolution to fixed to allow bug to close..
comment:9 by , 2 months ago
| Status: | pending → closed |
|---|

I forgot to clarify that I'm playing in the High resolution mode.
I'm attaching a screenshot of how the ScummVM Game options look for the game