How does GarrysMod spawn weapons from CS?

M

Maverick Knig

Guest
See topic. GarrysMod can bring in weapons from CS and make them spawnable in HL2. Can I do that for other mods, like HL2 Substance? Would I have to make my own mod for that, or is there a console command I can use?
 
It uses a lua script in C:\Program Files\Valve\Steam\SteamApps\SourceMods\gmod9\lua\weapons\Counter-Strike

Yes you can, Sparda made a mod for the weapons in Sin.

Have a look at the lua files and you should work it out from there.

FTW: the half life scripts are in C:\Program Files\Valve\Steam\SteamApps\SourceMods\gmod9\scripts
 
Yeah, he didn't actually bring them in, he just coded in new weapons using Lua that had the same skin and attributes.
 
Correct, but he brought in the gun models so it looks like you are Blade holding the guns.
 
Back
Top