Garry's Mod

Garry's Mod

Can Minigun (By _Kilburn) [Revived]
Showing 1-10 of 11 entries
< 1  2 >
Update: 14 Oct @ 8:15pm

Update: 13 Oct @ 5:52pm

All known bugs are fixed, and the custom models now are completely accurate

Update: 13 Oct @ 5:08pm

-Fixed an issue where attempting to fire for the first time without ammo would cause a not yet set spread value from being called. (and softlock the gun as well.)

When the weapon is first used, it sets a CurrentSpread variable for each shot to calculate the gun's accuracy, however if the gun cannot fire, it would still call the variable which would not exist yet.

This now defaults to 0 if the variable doesn't exist, and it will be set properly once fired.


- Added a small script which adds 200 rounds upon being equipped for the first time.

The ammunition is usually not added on its own because the main clip size is 9999 to allow as many cans to be stored as possible, while the default clip is 200 rounds, if the default clip variable doesn't exceed the main clip value, then no additional rounds are added as reserve ammunition.
This script works around this issue.

Update: 13 Oct @ 4:41pm

Finally got around to making 6 barrels instead of 4.
Added an optional command that makes the minigun shoot various real world sodas instead of Dr Breen's Private Reserve.
(canminigun_sodas 0 = Off, 1 = On [Off by default])

Removed (hopefully) all unused files and any in-script requests for said nonexistent files

Update: 12 Oct @ 8:40pm

patch again

Update: 12 Oct @ 8:17pm

Patched cans being able to collide with invisible triggers such as trigger_soundscape or other objects that dont have physicsobjects assigned to them.

This caused the projectiles to appear to hit nothing and immediately become harmless.

Update: 11 Oct @ 4:46pm

small patch

Update: 11 Oct @ 4:02pm

small patch

Update: 11 Oct @ 3:47pm

Muzzleflash lighting fixed

Update: 11 Oct @ 3:30pm

Addition: Tap Secondary Fire while looking at a can to suck it up into the minigun and restore ammo

Fixed shooting sounds playing after having no ammunition left.