Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.46 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.46 KB

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