Contents
This page contains materials for labs of the Human-like Artificial Agents (NAIL068) course (lectures webpage here) that is taught during summer semester of 2018/19 at Charles University in Prague, Czech Republic. The course is lead mainly by Cyril Brom and Jakub Gemrot. Labs are backed up by Jakub Gemrot (gemrot@gamedev.cuni.cz) and Petr Mácha (Bohemia Interactive Simulations, petr.macha@bisimulations.com).
Labs are containing two tracks Pogamut 3 (Unreal Tournament 2004; mostly a-few agent scenarios) and NOTA (always many agent scenarios).
Permalink to this page: http://bit.ly/mff-uk-hlaa-labs-2019
Dates
Tuesday’s labs, 17:20 – SW1, 19:00 – SW2
Pogamut Exam is scheduled to Monday 27.5.2019, 10:00-15:00, SW1, please come on time!
NOTA Exam is scheduled to TBD, SW1, please come on time!
How to pass the labs – Homeworks
There will be two tracks of homeworks: Pogamut 3 (Unreal Tournament 2004)and NOTA. You have to do the BASE variants of ALL homeworks in BOTH tracks.
There will be 6 Pogamut 3 homeworks and 5 NOTA homeworks.
Moreover, there will be ADVANCED parts of homeworks. Successfully delivering advanced parts of homeworks will ease the final exam for you. In each track, you can score up-to 40 points. Those points contribute to the overall track score.
How to pass the course – The Final Exam
There will be two tracks of the final exams: Pogamut 3 (Unreal Tournament 2004) and NOTA. You have to successfully pass at least ONE of them to finish the course.
The final exam will be about creating one complex behavior or solve one complex scenario using techniques and tools you will learn throughout the labs.
In each track, you can receive 0-90 points for solving the final exam.
The final score of the track is then made of the sum of “final exam points” and “homework points”, so in theory, you can ean up-to 130 points in a given track.
You will receive the grade according to the higher of track scores, which forms your final score.
Final_score = MAX{Pogamut_3_track_score, NOTA_track_score} translates to the grades as follows.
Final Scoring | Final Grade |
[0-55) | Fail |
[55-70) | C |
[70-85) | B |
[85-130] | A |
Pogamut 3 Track
Follows the list of Pogamut 3 Track labs including their details and points you can gather by doing advanced part of homeworks.
Lab No. |
Date | Topic | Homework | Homework Deadline |
Homework points Advanced |
Slides | Results |
1. | 19.2.2019 (Tue) | First Pogamut 3 Steps | SearchBot | 26.2.2019 (Tue) | – | N/A | |
2. | 26.2.2019 (Tue) | Movement | WolfBot | 5.3.2019 (Tue) | 5 | ||
3. | 5.3.2019 (Tue) | Item picking | ItemPickerSquad | 12.3.2019 (Tue) | 5 | ||
4. | 12.3.2019 (Tue) | Combat | Deathmatch Bot | 19.3.2019 (Tue) | 5 | N/A | |
5. | 19.3.2019 (Tue) | Environment Awareness | Pimped Deathmatch Bot | 26.3.2019 (Tue) | 10 | Sheet | |
6. | 26.3.2019 (Tue) | Team Deathmatch | Team Deathmatch Team | 9.4.2019 (Tue) | 15 | Sheet |
GameBots 2004
- WARNING: There is new GameBots2004 version, that is fixing LevelGeomrty stuff, download it now!
- Do not forget also to update Java libraries!
Lab 06 – 26.3.2019
- Slides; TDMBot Template
- For the homework, feel free to come up with own advanced behaviors! Just email me beforehand ;}
Lab 05 – 19.3.2019
- Slides; Pimped DuelBot Template
- Bot from the labs
- Featuring custom-path navigation
- Cover-behavior
- Usage of draw module to visualize custom path
- For the homework, feel free to come up with own advanced behaviors! Just email me beforehand ;]
Lab 04 – 12.3.2019
- Slides; DuelBot Template
- Bot from 17:20 – features Scripting w/ preconditions outside behaviors
- Bot from 19:00 – features Scripting w/ preconditions inside behaviors
- For the homework, feel free to come up with own advanced behaviors! Just email me beforehand 😉
Lab 03 – 5.3.2019
- Slides; ItemPickerSquad Starter Pack; ItemPickerSquad from labs
- Navigation, Items, Team communication
- Details on advanced points from the third Pogamut 3 homework are in the slides
Lab 02 – 26.2.2019
- Slides; Wolves&Sheep Starter Pack
- We’ve talked about the low-level movement of Pogamut 3 bots; Wolves & Sheep Tournament announced
- Details on advanced points from the second Pogamut 3 homework are in the slides
Lab 01 – 19.2.2019
- Slides
- First Pogamut 3 steps, try to locate and have some (shooting) chat with another bot within the environment
Tournament 3 – Team Deathmatch
- Deadline for the TDM Bot submission is 21.4.2019 08:00 (CET)
- Table-tournament, all teams fight all other teams
- 4v4
- Three maps: DM-Rankin-FE, DM-Roughinery-FPS, DM-DE-Ironic-FE
- Advanced points: 16/12/8/4 awarded to the 1st / 2nd / 3rd / 4th place
- Results
Tournament 2 – Deathmatch
- Deadline for the DM Bot submission is 7.4.2019 08:00 (CET)
- Table-tournament, all bots fight all other bots
- One map: DM-Roughinery-FPS
- Advanced points: 12/9/6/3 awarded to the 1st / 2nd / 3rd / 4th place
- Results
Tournament 1 – Wolves & Sheep
- Deadline for WolfBot submissions is 17.3.2019 08:00 (CET)
- The best wolves duo (the most sheeps / the fastest) wins!
- Advanced points: 8/6/4/2 awarded to the 1st / 2nd / 3rd / 4th place
- Results
NOTA Track
Follows the list of NOTA Track labs including their details and points you can gather by doing advanced parts of the track homeworks.
Lab No. |
Date | Topic | Assignment | Assignment First Review Deadline |
Assignment Base Deadline |
Assignment Advanced Deadline |
Assignment points Advanced |
7. | 2. 4. 2019 (Tue) | NOTA Intro | intro | – | 23:59, 7. 4. 2019 | – | – |
spec. | 3. 4. 2019 (Wed) | Lua Intro | – | – | – | – | |
8. | 9. 4. 2019 (Tue) | Basics of development | sandsail | – | 23:59, 18. 4. 2019 | 23:59, 21. 4. 2019 | 5 |
9. | 16. 4. 2019 (Tue) | Making own primitives I – sensors | ctp2 | 23:59, 23. 4. 2019 | 12:00, 28. 4. 2019 | 23:59, 1. 5. 2019 | 5 |
10. | 23. 4. 2019 (Tue) | Control nodes, Debugging | – | – | – | – | – |
11. | 30. 4. 2019 (Tue) | Making own primitives II – nodes | ttdr | 23:59, 7. 5. 2019 | 23:59, 14. 5. 2019 | 23:59, 21. 5. 2019 | 20 |
12. | 7. 5. 2019 (Tue) | Aggregation | – | – | – | – | – |
14. 5. 2019 (Tue) | Cancelled (Exam task revealed) | swampdota | – | – | – | (exam task) | |
13. | 21. 5. 2019 (Tue) Room S9! 17:20 |
– | – | – | – | – | |
28. 5. 2019 (Tue) 17:20-22:00 |
Exam Consultations |
– | – | – | – | – | |
4. 6. 2019 (Tue) 16:00-18:30 |
Exam Consultations |
– | – | – | – | – | |
11. 6. 2019 (Tue) 17:20-21:00+ |
Exam Consultations |
– | – | – | – | – | |
13. 6. 2019 (Thu) 14:00-18:00+ |
Exam |
– | – | – | – | – | |
17. 6. 2019 (Mon) 18:00-20:00+ BISim Karlin office call +420 776 666 818 |
Exam Consultations |
– | – | – | – | – | |
19. 6. 2019 (Wed) 17:20-20:00+ |
Exam Consultations |
– | – | – | – | – | |
20. 6. 2019 (Thu) 14:00-18:00+ |
Exam |
– | – | – | – | – | |
25. 6. 2019 (Tue) 17:30-19:30 |
Exam Consultations |
– | – | – | – | – | |
28. 6. 2019 (Fri) 16:30-18:30 BISim Karlin office call +420 776 666 818 |
Exam Consultations |
– | – | – | – | – | |
on demand
(sms +420 776 666 818) |
Exam Consultations |
– | – | – | – | – |
Lab 07 – 2.4.2019
- We have played with NOTA a bit
- We’ve set up development environment according to the following GDrive doc
- Homework – setup development environment for you at home
- Videos
Tips & Tricks
Full HD of Java apps on Windows 10
If you have problems with >FullHD resolutions on Windows 10, read this tip. You have to create a .manifest file for javaw.exe within your JDK or JRE folder.
Adding native bots into UT2004
By Marius Anagnoste
I found an easy way to add bots to the servers so students can test their bots against the UT2004 bots.
- To do so, in the server .bat file, add parameters like:
?difficulty=7?numbots=1?
adminname=user?adminpassword= pass?minplayers=2 - Difficulty is between 1 and 7, with 7 being the Godlike bot.
Adminname
andadminpassword
are for players to login as admins. Change them as desired. - Start up the server and the game, and while spectacting, bring up your game console with
~
or whatever other key (depending on keyboard) and login with:adminlogin user pass
- And then, to use server commands, prefix them with admin:
admin addbots 1
- To remove bots:
admin killbots