X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=Bot.md;h=21feef451b03de97df7eeca1ba4295cf77d52f7b;hb=8bf2a5ee76811983a7157ec978e9119cf209c269;hp=cff7ec02ba3d13696048856ef2aa2595fcce2de3;hpb=ab458cf870e3ca2cc8add65895be2f428879ac16;p=xonotic%2Fxonotic.wiki.git diff --git a/Bot.md b/Bot.md index cff7ec0..21feef4 100644 --- a/Bot.md +++ b/Bot.md @@ -1,57 +1,62 @@ -h1. Bot +Bot +=== -h2. General behaviour +General behaviour +----------------- -h3. Goals +### Goals -h2. Pathfinding +Pathfinding +----------- -h3. Goals +### Goals -* Plan A - Grid based +- Plan A - Grid based -* Plan B - Waypoints based -** Cached waypoint links +- Plan B - Waypoints based + - Cached waypoint links -* A* based +- A\* based -* Cached nodes _(applies to both plans)_ -** This means that most of map discovery or waypoint creation will be done offline +- Cached nodes _(applies to both plans)_ + - This means that most of map discovery or waypoint creation will be done offline -h2. Navigation +Navigation +---------- -h3. Goals +### Goals -* Steering behaviour +- Steering behaviour -* Swimming -** Support getting out of water -** Float in the same place if until a path is found -** Eventually support navigation under water as long as the pathfinder supports it too +- Swimming + - Support getting out of water + - Float in the same place if until a path is found + - Eventually support navigation under water as long as the pathfinder supports it too -* Able to get out of lava, acid, etc -** Ideally it should request quickly a new path to the pathfinder, instead of improvising on the movement code +- Able to get out of lava, acid, etc + - Ideally it should request quickly a new path to the pathfinder, instead of improvising on the movement code -* Never, ever, get stuck in the same place. Wander around if there nothing better to do. +- Never, ever, get stuck in the same place. Wander around if there nothing better to do. -* Able to rocket-jump _(as a last resource measure, when they're thrown into space void)_ +- Able to rocket-jump _(as a last resource measure, when they're thrown into space void)_ -* Plan A - Waypoint based -** Avoid path congestion _(this happens when more than one bot on the same team are traveling over the same path)_ +- Plan A - Waypoint based + - Avoid path congestion _(this happens when more than one bot on the same team are traveling over the same path)_ -* Filter insanely quick movements (aka shaking) +- Filter insanely quick movements (aka shaking) +Talking +------- -h2. Talking +### Goals -h3. Goals +Aiming +------ +### Goals -h2. Aiming +Coding guidelines +----------------- -h3. Goals - - -h2. Coding guidelines - -h2. Links +Links +-----