[WIP] Simple Weapon Base
I love teardowns description system.
Inspired by gmod’s SWB addon.
Basically this mod strives to make weapon creation easier by making a template system. You can make your own weapons by making a local copy of this mod, then copying one of the giant slabs of code at the top that have a bunch of variables, and editing to your hearts content. You can make as many weapons as you want without making a different addon which is cool. This is my first mod for teardown, and I think its ok for a first attempt (excluding some unpublished random stuff)
Example weapons:
"test weapon"
"test revolver"
"test shotgun"
"test sniper"
Features:
Controller support
Modes (auto, semi, safety)
Bad code
Ironsights
Controls: (tested with ps4 controller)
left click / right trigger: shoot
right click / left trigger: ironsight
r / f / triangle: reload
e / square: change mode
Missing:
recoil, probably some other small things but its almost midnight and I cant remember what
Bugs:
Flashlight reloads weapon, compromise for controller support
Credits:
I did borrow the sounds from the ak47 mod https://steamcommunity.com/sharedfiles/filedetails/?id=2612037635
Map used in screenshot: Italy https://steamcommunity.com/sharedfiles/filedetails/?id=2635387740