Skip to content
Vurv edited this page Jul 21, 2022 · 7 revisions

This wiki has been created so that everyone with a github account can contribute to the documentation, so please do. If what you are looking for isn't listed here, use the subreddit or the Discord server.

Overview

Console Commands

Command Description
wire_expression2_model Manually changes the expression's model
wire_expression2_reload Reloads all E2 extensions, useful for debugging your own extensions. Keep in mind that client-side files will be taken from gmod's cache in multi-player mode.
wire_expression2_debug 0/1 Toggles debug mode, which shows info that might be useful for the developers. You need to do "wire_expression2_reload" after changing for this to have any effect.
wire_expression2_extension_enable Enables the specified extension.
wire_expression2_extension_disable Disables the specified extension.
wire_expression2_unlimited 0/1 Enables/disables performance limiting.

Note: Most E2 addons do not register themselves as extensions and thus cannot be turned on or off with the above commands. A notable exception is the Prop-core extension, which is disabled by default.

Also, you must run wire_expression2_reload in order for enabling/disabling extensions to take effect.

Datatypes

Expression2 uses several datatypes and to keep the wiki at a reasonable size we use a shorthand for those datatypes, here is a list of all the shorthands used and the datatype they represent.

Shorthand Datatype
Number
Vector2
Angle
String
Entity
Array
Table
RangerData
Bone
Matrix2
WireLink
ComplexNumber
Quaternion

Expression 2 ⚛️

Tutorials (In learning order) 🎓

Extras ❔

Tools 🛠️

Click To Expand

Advanced

Beacon 💡

Control 🎛️

Data 💿

Detection 👀

Display 💻

Render

I/O 🔌

Physics 🚀

Utilities 🛠️

RFID

Wireless 🛜

Gates 🚥

Click To Expand

TBD

Clone this wiki locally