Forum: Pogamut Netbeans IDE Plugin

Setting up team game in Netbeans GUI

Is there any way how to set teams for CTF game in the Netbeans IDE? For example 3 UT bots vs. 3 Pogamut Bots or 3 Pogamut Bots vs. 3 different Pogamut Bots? I understand how I can connect both Pogamut and UT Native Bots but I don't know how to set teams.
Any link to documentation page will be completely sufficient.

Thanks.

Best wishes,
Lukas
You need to create your own ControlServer connection. If you peek into our SVN to trunk/project PogamutUt2004 test packages you can see some examples how to create ControlServer there.
Currently the support for control connection is quite limited and it is not possible to set teams via NetBeans GUI.

Best,
Michal
Hi, currently this feature (running team of bots) is unsupported. We have it on our schedule.
Anyway, you may achieve that on your own. Difficulty of this task is dependent on the thing you need to do.

I will describe a scenario where you have 1 bot project and you want to play 3 vs 3 bots (same bot code run 6x):

1) you have to change main() method
2) alter "SingleBotRunner" for a "MultipleBotRunner" like this:

public static void main(String args[]) throws PogamutException {
new MultipleUT2004BotRunner(6, YourBotClassName.class, "YourBotName").startAgent();
}

This will start 6 bots for you. Note that GB2004 has team-balancing switched off. For team balancing you may use 'players' module that tells you which bots are already connected and alter getInitializeCommand where you setTeam() to tell GB2004 which team the bot wants to enter.

Best,
Jimmy
Hi, did my hint help you in any way?

Best,
Jimmy