Download presentation
Presentation is loading. Please wait.
Published byGabriel McGee Modified over 9 years ago
1
Pogamut 2 Platform for fast development of cognitive agents inside 3D environment AIN / INV messages refined, pitfalls Bot skill GunTestBot Faculty of mathematics and physics Charles University at Prague 16 th April 2008 http://artemis.ms.mff.cuni.cz/pogamut
2
AIN / INV messages http://artemis.ms.mff.cuni.cz/pogamut There was a bug… GameBots wasn’t sending AIN (AddItem) message for every item bot picked up. AIN (AddItem with int ID == 0) bot has a new item in the invetory INV (AddItem with int ID != 0) Bot picked up something You will get two AddItem messages for the first pickup of weapon / ammo.
3
ADD_ITEM listener is screwed… http://artemis.ms.mff.cuni.cz/pogamut If you want to listen for a pickup, listen on those messages: ADD_AMMO, ADD_ARMOR, ADD_EXTRA, ADD_HEALTH, ADD_WEAPON !!! Do not just listen on ADD_ITEM!!!
4
Bot Skill and other INIT stuff INIT message Send to create a bot’s body inside UT2004 Many parameters body.initializer Used to construct INIT message Configure inside postPrepareAgent() body.initializer.setBotSkill(int)
5
GunTest bot Bot + map… GunTestBot must be run on the GunTest map. Upload DM-GunTest.ut2 into UT2004/maps, restart UT2004. GunTest bot will collect all the weapons and then it will show how to shoot with them (basic stuff).
6
UnrealEd basics
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.