Garry's Mod

Garry's Mod

Tood's NPC Drop Pod Tool v4
 此主题已被置顶,因此可能具有重要性
Tood  [开发者] 2020 年 7 月 18 日 下午 6:30
Bug Reports!
Bug reports are now handled via my new discord: discord.gg/YSzU6MY2Yb
最后由 Tood 编辑于; 2022 年 3 月 14 日 下午 4:08
< >
正在显示第 1 - 14 条,共 14 条留言
Lilith 2021 年 6 月 18 日 上午 12:06 
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  [开发者] 2021 年 6 月 18 日 上午 4:05 
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 2021 年 6 月 18 日 下午 4:08 
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  [开发者] 2021 年 6 月 18 日 下午 6:05 
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 2021 年 6 月 18 日 下午 11:02 
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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1307357127

however it spawns just fine on the snow variant

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1412360702
AaronPlusOne 2021 年 8 月 23 日 下午 9:24 
The models tpose and dont shoot and you can phase through them.
AaronPlusOne 2021 年 8 月 23 日 下午 9:38 
[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  [开发者] 2021 年 8 月 24 日 上午 2:11 
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.
最后由 Tood 编辑于; 2021 年 8 月 24 日 上午 2:12
Tood  [开发者] 2021 年 8 月 24 日 上午 2:11 
[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  [开发者] 2021 年 8 月 25 日 上午 1:14 
yea its real npcs.
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1898215773
https://psteamcommunity.yuanyoumao.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  [开发者] 2021 年 8 月 25 日 上午 11:33 
yea its real npcs.
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1898215773
https://psteamcommunity.yuanyoumao.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.
最后由 Tood 编辑于; 2021 年 8 月 25 日 上午 11:34
AaronPlusOne 2021 年 8 月 30 日 下午 1:22 
weird cause i tired just using like basic npc like metro police and they dont even show up.
Tood  [开发者] 2021 年 9 月 10 日 下午 12:27 
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.
< >
正在显示第 1 - 14 条,共 14 条留言
每页显示数: 1530 50