Opened 4 years ago

Closed 3 years ago

#12067 closed defect (fixed)

PETKA: Characters ignore the walking region sometimes

Reported by: Tkachov Owned by: whiterandrek
Priority: normal Component: Engine: Petka
Version: Keywords: ignore, walking region, walk
Cc: Game: Petka 1

Description

In ScummVM heroes sometimes ignore the walking region. Not sure, but it might only happen when clicking the exits from the location. Also, this might be related to #12066

There are "Walk bug: Point doesn’t belong to any convex" messages during that (at least on the scene I'm providing save file from).

Attachments:

attachment:petka1.s17 ScummVM save file on the shown screen
attachment:save15.dat Original game save file
Original game ScummVM

ScummVM 2.3.0git11899-g3fb4d67b4e (Jan 16 2021 05:21:57)
Windows 10 version 20H2 64-bit
Petka 1.0.0.1 aka Red Comrades 1

To reproduce:

  • load the save file;
  • select 'Walk' cursor (right click, then left click on the purple silhouette icon);
  • click at the red house on the hill;
  • <you would see the characters go straight to it, ignoring that the region requires them to walk via the road>.

Attachments (5)

petka1.s17 (42.6 KB ) - added by Tkachov 4 years ago.
save15.dat (87.6 KB ) - added by Tkachov 4 years ago.
original.png (298.8 KB ) - added by Tkachov 4 years ago.
scummvm.jpg (353.3 KB ) - added by Tkachov 4 years ago.
OUT-TOWN.BG.png (302.9 KB ) - added by Tkachov 4 years ago.

Download all attachments as: .zip

Change History (8)

by Tkachov, 4 years ago

Attachment: petka1.s17 added

by Tkachov, 4 years ago

Attachment: save15.dat added

by Tkachov, 4 years ago

Attachment: original.png added

by Tkachov, 4 years ago

Attachment: scummvm.jpg added

by Tkachov, 4 years ago

Attachment: OUT-TOWN.BG.png added

comment:1 by Tkachov, 4 years ago

Added the region render to this ticket:


Red line shows the outline and green ones show the inner polygons. Characters should never walk on the grass because that's outside this region.

comment:2 by whiterandrek, 4 years ago

Owner: set to whiterandrek
Resolution: pending
Status: newpending

Will look into it
But this is is won’t be fixed until I have free time to review the walking code

comment:3 by whiterandrek, 3 years ago

Resolution: pendingfixed
Status: pendingclosed
Note: See TracTickets for help on using tickets.