Lua folder breakdown

From GMod Wiki

Jump to: navigation, search
Lua: Lua folder breakdown.
Page white text.png Description:Where to put all your files.
link=User:Esik1er Original Author:Esik1er
Calendar.png Created:December 18, 2006

Contents

[hide]

What you will learn

This article is intended to inform you on the Garry's Mod folder breakdown. I will tell you:

Notes:



Where to put your SWEPs.

garrysmod -> lua -> weapons -> weapon_folder -> Scripts.lua

OR

garrysmod -> addons -> lua -> weapons -> weapon_folder -> Scripts.lua

Where to put a game mode.

garrysmod -> gamemodes -> GameMode_Folder -> ( Sub Folders / files )

OR

garrysmod -> addons -> gamemodes -> GameMode_Folder -> ( Sub Folders / files )

Where to put any old script.

garrysmod -> lua -> Scipts.lua

OR

garrysmod -> addons -> lua -> Scripts.lua

Where to put an addon.

garrysmod -> addons -> Addon_Folder -> lua/gamemodes/maps et cetera

Extras.

The folder _downloaded is only for things you downloaded from other servers. I.E. all the client side stuff. ( GUI / SWEP Effects / Any other effects Et cetera. )


If all else fails go ask the creator of the script. Saying that you followed all the directions will make them answer you faster / more politely. Saying things like "Your script sucks and doesn't work!!!" will just make the author of the script angry.

Personal tools
Namespaces
Variants
Actions
Navigation