Opened 7 months ago

Last modified 6 months ago

#12067 pending defect (pending)

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 7 months ago.
save15.dat (87.6 KB ) - added by Tkachov 7 months ago.
original.png (298.8 KB ) - added by Tkachov 7 months ago.
scummvm.jpg (353.3 KB ) - added by Tkachov 7 months ago.
OUT-TOWN.BG.png (302.9 KB ) - added by Tkachov 7 months ago.

Download all attachments as: .zip

Change History (7)

by Tkachov, 7 months ago

Attachment: petka1.s17 added

by Tkachov, 7 months ago

Attachment: save15.dat added

by Tkachov, 7 months ago

Attachment: original.png added

by Tkachov, 7 months ago

Attachment: scummvm.jpg added

by Tkachov, 7 months ago

Attachment: OUT-TOWN.BG.png added

comment:1 by Tkachov, 7 months 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, 6 months 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

Note: See TracTickets for help on using tickets.