E2: EGP Objects - wiremod/wire GitHub Wiki
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 |
---|---|---|
![]() |
The angle of the object | 0 |
![]() |
Specifies whether the object is visible behind (-1), in front of (1) the EGP, or both (0). HUD is unaffected by directionality | 0 |
![]() |
The texture filter enum of the object | 3 |
![]() |
The parent entity of the object | NULL |
![]() |
The x position of the tracker relative to the world or parententity | 0 |
![]() |
The y position of the tracker relative to the world or parententity | 0 |
![]() |
The z position of the tracker relative to the world or parententity | 0 |
![]() |
The x position of the object | 0 |
![]() |
The y position of the object | 0 |
Box
A filled rectangle.
:egpBox(
index,
pos,
size)
Public Fields | Description | Default value |
---|---|---|
![]() |
The alpha of the object | 255 |
![]() |
The angle of the object | 0 |
![]() |
The blue of the object | 255 |
![]() |
The texture filter enum of the object | 3 |
![]() |
The green of the object | 255 |
![]() |
The height of the object | 0 |
![]() |
The material of the object | "" |
![]() |
The red of the object | 255 |
![]() |
The width of the object | 0 |
![]() |
The x position of the object | 0 |
![]() |
The y position of the object | 0 |
Box Outline
An outline of a rectangle.
:egpBoxOutline(
index,
pos,
size)
Public Fields | Description | Default value |
---|---|---|
![]() |
The alpha of the object | 255 |
![]() |
The angle of the object | 0 |
![]() |
The blue of the object | 255 |
![]() |
The texture filter enum of the object | 3 |
![]() |
The green of the object | 255 |
![]() |
The height of the object | 0 |
![]() |
The material of the object | "" |
![]() |
The red of the object | 255 |
![]() |
The size of the outline | 1 |
![]() |
The width of the object | 0 |
![]() |
The x position of the object | 0 |
![]() |
The y position of the object | 0 |
Circle
A filled oval.
:egpCircle(
index,
pos,
size)
Public Fields | Description | Default value |
---|---|---|
![]() |
The alpha of the object | 255 |
![]() |
The angle of the object | 0 |
![]() |
The blue of the object | 255 |
![]() |
The number of vertices the circle uses | 180 |
![]() |
The texture filter enum of the object | 3 |
![]() |
The green of the object | 255 |
![]() |
The height of the object | 0 |
![]() |
The material of the object | "" |
![]() |
The red of the object | 255 |
![]() |
The width of the object | 0 |
![]() |
The x position of the object | 0 |
![]() |
The y position of the object | 0 |
Circle Outline
An outline of an oval.
:egpCircleOutline(
index,
pos,
size)
Public Fields | Description | Default value |
---|---|---|
![]() |
The alpha of the object | 255 |
![]() |
The angle of the object | 0 |
![]() |
The blue of the object | 255 |
![]() |
The number of vertices the circle uses | 180 |
![]() |
The texture filter enum of the object | 3 |
![]() |
The green of the object | 255 |
![]() |
The height of the object | 0 |
![]() |
The material of the object | "" |
![]() |
The red of the object | 255 |
![]() |
The size of the outline | 1 |
![]() |
The width of the object | 0 |
![]() |
The x position of the object | 0 |
![]() |
The y position of the object | 0 |
Line
A line between two points.
:egpLine(
index,
pos1,
pos2)
Public Fields | Description | Default value |
---|---|---|
![]() |
The alpha of the object | 255 |
![]() |
The angle of the object | 0 |
![]() |
The blue of the object | 255 |
![]() |
The texture filter enum of the object | 3 |
![]() |
The green of the object | 255 |
![]() |
The material of the object | "" |
![]() |
The red of the object | 255 |
![]() |
The size of the line | 1 |
![]() |
The x position of the beginning of the line | 0 |
![]() |
The x position of the end of the line | 0 |
![]() |
The y position of the beginning of the line | 0 |
![]() |
The y position of the end of the line | 0 |
Line Strip
A line between multiple points.
:egpLineStrip(
index,
/
...)
Public Fields | Description | Default value |
---|---|---|
![]() |
The alpha of the object | 255 |
![]() |
The angle of the object | 0 |
![]() |
The blue of the object | 255 |
![]() |
The texture filter enum of the object | 3 |
![]() |
The green of the object | 255 |
![]() |
The material of the object | "" |
![]() |
The red of the object | 255 |
![]() |
The size of the line | 1 |
![]() |
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 |
---|---|---|
![]() |
The alpha of the object | 255 |
![]() |
The blue of the object | 255 |
![]() |
The texture filter enum of the object | 3 |
![]() |
The green of the object | 255 |
![]() |
The material of the object | "" |
![]() |
The red of the object | 255 |
![]() |
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 |
---|---|---|
![]() |
The alpha of the object | 255 |
![]() |
The blue of the object | 255 |
![]() |
The texture filter enum of the object | 3 |
![]() |
The green of the object | 255 |
![]() |
The material of the object | "" |
![]() |
The red of the object | 255 |
![]() |
The size of the line | 1 |
![]() |
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 |
---|---|---|
![]() |
The alpha of the object | 255 |
![]() |
The angle of the object | 0 |
![]() |
The blue of the object | 255 |
![]() |
The number of vertices the corners use | 36 |
![]() |
The texture filter enum of the object | 3 |
![]() |
The green of the object | 255 |
![]() |
The height of the object | 0 |
![]() |
The material of the object | "" |
![]() |
The red of the object | 255 |
![]() |
The radius of the corners | 16 |
![]() |
The width of the object | 0 |
![]() |
The x position of the object | 0 |
![]() |
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 |
---|---|---|
![]() |
The alpha of the object | 255 |
![]() |
The angle of the object | 0 |
![]() |
The blue of the object | 255 |
![]() |
The number of vertices the corners use | 36 |
![]() |
The texture filter enum of the object | 3 |
![]() |
The green of the object | 255 |
![]() |
The height of the object | 0 |
![]() |
The material of the object | "" |
![]() |
The red of the object | 255 |
![]() |
The radius of the corners | 16 |
![]() |
The size of the outline | 1 |
![]() |
The width of the object | 0 |
![]() |
The x position of the object | 0 |
![]() |
The y position of the object | 0 |
Text
A text object.
:egpText(
index,
text,
pos)
Public Fields | Description | Default value |
---|---|---|
![]() |
The alpha of the object | 255 |
![]() |
The angle of the object | 0 |
![]() |
The blue of the object | 255 |
![]() |
The texture filter enum of the object | 3 |
![]() |
The font of the text | WireGPU_ConsoleFont |
![]() |
The green of the object | 255 |
![]() |
The horizontal alignment of the object | 0 |
![]() |
The material of the object | "" |
![]() |
The red of the object | 255 |
![]() |
The size of the text | 18 |
![]() |
The text to display | "" |
![]() |
The vertical alignment of the text | 0 |
![]() |
The x position of the object | 0 |
![]() |
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 |
---|---|---|
![]() |
The alpha of the object | 255 |
![]() |
The angle of the object | 0 |
![]() |
The blue of the object | 255 |
![]() |
The texture filter enum of the object | 3 |
![]() |
The font of the text | WireGPU_ConsoleFont |
![]() |
The green of the object | 255 |
![]() |
The horizontal alignment of the object | 0 |
![]() |
The height of the object | 512 |
![]() |
The material of the object | "" |
![]() |
The red of the object | 255 |
![]() |
The size of the text | 18 |
![]() |
The text to display | "" |
![]() |
The vertical alignment of the text | 0 |
![]() |
The width of the object | 512 |
![]() |
The x position of the object | 0 |
![]() |
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 |
---|---|---|
![]() |
The alpha of the object | 255 |
![]() |
The angle of the object | 0 |
![]() |
The blue of the object | 255 |
![]() |
The number of vertices the wedge uses | 180 |
![]() |
The texture filter enum of the object | 3 |
![]() |
The green of the object | 255 |
![]() |
The height of the object | 0 |
![]() |
The material of the object | "" |
![]() |
The red of the object | 255 |
![]() |
The radius of the mouth of the wedge | 45 |
![]() |
The width of the object | 0 |
![]() |
The x position of the object | 0 |
![]() |
The y position of the object | 0 |
Wedge Outline
An outline of a wedge.
:egpWedgeOutline(
index,
pos,
size)
Public Fields | Description | Default value |
---|---|---|
![]() |
The alpha of the object | 255 |
![]() |
The angle of the object | 0 |
![]() |
The blue of the object | 255 |
![]() |
The number of vertices the wedge uses | 180 |
![]() |
The texture filter enum of the object | 3 |
![]() |
The green of the object | 255 |
![]() |
The height of the object | 0 |
![]() |
The material of the object | "" |
![]() |
The red of the object | 255 |
![]() |
The radius of the mouth of the wedge | 45 |
![]() |
The width of the object | 0 |
![]() |
The x position of the object | 0 |
![]() |
The y position of the object | 0 |