Skip to content

Some of my public E2 chips / libraries for garrysmod. For my Lua and SF Creations: https://github.com/Vurv78/lua

License

Notifications You must be signed in to change notification settings

Vurv78/expression2-public-e2s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expression2 License github/Vurv78

A collection of my public E2 libraries and chips. Note this is mostly bad code and should not be taken as learning material.

❔ Want to code Expression2? Use my Expression-LS for VSCode!
Also, I've been working on a successor to E2, Expressive

Note

Libraries are very inefficient. There's a 20 ops penalty just to use a user defined function. Use these sparingly.

Installing

Method 1 - Copy into gmod:

  1. Go on the chip page.
  2. Click the "raw" button.
  3. CTRL+S (Save the file)
  4. Drag it into your [STEAMFOLDER]/steamapps/common/GarrysMod/garrysmod/data/expression2 folder

Method 2: Paste into E2 Editor.

  1. Just copy and paste the code into your editor.

Both Methods: Read for any additional instructions in the form of e2 comments.

E2 Library Usage:

Libraries:

  1. Use #include "e2name" in your code with e2name being the name of the e2 you saved the library in.
  2. Be aware that all of the functions will appear red as if the e2 doesn't recognize them but it'll work. This is because of the e2's editor not going over #includes