Garry's Mod

Garry's Mod

KaP TTT - Artillery Cannon
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?
FaT_Boi_47 8 Jul, 2020 @ 6:17am 
I
FaT_Boi_47 8 Jul, 2020 @ 6:17am 
Ok thank you, sorry u didn't see it
[KaP] Portres  [author] 3 Jul, 2020 @ 12:14am 
@[LFG] Charlemagne Hello Sry, somehow did not get a message, Thanks for the kind words. Hit me up and add me on steam, Il show you our server :).
Valafi  [author] 2 Jul, 2020 @ 11:24pm 
@FaT_Boi_47 Link in description
FaT_Boi_47 2 Jul, 2020 @ 9:55pm 
does this work in sandbox?
Charlemagne 26 Jun, 2020 @ 9:26am 
@Portres I love your addon. I get crap for it being hard to use and we struggle killing but I love it. Balanced and causes a great distraction. I was able to confuse everyone with it. If people crap it don't listen. Do you run a server? I honestly would like to try yours at some point.
[KaP] Portres  [author] 22 May, 2020 @ 2:29am 
@YoungPurpleDragonStarlok

In the description is a Link to the Original version. That one is for Sandbox.
[KaP] Portres  [author] 22 May, 2020 @ 2:28am 
@Giorno Giovanna
Thank you for the kind words.
MUDA MUDA MUDA MUDA
ŸouŋgPũrpleĎragōnŚtarlŏk 21 May, 2020 @ 2:01pm 
Can you make from SandBox gamemode pls?
Varrick 21 May, 2020 @ 1:30pm 
this is absolutely amazing! nice job on this cannon!
[KaP] Portres  [author] 18 May, 2020 @ 3:22pm 
@fskin

Strange, this should have been fixed.
Do oll of them have it in the Collection?
Is it a Dedicated server?
fskin 18 May, 2020 @ 11:36am 
Yes. Weirdly everyone (except me, server host) experiences it.
Valafi  [author] 18 May, 2020 @ 9:54am 
@fskin It was not known, do you have info on when the error happens? For example, is it right after the cannon is placed?
fskin 18 May, 2020 @ 9:33am 
Some of my players get this error

[KaP TTT - Artillery Cannon] lua/zartillery/cl/zay_artillery_cl.lua:54: attempt to call method 'GetHasShell' (a nil value)
1. Artillery_Think - lua/zartillery/cl/zay_artillery_cl.lua:54
2. unknown - lua/entities/zay_artillery_ttt/cl_init.lua:17

and can't see the cannon's HUD. Is this a known bug?
[KaP] Portres  [author] 16 May, 2020 @ 2:14am 
@Zerochain

Thanks for the kind Words Mister Creator :)
Zerochain 15 May, 2020 @ 11:19pm 
lel, pretty good
Valafi  [author] 15 May, 2020 @ 11:44am 
@Zacti No, you should use the original addon by Zerochain which is Sandbox only (link in description).
Amneiya 15 May, 2020 @ 4:52am 
can this be used in sandbox?
[KaP] Portres  [author] 15 May, 2020 @ 1:22am 
@LFG] Charlemagne Thanks :) there will be some cool upcoming Addons as well as Maps.
Let us know if you have any cool Ideas.
Charlemagne 14 May, 2020 @ 12:26pm 
I appreciate all the help you have given. My friends all want to vote up your stuff now. WE ALL LOVE YOU
Valafi  [author] 14 May, 2020 @ 5:33am 
We just released an update, part of which adds additional convars for customization (see description).

@[LFG] Charlemagne The previous update did not change anything to do with the range and damage, so it seems like your problem was with something else breaking the game. However, if you can reproduce the problem, we might fix it.
Charlemagne 13 May, 2020 @ 7:30pm 
The damage is now buggy. It isn't a constant damage. I took one to the face and didn't even take damage. Is there a way to increase the damage or AOE?
EmberWolf 13 May, 2020 @ 3:56pm 
ok thnx
[KaP] Portres  [author] 13 May, 2020 @ 11:31am 
@Tech guy 2751
You canno't once you have used both Bullets its empty.
In Order to get more you will have to buy and place again.

This is for Balance purposes.
If you want to have more ammo use the command ttt_artillery_ammo (your number) to adjust how many shots one can take.
KerboRos 13 May, 2020 @ 4:24am 
how do i get the ammo
[KaP] Portres  [author] 12 May, 2020 @ 1:15am 
[LFG] Charlemagne Please note that this Bug should be fixed now. Let us know if you still have some troubles :)
Valafi  [author] 11 May, 2020 @ 9:37pm 
I just patched the critical bugs. I'm aware of a small bug with the colors, and will patch that and add a convar for people wanting to reduce the blast radius/damage.

@ResidualCube425 There isn't an ammo counter. When it's out, the loading bay will open and the controls disappear. You can change how much ammo it has with ttt_artillery_ammo convar.
EmberWolf 11 May, 2020 @ 8:22pm 
where is the ammo?
Moros 11 May, 2020 @ 5:15pm 
Thanks for working on it.

I believe that Alpha isn't calling it overpowered, just that bringing an artillery cannon to a TTT match is quite something.
Charlemagne 11 May, 2020 @ 3:17pm 
Can you help?
Charlemagne 11 May, 2020 @ 3:05pm 
The menu isn't showing up. 0 way to actually aim it. Only showed up for me on single player.
[KaP] Portres  [author] 11 May, 2020 @ 5:42am 
@Moros Indeed we are working on Fixing the Bug as well as some others. Thanks for letting us know.
[KaP] Portres  [author] 11 May, 2020 @ 5:41am 
@Alpha What do you think is OP? If its the Ammo count you can change it yourself. Otherwise its similar to an Orbital Strike but with harder to hit Aim. Let us know what should be balanced.
Moros 10 May, 2020 @ 5:11pm 
I'm having issues, the textures aren't being downloaded by people who join my listen server.
Alpha 10 May, 2020 @ 1:33pm 
Jesus a bit overkill