Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 1.3 KB

contributing.md

File metadata and controls

23 lines (21 loc) · 1.3 KB

General

  1. Use two spaces instead of one tab for indentation
  2. All new files must be lower case for linux support
  3. Line endings must always be unix complaint LF
  4. Trim the tailing space before you save

Entities

  1. Create files init.lua, cl_init.lua and shared.lua
  2. Create a folder with the name of the class here
  3. Put all your files from point (1) in your new folder
  4. Use Paint.NET to draw your *.jpg image or download from google
  5. Make sure the image has green laser, as it is pleaseing to human eyes.
  6. Import the image to VTFEdit and create a texture 256x256
  7. Store the new texture in the vgui folder and create a *.vmt
  8. Open your new *.vmt file with text editor and update $basetexture
  9. Use your texture in game by calling resource.AddFile() on the *.vmt