Garry's Mod

Garry's Mod

NPC Tools
Evelyn Aurora 10. nov. 2013 kl. 3:41
Problems with the NPC Spawner
When I create a NPC Spawner, then save and reload it says: "NPC Tools is creating errors", NPCs get duplicated and are not following patrol points.

This is a part from the console:
ERROR: numpad.OnDown key is nil!
ERROR: numpad.OnDown key is nil!
TEST [lua/entities/obj_npcspawner/cl_init.lua][lua/entities/obj_npcspawner/init.lua]
TEST [lua/entities/obj_npcspawner/init.lua][lua/entities/obj_npcspawner/init.lua]
FOUND IN ADDON [104486597]
TEST [lua/entities/obj_npcspawner/shared.lua][lua/entities/obj_npcspawner/init.lua]
TEST [lua/includes/modules/hon.lua][lua/includes/modules/duplicator.lua]
TEST [lua/includes/modules/json.lua][lua/includes/modules/duplicator.lua]
TEST [lua/includes/modules/hon.lua][lua/includes/modules/duplicator.lua]
TEST [lua/includes/modules/json.lua][lua/includes/modules/duplicator.lua]
TEST [lua/includes/modules/hon.lua][lua/includes/modules/duplicator.lua]
TEST [lua/includes/modules/json.lua][lua/includes/modules/duplicator.lua]

[NPC Tools] lua/entities/obj_npcspawner/init.lua:43: attempt to perform arithmetic on a nil value
1. unknown - lua/entities/obj_npcspawner/init.lua:43
2. Spawn - [C]:-1
3. CreateEntityFromTable - lua/includes/modules/duplicator.lua:433
4. unknown - lua/includes/modules/duplicator.lua:731
5. ProtectedCall - [C]:-1
6. Paste - lua/includes/modules/duplicator.lua:731
7. unknown - lua/includes/gmsave.lua:58

Please help! Thank you
< >
Viser 1-15 af 23 kommentarer
Bloodvin 16. feb. 2014 kl. 9:28 
Oprindeligt skrevet af Chicken McNuggets:
Disable all your addons for ♥♥♥♥ sakes
suck my ass ♥♥♥♥♥
Geese1999 20. feb. 2014 kl. 12:27 
When I spawn NPCs with the spawner.. they don't follow mah nodes. :c
Kibōchen 20. juni 2014 kl. 19:38 
Yeah, same with me. I think it's because the map you're on dosent have nodes. Try gm_bigcity.
Mystic Midnight 24. juni 2014 kl. 18:00 
my npc's wont attack me...they just keep aiming at me and putting their weapon back down in a loop...they follow me like im an ally too....
Sidst redigeret af Mystic Midnight; 24. juni 2014 kl. 18:15
Kibōchen 25. juni 2014 kl. 15:56 
Are you using custom weapons? That might be the problem. NPCs only use weapons that came with the game in the first place, such as the HL2 weapons. If they use anything else, it causes errors until they die.
Sidst redigeret af Kibōchen; 25. juni 2014 kl. 15:56
Al Nahyаn 24. juli 2014 kl. 22:35 
WHAT THE ♥♥♥♥!!OKOfreufhou;RHFOherfohrofjiopfpoWREJFIOnrfrnFNRFAEFowgOIEGOiehoigeoihjfoiEJFROIhrwjfoiWJFJw'jfngriehgORGNFOAKRpwfkOIFHYERURJUFFJHFFFOSFDM
Al Nahyаn 24. juli 2014 kl. 22:36 
ALL OF YOU R ♥♥♥♥♥
Al Nahyаn 24. juli 2014 kl. 22:38 
THAY CANT HAVE THAT NPC GUN'S THAY NEDD COMBINE GUN'S
Kibōchen 25. juli 2014 kl. 17:19 
Beau, stop being autistic and don't talk in caps and gibberish.
Kodi022 28. aug. 2014 kl. 19:31 
The spawner tool's Patrol points don't work. The NPCs won't move on them. And newly spawned npcs won't move until shot at.
longmanuptop 2. sep. 2014 kl. 10:22 
The weapon select menu only shows player-only weapons.
Look at all of us,
Silverlan, what the ♥♥♥♥ have you done...
Longo Two-Guns 6. okt. 2014 kl. 14:45 
How can I make the patrol routes work after reloading a game? And the spawners not produce an incredible amount of NPCs when I reload?
MajesticPigeon 15. nov. 2014 kl. 10:43 
i have problems with the Cleanup Corpses thing. i have it off but it cleaning up the corpses and i whan the corpses to stay.
Angsty Teen XD 29. dec. 2014 kl. 3:17 
Guys, anyone knows how to get rid of the spawnpoints except CTRL+Z? I really like this mod but if i want to delete a spawn point I only can do it with CTRL+Z. If I save the map and load in later, I'm not be able to do with them anything just the admin total cleanup what...what is unnacceptable on a fully built map. Any ideas?
Trosky 4. apr. 2015 kl. 17:48 
The problem is the Npc's weapon, i have custom NPC's weapon but the addon only recognizes the player's weapon producing that Npc can't use the weapon.
Also i have problem with the Ar2 (pulse rifle)
< >
Viser 1-15 af 23 kommentarer
Per side: 1530 50