Garry's Mod

Garry's Mod

Zombie/NPC Invasion+
Custom guns
Is there to give the NPCs custom guns?
< >
Showing 1-6 of 6 comments
MattySrc  [developer] 2 Sep, 2016 @ 9:00am 
@fw, Yes, I don't remember if NPC weapons show up in the drop down list of Zinv, but incase they don't, heres a way you can get NPCs to spawn with custom weapons, although it may be a bit complicated right now, if you have a custom NPC weapon pack installed it should show up if you hold C and go into the NPC weapon menu, pick a gun from there and then go into your console and type "gmod_npcweapon" without the quotes, it should auto complete with the weapon name you picked, copy that weapon name and paste it in the weapon section of Zinv, and you got NPCs with custom weapons. :paws:
Tempest 27 Nov, 2016 @ 10:36am 
It's easier depending on what NPC Weapon you have.

Rouge's NPC weapons are easy, you just need to type them in EXACTLY how they say. So NPC_M1911 would be the M1911 Pistol and NPC_M4A1Holo would be the M4A1 with Holographic Sight.

Now, usually, when you are killed by an NPC Weapon that has no Kill Icon in the Death Notice, it will appear in the console saying Something like "Error: No Killicon found for NPC_MP5!"

Now, if you want the easier way for weapons like Kermite's Weapon Pack for example, You simply get killed by the NPC with the weapon from the NPC Weapon Menu in the Context Menu.
Then you'd go into the console, find the weapon codename, i.e "stuff_weaponname_stuff" (does not exist, don't try.)

Or, if you want to try to get an NPC a weapon that isn't in the NPC Weapon Menu.

You right click on the weapon you want from the Weapons Tab in the Spawn Menu, click "Copy to Clipboard" and then paste the weapon name into ZINV. and then boom, you now know how I made my weapons appear in the hands of random ZINV Soldiers ranging from Headcrabs to Juggernaughts.
Karnak Kobalos 4 Nov, 2017 @ 8:31am 
the NPC do not fire when I stick from the clipboard my weapon on Zinv, maybe a problem of ammunition? I do not know .

Only Smg1 works, Npc Rpg do not fire.

It's really strange ... A solution?
Tempest 4 Nov, 2017 @ 8:54am 
Originally posted by Lord.Kobalos:
the NPC do not fire when I stick from the clipboard my weapon on Zinv, maybe a problem of ammunition? I do not know .

Only Smg1 works, Npc Rpg do not fire.

It's really strange ... A solution?

What weapon are you trying to give the NPC?
Karnak Kobalos 4 Nov, 2017 @ 10:54am 
I found the solution, I tried to give the weapons of the players to the NPC,

I finally gave them "swep_ai_rpg" and "swep_ai_ak47" and it works.

I still do not know how to give CW weapons to NPCs
Tempest 4 Nov, 2017 @ 10:56am 
Customizable Weaponry isn't ment for NPCs, so you may encounter quite a few glitches.
< >
Showing 1-6 of 6 comments
Per page: 1530 50