-
Notifications
You must be signed in to change notification settings - Fork 166
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
Make the AI replace harvesters and capture tech buildings #687
base: master
Are you sure you want to change the base?
Conversation
There is a reason why CaptureManagerBotModule isn't used in the main mods. The AI is still gonna build that 1 engineer even after it captures everything it can. The trait probably should be revoked to ask the UnitBuilderBotModule to build the engineer, like HarvesterBotModule does, instead of UnitBuilderBotModule building the Engineer by itself and CaptureManagerBotModule finding and using the Idle Engineer. If you still wanna keep the CaptureManagerBotModule. At least add |
IMO that really isn't good enough. The fundamental issue is that the AI builds single engineers and then fires the at a tech structure with zero logic as to what is between the barracks and target. A single pillbox/guard tower along the route is enough to turn this feature into a significant AI regression. This feature needs to be implemented properly, with logic to guard the engineer and path around danger, which will be possible once someone finally implements the AI team plumbing. |
Done. |
Maybe a range limit too, so AI won't try to capture something at the other side of the map? But still capture stuff in/really close to its base. |
The AI will target oil derricks in the vicinity first so this works surprisingly well even with such a simple implementation. I doubt we want to copy the |
Yes, i just commented here first, because i saw the PR here first. You should handle those concerns in OpenRA/OpenRA#17831. |
Tweaked the rules a bit to combat refinery spam. |
will test that now. |
Adds OpenRA/OpenRA#4561 and OpenRA/OpenRA#15962 here.