Garry's Mod

Garry's Mod

[CTOOLS] NPC Spawner
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Ѫ  [udvikler] 21. juni 2021 kl. 8:43
Bugs
For those who experiences bugs or errors
< >
Viser 1-15 af 64 kommentarer
Willerson 22. juni 2021 kl. 10:14 
Can't spawn with custom weapon.
[[CTOOLS] NPC Spawner] lua/autorun/server/ctools_npc.lua:213: attempt to call method 'SetCurrentWeaponProficiency' (a nil value)
1. v - lua/autorun/server/ctools_npc.lua:213
2. unknown - lua/includes/modules/hook.lua:84 (x1)
Ѫ  [udvikler] 22. juni 2021 kl. 11:25 
Oprindeligt skrevet af ෴Anal Assassin෴:
Can't spawn with custom weapon.
[[CTOOLS] NPC Spawner] lua/autorun/server/ctools_npc.lua:213: attempt to call method 'SetCurrentWeaponProficiency' (a nil value)
1. v - lua/autorun/server/ctools_npc.lua:213
2. unknown - lua/includes/modules/hook.lua:84 (x1)

What NPCs do you use?
Willerson 22. juni 2021 kl. 11:26 
Sidst redigeret af Willerson; 22. juni 2021 kl. 11:28
Ѫ  [udvikler] 22. juni 2021 kl. 11:54 
Oprindeligt skrevet af ෴Anal Assassin෴:
Red vs blue npc's
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?l=english&id=552301706

I'm not gonna fix this mess, sorry
The author of this addon is a bit stupid, these NPCs are not even NPCs technically
https://imgur.com/a/xKLLl81
mhrbnbngs 22. juni 2021 kl. 16:55 
I think the latest update broke the faction select part of the tool. I could swear you were able to select the faction of the npc's you were spawning
Egor1566 23. juni 2021 kl. 8:35 
i have a bug where the shadow texture loaded incorrectly
TheShadowHat 25. juni 2021 kl. 1:11 
loaded a save where NPCs where spawned using this and the NPCs had no weapons when i loaded the save

if it changes anything, the NPCs were metro cops with stunsticks


Khrysty 28. juni 2021 kl. 11:40 
Trying to spawn clone troopers but spawner only selects the hostile variants when I want the friendly ones
Misused chair 5. juli 2021 kl. 18:51 
1. the health settings don't do anything. It doesn't matter what I set them to, the health stays the default.
2. the "fade corpse on death" setting doesn't do anything. I have it checked, and the corpses stay.
Wings 7. juli 2021 kl. 11:18 
Loading a garry's mod save will break the npcs by removing their weapons for some reason.

It also happens with the base weapons.
GeassGamer 11. juli 2021 kl. 16:13 
Spawned NPC's don't move, might try fixing with a restart.
GeassGamer 11. juli 2021 kl. 16:23 
[[CTOOLS] NPC Spawner] lua/weapons/gmod_tool/stools/ctools_npc.lua:532: attempt to index local 'data_npc' (a nil value)
1. LeftClick - lua/weapons/gmod_tool/stools/ctools_npc.lua:532
2. func - lua/weapons/gmod_tool/stools/ctools_npc.lua:37
3. unknown - lua/includes/extensions/net.lua:32 (x2)
Magit0mo 13. juli 2021 kl. 4:17 
I cannot spawn NPCs by right-clicking after placing an area. No error message to help either.
...Or am I doing something wrong?
Sidst redigeret af Magit0mo; 13. juli 2021 kl. 4:17
Magit0mo 13. juli 2021 kl. 5:19 
Nevermind, the problem was NOT caused by the LFS addon. Apparently it has something to do with addon memory of some sort.
Sidst redigeret af Magit0mo; 14. juli 2021 kl. 4:03
TheShadowHat 19. juli 2021 kl. 6:47 
cant choose what weapons npcs spawn with

typing things in the weapon search will give an error similar to this
[[CTOOLS] NPC Spawner] lua/weapons/gmod_tool/stools/ctools_npc.lua:887: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. UpdateData - lua/weapons/gmod_tool/stools/ctools_npc.lua:887
3. OnValueChange - lua/weapons/gmod_tool/stools/ctools_npc.lua:871
4. unknown - lua/vgui/dtextentry.lua:194


pressing enter gives something like this
[[CTOOLS] NPC Spawner] lua/weapons/gmod_tool/stools/ctools_npc.lua:887: bad argument #1 to 'pairs' (table expected, got nil)
1. pairs - [C]:-1
2. UpdateData - lua/weapons/gmod_tool/stools/ctools_npc.lua:887
3. OnValueChange - lua/weapons/gmod_tool/stools/ctools_npc.lua:871
4. OnEnter - lua/vgui/dtextentry.lua:252
5. unknown - lua/vgui/dtextentry.lua:79
< >
Viser 1-15 af 64 kommentarer
Per side: 1530 50