Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 44 additions & 18 deletions docs/botmaking/hoops.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,48 +4,74 @@ To make RLBot start a Hoops game you have to set the following values in `rlbot.

```
game_mode = Hoops
# Alternative map: Hoops_TheBlocks
game_map = Hoops_DunkHouse
```

## Arena
## Arena Walls

Hoops is always played on the map Dunk House. The dimensions for the arena are:
Hoops is usually played on the map Dunk House or The Block. The dimensions for the arena are:

- Floor: z=0
- Side wall: x=2966.67
- Back wall: y=3586
- Ceiling: z=????
- Floor z: =0
- Side wall x: 2966.67
- Back wall y: 3586
- Ceiling z: =1820
- The diagonal walls intersect the x and y axes at: ±5782
- Wall ramp radius: 86

## Goals

In Hoops the goals are two rings. The rings are placed ??? uu above the ground. Their radius is 753 uu but they are connected to the wall with straight lines.
In Hoops, the goals are two rings. The rings are semi-circles placed (0, ±2969, 364) with radius 655 and they are connected to the wall with straight lines (except a small curve near the walls). The pipe that makes up the ring has a diameter of approximately 42.

Center of goals: ???
Distance from back wall: ???

## Boost Pads

There are 20 boost pads on a Hoops arena, 6 of them are big.

Big boost pads are located at (±2176, ±2944, 8) and (±2432, 0, 8).

Locations of all boost pads:

```
????
[ 2176, -2944, 8] (0)
[-2176, -2944, 8] (1)
[ 0, -2816, 0] (2)
[-1280, -2304, 0] (3)
[ 1280, -2304, 0] (4)
[-1536, -1024, 0] (5)
[ 1536, -1024, 0] (6)
[ 512, -512, 0] (7)
[ -512, -512, 0] (8)
[-2432, 0, 8] (9)
[ 2432, 0, 8] (10)
[ 512, 512, 0] (11)
[ -512, 512, 0] (12)
[-1536, 1024, 0] (13)
[ 1536, 1024, 0] (14)
[-1280, 2304, 0] (15)
[ 1280, 2304, 0] (16)
[ 0, 2816, 0] (17)
[-2176, 2944, 8] (18)
[ 2176, 2944, 8] (19)
```

Note: Some of these coordinates have been rounded.

## Ball

The radius of the ball is 98.38 uu. But other than that, the physics of the ball is similar to soccer.
The radius of the ball is 98.38. When the kickout countdown hits zero, the ball is given a Z velocity of 1000. But other than that, the physics of the ball is similar to soccer.

## Spawning

| Kickoff | Blue | Orange |
|-----------------|-----------------------------------|-----------------------------------|
| Right corner | loc: ???, yaw: 0.25 pi | loc: ??? yaw: -0.75 pi |
| Left corner | loc: ???, yaw: 0.75 pi | loc: ???, yaw: -0.25 pi |
| Back right | loc: ???, yaw: 0.5 pi | loc: ???, yaw: -0.5 pi |
| Back left | loc: ???, yaw: 0.5 pi | loc: ???, yaw: -0.5 pi |
| Far back center | loc: ???, yaw: 0.5 pi | loc: ???, yaw: -0.5 pi |
| Right corner | loc: (-1536, -3072), yaw: 0.5 pi | loc: (1536, 3072), yaw: -0.5 pi |
| Left corner | loc: (1536, -3072), yaw: 0.5 pi | loc: (-1536, 3072), yaw: -0.5 pi |
| Back right | loc: (-256, -2815), yaw: 0.5 pi | loc: (256, 2815), yaw: -0.5 pi |
| Back left | loc: (256, -2815), yaw: 0.5 pi | loc: (-256, 2815), yaw: -0.5 pi |
| Far back center | loc: (0, -3200), yaw: 0.5 pi | loc: (0, 3200), yaw: -0.5 pi |

| Demolished | Blue | Orange |
|-----------------|-----------------------------------|-----------------------------------|
| Right corner | loc: ???, yaw: 0.5 pi | loc: ???, yaw: -0.5 pi |
| Left corner | loc: ???, yaw: 0.5 pi | loc: ???, yaw: -0.5 pi |
| Right corner | loc: (-1152, -3072), yaw: 0.5 pi | loc: (1152, 3072), yaw: -0.5 pi |
| Left corner | loc: (1152, -3072), yaw: 0.5 pi | loc: (-1152, 3072), yaw: -0.5 pi |
4 changes: 1 addition & 3 deletions docs/botmaking/useful-game-values.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ Big boost pads:
- 6 in total.
- Gives 100 boost.
- Takes 10 seconds to refresh.
- The pads with a z-component of 73.0 are the big pads. Mirror these coordinates to get all 6:
- Midfield: (3584, 0)
- Corner: (3072, 4096)
- Positioned at: (±3584, 0, 73) and (±3072, ±4096, 73)

A car picks up a boost pad if the car's center of mass (not hitbox) enters the pad's hitbox. This interaction is different when cars are standing still (see the [Rocket Science video on boost pad hitboxes](https://www.youtube.com/watch?v=xgfa-qZyInw))

Expand Down