Skip to content

Commit 75c7159

Browse files
Merge pull request #29 from RLBot/hoops
Add missing information to Hoops page
2 parents 74a1401 + 565b2ad commit 75c7159

File tree

2 files changed

+45
-21
lines changed

2 files changed

+45
-21
lines changed

docs/botmaking/hoops.md

Lines changed: 44 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,48 +4,74 @@ To make RLBot start a Hoops game you have to set the following values in `rlbot.
44

55
```
66
game_mode = Hoops
7+
# Alternative map: Hoops_TheBlocks
78
game_map = Hoops_DunkHouse
89
```
910

10-
## Arena
11+
## Arena Walls
1112

12-
Hoops is always played on the map Dunk House. The dimensions for the arena are:
13+
Hoops is usually played on the map Dunk House or The Block. The dimensions for the arena are:
1314

14-
- Floor: z=0
15-
- Side wall: x=2966.67
16-
- Back wall: y=3586
17-
- Ceiling: z=????
15+
- Floor z: =0
16+
- Side wall x: 2966.67
17+
- Back wall y: 3586
18+
- Ceiling z: =1820
19+
- The diagonal walls intersect the x and y axes at: ±5782
20+
- Wall ramp radius: 86
1821

1922
## Goals
2023

21-
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.
24+
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.
2225

23-
Center of goals: ???
24-
Distance from back wall: ???
2526

2627
## Boost Pads
2728

29+
There are 20 boost pads on a Hoops arena, 6 of them are big.
30+
31+
Big boost pads are located at (±2176, ±2944, 8) and (±2432, 0, 8).
32+
2833
Locations of all boost pads:
2934

3035
```
31-
????
36+
[ 2176, -2944, 8] (0)
37+
[-2176, -2944, 8] (1)
38+
[ 0, -2816, 0] (2)
39+
[-1280, -2304, 0] (3)
40+
[ 1280, -2304, 0] (4)
41+
[-1536, -1024, 0] (5)
42+
[ 1536, -1024, 0] (6)
43+
[ 512, -512, 0] (7)
44+
[ -512, -512, 0] (8)
45+
[-2432, 0, 8] (9)
46+
[ 2432, 0, 8] (10)
47+
[ 512, 512, 0] (11)
48+
[ -512, 512, 0] (12)
49+
[-1536, 1024, 0] (13)
50+
[ 1536, 1024, 0] (14)
51+
[-1280, 2304, 0] (15)
52+
[ 1280, 2304, 0] (16)
53+
[ 0, 2816, 0] (17)
54+
[-2176, 2944, 8] (18)
55+
[ 2176, 2944, 8] (19)
3256
```
3357

58+
Note: Some of these coordinates have been rounded.
59+
3460
## Ball
3561

36-
The radius of the ball is 98.38 uu. But other than that, the physics of the ball is similar to soccer.
62+
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.
3763

3864
## Spawning
3965

4066
| Kickoff | Blue | Orange |
4167
|-----------------|-----------------------------------|-----------------------------------|
42-
| Right corner | loc: ???, yaw: 0.25 pi | loc: ??? yaw: -0.75 pi |
43-
| Left corner | loc: ???, yaw: 0.75 pi | loc: ???, yaw: -0.25 pi |
44-
| Back right | loc: ???, yaw: 0.5 pi | loc: ???, yaw: -0.5 pi |
45-
| Back left | loc: ???, yaw: 0.5 pi | loc: ???, yaw: -0.5 pi |
46-
| Far back center | loc: ???, yaw: 0.5 pi | loc: ???, yaw: -0.5 pi |
68+
| Right corner | loc: (-1536, -3072), yaw: 0.5 pi | loc: (1536, 3072), yaw: -0.5 pi |
69+
| Left corner | loc: (1536, -3072), yaw: 0.5 pi | loc: (-1536, 3072), yaw: -0.5 pi |
70+
| Back right | loc: (-256, -2815), yaw: 0.5 pi | loc: (256, 2815), yaw: -0.5 pi |
71+
| Back left | loc: (256, -2815), yaw: 0.5 pi | loc: (-256, 2815), yaw: -0.5 pi |
72+
| Far back center | loc: (0, -3200), yaw: 0.5 pi | loc: (0, 3200), yaw: -0.5 pi |
4773

4874
| Demolished | Blue | Orange |
4975
|-----------------|-----------------------------------|-----------------------------------|
50-
| Right corner | loc: ???, yaw: 0.5 pi | loc: ???, yaw: -0.5 pi |
51-
| Left corner | loc: ???, yaw: 0.5 pi | loc: ???, yaw: -0.5 pi |
76+
| Right corner | loc: (-1152, -3072), yaw: 0.5 pi | loc: (1152, 3072), yaw: -0.5 pi |
77+
| Left corner | loc: (1152, -3072), yaw: 0.5 pi | loc: (-1152, 3072), yaw: -0.5 pi |

docs/botmaking/useful-game-values.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ Big boost pads:
4646
- 6 in total.
4747
- Gives 100 boost.
4848
- Takes 10 seconds to refresh.
49-
- The pads with a z-component of 73.0 are the big pads. Mirror these coordinates to get all 6:
50-
- Midfield: (3584, 0)
51-
- Corner: (3072, 4096)
49+
- Positioned at: (±3584, 0, 73) and (±3072, ±4096, 73)
5250

5351
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))
5452

0 commit comments

Comments
 (0)