Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot disembark near the rock #9152

Open
2 tasks done
Branikolog opened this issue Sep 27, 2024 · 6 comments
Open
2 tasks done

Cannot disembark near the rock #9152

Branikolog opened this issue Sep 27, 2024 · 6 comments
Assignees
Labels
bug Something doesn't work editor Map editor related stuff logic Things related to game logic
Milestone

Comments

@Branikolog
Copy link
Collaborator

Preliminary checks

Platform

Windows

Describe the bug

Hero cannot unboard on a tile above the rock.

2024-09-27.16-52-41.mp4

The issue is valid only for fheroes2 resurrection maps.

The same object in the original map allows hero to disembark near it.

Save file

None.

Additional info

No response

@Branikolog Branikolog added bug Something doesn't work editor Map editor related stuff labels Sep 27, 2024
@Branikolog Branikolog added this to the 1.1.3 milestone Sep 27, 2024
@ihhub
Copy link
Owner

ihhub commented Sep 27, 2024

I believe this is a problem with different object passability.

@ihhub ihhub added the logic Things related to game logic label Sep 27, 2024
@Branikolog
Copy link
Collaborator Author

Branikolog commented Sep 27, 2024

Hi, @ihhub
The issue is valid only for heroes on boat. Hero can step on that tile on horse without any problem. In the original game and in fheroes2 on the original map hero can inboard there too.

@ihhub ihhub self-assigned this Oct 13, 2024
@Branikolog
Copy link
Collaborator Author

The problem occurs for all tall objects. The most noticeable case is lighthouses. It has even 2 unreachable cells above them:

2024-10-22.12-39-17.mp4

@Branikolog
Copy link
Collaborator Author

The issue is valid for .fh2 maps only. In the OG maps hero can disembark on those tiles behind the lighthouse.
Here're 2 save files for the OG map and fh2 map:
Boarding save.zip

@ihhub ihhub modified the milestones: 1.1.3, 1.1.4 Oct 23, 2024
@ihhub
Copy link
Owner

ihhub commented Oct 25, 2024

@Branikolog , in the original game the tile is marked as "Beach" while for fh2 map it is marked as Lighthouse. Both solutions are invalid :)

@ihhub
Copy link
Owner

ihhub commented Oct 25, 2024

For coast we have to verify not the main type of a tile (which is done currently) but whether it is accessible from sea by passability. I believe this affects not only hero players but pathfinding and AI actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something doesn't work editor Map editor related stuff logic Things related to game logic
Projects
None yet
Development

No branches or pull requests

2 participants