You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/v5/botmaking/dropshot.md
+52-9Lines changed: 52 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,3 @@
1
-
As of August 19. 2018 the RLBot framework officially supports Dropshot with access to locations of floor tiles. This page contains information and useful values related to the Dropshot game mode.
2
-
3
1
To make RLBot start a Dropshot game you have to set the following values in `match.toml`:
4
2
5
3
```toml
@@ -8,10 +6,24 @@ game_mode = "Dropshot"
8
6
game_map_upk = "ShatterShot_P"
9
7
```
10
8
9
+
??? warning "RLBot doesn't have access to individual tile data"
10
+
RLBot v5 currently doesn't have access to the position or state information of individual dropshot tiles. This is a known issue that was present in RLBot v4, but this information might return.
11
+
11
12
## Tiles
12
13
13
14
There are 140 tiles in total.
14
-
Locations and owning team can be found in the agent's FieldInfo as GoalInfo objects. In Python `self.field_info.goals` will be a list of the floor tiles with following attributes:
15
+
16
+
A list of all locations can be found [here](https://pastebin.com/w79VhU8W).
17
+
18
+
The tiles are hexagonal in shape. The distance between centres is 768 uu (except for the middle where the distance from blue tiles to orange tiles is 256 uu. A neutral strip about 128 uu wide covers the tiles partially). The image below shows the relative dimensions of a Dropshot tile.
Locations and owning team can be found in the agent's FieldInfo as GoalInfo objects. In Python `self.field_info.goals` will be a list of the goals with following attributes:
15
27
16
28
```python
17
29
classGoalInfo:
@@ -24,15 +36,46 @@ class GoalInfo:
24
36
25
37
Example: To access the location of tile 0 in Python, write: `self.field_info.goals[0].location`
26
38
27
-
A list of all locations can be found [here](https://pastebin.com/w79VhU8W).
28
-
29
-
The tiles are hexagonal in shape. The distance between centres is 768 uu (except for the middle where the distance from blue tiles to orange tiles is 256 uu. A neutral strip about 128 uu wide covers the tiles partially). The image below shows the relative dimensions of a Dropshot tile.
The tiles are layed out in rows of 7,8,9,10,11,12,13 |middle| 13,12,11,10,9,8,7. Where tile 0 is in the blue corner (back left if you are on blue team) and tile 139 is in an orange corner (back left if you are on the orange team).
78
+
The tiles are layed out in rows of `7,8,9,10,11,12,13 |middle| 13,12,11,10,9,8,7`. Where tile 0 is in the blue corner (back left if you are on blue team) and tile 139 is in an orange corner (back left if you are on the orange team).
36
79
37
80
The overall layout of the arena and tile indices can be seen below.
0 commit comments