Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
3rd_lecture_-_modules [2010/04/02 08:53] jakub_gemrot |
3rd_lecture_-_modules [2010/04/21 15:19] michal_bida |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | **Note** There is a new version of Pogamut available at our [[http:// | + | [[http:// |
- | [[http:// | + | We have introduced POSH reactive planner in this lecture. We have shown how to define POSH sense and action and how drive collection works. |
+ | [[http:// | ||
- | Homework from the last lecture: [[http:// | + | **NOTE:** You need [[http:// |
- | + | ||
- | Test that was given during the lecture //(in czech)//: [[http:// | + | |
- | + | ||
- | 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 | + | |
- | + | ||
- | Additionally you should learn about ItemType / ItemType.Category / ItemType.Group along the way! | + | |
=====Homework ===== | =====Homework ===== | ||
- | **Note that for every homework | + | **Reimplement ItemPicker |
- | Extend | + | To remind you of ItemPicker: |
+ | * Create ItemPicker | ||
+ | * Ignore | ||
+ | * Use getWorldView() and use getAllVisible(Item.class) | ||
+ | * Try to run around the whole level and discover (almost) all items | ||
+ | * How to know that your bot has visited almost everything? | ||
+ | * If you manage | ||
- | Additional info (from slides): | + | =====Test bonus points===== |
+ | Petr Michalik | ||
- | * 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 / | ||
- | * 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 |