Scripted weapon bases for Garry’s Mod. Designed to allow programmers of all levels, from those clueless about programming, to regular hobbyists, to write scripted weapons or “SWEPs” based off weapons we all know and love.
Originally made by AndrewMcWatters, but i loved it due to it beign easy to modify. It broke on GMod13, so i fixed most of the stuffs.
There are 2 versions of it:
swep-bases: Which is the main branch of it, includes all of the HL2 weapons coded in LUA.
css-bases: CSS weapons coded in LUA, includes most of the CSS features.
Here’s a video showing the CSS stuff (No idea why, but Youtube screwed up with the video quality): [video=youtube_share;RnepDfDxmrg]http://www.youtube.com/watch?v=RnepDfDxmrg[/video]
Another video, showing the Viewmodel movement:
Features of the base are:
-Viewmodel movement (Scripted bobbing and sway)
-Easy code (atleast for me it is)
-CSS Movement (On CSS Sweps)
-Complete recoil system (Bullet spread, views and recoil anims)
-Working shotgun reloads
Here’s the download:
swep-bases (Required for css-bases to run) https://mega.co.nz/#!lJNWwbhY!nKDv5WGCemV-d9Q08MvY69LOhzX9SGy6PBGyAGVdFcg
css-bases: https://mega.co.nz/#!hJ0CzLrL!8nqmkZRmkcoONxvU4m6T7vmfIq9y_DCsAKnR43T Ug8k
Github Repository: https://github.com/Matsilagi/swep_bases (Please help me fix the RPG bug)
AndrewMcWatters - Original base
Matsilagi (Me) - Fixing most of the content
Danny and DS6 - Viewmodel movement code and beign helpful friends even with my lack of coding abilities for this.
V1.1 - Made CSS branches of HL2 weapons non-spawnable (sorry for non-hl2 shotgun movement); Added a Shellcasing v_model to the Pistol.
Im thinking of adding Smoke trails to the guns. Not sure, newer Source Engine branches has those.