-
Notifications
You must be signed in to change notification settings - Fork 737
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
Headless - Improve group transfer and add API #9874
Conversation
Is global event really a good idea here? That could be a lot of traffic on mission start. |
I'm really not sure. I imagine a targeted event should suffice tbh. |
Functions to black/white-list a unit/group/array of units and module/Zeus interactions to go with them? I can add context menu on ZEN side afterwards. |
Black/white-list is just |
For the modules, should it be 1 module, in which we have a menu that can select where the AI should be moved to or should there be 4 separate modules? |
Add a 3rd argument ( I am not the best person to ask for UX, but those should live in ZEN anyways so maybe it's better to have a discussion there. |
I'm fully aware, it's just that the code never did it, making it inconsistent if we do start syncing it in this case as opposed to not syncing it in
#9873 removes the problem entirely, so it won't matter anymore once that's merged.
Ah, I thought we were going to add it in ACE' Zeus component. I've worked with ZEN modules before, can make them if wanted. |
If we don't have modules in ACE Headless (I think they're unnecessary and cumbersome, just mentioned them for sake of completion) we should have Zeus Interactions available, at least. ZEN integration is just making that available in context menu. Blacklist variable should always be set globally IMO (thus, the function. I strongly dislike variables as API.). It's one bool per object, it's not going to break networking. |
That's just a buggy remnant, that Technically only server cares about |
I knew it worked, but I didn't realise it wasn't intentional. I'm not opposed to setting it public at all.
I didn't think about that, but on the other hand, I think it might be best to make that optional (on by default though), as in some cases one might want AI to remain local to the client without being transferred back to the server. Having a function would give us the liberty to add functionality similar to this in the future, so I'll implement it. I'll also just implement Zeus interactions (no modules). @LinkIsGrim do you want to handle the ZEN context actions? I can do it, I know how, but I'll let you if you want to. |
I'm already working on other ZEN-ACE stuff, can handle that, just need functions to call |
Maybe it was, ask me 7 years ago. :P
Agreed. |
I'd like to be able to do this easily as a user:
Doesn't even necessarily need HC to be active/enabled (this could be part of ACE Zeus) as long as black/whitelisting happens. Is implementing this (from a 3rd party perspective) possible with current API? |
I've made it more general, so that you can transfer units you are blacklisting to any machine.
By that I'm guessing you are whitelisting units and you want to have the option, so that they auto-rebalance? What do you mean by "force rebalance"? Do you want it to trigger a rebalance or do you want it to forcibly rebalance all units over all HCs? See the below for the source of confusion:
|
Yes, although I want you to check it, just to be sure. |
When merged this pull request will:
The API is very much WIP and I'd appreciate any input @LinkIsGrim.
Because of it being WIP, I haven't made any documentation for it yet.IMPORTANT
Component - Add|Fix|Improve|Change|Make|Remove {changes}
.