Game Guides > Game FAQ >  

How do you make weapons on garrysmod there is this game i play called garrysmod if you dont know it ignore this if you do then do you know how to make add-ons for it mainly weapons for it

How do you make weapons on garrysmod there is this game i play called garrysmod if you dont know it ignore this if you do then do you know how to make add-ons for it mainly weapons for it
Right basically you can make many different things and then put them in an addon so firstly:

How to build a gmod addon:

1. create a folder which will go in the gmod addons folder(lets pretend you call it downloaded-map)

2. create more folders inside this folder named after where you would normally put stuff, not making sense?
Well basically i mean take for example a map file (.bsp) and you put it in steamapps\garrysmod\garrysmod\maps

To do this with an addon you would put a folder named maps inside your addon folder(named anything but downloaded-map in this case) and put the map file(.bsp) inside maps

steamapps\garrysmod\garrysmod\maps\downloadedmapfile.bsp
is the same as:
steamapps\garrysmod\garrysmod\addons\<my addon>\maps\downloadedmapfile.bsp

and once you've done that you put a text file(create 1) inbside your addon folder and call it info.txt then inside the text file you have to put the following: (but eveything between the {} is optional)

"AddonInfo"
{
"name" "my addon name"
"version" "1 or 2 or 3 etc"
"up_date" "what ever date you want in any format numbers or letters or symbols"
"author_name" "whatever your name is"
"author_email" "put you email addy here if you want"
"override" "1 means it overwrite anyfiles with the same name 0 means it doesnt if you don't know what your doing don't include this"
}

any of the above is between the { and } is optional for the full lsit of commands search on Google!

And to make weapons is an entirely different thing you have to learn a code called Lua lookup "how to make a gmod swep" on Google to find tutorials.