📖 Wiki
Documentation and guides for Wiremod
📁Additional Extensions
11 articles
e2 docs custom wiring
Custom/wiring = :createWire( Ent2, Inputname, Outputname) (30 ops) = :createWire( Ent2, Inputname, Outputname, Width, Color, Mat) (30 ops) = :deleteWire( Inputname) (30 ops) = :getWireInputs() (10 ops
KemGus
e2 docs custom tracesystem
Custom/tracesystem = rayPlaneIntersection( Start, Dir, Pos, Normal) (0 ops) = rayFaceIntersection( Start, Dir, Pos, Normal, Size, Ang) (0 ops) = rayPolygonIntersection( Start, Dir, Vertex1, Vertex2, V
KemGus
e2 docs custom stcontrol
Custom/stcontrol Stcontrol = noStControl() Returns invalid state control object (1 ops) Stcontrol = newStControl() Returns state control object with dynamic sampling time (20 ops) Stcontrol = newStCon
KemGus
e2 docs custom remoteupload
Custom/remoteupload :remoteUpload( Filepath) Uploads the code from your computer to the server (1000 ops) :remoteSetCode( Code) Sets the E2's code with main file (250 ops) :remoteSetCode( Main, Includ
KemGus
e2 docs custom prop
Custom/prop = propSpawn( Model, Frozen) Use the model string or a template entity to spawn a prop. You can set the position and/or the rotation as well. The last number indicates frozen/unfrozen. (40
KemGus
e2 docs custom light
Custom/light lightCreate( Index) (25 ops) lightCreate( Index, Position) (25 ops) lightCreate( Index, Position, Color) (25 ops) lightCreate( Index, Position, Color, Distance) (25 ops) lightCreate( Inde
KemGus
e2 docs custom holoanim
Custom/holoanim holoAnim( Index, Animation) (0 ops) holoAnim( Index, Animation, Frame) (0 ops) holoAnim( Index, Animation, Frame, Rate) (0 ops) holoAnim( Index, Animation) (0 ops) holoAnim( Index, Ani
KemGus
e2 docs custom ftrace
Custom/ftrace Ftrace = noFTrace() Returns invalid flash trace object (1 ops) Ftrace = :setFTrace( Vp, Vd, Nl) Returns flash trace local to the entity by origin position, direction vector, length dista
KemGus
e2 docs custom effects
Custom/effects Effect = effect() Creates and returns new effect (1 ops) Effect = Effect:setOrigin( Pos) Sets the origin of the effect (1 ops) Effect = Effect:setStart( Pos) Sets the start of the effec
KemGus
e2 docs custom constraintcore
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,
KemGus
e2 docs custom camera
Custom/camera cameraCreate( Index) (25 ops) cameraCreate( Index, Position) (25 ops) cameraCreate( Index, Position, Ang) (25 ops) cameraCreate( Index, Position, Ang, Zoom) (25 ops) cameraPos( Index, Po
KemGus