Garry's Mod

Garry's Mod

136 ratings
Cannon Tool & Entities
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
File Size
Posted
Updated
7.742 MB
21 Nov, 2022 @ 6:27am
7 Jun, 2024 @ 8:06am
13 Change Notes ( view )

Subscribe to download
Cannon Tool & Entities

Description
I've decided to rework this old addon since it kept filling up my client lua table when i used the tool, bricking all code. Now it works similar to my WotS cannon.

Findable under Entities Tab-->Cannon-->Cannon (or as tool in construction tab)

Features:
-A few quality of life changes
-Couple more entities
-Helpful indications
-Less customization to prevent abuse (no 999 damage)
-Mostly bug free
-More destructive
-Wiremod support

ConVars:
-box_cannons_adminonly 0 | 1 restricts the tool to admins
-sbox_maxcannons 5 | maximum cannons
-sbox_maxroundshot 20 | maximum cannon ammo
-sbox_maxcanistershot 5 | maximum cannon ammo
-sbox_maxexplosiveshot 5 | maximum cannon ammo
-sbox_maxincendiaryshot 5 | maximum cannon ammo


Tags: Pirates, Pirate, Ship, Battle, Sea Warfare, World of Warships, Prinz Eugen, Bismarck

make sure to check out my other addons if you are interested.
My Workshop Addons
50 Comments
Sensei 11 Jun, 2024 @ 6:09pm 
I Own a musket for home defense! since that's what the founding fathers intended. Four ruffians break into my house. "What the devil?" As I grab my powdered wig and Kentucky rifle. (pow) Blow a golf ball sized hole through the first man, he's dead on the spot. Draw my pistol on the second man, (bang!) miss him entirely because it's smoothbore and nails the neighbors dog. I have to resort to the (CANNON) mounted at the top of the stairs loaded with grape shot, "TALLY HO LADS!" (POW!) the grape shot shreds two men in the blast, the sound and extra shrapnel set off car alarms. Fix bayonet and charge the last terrified rapscallion. (charge\n\stab.mp3) He Bleeds out waiting on the police to arrive since triangular bayonet wounds are impossible to stitch up. JUST AS THE FOUNDING FATHERS INTENDED.
Celestial 4 Jun, 2024 @ 4:04am 
No problem thanks for fixing it! I'm excited to get in there and make more cannons
NextKurome76TheSoldier  [author] 30 May, 2024 @ 10:38am 
fixed, my bad
Prussia ✠ 22 May, 2024 @ 2:50pm 
same here, i cant spawn them D:
Celestial 18 May, 2024 @ 4:18am 
For some reason i cant spawn cannons even on my saved dupes they wont spawn in i can spawn ammo and stuff but cannons wont spawn
NextKurome76TheSoldier  [author] 17 May, 2024 @ 2:55pm 
fixed
LλMBDA Huge SCP / Gmod Fan 17 May, 2024 @ 2:09pm 
i had errors
[Cannon Tool & Entities] lua/entities/sd_cannon.lua:276: bad argument #1 to 'Simple' (number expected, got boolean)
1. Simple - [C]:-1
2. StartLoad - lua/entities/sd_cannon.lua:276
3. LoadSetup - lua/entities/sd_cannon.lua:138
4. unknown - lua/entities/sd_cannon.lua:166
Prussia ✠ 18 Mar, 2024 @ 5:29pm 
the smoke trail is not saved in dupes?
John VOCALOiD 28 Feb, 2024 @ 10:34am 
TALLY HO LADS!
*grabs my powdered wig and Kentucky rifle with triangular bayonet*
WE ESTABLISH AMERICA'S INDEPENDENCE TONIGHT CHAPS!
The Totally Epic Panz 27 Feb, 2024 @ 7:43pm 
TALLY HO