Garry's Mod

Garry's Mod

Sentry Gun
22 Comments
ToMIsla Tom 25 Oct @ 11:02am 
In an attempt to change the turret settings in the files, the mod simply breaks and does not work. Can you add settings via console commands? The mod is really cool, but I would like to customize :P
GAMLET 23 Oct @ 11:43am 
[Styled's CS:GO Weapons] lua/autorun/sh_csgo_weapons.lua:76: attempt to call method 'GetActiveWeapon' (a nil value)
1. hookfunc - lua/autorun/sh_csgo_weapons.lua:76
2. fn - addons/perfopus_performance_metrics_111/lua/perfopus/sh_time_hook.lua:36
3. unknown - lua/ulib/shared/hook.lua:115
4. FireBullets - [C]:-1
5. method - lua/entities/nsentry/init.lua:555
6. FireWeapon - addons/perfopus_performance_metrics_111/lua/perfopus/sh_time_entity.lua:25
7. method - lua/entities/nsentry/init.lua:402
8. HandleFiring - addons/perfopus_performance_metrics_111/lua/perfopus/sh_time_entity.lua:25
9. method - lua/entities/nsentry/init.lua:208
10. unknown - addons/perfopus_performance_metrics_111/lua/perfopus/sh_time_entity.lua:25 (
Froze 22 Oct @ 7:31am 
@Intel
that's crazy...very much looking forward to that...hope it goes well! :steamthumbsup:
Boozer33 22 Oct @ 4:32am 
Buildin a sentry
Celestia•天星☆ 22 Oct @ 1:01am 
for some reason the turret fires at the walls when theres no enemy in half life 2 maps
Intel  [author] 21 Oct @ 7:44am 
@Froze Actually I am working on it, but this gonna take some time
Celestia•天星☆ 21 Oct @ 5:40am 
@Intel i see thanks but still its pretty inconvenient when u need to type in more then one npc names
Froze 21 Oct @ 1:58am 
this is a very, very weird question but what do you think of recreating the wheelson from MW2?
any realistic chance of that happening?
Intel  [author] 20 Oct @ 12:49am 
@-NokoAndKoshi-
You can hide the sentry's tripod by toggling its bodygroup. Then use the physgun to flip it upside down and attach it to the ceiling.

I'd suggest using the Advanced Movement tool or Advanced Duplicator to do this, since they'll give you a much cleaner attachment.
-NokoAndKoshi- 19 Oct @ 6:35pm 
how did you get it on the ceiling and where is the code to edit it?
Froze 19 Oct @ 5:32pm 
this is so good
everything about this is so smooth
Intel  [author] 19 Oct @ 7:29am 
@Celestia•天星☆ You can get the NPC's classname from the spawn menu. Just right-click the icon and select "Copy".

Keep in mind that some custom-model NPCs are just re-skins of the default citizen or Combine, so they will share the same classname (e.g., npc_citizen or npc_combine_s).
Celestia•天星☆ 19 Oct @ 2:36am 
the whitelist is too complex since you have to type in a npc's name (for example: npc_combine_s) which i assume not much knows how so we should make it into a list or something
Intel  [author] 18 Oct @ 6:56pm 
@APE maybe something overrides your muzzle effect
APE 18 Oct @ 6:37pm 
no muzzle flash
Freedom 18 Oct @ 1:49pm 
could we have this in a weapon or deployer equipment like gear? something we can hold in our inventory and deploy so it is more dynamic?
Intel  [author] 18 Oct @ 7:41am 
Dont really know how to write a fancy description sry
Clover 17 Oct @ 9:37pm 
that description is 100% ai
MeiLudex 17 Oct @ 6:25am 
Curious if you could make a working BO6 SAM turret
either way this is pretty cool
Lu.miniferous 16 Oct @ 4:43pm 
AI ahhh description
Celestia•天星☆ 16 Oct @ 5:47am 
is it just me cuz the turret doesnt seem to fire for me and causes lua errors
大米绿豆粥 15 Oct @ 2:22pm 
很好,遇到友军还会自动停火