This page contains a complete list of EGP objects and their fields that can be modified in E2.
3D Tracker
Maps a world position to a position on the EGP relative to the player. Currently not entirely accurate on EGP Screens.
:egp3DTracker(
index,
pos[,
directionality])
Public Fields |
Description |
Default value |
angle |
The angle of the object |
0 |
directionality |
Specifies whether the object is visible behind (-1), in front of (1) the EGP, or both (0). HUD is unaffected by directionality |
0 |
filtering |
The texture filter enum of the object |
3 |
parententity |
The parent entity of the object |
NULL |
target_x |
The x position of the tracker relative to the world or parententity |
0 |
target_y |
The y position of the tracker relative to the world or parententity |
0 |
target_z |
The z position of the tracker relative to the world or parententity |
0 |
x |
The x position of the object |
0 |
y |
The y position of the object |
0 |
Box
A filled rectangle.
:egpBox(
index,
pos,
size)
Public Fields |
Description |
Default value |
a |
The alpha of the object |
255 |
angle |
The angle of the object |
0 |
b |
The blue of the object |
255 |
filtering |
The texture filter enum of the object |
3 |
g |
The green of the object |
255 |
h |
The height of the object |
0 |
material |
The material of the object |
"" |
r |
The red of the object |
255 |
w |
The width of the object |
0 |
x |
The x position of the object |
0 |
y |
The y position of the object |
0 |
Box Outline
An outline of a rectangle.
:egpBoxOutline(
index,
pos,
size)
Public Fields |
Description |
Default value |
a |
The alpha of the object |
255 |
angle |
The angle of the object |
0 |
b |
The blue of the object |
255 |
filtering |
The texture filter enum of the object |
3 |
g |
The green of the object |
255 |
h |
The height of the object |
0 |
material |
The material of the object |
"" |
r |
The red of the object |
255 |
size |
The size of the outline |
1 |
w |
The width of the object |
0 |
x |
The x position of the object |
0 |
y |
The y position of the object |
0 |
Circle
A filled oval.
:egpCircle(
index,
pos,
size)
Public Fields |
Description |
Default value |
a |
The alpha of the object |
255 |
angle |
The angle of the object |
0 |
b |
The blue of the object |
255 |
fidelity |
The number of vertices the circle uses |
180 |
filtering |
The texture filter enum of the object |
3 |
g |
The green of the object |
255 |
h |
The height of the object |
0 |
material |
The material of the object |
"" |
r |
The red of the object |
255 |
w |
The width of the object |
0 |
x |
The x position of the object |
0 |
y |
The y position of the object |
0 |
Circle Outline
An outline of an oval.
:egpCircleOutline(
index,
pos,
size)
Public Fields |
Description |
Default value |
a |
The alpha of the object |
255 |
angle |
The angle of the object |
0 |
b |
The blue of the object |
255 |
fidelity |
The number of vertices the circle uses |
180 |
filtering |
The texture filter enum of the object |
3 |
g |
The green of the object |
255 |
h |
The height of the object |
0 |
material |
The material of the object |
"" |
r |
The red of the object |
255 |
size |
The size of the outline |
1 |
w |
The width of the object |
0 |
x |
The x position of the object |
0 |
y |
The y position of the object |
0 |
Line
A line between two points.
:egpLine(
index,
pos1,
pos2)
Public Fields |
Description |
Default value |
a |
The alpha of the object |
255 |
angle |
The angle of the object |
0 |
b |
The blue of the object |
255 |
filtering |
The texture filter enum of the object |
3 |
g |
The green of the object |
255 |
material |
The material of the object |
"" |
r |
The red of the object |
255 |
size |
The size of the line |
1 |
x |
The x position of the beginning of the line |
0 |
x2 |
The x position of the end of the line |
0 |
y |
The y position of the beginning of the line |
0 |
y2 |
The y position of the end of the line |
0 |
Line Strip
A line between multiple points.
:egpLineStrip(
index,
/
...)
Public Fields |
Description |
Default value |
a |
The alpha of the object |
255 |
angle |
The angle of the object |
0 |
b |
The blue of the object |
255 |
filtering |
The texture filter enum of the object |
3 |
g |
The green of the object |
255 |
material |
The material of the object |
"" |
r |
The red of the object |
255 |
size |
The size of the line |
1 |
vertices |
The vertices of the line in the format vertices[number] = { x = number, y = number } |
{} |
Poly
A filled polygon.
:egpPoly(
index,
/
...)
Public Fields |
Description |
Default value |
a |
The alpha of the object |
255 |
b |
The blue of the object |
255 |
filtering |
The texture filter enum of the object |
3 |
g |
The green of the object |
255 |
material |
The material of the object |
"" |
r |
The red of the object |
255 |
vertices |
The vertices of the poly in the format vertices[number] = { x = number, y = number } |
{} |
Poly Outline
A polygon outline.
:egpPolyOutline(
index,
/
...)
Public Fields |
Description |
Default value |
a |
The alpha of the object |
255 |
b |
The blue of the object |
255 |
filtering |
The texture filter enum of the object |
3 |
g |
The green of the object |
255 |
material |
The material of the object |
"" |
r |
The red of the object |
255 |
size |
The size of the line |
1 |
vertices |
The vertices of the poly in the format vertices[number] = { x = number, y = number } |
{} |
Rounded Box
A filled rectangle with curved corners.
:egpRoundedBox(
index,
pos,
size)
Public Fields |
Description |
Default value |
a |
The alpha of the object |
255 |
angle |
The angle of the object |
0 |
b |
The blue of the object |
255 |
fidelity |
The number of vertices the corners use |
36 |
filtering |
The texture filter enum of the object |
3 |
g |
The green of the object |
255 |
h |
The height of the object |
0 |
material |
The material of the object |
"" |
r |
The red of the object |
255 |
radius |
The radius of the corners |
16 |
w |
The width of the object |
0 |
x |
The x position of the object |
0 |
y |
The y position of the object |
0 |
Rounded Box Outline
A rectangle outline with curved corners.
:egpRoundedBoxOutline(
index,
pos,
size)
Public Fields |
Description |
Default value |
a |
The alpha of the object |
255 |
angle |
The angle of the object |
0 |
b |
The blue of the object |
255 |
fidelity |
The number of vertices the corners use |
36 |
filtering |
The texture filter enum of the object |
3 |
g |
The green of the object |
255 |
h |
The height of the object |
0 |
material |
The material of the object |
"" |
r |
The red of the object |
255 |
radius |
The radius of the corners |
16 |
size |
The size of the outline |
1 |
w |
The width of the object |
0 |
x |
The x position of the object |
0 |
y |
The y position of the object |
0 |
Text
A text object.
:egpText(
index,
text,
pos)
Public Fields |
Description |
Default value |
a |
The alpha of the object |
255 |
angle |
The angle of the object |
0 |
b |
The blue of the object |
255 |
filtering |
The texture filter enum of the object |
3 |
font |
The font of the text |
WireGPU_ConsoleFont |
g |
The green of the object |
255 |
halign |
The horizontal alignment of the object |
0 |
material |
The material of the object |
"" |
r |
The red of the object |
255 |
size |
The size of the text |
18 |
text |
The text to display |
"" |
valign |
The vertical alignment of the text |
0 |
x |
The x position of the object |
0 |
y |
The y position of the object |
0 |
Text Layout
A text object with width and height.
:egpTextLayout(
index,
text,
pos,
size)
Public Fields |
Description |
Default value |
a |
The alpha of the object |
255 |
angle |
The angle of the object |
0 |
b |
The blue of the object |
255 |
filtering |
The texture filter enum of the object |
3 |
font |
The font of the text |
WireGPU_ConsoleFont |
g |
The green of the object |
255 |
halign |
The horizontal alignment of the object |
0 |
h |
The height of the object |
512 |
material |
The material of the object |
"" |
r |
The red of the object |
255 |
size |
The size of the text |
18 |
text |
The text to display |
"" |
valign |
The vertical alignment of the text |
0 |
w |
The width of the object |
512 |
x |
The x position of the object |
0 |
y |
The y position of the object |
0 |
Wedge
A filled circle with a concave "mouth" portion.
:egpWedge(
index,
pos,
size)
Public Fields |
Description |
Default value |
a |
The alpha of the object |
255 |
angle |
The angle of the object |
0 |
b |
The blue of the object |
255 |
fidelity |
The number of vertices the wedge uses |
180 |
filtering |
The texture filter enum of the object |
3 |
g |
The green of the object |
255 |
h |
The height of the object |
0 |
material |
The material of the object |
"" |
r |
The red of the object |
255 |
size |
The radius of the mouth of the wedge |
45 |
w |
The width of the object |
0 |
x |
The x position of the object |
0 |
y |
The y position of the object |
0 |
Wedge Outline
An outline of a wedge.
:egpWedgeOutline(
index,
pos,
size)
Public Fields |
Description |
Default value |
a |
The alpha of the object |
255 |
angle |
The angle of the object |
0 |
b |
The blue of the object |
255 |
fidelity |
The number of vertices the wedge uses |
180 |
filtering |
The texture filter enum of the object |
3 |
g |
The green of the object |
255 |
h |
The height of the object |
0 |
material |
The material of the object |
"" |
r |
The red of the object |
255 |
size |
The radius of the mouth of the wedge |
45 |
w |
The width of the object |
0 |
x |
The x position of the object |
0 |
y |
The y position of the object |
0 |