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

FR: mission flag for preventing the protection that comes with disarm or disable orders #2968

Closed
Svedalrain opened this issue Dec 7, 2020 · 6 comments
Labels
enhancement A new feature or upgrade of an existing feature to add additional functionality. gameplay A feature or issue that can significantly impact gameplay

Comments

@Svedalrain
Copy link

If any ship receives an order to disarm or disable a target, whether by sexp or from a player, that target becomes protected. The intent seems to be for any disable or disarm order to precede capturing the ship, and the protection prevents it from being killed by AI.

Mission designers often run into that protect, and I as a player used to in missions like Forced Entry, since the best way to remove the turrets from a ship is to order fighters to disarm it, whether or not the intent is to capture or kill it later.

The automatic protect is handy for missions involving capture. A mission flag to disable that protect would allow disarm and disable orders on ships for all other purposes without affecting retail missions.

@EatThePath
Copy link
Contributor

EatThePath commented Dec 7, 2020

Overlaps with #2943, though is broader in scope and proposes a different solution

@Baezon
Copy link
Member

Baezon commented Dec 8, 2020

I think both would be decent approaches, since player orders will still be an issue otherwise.

@Baezon Baezon added gameplay A feature or issue that can significantly impact gameplay enhancement A new feature or upgrade of an existing feature to add additional functionality. labels Dec 8, 2020
@LightblueMobius
Copy link

#2943 mentions the "disarm" order only but "disable" has the exact same issue, apparently. Code-wise I have no idea what the best solution could be between an entirely new SEXP or additional arguments to existing SEXPs.

@Goober5000
Copy link
Contributor

An ai-profiles flag makes the most sense, I think. (You can have different profiles for different missions.)

However, the difficult part is not the flag, but finding all the places where disarm/disable targets are protected/ignored.

@wookieejedi
Copy link
Member

wookieejedi commented Oct 22, 2023

There is now a way to set this for AI profiles in #5512, along with new orders if you do not want to set it via table, so I reckon this can be closed.

@Goober5000
Copy link
Contributor

Yup, #5512 takes care of it.

@github-project-automation github-project-automation bot moved this from Todo to Done in Issue Management Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature or upgrade of an existing feature to add additional functionality. gameplay A feature or issue that can significantly impact gameplay
Projects
Status: Medium Impact
Development

No branches or pull requests

6 participants