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

ai-disable-ship-tactical and ai-disarm-ship-tactical #5512

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

Goober5000
Copy link
Contributor

@Goober5000 Goober5000 commented Jul 25, 2023

Add "tactical" versions of disable and disarm goals which only perform the specific task without implying anything else. The target ship is not protected and attack goals are not cleared from other ships.

There is also a new AI profiles flag to make this the default hud squad message command instead of the classic disable/disarm.

In draft status pending tests. Tested by @wookieejedi

@Goober5000 Goober5000 added enhancement A new feature or upgrade of an existing feature to add additional functionality. ai A feature or issue related to the AI algorithms HUD A feature or issue related to the HUD sexps A feature or issue related to SEXPs Waiting for Stable Marks a pull request that is to be merged after the next stable release, due to a release cycle labels Jul 25, 2023
@Goober5000 Goober5000 marked this pull request as ready for review August 9, 2023 01:56
Copy link
Member

@wookieejedi wookieejedi left a comment

Choose a reason for hiding this comment

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

Tested and works as expected and code is logical and looks good.

@Goober5000 Goober5000 removed the Waiting for Stable Marks a pull request that is to be merged after the next stable release, due to a release cycle label Oct 18, 2023
Add "tactical" versions of disable and disarm goals which only perform the specific task without implying anything else.  The target ship is not protected and attack goals are not cleared from other ships.

There is also a new AI profiles flag to make this the default hud squad message command instead of the classic disable/disarm.
@wookieejedi wookieejedi merged commit 883ed32 into scp-fs2open:master Oct 19, 2023
14 checks passed
@Goober5000 Goober5000 deleted the new_disarm_and_disable branch October 19, 2023 16:41
Goober5000 added a commit to Goober5000/fs2open.github.com that referenced this pull request Jun 14, 2024
The new `ai-disable-ship-tactical` and `ai-disarm-ship-tactical` goals were inadvertently omitted from the ship type default table, causing these goals to not be available in the Event Editor drop-down menu or Ship Editor initial orders.  Testing did not catch this because testing was done using the HUD squad message system which assigned the new goal (if the flag is enabled) without explicitly checking the validity.

Follow-up to scp-fs2open#5512.  Fixes scp-fs2open#6189.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai A feature or issue related to the AI algorithms enhancement A new feature or upgrade of an existing feature to add additional functionality. HUD A feature or issue related to the HUD sexps A feature or issue related to SEXPs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants