Garry's Mod

Garry's Mod

Mannable NPC Turrets
 This topic has been pinned, so it's probably important
Zach88889  [developer] 6 May, 2022 @ 3:41pm
FAQs
Here is a discussion that will help answer some of your questions and or complaints.

Question 1: The NPCs won't get on the turrets! Why won't they use them anymore?

Answer: Well until recently I was unsure as to what the problem was but I found out what it is. Apparently the bug is only present when new NPCs are spawned in after the turret was first manned by an NPC. This isn't really a fixable problem as it is an internal problem with the func_tank class. The only advice I can offer to avoid this bug is to spawn the NPCs you want to man the guns first then spawn all others before beginning your NPC battles or scenarios. Another tip is to spawn the NPCs first and then spawn the turrets.


Question 2: Why can't I see the Explosive Turret's Model and the Sniper Turret's Model?

Answer: That is because you require Half Life 2 Episode 2 to be mounted to GMod in order to be able to see the models. Otherwise, you won't be able to see them.


Question 3: Why don't NPCs that aren't npc_metropolice, npc_combine_s, npc_citizen, npc_alyx, npc_combine, and npc_barney man these turrets anymore? Didn't their used to be support for VJ Base SNPCs and other NPCs?

Answer: To answer that question, it comes to when the mod was reworked in April 2022. I started recoding these back in January 2021. I swapped from using a Scripted Entity to using func_tanks. I changed because I wanted to make these more Half Life 2 related and because the Scripted Entities were causing too many problems to fix. So I made a decision to change to func_tanks which in my opinion was the better option.
Last edited by Zach88889; 6 May, 2022 @ 3:53pm
< >
Showing 1-5 of 5 comments
wallymac22™ 17 Oct, 2022 @ 6:39pm 
can you make a one that players can use?
Wingames 27 Dec, 2022 @ 3:36pm 
Originally posted by wallymac22™:
can you make a one that players can use?
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=104605598
P3 14 Feb, 2023 @ 12:37pm 
bug report:
[Mannable NPC Turrets] lua/entities/npc_hl2_turret_gun_explosive.lua:74: attempt to index a nil value
1. SpawnFunction - lua/entities/npc_hl2_turret_gun_explosive.lua:74
2. Spawn_SENT - gamemodes/sandbox/gamemode/commands.lua:756
3. unknown - gamemodes/sandbox/gamemode/commands.lua:835
4. unknown - lua/includes/modules/concommand.lua:5
Last edited by P3; 14 Feb, 2023 @ 12:38pm
76561199069216273 18 Jun, 2024 @ 6:00pm 
(im know of this is old...) from what mod is that hev of the image of this mod?
0z0Nis 7 Mar @ 8:33am 
Can You make these turrets dublicatable and savable, Kinda in need of it.
< >
Showing 1-5 of 5 comments
Per page: 1530 50