-
Notifications
You must be signed in to change notification settings - Fork 332
E2: EGP Objects
This page contains a complete list of EGP objects and their fields that can be modified in E2.
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 |
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 |
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 |
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 |
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 |
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 |
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 }
|
{} |
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 }
|
{} |
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 }
|
{} |
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 |
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 |
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 |
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 |
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 |
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 |
Please do not alter the e2 docs ...
pages manually.
They are autogenerated from the E2Helper. In the future, this will hopefully be its own dedicated website or tool.
Basic Features: core, debug, number, selfaware,
string, timer
🌎 World: angle, color, find, ranger, sound,
🔣 Math: bitwise, complex, matrix, quaternion, vector, vector2/4
📦 Entities: bone, constraint, egp, entity, hologram, npc
👨 Players: chat, console, player, weapon
📊 Data storage: array, files, globalvars, serialization, table
💬 Communication: datasignal, http, signal, wirelink,
❓ Informational: gametick, serverinfo, steamidconv, unitconv
Disabled by default: constraintcore, effects, propcore, remoteupload, wiring
Wire-Extras (repo): camera, ftrace, holoanim, light, stcontrol, tracesystem
- Home 🏠
- Syntax 🔣
- Directives 🎛️
- Editor 🖥️
- Events 🌟 (new!)
Click To Expand
- 🟥 SPU
- 🟥 Address Bus
- 🟥 Extended Bus
- 🟥 Plug/Socket
- 🟥 Port
- 🟥 Transfer Bus
- 🟩 GPU
- 🟥 Dynamic Memory
- 🟥 Flash EEPROM
- 🟥 ROM
- 🟧 Beacon Sensor
- 🟧 Locator
- 🟧 Target Finder
- 🟧 Waypoint
- 🟥 XYZ Beacon
- 🟩 CPU
- 🟩 Expression 2
- 🟩 Gates
- 🟥 PID
- 🟧 CD Disk
- 🟥 CD Ray
- 🟧 DHDD
- 🟥 Keycard
- 🟥 RAM-card
- 🟧 Satellite Dish
- 🟧 Store
- 🟧 Transferer
- 🟥 Wired Wirer
- 🟧 Adv Entity Marker
- 🟧 Damage Detector
- 🟧 Entity Marker
- 🟧 GPS
- 🟧 Gyroscope
- 🟥 HighSpeed Ranger
- 🟧 Laser Pointer Receiver
- 🟥 Microphone
- 🟧 Ranger
- 🟧 Speedometer
- 🟧 Water Sensor
- 🟧 7 Segment Display
- 🟥 Adv. Hud Indicator
- 🟧 Console Screen
- 🟧 Control Panel
- 🟧 Digital Screen
- 🟧 EGP v3
- 🟧 Fix RenderTargets
- 🟥 GPULib Switcher
- 🟧 Hud Indicator
- 🟧 Indicator
- 🟧 Lamp
- 🟧 Light
- 🟧 Oscilloscope
- 🟧 Pixel
- 🟧 Screen
- 🟧 Sound Emitter
- 🟧 Text Screen
- 🟩 Cam Controller
- 🟧 Colorer
- 🟧 FX Emitter
- 🟧 HighSpeed Holoemitter
- 🟧 HoloEmitter
- 🟧 HoloGrid
- 🟥 Interactable Holography Emitter
- 🟥 Materializer
- 🟥 Painter
- 🟧 Adv. Input
- 🟧 Button
- 🟧 Constant Value
- 🟥 Door Controller
- 🟧 Dual Input
- 🟧 Dynamic Button
- 🟧 Eye Pod
- 🟧 Graphics Tablet
- 🟧 Keyboard
- 🟥 Lever
- 🟧 Numpad
- 🟧 Numpad Input
- 🟧 Numpad Output
- 🟧 Plug
- 🟧 Pod Controller
- 🟧 Radio
- 🟧 Relay
- 🟧 Text Receiver
- 🟧 Two-way Radio
- 🟧 Vehicle Controller
- 🟥 Door
- 🟥 Adv. Dupe. Teleporter
- 🟥 Buoyancy
- 🟧 Clutch
- 🟧 Detonator
- 🟧 Explosives
- 🟧 Explosives (Simple)
- 🟥 Forcer
- 🟩 Freezer
- 🟧 Gimbal (Facer)
- 🟧 Grabber
- 🟧 Hoverball
- 🟧 Hoverdrive Controller
- 🟥 Hydraulic
- 🟧 Igniter
- 🟧 Nailer
- 🟩 Prop Spawner
- 🟥 Servo
- 🟥 Simple Servo
- 🟧 Thruster
- 🟥 Touchplate
- 🟥 Trail
- 🟩 Turret
- 🟩 User
- 🟥 Vector Thruster
- 🟥 Vehicle Exit Point
- 🟧 Weight (Adjustable)
- 🟧 Weld/Constraint Latch
- 🟥 Wheel
- 🟥 Wire Magnet
- 🟥 Wired Npc Controller
- 🟧 Debugger
- 🟥 GUI Wiring
- 🟥 Multi Wire
- 🟧 Namer
- 🟥 Simulate Data
- 🟩 Wiring
- 🟥 Beam Reader
- 🟥 Implanter
- 🟥 Reader
- 🟥 Target Filter
- 🟥 User Reader
Gates 🚥
Click To Expand
TBD