Garry's Mod

Garry's Mod

[CTOOLS] NPC Spawner
 Toto téma bylo přilepeno, takže je nejspíš důležité
Ѫ  [vývojář] 21. čvn. 2021 v 8.43
Bugs
For those who experiences bugs or errors
< >
Zobrazuje se 115 z 65 komentářů
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)
Ѫ  [vývojář] 22. čvn. 2021 v 11.25 
෴Anal Assassin෴ původně napsal:
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?
Ѫ  [vývojář] 22. čvn. 2021 v 11.54 
෴Anal Assassin෴ původně napsal:
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
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
i have a bug where the shadow texture loaded incorrectly
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


Trying to spawn clone troopers but spawner only selects the hostile variants when I want the friendly ones
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.
Loading a garry's mod save will break the npcs by removing their weapons for some reason.

It also happens with the base weapons.
Spawned NPC's don't move, might try fixing with a restart.
[[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)
I cannot spawn NPCs by right-clicking after placing an area. No error message to help either.
...Or am I doing something wrong?
Naposledy upravil Magit0mo; 13. čvc. 2021 v 4.17
Nevermind, the problem was NOT caused by the LFS addon. Apparently it has something to do with addon memory of some sort.
Naposledy upravil Magit0mo; 14. čvc. 2021 v 4.03
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
< >
Zobrazuje se 115 z 65 komentářů
Na stránku: 1530 50