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

More complicated but hopefully better target acquisition #34

Merged
merged 1 commit into from
Oct 29, 2023

Conversation

morrowwolf
Copy link
Member

DON'T GOT CHANGELOGS ANYHOW YEEHAW

Essentially the previous method just randomly selected a target in range with priority of human->vehicle->defense

Now we prioritize the closest target from the xeno to any of the three and pick from that closest target and any other target in range of 20% of the total distance between the xeno and the closest target. This should allow things to be reasonably variable while also not... strange.

We'll see if it hits perf real bad or not. Or if it explodes.

@morrowwolf morrowwolf merged commit 177ca6b into master Oct 29, 2023
29 checks passed
@morrowwolf morrowwolf deleted the test-target-changes branch October 29, 2023 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant