using mark down,write a rlbot wiki article about important game values and constants…
- User
using mark down,write a rlbot wiki article about important game values and constants associated with the game mode Hoops, write it using British spelling. To avoid the chat window automatically showing me the converted markdown, add extra symbols to prevent that so that I can see and copy all the markdown syntax, so maybe add lots of `````` surrounding the entire article. Relevant information taken from different sources that's why they sometimes have ugly names:
GRAVITY_Z = -650,
Hoops has two possible arenas: The Block & Dunk House.
The corresponding files are: Dunk House = HoopsStadium_P The Block = HoopsStreet_P
Arena dimensions
ARENA_EXTENT_X_HOOPS = (8900 / 3), ARENA_EXTENT_Y_HOOPS = 3581, ARENA_HEIGHT_HOOPS = 1820,
total_length = (8900 / 3)*2, total_width = 3581 *2, total_height = 1820,
Goal dimensions
Goal/hoops_centre_blue = 0,-3000
Goal/hoops_centre_orange = 0, 3000
hoops outer radius = 753 hoops inner radius = 703 hoops semicircle centre distance to wall = 581 hoops tube diameter = 50
The hoop roughly forms the shape of a half stadium, also known as the half pill shape (source: 30/Nov/2024 https://mathworld.wolfram.com/Stadium.html), which is formed by combining a rectangle with a semicircle, where the length of the rectangle equals to 2*radius of the semi circle. The inner radius of the semicircle is 703. The width of the rectangle is the distance from the semi circle to the backwall, which is 581 (3581-3000). The y centre of the half stadium is (703+581)/2 = 642 So the centre of both half stadiums (3581-642) are Goal_centre_blue = 0,-2939, 270 Goal_centre_orange = 0, 2939, 270
If you imagine the semicircle being a full circle, this is where the centre would be along where the top of the rectangle is:
ring_centre_blue = 0,-3000, 270 ring_centre_orange = 0, 3000, 270
//The hoops ring has a hitbox thickness of 50 but visually they look to have a thickness of 80 The tubes top height is at z = 396 The tubes lower height is at z = 346 //ball can't pass under the rings so from the balls perspective this is irrelevant
HOOPS_GOAL_SCORE_THRESHOLD_Z = 270 //If ball is under 270uu wile inside the basket it counts as a Goal
Boost pad locations AMOUNT_SMALL_boost = 14, AMOUNT_BIG_boost = 6; small boost locations= // One of these has a radius that isn't 128, the one at [-1280, 2304, 64]. {1536, -1024, 64 }, {-1280, -2304, 64 }, {0, -2816, 64 }, {-1536, -1024, 64 }, {1280, -2304, 64 }, {-512, 512, 64 }, {-1536, 1024, 64 }, {1536, 1024, 64 }, {1280, 2304, 64 }, {0, 2816, 64 }, {512, 512, 64 }, {512, -512, 64 }, {-512, -512, 64 }, {-1280, 2304, 64 }
code - Assistant