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 sends paradrops above water #6636

Closed
ghost opened this issue Oct 1, 2014 · 8 comments
Closed

AI sends paradrops above water #6636

ghost opened this issue Oct 1, 2014 · 8 comments

Comments

@ghost
Copy link

ghost commented Oct 1, 2014

sans titre

@Mailaender
Copy link
Member

That is dumb, but probably does not matter though as the plane will automatically find an appropriate location and not let them fall into the water with the current configuration.

@pchote
Copy link
Member

pchote commented Oct 4, 2014

That changed in the last release. The aircraft will now fly on without dropping anything if the area around the drop-zone is blocked, which causes the drop to be wasted.

@UberWaffe
Copy link
Contributor

The easiest way to reduce the chance of this happening is by reducing https://github.com/OpenRA/OpenRA/blob/bleed/mods/ra/rules/ai.yaml#L82 from CheckRadius: 10c0 to something smaller, say CheckRadius: 5c0.

The best solution would be to define a new type of consideration for terraintype, that can assign an attractiveness to the type of terrain of the target cell. (I.e. then you could say for paratroopers Water has an attractiveness of -100, or some such.)

@Mailaender
Copy link
Member

Why don't we just exclude ships here? https://github.com/OpenRA/OpenRA/blob/bleed/mods/ra/rules/ai.yaml#L85

It seems to attract the AI in the case shown in the screenshot.

@UberWaffe
Copy link
Contributor

@Mailaender : That consideration has a negative attraction value, so it should be attempting to avoid those.
From just the screenshot it really does look as if it had not attempted to. From just the picture I cannot tell you what exactly went wrong.

@Mailaender
Copy link
Member

I think you are misunderstanding me. My suggestion is the following: #7922.

@UberWaffe
Copy link
Contributor

Ah, I see. Yes, that will help.

@abcdefg30
Copy link
Member

The AI sending paratroopers against naval units was resolved a while ago.

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

No branches or pull requests

4 participants