higps / robogithub

Assymetric gamemode where one team are robots and the other are humans
http://bmod.tf
5 stars 7 forks source link

1 More than 1 boss can be present at any time. #37

Closed higps closed 1 year ago

higps commented 2 years ago

There should not be possible to select a boss if someone is a boss already.

eisbaer66 commented 2 years ago

i guess you want this to be a general rule for robots of role "ZBOSS"? or should each robot be able to define some kind of pool, where you can only create one robot per pool? so all bosses would assign themself to the pool named "Bosses" (as part of the AddRobot(...)-call) to allow only one of them at the same time. would make for a more flexible system, but you would have to remember to assign any new boss-robot to the pool, too 😉

i guess we could have this flexible system in the background, but assign all robots of role "ZBOSS" to the same pool automatically. this would allow more pools in the future, but makes zbosses less error prone 😄

higps commented 2 years ago

We should assign robots to pools, perhaps specify to subclass or class, then some dynamic way of adjusting the limitation, to either use player count amount or static amount