Quote Originally Posted by AlecRob View Post
you can do that?
Wiremod, the mod that adds logic circuits and comparators and whatnot to gmod also adds E2, CPU ,SPU and GPU.

E2 is basically a chip that allows you to write LUA-like scripts in-game that can do anything from manipulating positions and rotations to objects, play sounds,
draw primitive shapes or complex polygonal models in-game and do stuff like matrix calculations etc.
Sadly it's abused by many to create stuff like black spheres with inverted faces and parenting them to people's heads (blinds them).

There's also CPU, SPU and GPU (central, sound and graphic processing units).
These allow you to write assembly code for a virtual cpu structure with a spritebuffer and other nifty things.
Once compiled they will run clientside which means they run way faster than serverside stuff like E2.

I've used GPU to program various graphical demos and interractive stuff in-game like a PONG clone and a Space Invaders clone.
I've also used E2 to script stuff like walkers that utilize realtime inverse kinematics and bezier curves to calculate and plan steps based on direction and velocity for example.

Wiremod is basically essential to me in gmod nowadays and I'm not sure if I could go back to working with simple stuff like just a numpad opperated actuator