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

Targeting Optimizations #1364

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

TaranDahl
Copy link
Contributor

  1. Technos won't SelectAutoTarget if they are not IsArmed. Didn't check thoroughly, more tests or disassembling are needed.
  2. New flags to customize the scanning delay per techno, and differently for player and AI. Default to the vanilla flags NormalTargetingDelay and GuardAreaTargetingDelay.
    As enemy scanning is a costly part of the total overhead, this should be able to improve the performance, especially on the maps with numbers of enemies.
[General] or [SomeTechno]
AINormalTargetingDelay=
PlayerNormalTargetingDelay=
AIGuardAreaTargetingDelay=
PlayerGuardAreaTargetingDelay=

P.S.: The docs are coming, s∞n.
image

@MortonPL MortonPL self-assigned this Sep 26, 2024
@MortonPL
Copy link
Member

Documentation please
image

Copy link

github-actions bot commented Sep 26, 2024

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

Co-Authored-By: 凤九歌 <[email protected]>
@TaranDahl
Copy link
Contributor Author

Documentation please image

It's here now.

Copy link
Member

@MortonPL MortonPL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be merged after tests.

CREDITS.md Outdated Show resolved Hide resolved
docs/Whats-New.md Outdated Show resolved Hide resolved
docs/Fixed-or-Improved-Logics.md Outdated Show resolved Hide resolved
docs/Fixed-or-Improved-Logics.md Outdated Show resolved Hide resolved
@TaranDahl
Copy link
Contributor Author

This can be merged after tests.

Some friends in Chinese community tested this. No fatal error, desync, or misbehavior was found.
Didn't check for edge cases carefully, though.

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.

3 participants