Garry's Mod

Garry's Mod

90 ratings
KaP TTT - Artillery Cannon
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Tags: Fun
File Size
Posted
Updated
29.390 MB
6 May, 2020 @ 1:33pm
14 May, 2020 @ 5:25am
5 Change Notes ( view )

Subscribe to download
KaP TTT - Artillery Cannon

Description
This addon was made for the KaP TTT server. It is an artillery cannon for traitors and detectives. It starts with 2 shells, customizable with ttt_artillery_ammo.

All convars-
ttt_artillery_ammo - how many shells a cannon starts with
ttt_artillery_force - a multiplier for the force used with the shell projectile
ttt_artillery_range - the range of the explosion
ttt_artillery_damage - the damage applied to players in the explosion range

The original artillery cannon (Sandbox only) made by Zerochain.

The KaP TTT collection:
https://sp.zhabite.com/sharedfiles/filedetails/?id=329848775
Popular Discussions View All (1)
7
28 Jun, 2020 @ 8:33am
PINNED: Suggestions/Feedback/Bugs
[KaP] Portres
45 Comments
[KaP] Portres  [author] 24 Feb, 2022 @ 12:17am 
@Mokerak V You can edit it yourself by typing this in the console: ttt_artillery_range - the range of the explosion. Please read descriptions before complaining.
Mokerak 23 Feb, 2022 @ 11:34pm 
Bad cannon, needs to have a bigger kill range
Skippy 8 Jan, 2022 @ 5:21pm 
Changing the ammo count of the artillery cannon is having no affect - it still only spawns with 1 shell
GemOfThem 25 May, 2021 @ 6:05am 
Oh, just read a post a bit down
Seems non-collide is not possible for this addon
GemOfThem 25 May, 2021 @ 6:03am 
Is that possible to make arty shot explosion non-collide to walls/objects?
Valafi  [author] 25 Aug, 2020 @ 3:18pm 
@soap This addon hooks into certain TTT functionality (it also adds a spawning method, convars, and makes the ammo less realistic for ease of use). The original addon which is for Sandbox is linked in the description.

I don't know what gamemode your server runs, but assuming it's a custom gamemode you have two options to implement your changes:
1. You remove/replace the references to TTT code, change the explosion effect references to the explosion effect you want, and adjust the explosion effect size formula (the size of the effect is based on the rage convar).
2. You get the original addon and remove/replace the references to Sandbox code, change the explosion effect (static size, you would have to implement sizing), and recreate any of the functionality from this addon or create any custom functionality you want (like the convars from this addon).
soap 25 Aug, 2020 @ 6:55am 
hey there, I make maps for this world war one server and I was wondering if you could release a non TTT version of this mod, as it gives script errors (and the ammo doesn't change for some reason, its stuck on two). I would really appreciate it. Maybe also you could use the same kind of explosion that Gredwitch artlilery uses, that would be nice.
Valafi  [author] 31 Jul, 2020 @ 12:34pm 
@Mailboxhead It is possible, Garry exposed a utility function for more realistic explosions like that. The reason it's not being used here is you lose control over certain things in the code.

@truck honky You're going to have be more specific, cowboy.
osama bin quifin 31 Jul, 2020 @ 10:24am 
how do you load it
Snek 27 Jul, 2020 @ 6:42pm 
Would it be possible to make a convar for whether it damages through walls?