[WIP] Simple Weapon Base

If you liked this item, please rate it up on Steam Workshop page.

Author: morgana

Last revision: 11 Dec, 2021 at 00:33 UTC

File size: 464.9 KB

On Steam Workshop

Description:

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