- Team Blueberry (THoeppner)
- ArrowXRnd (ArowX)
- Spreader (Oribow)
Welcome to the Capture the Flag AI Challenge!
Take a look at our Github Wiki page for documentation
The game will be judged with team sizes of 8v8.
6 Rounds: The bot with the highest score will move on to the next elimination round.
During judging your bots will go through a single-elimination tournament. More Info
- You cannot store instances of objects, this includes but is not limited to, IAgent or Soldier classes and IGrabbable or Flag classes. These classes should not be accessed anywhere out of the callbacks provided.
- Using or Getting components of the following classes is prohibited, (UIManager, TeamManager, CameraManager, Spawn, Flag, Weapon, Soldier, AnimationController, PoolManager, PoolObject)
- Custom navigation systems are allowed, however the unity navmesh system is not, use the Grid provided to your advantage. (GridManager)
- You can only move using the MoveTowards and Move methods from the SoldierWrapper class.
- You cannot call the DropFlag method on any IAgent that does not belong to you.
- You cannot casts Ray outside of the RayCast method provided by the soldier class unless you have permission.
- No bug abusing or exploiting. If you see any bugs please notify me as soon as possible!
- Other prohibitions are specified in the Wiki.
These rules should be self-explanatory for the most part. If you need to break any of these rules go ahead but they may not be allowed through to compete with others depending on the situtation.
Note: The only thing you submit will be your scripts, so editing values of prefabs is fine as they will not be taken into account in the competition.
Downloading the Project
- Press 'Clone or download' in the upper right
- Open Scenes/level.unity
- Duplicate the SoldierBase.cs file (ctrl+d) or create a new class that inherits from the SoldierWrapper class
- Create your bot and use the example as reference and take a look at our Github Wiki page for documentation
Adding Your bot
- Expand the Prefabs/Soldier folder
- Select SoldierA or SoldierB and delete their SoldierExample.cs component
- Add your custom bot script to the prefab
- Press play!
Changing the bot count
- In the level.unity scene click on the TeamManager object
- In the TeamManager component, edit the Team Size attribute
Sending Your Submission
Send your submission directly to me via email: email@example.com or via skype: arminana.s OR send your submission via hastebin links for all necessary code and post it in the forum post.
Note: You should send all files that relate to your entry, so if you have a navigation script, be sure to include that.
Controls for testing
- WASD - Move Camera
- Q/E - Zoom in/out
- Space - Cycle Spectate
- Right Mouse Btn - Overview
- H - Reset
- G - Restart
Credits for assets useds
- Denis Sylkin - RTS Camera
- Unity - Unity Particle Pack
- Marcelo Fernanadez Music - Music
- Dogzerx (Jose Diaz) - Cartoon Soldier (<3 Dogzer)
- Telecaster - Cloth animation based Flag 1.0