More Teams

Make suggestions for improving one of the best games on the net!
Post Reply
Posts: 1
Joined: Mon Aug 03, 2015 12:54 pm

More Teams

Post by manny2388 » Mon Aug 03, 2015 1:02 pm

Hi! My name is Lorenzo and I'm a staff member of BigRock Institute for Computer Graphics in Italy.
It's been quite a decade that we started playing at BZFlag with our students at the school, every classroom joining as a different team. We had very funny times.
Right now we're growing... creating more rooms for our students and need more teams (at least 2 more) than the classic ones (red, green, blue, purple).
I've tried to find a solution in this forum but there's nothing regarding a patch to increase the number of the teams that a player can choose.
Is it possible to create one? With maybe an orange and a brown team?
thank you for your attention.

User avatar
Bullet Catcher
Posts: 555
Joined: Sat Dec 23, 2006 7:56 am
Location: Escondido, California

Re: More Teams

Post by Bullet Catcher » Mon Aug 03, 2015 3:57 pm

The change in revision 21419 shows one of the few times the number of teams has ever been changed. Based upon that it looks like only a modest effort would be required to add more teams, including:
  • name the new teams in include/global.h
  • add new texture image files to the data directory
  • define RGB colors in src/common/Team.cxx
  • use a unique network protocol version in src/date/buildDate.cxx
It may be possible to include just the existing Hunter (orange) team in regular CTF games with less effort.

Post Reply