Garry's Mod

Garry's Mod

Tood's NPC Drop Pod Tool v4
 This topic has been pinned, so it's probably important
Tood  [developer] 18 Jul, 2020 @ 6:30pm
Bug Reports!
Bug reports are now handled via my new discord: discord.gg/YSzU6MY2Yb
Last edited by Tood; 14 Mar, 2022 @ 4:08pm
< >
Showing 1-14 of 14 comments
Lilith 18 Jun, 2021 @ 12:06am 
i'm having trouble with the addon the NPC's seem to not be spawning properly this is the error code i get when i try and spawn them in it was working before now its stopped

Attempted to create unknown entity type !

[Tood's NPC Drop Pod Tool v3] lua/entities/toods_dispenser/init.lua:166: attempt to call method 'GetEnemy' (a nil value)
1. unknown - lua/entities/toods_dispenser/init.lua:166

Timer Failed! [Simple][@lua/entities/toods_dispenser/init.lua (line 144)]
Tood  [developer] 18 Jun, 2021 @ 4:05am 
Make sure there are players or NPCs already spawned before using the drop pod. This part of the relationship modifier will be removed soon.
Lilith 18 Jun, 2021 @ 4:08pm 
i spawned NPC's in before i dropped the pods and it still caused the same errors to happen i even made sure they were the same NPC's with the same weapon types and when i spawned the pods back in again it was the same as it was before
Tood  [developer] 18 Jun, 2021 @ 6:05pm 
Hmm strange, I'll have a look at it but if I can't replicate it then I more than likely won't be able to fix it if it isn't happening on my end
Lilith 18 Jun, 2021 @ 11:02pm 
ok so after some more testing on my end and testing 6 different maps i figured out that for some reason they dont like spawning properly on this map
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1307357127

however it spawns just fine on the snow variant

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1412360702
AaronPlusOne 23 Aug, 2021 @ 9:24pm 
The models tpose and dont shoot and you can phase through them.
AaronPlusOne 23 Aug, 2021 @ 9:38pm 
[Tood's NPC Drop Pod Tool v3] lua/entities/toods_dispenser/init.lua:166: attempt to call method 'GetEnemy' (a nil value)
1. unknown - lua/entities/toods_dispenser/init.lua:166
Tood  [developer] 24 Aug, 2021 @ 2:11am 
The models tpose and dont shoot and you can phase through them.
Make sure the model you are using is an NPC model, playermodels don't work with this tool. Also double check that the model is actually on the server, it sounds like you have the model subscribed to but the model isn't on the server.
Last edited by Tood; 24 Aug, 2021 @ 2:12am
Tood  [developer] 24 Aug, 2021 @ 2:11am 
[Tood's NPC Drop Pod Tool v3] lua/entities/toods_dispenser/init.lua:166: attempt to call method 'GetEnemy' (a nil value)
1. unknown - lua/entities/toods_dispenser/init.lua:166
I'll throw a fix for this when I can.
Tood  [developer] 25 Aug, 2021 @ 1:14am 
yea its real npcs.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1898215773
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=107567765

these are the 2 that i use for droids. They tpose and don't shoot.
Well the 2nd pack you linked aren't NPCs so of course they won't work. As for the CGI droids, i'll subscribe to the pack and have a look later today.
Tood  [developer] 25 Aug, 2021 @ 11:33am 
yea its real npcs.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1898215773
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=107567765

these are the 2 that i use for droids. They tpose and don't shoot.
Yeah you're definitely using playermodels which t-pose.

As shown in this screenshot, these are a bunch of NPCs in the [CGI] HD pack, which all work fine.
https://gyazo.com/3fb07d1c7b5a5e1694b8439247ccdb65

And in this screenshot, I used the override model field to change the model of the NPC, the droids on the left which are t-posing are playermodels, the droids on the right are NPC models.
https://gyazo.com/ccbedd4eb51d3927b309573560306bc2

If you are using the model override field I have added to the tool then make sure the droid model from the [CGI] HD pack doesn't have "pm_" in the path as those are playermodels so an example is "models/b1/pm_droid_cis_b1.mdl" this is a playermodel and "models/npc_b1/npc_droid_cis_b1_h.mdl" this is the same model but the NPC model variant, make sure the model path has "npc_" as those are the NPC models.
Last edited by Tood; 25 Aug, 2021 @ 11:34am
AaronPlusOne 30 Aug, 2021 @ 1:22pm 
weird cause i tired just using like basic npc like metro police and they dont even show up.
Tood  [developer] 10 Sep, 2021 @ 12:27pm 
weird cause i tired just using like basic npc like metro police and they dont even show up.
Zip your entire drop pod addon folder and send it to me on discord @The Toodster#0001 and I'll check it out.
< >
Showing 1-14 of 14 comments
Per page: 1530 50