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

Fix patrol zones that overlap map edges #508

Closed
pledbrook opened this issue May 4, 2019 · 0 comments
Closed

Fix patrol zones that overlap map edges #508

pledbrook opened this issue May 4, 2019 · 0 comments

Comments

@pledbrook
Copy link
Contributor

Pod patrols break (i.e. stop patrolling) if any of the corners of their encounter zone are outside the map edges. This probably isn't an issue with the base game because of the line-of-play mechanics, but it does cause problems for mods that have more distributed pods and encounter zones (like LW2).

pledbrook added a commit to long-war-2/X2WOTCCommunityHighlander that referenced this issue May 4, 2019
When the corners of a patrol/encounter zone lie outside of a map's
edges, the corresponding pod's patrolling breaks if it tries to reach
any of those corners.

This fix adjusts such "corners" before the patrolling logic runs so that
they do lie within the map edges.
pledbrook added a commit to long-war-2/X2WOTCCommunityHighlander that referenced this issue May 4, 2019
When the corners of a patrol/encounter zone lie outside of a map's
edges, the corresponding pod's patrolling breaks if it tries to reach
any of those corners.

This fix adjusts such "corners" before the patrolling logic runs so that
they do lie within the map edges.
@robojumper robojumper added doc-one-line-fix Fix that needs only one line in documentation bug-basegame and removed doc-one-line-fix Fix that needs only one line in documentation labels Jan 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants