flag limiting for small games

Make suggestions for improving one of the best games on the net!
Post Reply
Mofo
Private
Private
Posts: 4
Joined: Thu Feb 24, 2005 5:19 pm

flag limiting for small games

Post by Mofo »

Would it be possible to allow the server owner to restrict certain flags when there are, say 5 or less players? flags like GM and ST can be overwhelming in small games. then when the threshold is crossed they get added! something to think about.
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: flag limiting for small games

Post by blast »

Sure, a server plugin could do this.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: flag limiting for small games

Post by JeffM »

Note that there is no way in the API to remove a flag from the game once it is added, so you would need to have a "storage tank" for flags that you added if the player count goes below your limit. Ether that or reset the entire server.
ImageJeffM
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: flag limiting for small games

Post by blast »

There is also the bz_eAllowFlagGrab event that you could use to prevent them from picking up specific flags, but that might be more confusing for the players.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
Post Reply