Garry's Mod

Garry's Mod

TTT Turret with anti-tester feature
48 Comments
MähnGiL 15 Sep, 2022 @ 2:11am 
i got it but stil this is good stuff thx
Cédric GÉRILLE [GiletJaune]  [author] 14 Sep, 2022 @ 11:58pm 
I don't have time nor courage to add an event for that. I am sorry.
MähnGiL 11 Sep, 2022 @ 11:02am 
Because I think the traitor is too advantageous.
Cédric GÉRILLE [GiletJaune]  [author] 11 Sep, 2022 @ 10:42am 
Unfortunately that is out of the plan. Besides, why would you need that??
MähnGiL 11 Sep, 2022 @ 2:59am 
sir, its really nice!
and can i know how to set traitor can receive real damage from turret
Cédric GÉRILLE [GiletJaune]  [author] 1 Jan, 2020 @ 4:59am 
According to https://developer.valvesoftware.com/wiki/Npc_turret_floor it does not seem to be possible with a setting.
You can reduce the detection distance by making the NPC unable to see the player, but you cannot extend it. I suggest checking out https://wiki.garrysmod.com/page/Category:NPC
quickmonkeySC 1 Jan, 2020 @ 4:47am 
how to modify the engagement distance? like how do i change how close players have to be so the turret start shooting?
Cédric GÉRILLE [GiletJaune]  [author] 9 Sep, 2018 @ 9:54am 
Done. Check the addon's description and the changelog. :steamhappy:
< blank > 9 Sep, 2018 @ 8:35am 
I'd like to be able to up the damage slightly. If it's not too much trouble can you make it configurable? If not, don't sweat it.
Cédric GÉRILLE [GiletJaune]  [author] 9 Sep, 2018 @ 1:59am 
- Garry's Mod includes Half-Life 2 content so there is no dependance.
- I have not made damages configurable. Is it something that you need?
< blank > 8 Sep, 2018 @ 8:52pm 
How do I edit the damage? And does this require hl2?
Cédric GÉRILLE [GiletJaune]  [author] 13 Jul, 2018 @ 2:28pm 
Me too. And it's very simple to achieve!
k.o kirbe 11 Jul, 2018 @ 6:42pm 
i love it when ttt addons are sandbox compatable
Cédric GÉRILLE [GiletJaune]  [author] 10 Mar, 2017 @ 5:03am 
Solved.
DueMR 9 Mar, 2017 @ 2:02pm 
Got a problem with Spectator Deathmatch (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=404599106=) and your turret: It shoots at people in Spectator Deathmatch too. :C Any solution to that? Maybe a check for being alive? (Sorry, but I'm really bad ad scripting)
Hagen 25 Mar, 2016 @ 9:22am 
Okay, thanks
Cédric GÉRILLE [GiletJaune]  [author] 25 Mar, 2016 @ 9:14am 
The problem should is solved. I guess that this was happening with world damage or something like that.
Hagen 23 Mar, 2016 @ 8:25am 
sometimes complete randomly
Cédric GÉRILLE [GiletJaune]  [author] 23 Mar, 2016 @ 7:44am 
Does it spam the error or does it only appear once?
Hagen 23 Mar, 2016 @ 6:46am 
I am sometimes getting this Error :/ [ERROR] workshop/lua/weapons/weapon_ttt_turret.lua:129: Tried to use a NULL entity!
1. GetParent - [C]:-1
2. fn - workshop/lua/weapons/weapon_ttt_turret.lua:129
3. unknown - workshop/lua/ulib/shared/hook.lua:110
Cédric GÉRILLE [GiletJaune]  [author] 22 Mar, 2016 @ 8:21am 
Gut, danke.
Hagen 22 Mar, 2016 @ 8:20am 
It works now, thanks!
Hagen 18 Mar, 2016 @ 7:07am 
Maybe later, Dont have time now.
Cédric GÉRILLE [GiletJaune]  [author] 17 Mar, 2016 @ 2:15pm 
Can you confirm that it fully works properly now? Bitte.
Cédric GÉRILLE [GiletJaune]  [author] 17 Mar, 2016 @ 1:08pm 
Ah yeah, as soon as it starts attacking, it fails.
Cédric GÉRILLE [GiletJaune]  [author] 17 Mar, 2016 @ 12:39pm 
Oh well, let me see. What I see is that the turret is out of map max bounds.
Hagen 17 Mar, 2016 @ 12:37pm 
Crazy origin on entity [174][npc_turret_floor]
Origin: [1379.447388, -43.595963, -16384.816406]
Angles: [-54.007381, 164.950562, 178.902496]
Velocity: [146.809143, -50.631649, -2019.890625]
Angular Velocity: [0.000000, 0.000000, -0.000000]
Defusing!
Removing!
Hagen 17 Mar, 2016 @ 12:36pm 
Das Entity wird nach ein paar Sekunden Automatisch entfernt. Error folgt.
Toxik 11 Apr, 2015 @ 3:41am 
Will do!
Cédric GÉRILLE [GiletJaune]  [author] 10 Apr, 2015 @ 12:21pm 
Extract the addon and do it yourself please. It's not more than a little parameter to change with a text editor.
Toxik 10 Apr, 2015 @ 10:57am 
Can you limit the stock plz?
Walter Wigand 28 Dec, 2014 @ 2:11pm 
at my server the traitor get normal dmg and can die from the turrets
Cédric GÉRILLE [GiletJaune]  [author] 28 Nov, 2014 @ 8:05am 
I think that there still is an error now on your server, because the correction I made is to protect against multi-spawn, which should only happen if there is an error.
Thanks for warning me about the problem. ;-)
ᴬˡᵉˣᶜʳᵒʷᵇᵃʳᶻ 28 Nov, 2014 @ 6:35am 
I restarted the server and everything is fine now, I had another turret addon that was broken but I didn't restart server when I added yours. We all love your addon man, nice job!
Cédric GÉRILLE [GiletJaune]  [author] 27 Nov, 2014 @ 10:53pm 
There must be an error serverside. Tell me what it is.
Cédric GÉRILLE [GiletJaune]  [author] 27 Nov, 2014 @ 10:45pm 
Damn. No it's not! Does it happen in the TTT or in Sandbox?
ᴬˡᵉˣᶜʳᵒʷᵇᵃʳᶻ 27 Nov, 2014 @ 9:24pm 
Is it normal that I can spawn like 10 of them in one shot? Server crashes after.
Cédric GÉRILLE [GiletJaune]  [author] 25 Sep, 2014 @ 9:42am 
There is a check in the SWEP PrimaryAttack hook that prevents placing the turret if you do not aim at the world. My suggestion is that you modify that to allow parenting the turret base block if the player aimed at an entity. Of course, you should deny for example the player entities.
Kevin 25 Sep, 2014 @ 8:46am 
The turret is awesome, but there is 1 issue. you can't knock it over with props.
How can i change it so you can knock it over
Cédric GÉRILLE [GiletJaune]  [author] 28 Jun, 2014 @ 11:50am 
Of course!!
Jacko Schmacko 28 Jun, 2014 @ 11:47am 
Thank you! Is it automatically in the T game once downloaded?
Cédric GÉRILLE [GiletJaune]  [author] 2 Jun, 2014 @ 3:25pm 
Too easy job. That's the problem.
SweetLikeCammy 2 Jun, 2014 @ 3:15pm 
Great job, bud.
Cédric GÉRILLE [GiletJaune]  [author] 13 Apr, 2014 @ 2:40am 
You're welcome! ;-)
Larsen 12 Apr, 2014 @ 3:23pm 
Thanks! :)
Cédric GÉRILLE [GiletJaune]  [author] 11 Mar, 2014 @ 10:55am 
I made it with my own code anyway. It is not the same.
Puna 11 Mar, 2014 @ 8:15am 
Krunchy 10 Mar, 2014 @ 4:02pm 
wo