Garry's Mod

Garry's Mod

Mannable NPC Turrets
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Zach88889  [udvikler] 6. maj 2022 kl. 15:41
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.
Sidst redigeret af Zach88889; 6. maj 2022 kl. 15:53
< >
Viser 1-5 af 5 kommentarer
wallymac22™ 17. okt. 2022 kl. 18:39 
can you make a one that players can use?
Wingames 27. dec. 2022 kl. 15:36 
Oprindeligt skrevet af wallymac22™:
can you make a one that players can use?
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=104605598
P3 14. feb. 2023 kl. 12:37 
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
Sidst redigeret af P3; 14. feb. 2023 kl. 12:38
76561199069216273 18. juni 2024 kl. 18:00 
(im know of this is old...) from what mod is that hev of the image of this mod?
Nut Master 7. mar. kl. 8:33 
Can You make these turrets dublicatable and savable, Kinda in need of it.
< >
Viser 1-5 af 5 kommentarer
Per side: 1530 50