Bounding Box Tool + 1 sources
This code is over 6 months old. The code may have expired and might no longer function.
In-game Description
Comes will all 40 heros (current hero amount) pre-done + has baby D.Va bounding box as well
However the reason you would be here is most likey to edit said bounding boxs.
Pre-set bounding boxs are around 0.1 meters larger than the real bounding box, this is so you can use the box to actually get whether or not the player is colliding with something.
I just used the beam display as a guide for the 0.1 meters, i would go up against a wall as close as possible then increase the bounding box size on that side until it was fully within the wall.
Hero Array
variables
{
global:
0: All_Heros
}
actions
{
Global.All_Heros = Array(Hero(Reaper), Hero(Tracer), Hero(Mercy), Hero(Hanzo), Hero(Torbjörn), Hero(Reinhardt), Hero(Pharah), Hero(
Winston), Hero(Widowmaker), Hero(Bastion), Hero(Symmetra), Hero(Zenyatta), Hero(Genji), Hero(Roadhog), Hero(Cassidy), Hero(
Junkrat), Hero(Zarya), Hero(Soldier: 76), Hero(Lúcio), Hero(D.Va), Hero(Mei), Hero(Sombra), Hero(Doomfist), Hero(Ana), Hero(
Orisa), Hero(Brigitte), Hero(Moira), Hero(Wrecking Ball), Hero(Sojourn), Hero(Ashe), Hero(Echo), Hero(Baptiste), Hero(Kiriko),
Hero(Junker Queen), Hero(Sigma), Hero(Ramattra), Hero(Lifeweaver), Hero(Illari), Hero(Mauga), Hero(Venture);
}
Bounding Box Array
{
global:
1: Dimenions
}
actions
{
Global.Dimenions = Array(Array(Vector(0.800, 0, 0.800), Vector(0.800, 0, -0.800), Vector(-0.800, 0, 0.800), Vector(-0.800, 0,
-0.800), Vector(-0.800, 2.350, -0.800), Vector(-0.800, 2.350, 0.800), Vector(0.800, 2.350, -0.800), Vector(0.800, 2.350,
0.800)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(
-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(
0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550),
Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(0.550, 0, 0.550),
Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550,
2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0,
-0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550),
Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(0.800, 0, 0.800), Vector(0.800, 0, -0.800), Vector(
-0.800, 0, 0.800), Vector(-0.800, 0, -0.800), Vector(-0.800, 2.550, -0.800), Vector(-0.800, 2.550, 0.800), Vector(0.800, 2.550,
-0.800), Vector(0.800, 2.550, 0.800)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550),
Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(
0.550, 2.050, 0.550)), Array(Vector(0.800, 0, 0.800), Vector(0.800, 0, -0.800), Vector(-0.800, 0, 0.800), Vector(-0.800, 0,
-0.800), Vector(-0.800, 2.550, -0.800), Vector(-0.800, 2.550, 0.800), Vector(0.800, 2.550, -0.800), Vector(0.800, 2.550,
0.800)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(
-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(
0.800, 0, 0.800), Vector(0.800, 0, -0.800), Vector(-0.800, 0, 0.800), Vector(-0.800, 0, -0.800), Vector(-0.800, 2.400, -0.800),
Vector(-0.800, 2.400, 0.800), Vector(0.800, 2.400, -0.800), Vector(0.800, 2.400, 0.800)), Array(Vector(0.550, 0, 0.550),
Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550,
2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0,
-0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550),
Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(
-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050,
-0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(0.800, 0, 0.800), Vector(0.800, 0, -0.800), Vector(-0.800, 0, 0.800),
Vector(-0.800, 0, -0.800), Vector(-0.800, 2.400, -0.800), Vector(-0.800, 2.400, 0.800), Vector(0.800, 2.400, -0.800), Vector(
0.800, 2.400, 0.800)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0,
-0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050,
0.550)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(
-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(
0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550),
Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(0.550, 0, 0.550),
Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550,
2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0,
-0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550),
Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(0.800, 0, 0.800), Vector(0.800, 0, -0.800), Vector(
-0.800, 0, 0.800), Vector(-0.800, 0, -0.800), Vector(-0.800, 2.100, -0.800), Vector(-0.800, 2.100, 0.800), Vector(0.800, 2.100,
-0.800), Vector(0.800, 2.100, 0.800)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550),
Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(
0.550, 2.050, 0.550)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0,
-0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050,
0.550)), Array(Vector(0.800, 0, 0.800), Vector(0.800, 0, -0.800), Vector(-0.800, 0, 0.800), Vector(-0.800, 0, -0.800), Vector(
-0.800, 2.550, -0.800), Vector(-0.800, 2.550, 0.800), Vector(0.800, 2.550, -0.800), Vector(0.800, 2.550, 0.800)), Array(Vector(
0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550),
Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), 0, Array(Vector(0.550, 0, 0.550),
Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550,
2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0,
-0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550),
Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(0.800, 0, 0.800), Vector(0.800, 0, -0.800), Vector(
-0.800, 0, 0.800), Vector(-0.800, 0, -0.800), Vector(-0.800, 2.550, -0.800), Vector(-0.800, 2.550, 0.800), Vector(0.800, 2.550,
-0.800), Vector(0.800, 2.550, 0.800)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550),
Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(
0.550, 2.050, 0.550)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0,
-0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050,
0.550)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(
-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(
0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550),
Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(0.550, 0, 0.550),
Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550,
2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0,
-0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550),
Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(0.800, 0, 0.800), Vector(0.800, 0, -0.800), Vector(
-0.800, 0, 0.800), Vector(-0.800, 0, -0.800), Vector(-0.800, 2.550, -0.800), Vector(-0.800, 2.550, 0.800), Vector(0.800, 2.550,
-0.800), Vector(0.800, 2.550, 0.800)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550),
Vector(-0.550, 0, -0.550), Vector(-0.550, 2.200, -0.550), Vector(-0.550, 2.200, 0.550), Vector(0.550, 2.200, -0.550), Vector(
0.550, 2.200, 0.550)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0,
-0.550), Vector(-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050,
0.550)), Array(Vector(0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(
-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550)), Array(Vector(
0.800, 0, 0.800), Vector(0.800, 0, -0.800), Vector(-0.800, 0, 0.800), Vector(-0.800, 0, -0.800), Vector(-0.800, 2.350, -0.800),
Vector(-0.800, 2.350, 0.800), Vector(0.800, 2.350, -0.800), Vector(0.800, 2.350, 0.800)), Array(Vector(0.750, 0, 0.750),
Vector(0.750, 0, -0.750), Vector(-0.750, 0, 0.750), Vector(-0.750, 0, -0.750), Vector(-0.750, 2.350, -0.750), Vector(-0.750,
2.350, 0.750), Vector(0.750, 2.350, -0.750), Vector(0.750, 2.350, 0.750)));
}
Pilot D.Va Bounding Box
variables
{
global:
2: Baby_Dva_Dimensions
}
actions
{
Global.Dimensions = Array(Vector(0.550, 0, 0.550), Vector(0.550, 0, -0.550), Vector(-0.550, 0, 0.550), Vector(-0.550, 0, -0.550), Vector(
-0.550, 2.050, -0.550), Vector(-0.550, 2.050, 0.550), Vector(0.550, 2.050, -0.550), Vector(0.550, 2.050, 0.550));
}
Sources
This post utilizes other codes either in part or in full. This could be because they remixed them, used parts of them, were inspired by them, or other reasons.
Controls
Snippet
Loading...