-
Notifications
You must be signed in to change notification settings - Fork 33
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
Expose additional minigame metadata in foreground host activity #81
Comments
you're right, but it still seems to be missing the plugin-manager/plugins/minigames/zombie_horde.py Lines 153 to 166 in 85e7f68
this minigame was only an example, there might be more minigames in plugin manager that i haven't checked yet that maybe missing a few fields, so missing fields would needed be added for those minigames as well |
What I mean is a minigame can't be registered without this So no need for this "expose additional metadata" |
yep, even still, the defaults may not be what we're looking for; zombie horde game doesn't have such as an AFK auto player remover plugin which doesn't want to remove players in activities that have |
Okay, and here it's developer's fault since ZombieHorde is like Elimination and shouldn't allow_mid_activity_joins 🤔 I understood, I think only some games will have this issue 👍 |
In built-in minigames in Bombsquad, there is additional metadata that gets exposed which may then be accessed through plugins using the foreground host activity object, such as in meteor shower:
https://github.com/efroemling/ballistica/blob/4248540d887340de25e47539fdf567525ae8918e/assets/src/ba_data/python/bastd/game/meteorshower.py#L37-L49
which can be accessed through:
Let's also make sure to have these fields in all minigames under plugin manager, so any local plugins that make use of these fields don't break. Such as zombie_horde currently only has the
name
field:plugin-manager/plugins/minigames/zombie_horde.py
Lines 826 to 832 in 85e7f68
The text was updated successfully, but these errors were encountered: