Buu342's Weapon Base


Released: March 18, 2021
Tags: Lua, SWEP

In Garry's Mod, there exists a concept known as "Weapon Bases", which is basically a parent weapon class for other weapons to inherit from. As I have spent a lot of time writing scripted weapons (SWEPs) for Garry's Mod, I wrote my own SWEP base called Buu342's Weapon Base. This weapon base was used in a lot of my earlier weapon packs, but it was ultimately quite flaky and I chose to rewrite it from scratch instead of accruing even more technical debt. I have been using the weapon base for personal projects for quite a few years, but I ended up publicly releasing it in 2021 for other people to use as I considered it to be in a satisfactory state.

My weapon base, on top of being heavily documented, features:

This SWEP base is used in both my RAGE SWEPs and my Dead Space Plasma Cutter addons.


Return to projects