Garry's Mod

Garry's Mod

Mannable NPC Turrets
 此主題已被置頂,因此它可能很重要
Zach88889  [開發人員] 2022 年 5 月 6 日 下午 3: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.
最後修改者:Zach88889; 2022 年 5 月 6 日 下午 3:53
< >
目前顯示第 1-5 則留言,共 5
wallymac22™ 2022 年 10 月 17 日 下午 6:39 
can you make a one that players can use?
Wingames 2022 年 12 月 27 日 下午 3:36 
引用自 wallymac22™
can you make a one that players can use?
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=104605598
P3 2023 年 2 月 14 日 下午 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
最後修改者:P3; 2023 年 2 月 14 日 下午 12:38
76561199069216273 2024 年 6 月 18 日 下午 6:00 
(im know of this is old...) from what mod is that hev of the image of this mod?
Nut Master 3 月 7 日 上午 8:33 
Can You make these turrets dublicatable and savable, Kinda in need of it.
< >
目前顯示第 1-5 則留言,共 5
每頁顯示: 1530 50