Table of Contents
- Custom/constraintcore
- enableConstraintUndo(Number State)
- axis(Entity Ent1, Vector V1, Entity Ent2, Vector V2)
- axis(Entity Ent1, Vector V1, Entity Ent2, Vector V2, Number Friction)
- axis(Entity Ent1, Vector V1, Entity Ent2, Vector V2, Number Friction, Vector Localaxis)
- ballsocket(Entity Ent1, Vector V, Entity Ent2)
- ballsocket(Entity Ent1, Vector V, Entity Ent2, Number Friction)
- ballsocket(Entity Ent1, Vector V, Entity Ent2, Vector Mins, Vector Maxs, Vector Frictions)
- ballsocket(Entity Ent1, Vector V, Entity Ent2, Vector Mins, Vector Maxs, Vector Frictions, Number Rotateonly)
- weldAng(Entity Ent1, Vector V, Entity Ent2)
- winch(Number Index, Entity Ent1, Vector V1, Entity Ent2, Vector V2, Number Width)
- hydraulic(Number Index, Entity Ent1, Vector V1, Entity Ent2, Vector V2, Number Width)
- hydraulic(Number Index, Entity Ent1, Vector V1, Entity Ent2, Vector V2, Number Constant, Number Damping, String Mat, Number Width, Number Stretch)
- hydraulic(Number Index, Entity Ent1, Vector V1, Entity Ent2, Vector V2, Number Constant, Number Damping, Number Rdamping, String Mat, Number Width, Number Stretch)
- rope(Number Index, Entity Ent1, Vector V1, Entity Ent2, Vector V2)
- rope(Number Index, Entity Ent1, Vector V1, Entity Ent2, Vector V2, Number Addlength, Number Width, String Mat)
- rope(Number Index, Entity Ent1, Vector V1, Entity Ent2, Vector V2, Number Addlength, Number Width, String Mat, Number Rigid)
- Entity:setLength(Number Index, Number Length)
- Entity:setConstant(Number Index, Number Constant)
- Entity:setConstant(Number Index, Number Constant, Number Damping)
- Entity:setDamping(Number Index, Number Damping)
- slider(Entity Ent1, Vector V1, Entity Ent2, Vector V2)
- slider(Entity Ent1, Vector V1, Entity Ent2, Vector V2, Number Width)
- noCollide(Entity Ent1, Entity Ent2)
- noCollideAll(Entity Ent, Number State)
- weld(Entity Ent1, Entity Ent2)
- Entity:constraintBreak()
- Entity:constraintBreak(Entity Ent2)
- Entity:constraintBreak(String Type)
- Entity:constraintBreak(String Type, Entity Ent2)
Custom/constraintcore
enableConstraintUndo(
State)
(1 ops)
axis(
Ent1,
V1,
Ent2,
V2)
Creates an axis constraint between two entities at vectors local to each entity (30 ops)
axis(
Ent1,
V1,
Ent2,
V2,
Friction)
Creates an axis constraint between two entities at vectors local to each entity with friction (30 ops)
axis(
Ent1,
V1,
Ent2,
V2,
Friction,
Localaxis)
Creates an axis constraint between two entities at vectors local to each entity with friction and local rotation axis (30 ops)
ballsocket(
Ent1,
V,
Ent2)
(30 ops)
ballsocket(
Ent1,
V,
Ent2,
Friction)
(30 ops)
ballsocket(
Ent1,
V,
Ent2,
Mins,
Maxs,
Frictions)
Creates an AdvBallsocket constraint between two entities at a vector local to ent1, using the specified mins, maxs, and frictions (30 ops)
ballsocket(
Ent1,
V,
Ent2,
Mins,
Maxs,
Frictions,
Rotateonly)
Creates an AdvBallsocket constraint between two entities at a vector local to ent1, using the specified mins, maxs, frictions, rotateonly (30 ops)
weldAng(
Ent1,
V,
Ent2)
(30 ops)
winch(
Index,
Ent1,
V1,
Ent2,
V2,
Width)
(30 ops)
hydraulic(
Index,
Ent1,
V1,
Ent2,
V2,
Width)
Creates a hydraulic constraint with a referenceid, between two entities, at vectors local to each (30 ops)
hydraulic(
Index,
Ent1,
V1,
Ent2,
V2,
Constant,
Damping,
Mat,
Width,
Stretch)
Creates a hydraulic constraint with a referenceid, between two entities, at vectors local to each, with constant, damping, and stretch only (30 ops)
hydraulic(
Index,
Ent1,
V1,
Ent2,
V2,
Constant,
Damping,
Rdamping,
Mat,
Width,
Stretch)
Creates a hydraulic constraint with a referenceid, between two entities, at vectors local to each, with constant, damping, relative damping and stretch only (30 ops)
rope(
Index,
Ent1,
V1,
Ent2,
V2)
Creates a rope constraint with a referenceid, between two entities, at vectors local to each (30 ops)
rope(
Index,
Ent1,
V1,
Ent2,
V2,
Addlength,
Width,
Mat)
Creates a rope constraint with a referenceid, between two entities, at vectors local to each with add length, width, and material (30 ops)
rope(
Index,
Ent1,
V1,
Ent2,
V2,
Addlength,
Width,
Mat,
Rigid)
Creates a rope constraint with a referenceid, between two entities, at vectors local to each with add length, width, material, and rigidity (30 ops)
:setLength(
Index,
Length)
Sets the length of a winch/hydraulic/rope stored in this entity at a referenceid (5 ops)
:setConstant(
Index,
Constant)
(5 ops)
:setConstant(
Index,
Constant,
Damping)
(5 ops)
:setDamping(
Index,
Damping)
(5 ops)
slider(
Ent1,
V1,
Ent2,
V2)
(30 ops)
slider(
Ent1,
V1,
Ent2,
V2,
Width)
(30 ops)
noCollide(
Ent1,
Ent2)
(30 ops)
noCollideAll(
Ent,
State)
(30 ops)
weld(
Ent1,
Ent2)
(30 ops)
:constraintBreak()
Breaks all constraints of all types on an entity (5 ops)
:constraintBreak(
Ent2)
Breaks all constraints between two entities (5 ops)
:constraintBreak(
Type)
Breaks all constraints of a type (weld, axis, nocollide, ballsocket) on an entity (5 ops)
:constraintBreak(
Type,
Ent2)
Breaks a constraint of a type (weld, axis, nocollide, ballsocket) between two entities (5 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