Garry's Mod

Garry's Mod

NPC Tools
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
< >
1-15 van 23 reacties weergegeven
Origineel geplaatst door Chicken McNuggets:
Disable all your addons for ♥♥♥♥ sakes
suck my ass ♥♥♥♥♥
When I spawn NPCs with the spawner.. they don't follow mah nodes. :c
Yeah, same with me. I think it's because the map you're on dosent have nodes. Try gm_bigcity.
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....
Laatst bewerkt door Mystic Midnight; 24 jun 2014 om 18:15
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.
Laatst bewerkt door Kibōchen; 25 jun 2014 om 15:56
WHAT THE ♥♥♥♥!!OKOfreufhou;RHFOherfohrofjiopfpoWREJFIOnrfrnFNRFAEFowgOIEGOiehoigeoihjfoiEJFROIhrwjfoiWJFJw'jfngriehgORGNFOAKRpwfkOIFHYERURJUFFJHFFFOSFDM
ALL OF YOU R ♥♥♥♥♥
THAY CANT HAVE THAT NPC GUN'S THAY NEDD COMBINE GUN'S
Beau, stop being autistic and don't talk in caps and gibberish.
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.
The weapon select menu only shows player-only weapons.
Look at all of us,
Silverlan, what the ♥♥♥♥ have you done...
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?
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.
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?
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)
< >
1-15 van 23 reacties weergegeven
Per pagina: 1530 50