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 groups never suppressing as a group #304

Merged
merged 1 commit into from
Feb 2, 2022

Conversation

nk3nny
Copy link
Owner

@nk3nny nk3nny commented Dec 15, 2021

Tweaks the early suppression check-- adding height to ensure more reliable suppressing events.
Fixes #296
Fixes missing enableAttack use

Tweaks the early suppression check-- adding height to ensure more reliable suppressing events.
Fixes missing enableAttack use
@nk3nny nk3nny self-assigned this Dec 15, 2021
nk3nny added a commit that referenced this pull request Dec 16, 2021
- Adds sorting enemies based on distance
- Fixes groups failing to deploy static weapons (and sometimes UGL flares)
- Changed - reverts Suppression chance to accomodate #304
- Removed vanilla attack feature from groups*

*This is a big one which we've talked about internally before. What this does is remove the lock-in units sometimes suffer due to the vanilla ATTACK pattern/fsm.  I propose to check this on the development version.

Our own _group_ level attack patterns are better than the individual vanilla ones. But the AI is a complicated beast. Additional testing should be done.
// set group task
private _group = group _unit;
_group enableAttack false;
Copy link
Collaborator

Choose a reason for hiding this comment

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

when will this be set to true again?

Copy link
Owner Author

Choose a reason for hiding this comment

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

L39 of same file. When the reset is configured. Actually toggling attack mode was missing.

@nk3nny nk3nny added this to the 2.6.0 milestone Dec 16, 2021
@nk3nny nk3nny added this to To Do in 2.7.0 via automation Dec 16, 2021
@nk3nny nk3nny moved this from To Do to In progress in 2.7.0 Dec 16, 2021
@nk3nny nk3nny merged commit 12faf44 into master Feb 2, 2022
2.7.0 automation moved this from In progress to Done Feb 2, 2022
@nk3nny nk3nny deleted the Tweak-tacticsSuppress-settings branch February 2, 2022 18:06
nk3nny added a commit that referenced this pull request Feb 2, 2022
* Improved tactics assess

- Adds sorting enemies based on distance
- Fixes groups failing to deploy static weapons (and sometimes UGL flares)
- Changed - reverts Suppression chance to accomodate #304
- Removed vanilla attack feature from groups*

*This is a big one which we've talked about internally before. What this does is remove the lock-in units sometimes suffer due to the vanilla ATTACK pattern/fsm.  I propose to check this on the development version.

Our own _group_ level attack patterns are better than the individual vanilla ones. But the AI is a complicated beast. Additional testing should be done.

* distance2D to distanceSqr
@jokoho48 jokoho48 modified the milestones: 2.6.0, 2.5.4 Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
2.7.0
Done
Development

Successfully merging this pull request may close these issues.

When firing at helicopters AI are horribly innacurate
3 participants