====== Third lecture (26.3.2010 & 31.3.2010) ====== **Note** There is a new version of Pogamut available at our [[http://diana.ms.mff.cuni.cz/|pages]] in download section. [[http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2009-2010/Pogamut3_Lecture_03.pdf|Slides]] from the lecture. Homework from the last lecture: [[http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2009-2010/Pogamut3-Lecture3-ItemPicker.zip|ItemPicker bot]] Test that was given during the lecture //(in czech)//: [[http://diana.ms.mff.cuni.cz/pogamut_files/lectures/2009-2010/Pogamut3-Lecture3-Test.pdf|Test]] This lecture: learn about the modules - an easy way to deal with all senses / items / commands the Pogamut have + there is a nice PathExecutor that works together with UTAstar object to navigate inside the map without the need of using GetPath! \\ **Not sure about anything?** Consult [[http://diana.ms.mff.cuni.cz/pogamut_files/latest/doc/tutorials/PogamutModulesTutorial.html|Pogamut modules tutorial]] and [[http://diana.ms.mff.cuni.cz/pogamut_files/latest/doc/tutorials/02-navigationBot.html|navigation bot tutorial]] in [[http://diana.ms.mff.cuni.cz/pogamut_files/latest/doc/tutorials/|tutorials]]. Additionally you should learn about ItemType / ItemType.Category / ItemType.Group along the way! =====Homework ===== **Note that for every homework done - you will get one free question during the exam!** Back to the homework... Extend the bot to be polite retaliatior world explorer! Additional info (from slides): * Create Weapon searcher that tries to run around all weapons in the map * If it sees player it will: * run to 200 units before him * says "Hello /name/!" * if player is not moving for 2 secs, it will say "Good bye!" and return to running around weapons * If the bot is hurt by a player - it will freak out (shout some ugly words) and retaliate 3-4 ticks of logic (shoots back) * If the bot's health is low (<50), it will primarily search for health packs =====Test bonus points ===== Honza Vyhnanek, Petr Michalik, Petr Kucera, Karel Poledna, Jakub Tomek, Michal Svangera