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

Create a Setting to Assign Different Bot Behavior to Each Unit Based on Unit Role #1499

Open
servo01 opened this issue Sep 21, 2019 · 4 comments
Labels
Princess/AI (RFE) Enhancement Requests for Enhancement, new features or implementations

Comments

@servo01
Copy link

servo01 commented Sep 21, 2019

47.0
MegaMek/MekHQ

Would it be possible to to create a single Bot Behaviour setting that, when selected, will assign each individual unit a different behaviour profile based on the listed Unit Role?

When Princess is fielding mixed units that have very different roles, setting whole force to 'Brawler' or 'Scout' usually leaver her under-utilizing assets or throwing them away by being too aggressive.

I've noticed that the quality of Princess's tactics are greatly improved whenever I go through and assigning all of the Fire-Support units to a single bot with the Missile Boat profile, and then create a Skirmisher Bot for all of the OpFor Skirmishers, etc...

Having a single setting that could be used to simultaneously get the Jenners to rush in and act like strikers while telling the LRM carriers to keep their distance would be awesome.

@sixlettervariables
Copy link
Contributor

In larger engagements I split up the bots by behavior and place them on the same team. It has roughly the effect you're looking for.

@sixlettervariables sixlettervariables added the (RFE) Enhancement Requests for Enhancement, new features or implementations label Sep 27, 2019
@Thom293
Copy link
Contributor

Thom293 commented Jun 22, 2024

I was looking for something else and found this by accident. But given what was recently added...

Perhaps this could be combined with the additions of MegaMek/mekhq#3901

Perhaps based on the assignments done by that PR, an ai behaviour could be assigned automatically for each lance that is created by that PR. e.g. Berserker v2 for Brawlers and Juggernauts, Sniper for missile boats, Default for vague ones, etc. The player could always change it in lobby if they want, but even a simple system would be better than everyone getting default.

@SuperStucco
Copy link
Collaborator

Would work better with combat role-based generation from MHQ PR #4214, even if it uses a separate designation system. Currently, MekHQ uses generic generation methods and MM will do the same unless appropriate options are used with the RATGenerator/Force Builder tabs in the random unit selector. That means the units aren't selected with an eye towards any specific purpose, just how common they are, and it will be up to the player to manually organize them as they see fit.

@Thom293
Copy link
Contributor

Thom293 commented Jun 23, 2024

I may not fully understand either of the PRs but I think his auto- sorts them into lances (perhaps or perhaps not based on role) and assigns the lance a name. If that function could somehow work alongside yours for roles and then assign a bot behavior to each lance/star/whatever then we'd be cooking with gas. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Princess/AI (RFE) Enhancement Requests for Enhancement, new features or implementations
Projects
None yet
Development

No branches or pull requests

5 participants