Table of Contents
- Hologram
- Entity = holoCreate(Number Index, Vector Position, Vector Scale, Angle Ang, Vector Color, String Model)
- Entity = holoCreate(Number Index, Vector Position, Vector Scale, Angle Ang, Vector4 Color, String Model)
- Entity = holoCreate(Number Index, Vector Position, Vector Scale, Angle Ang, Vector Color)
- Entity = holoCreate(Number Index, Vector Position, Vector Scale, Angle Ang, Vector4 Color)
- Entity = holoCreate(Number Index, Vector Position, Vector Scale, Angle Ang)
- Entity = holoCreate(Number Index, Vector Position, Vector Scale)
- Entity = holoCreate(Number Index, Vector Position)
- Entity = holoCreate(Number Index)
- holoDelete(Number Index)
- holoDeleteAll()
- holoDeleteAll(Number All)
- holoReset(Number Index, String Model, Vector Scale, Vector Color, String Material)
- Number = holoCanCreate()
- Number = holoRemainingSpawns()
- Number = holoAmount()
- Number = holoMaxAmount()
- holoScale(Number Index, Vector Scale)
- Vector = holoScale(Number Index)
- holoScaleUnits(Number Index, Vector Size)
- Vector = holoScaleUnits(Number Index)
- holoBoneScale(Number Index, Number Boneindex, Vector Scale)
- holoBoneScale(Number Index, String Bone, Vector Scale)
- Vector = holoBoneScale(Number Index, Number Boneindex)
- Vector = holoBoneScale(Number Index, String Bone)
- Number = holoClipsAvailable()
- holoClipEnabled(Number Index, Number Enabled)
- holoClipEnabled(Number Index, Number Clipidx, Number Enabled)
- holoClip(Number Index, Vector Origin, Vector Normal, Number Isglobal)
- holoClip(Number Index, Number Clipidx, Vector Origin, Vector Normal, Number Isglobal)
- holoClip(Number Index, Vector Origin, Vector Normal, Entity Localent)
- holoClip(Number Index, Number Clipidx, Vector Origin, Vector Normal, Entity Localent)
- holoPos(Number Index, Vector Position)
- holoAng(Number Index, Angle Ang)
- holoColor(Number Index, Vector Color)
- holoColor(Number Index, Vector4 Color)
- holoColor(Number Index, Vector Color, Number Alpha)
- holoAlpha(Number Index, Number Alpha)
- holoShadow(Number Index, Number Has_shadow)
- holoDisableShading(Number Index, Number Disable)
- Array = holoModelList()
- Number = holoModelAny()
- holoModel(Number Index, String Model)
- holoModel(Number Index, String Model, Number Skin)
- holoSkin(Number Index, Number Skin)
- holoMaterial(Number Index, String Material)
- holoPlayerColor(Number Index, Vector Color)
- holoRenderFX(Number Index, Number Effect)
- holoBodygroup(Number Index, Number Bgrp_id, Number Bgrp_subid)
- Number = holoBodygroups(Number Index, Number Bgrp_id)
- holoVisible(Number Index, Entity Ply, Number Visible)
- holoVisible(Number Index, Array Players, Number Visible)
- holoParent(Number Index, Number Otherindex)
- holoParent(Number Index, Entity Ent)
- holoParentAttachment(Number Index, Entity Ent, String Attachmentname)
- holoUnparent(Number Index)
- Entity = holoEntity(Number Index)
- Number = holoIndex(Entity Ent)
Hologram
= holoCreate(
Index,
Position,
Scale,
Ang,
Color,
Model)
Index, Position, Scale, Angle, Color (RGB), Model Creates a new hologram entity (30 ops)
= holoCreate(
Index,
Position,
Scale,
Ang,
Color,
Model)
Index, Position, Scale, Angle, Color (RGBA), Model Creates a new hologram entity (30 ops)
= holoCreate(
Index,
Position,
Scale,
Ang,
Color)
Index, Position, Scale, Angle, Color (RGB) Creates a new hologram entity (30 ops)
= holoCreate(
Index,
Position,
Scale,
Ang,
Color)
Index, Position, Scale, Angle, Color (RGBA) Creates a new hologram entity (30 ops)
= holoCreate(
Index,
Position,
Scale,
Ang)
Index, Position, Scale, Angle Creates a new hologram entity (30 ops)
= holoCreate(
Index,
Position,
Scale)
Index, Position, Scale Creates a new hologram entity (30 ops)
= holoCreate(
Index,
Position)
Index, Position Creates a new hologram entity (30 ops)
= holoCreate(
Index)
Index Creates a new hologram entity (30 ops)
holoDelete(
Index)
Removes a hologram (20 ops)
holoDeleteAll()
Removes all holograms made by this E2 (20 ops)
holoDeleteAll(
All)
(20 ops)
holoReset(
Index,
Model,
Scale,
Color,
Material)
Similar to holoCreate, but reusing the old entity (20 ops)
= holoCanCreate()
Returns 1 when holoCreate() will successfully create a new hologram until the Max limit is reached Replaces holoRemainingSpawns() (2 ops)
= holoRemainingSpawns()
Returns how many holograms can be created this execution (2 ops)
= holoAmount()
(2 ops)
= holoMaxAmount()
(2 ops)
holoScale(
Index,
Scale)
Sets the scale of the given hologram, as a multiplier (15 ops)
= holoScale(
Index)
Returns the scale of the given hologram (15 ops)
holoScaleUnits(
Index,
Size)
Sets the scale of the given hologram, in source units (15 ops)
= holoScaleUnits(
Index)
Returns the scale of the given hologram in source units (15 ops)
holoBoneScale(
Index,
Boneindex,
Scale)
Sets the scale of the given hologram bone, as a multiplier (15 ops)
holoBoneScale(
Index,
Bone,
Scale)
Sets the scale of the given hologram named bone, as a multiplier (15 ops)
= holoBoneScale(
Index,
Boneindex)
Returns the scale of the given hologram bone (15 ops)
= holoBoneScale(
Index,
Bone)
Returns the scale of the given hologram named bone (15 ops)
= holoClipsAvailable()
Returns the maximum number of clipping planes allowed per hologram (1 ops)
holoClipEnabled(
Index,
Enabled)
Enables / disables clipping for a hologram with specified index (15 ops)
holoClipEnabled(
Index,
Clipidx,
Enabled)
Enables / disables clipping for a hologram with specified index. Clip index is for use with multiple clipping planes (15 ops)
holoClip(
Index,
Origin,
Normal,
Isglobal)
Defines a plane used to clip a hologram specified by it's position, direction and number 1/0 whether the position should be global or local to the hologram (15 ops)
holoClip(
Index,
Clipidx,
Origin,
Normal,
Isglobal)
Defines a plane used to clip a hologram specified by it's index, position, direction and number 1/0 whether the position should be global or local to the hologram (15 ops)
holoClip(
Index,
Origin,
Normal,
Localent)
Defines a plane used to clip a hologram specified by it's position, and direction local to the given entity (15 ops)
holoClip(
Index,
Clipidx,
Origin,
Normal,
Localent)
Defines a plane used to clip a hologram specified by it's index, position, and direction local to the given entity (15 ops)
holoPos(
Index,
Position)
Sets the position of the hologram (15 ops)
holoAng(
Index,
Ang)
Sets the angle of the hologram (15 ops)
holoColor(
Index,
Color)
Sets the color of the hologram (15 ops)
holoColor(
Index,
Color)
Sets the color and alpha of the hologram (15 ops)
holoColor(
Index,
Color,
Alpha)
Sets the color and alpha of the hologram (15 ops)
holoAlpha(
Index,
Alpha)
Sets the transparency (0-255) of the hologram (15 ops)
holoShadow(
Index,
Has_shadow)
Enables the hologram's shadow (10 ops)
holoDisableShading(
Index,
Disable)
If 1, supresses engine lighting when drawing this hologram (10 ops)
= holoModelList()
Returns the list of valid models See holoModelAny() (10 ops)
= holoModelAny()
Returns 1 if models outside of holoModelList can be used. Reads convar 'wire_holograms_modelany' (1 ops)
holoModel(
Index,
Model)
Sets the model. Must be from holoModelList unless wire_holograms_modelany is 1 (see holoModelAny()) (10 ops)
holoModel(
Index,
Model,
Skin)
Sets the model and skin. Must be from holoModelList unless wire_holograms_modelany is 1 (see holoModelAny()) (10 ops)
holoSkin(
Index,
Skin)
Changes the skin of a hologram (10 ops)
holoMaterial(
Index,
Material)
Sets the overlay material of the hologram (10 ops)
holoPlayerColor(
Index,
Color)
Sets the sub-color of a hologram with player model such as clothes or physgun (10 ops)
holoRenderFX(
Index,
Effect)
Changes the RenderFX for a hologram (10 ops)
holoBodygroup(
Index,
Bgrp_id,
Bgrp_subid)
Index, Group ID, Group SubID Sets the bodygroups of the given hologram (10 ops)
= holoBodygroups(
Index,
Bgrp_id)
Index, Group ID Returns the number of bodygroups in the Group ID of the given hologram (10 ops)
holoVisible(
Index,
Ply,
Visible)
If 0, prevents a specific player from seeing the hologram (10 ops)
holoVisible(
Index,
Players,
Visible)
If 0, prevents an array of players from seeing the hologram (10 ops)
holoParent(
Index,
Otherindex)
Parents the hologram to another hologram (40 ops)
holoParent(
Index,
Ent)
Parents the hologram to an entity (40 ops)
holoParentAttachment(
Index,
Ent,
Attachmentname)
Parents the hologram to an entity's bone by its attachment name (40 ops)
holoUnparent(
Index)
Un-parents the hologram (40 ops)
= holoEntity(
Index)
Returns the entity corresponding to the hologram given by the specified index (2 ops)
= holoIndex(
Ent)
Returns the index of the given hologram entity (30 ops)
Expression 2 ⚙️
Getting Started 🕊
- Syntax 🔣
- Directives 🎛️
- Editor 🖥️
- Ops 📊
Guides (In learning order) 🎓
- Learning & Getting Help 📚
- Triggers ⏲️
- Events 🎬
- Find Functions 🔍
- Physics 🚀
- EGP Basics 📈
- Lambdas λ
- Lambda Timers λ⏲️
- Tips & Tricks 📘
Tools 🛠️
Click To Expand
Advanced
- 🟥 SPU
- 🟥 Address Bus
- 🟥 Extended Bus
- 🟥 Plug/Socket
- 🟥 Port
- 🟥 Transfer Bus
- 🟩 GPU
- 🟥 Dynamic Memory
- 🟥 Flash EEPROM
- 🟥 ROM
Beacon 💡
- 🟧 Beacon Sensor
- 🟧 Locator
- 🟧 Target Finder
- 🟧 Waypoint
- 🟥 XYZ Beacon
Control 🎛️
- 🟩 CPU
- 🟩 Expression 2
- 🟩 Gates
- 🟥 PID
Data 💿
- 🟧 CD Disk
- 🟥 CD Ray
- 🟧 DHDD
- 🟥 Keycard
- 🟥 RAM-card
- 🟧 Satellite Dish
- 🟧 Store
- 🟧 Transferer
- 🟥 Wired Wirer
Detection 👀
- 🟧 Adv Entity Marker
- 🟧 Damage Detector
- 🟧 Entity Marker
- 🟧 GPS
- 🟧 Gyroscope
- 🟥 HighSpeed Ranger
- 🟧 Laser Pointer Receiver
- 🟥 Microphone
- 🟧 Ranger
- 🟧 Speedometer
- 🟧 Water Sensor
Display 💻
- 🟧 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
Render 🖌
- 🟩 Cam Controller
- 🟧 Colorer
- 🟧 FX Emitter
- 🟧 HighSpeed Holoemitter
- 🟧 HoloEmitter
- 🟧 HoloGrid
- 🟥 Interactable Holography Emitter
- 🟥 Materializer
- 🟥 Painter
I/O 🔌
- 🟧 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
Physics 🚀
- 🟥 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
Utilities 🛠️
- 🟧 Debugger
- 🟥 GUI Wiring
- 🟥 Multi Wire
- 🟧 Namer
- 🟥 Simulate Data
- 🟩 Wiring
RFID 💳
- 🟥 Beam Reader
- 🟥 Implanter
- 🟥 Reader
- 🟥 Target Filter
- 🟥 User Reader
Wireless 🛜
Gates 🚥
Click To Expand
TBD
Extras 🔭
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.
Default Extensions
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
Additional Extensions
Disabled by default: constraintcore, effects, propcore, remoteupload, wiring
Wire-Extras (repo): camera, ftrace, holoanim, light, stcontrol, tracesystem