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

Unhardcode some AI squad scan radii and misc AI improvements #14466

Merged
merged 4 commits into from Dec 28, 2017

Conversation

Projects
None yet
4 participants
@reaperrr
Contributor

reaperrr commented Dec 2, 2017

Increased configurability, improved disabled-trait-awareness and minor (though likely negligible) performance optimization.

Note: Intentionally didn't touch AirStates here, I'll wait for #14387 to be merged first.

@GraionDilach

This comment has been minimized.

Show comment
Hide comment
@GraionDilach

GraionDilach Dec 27, 2017

Contributor

This looks like the solution of the issues I have with the AI since the isometric-range-rescale PR, so yes, pretty please fix the code issue.

Contributor

GraionDilach commented Dec 27, 2017

This looks like the solution of the issues I have with the AI since the isometric-range-rescale PR, so yes, pretty please fix the code issue.

@reaperrr

This comment has been minimized.

Show comment
Hide comment
@reaperrr

reaperrr Dec 28, 2017

Contributor

Updated.

Contributor

reaperrr commented Dec 28, 2017

Updated.

@GraionDilach

👍 then.

for (var i = 0; i < x; i += DangerRadius * 2)
for (var i = 0; i < x; i += dangerRadius * 2)

This comment has been minimized.

@pchote

pchote Dec 28, 2017

Member

Manually chunking the map like this is really awful 😢

In the future we could win a lot of simplicity and perf by maintaining spatially partitioned maps of targetability and danger for each squad class.

@pchote

pchote Dec 28, 2017

Member

Manually chunking the map like this is really awful 😢

In the future we could win a lot of simplicity and perf by maintaining spatially partitioned maps of targetability and danger for each squad class.

@pchote

pchote approved these changes Dec 28, 2017

@pchote pchote merged commit 382c0b5 into OpenRA:bleed Dec 28, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@reaperrr reaperrr deleted the reaperrr:misc-AI-improvements branch Mar 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment