[Pogamut-list] Multiple Native Bots being treated as one bot
FrankGlavin
pogamut-forum at diana.ms.mff.cuni.cz
Mon May 13 11:35:45 CEST 2013
Re: Multiple Native Bots being treated as one bot
Author: FrankGlavin
I'm using an edited version of the 05-deathmatch-1-v-1 example.
In it, I add 3 native bots as follows:
--------------------------------------------------------------------------------------------------------------------------
UT2004NativeBotConfig nativeBotConfig, nativeBotConfig2, nativeBotConfig3;
nativeBotConfig = new UT2004NativeBotConfig();
nativeBotConfig2 = new UT2004NativeBotConfig();
nativeBotConfig3 = new UT2004NativeBotConfig();
nativeBotConfig.setBotId("NativeBot");
nativeBotConfig2.setBotId("NativeBot-2");
nativeBotConfig3.setBotId("NativeBot-3");
nativeBotConfig.setSkillLevel(3);
nativeBotConfig2.setSkillLevel(3);
nativeBotConfig3.setSkillLevel(3);
nativeBotConfig.setTeamNumber(257);
nativeBotConfig2.setTeamNumber(258);
nativeBotConfig3.setTeamNumber(259);
matchConfig.addNativeBot(nativeBotConfig);
matchConfig.addNativeBot(nativeBotConfig2);
matchConfig.addNativeBot(nativeBotConfig3);
return matchConfig;
--------------------------------------------------------------------------------------------------------------------------
The matches are successfully being created and run in a repeater but the stats for the native bots are being treated as a single bot.
I originally thought it might be something to do with the team number but having different ones doesn't change anything either.
Maybe the code is only set up to observe all native bots as a single instance?
--
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=4&comments_reply_threadId=4&comments_parentId=1178&post_reply=1#form>
More information about the Pogamut-list
mailing list