Garry's Mod

Garry's Mod

TTT Pocket Headcrab
7 kommentarer
ミTᏔi𐌔T𐌄𐌃 25. feb. kl. 17:01 
:orwell_relationship: :orwell_relationship: :orwell_relationship:
SpongeCake 15. feb. 2018 kl. 13:58 
if qtc_headcrab_crab is set to 0 I get this error message:
[Pocket Headcrab] lua/entities/pocket_headcrab.lua:47: bad argument #1 to 'Create' (string
expected, got nil)
1. Create - [C]:-1
2. unknown - lua/entities/pocket_headcrab.lua:47

Timer Failed! [Simple][@lua/entities/pocket_headcrab.lua (line 42)]

if it is set to 1 it spawns normal, 2 spawns poison and 3 spawns random

qtc_headcrab_count = spawn a maximum of 5 and they spawn inside of each other which renders them immobile. Maybe set up a radius from the center of the explosion in which they can spawn based on some random location generator?

qtc_headcrab_limitedstock = 0 sets unlimited, 1-5 gives one

qtc_headcrab_slot = they index from 0 but setting this to 4 puts the pocket headcrab into grenade slot and in the menu shows as item 5
Goblin Conscript 18. dec. 2017 kl. 15:32 
I have a problem with the mod. When I'm T I accidentally pick grenades up, and it says I cannot buy the headcrab with a grenade, so I threw it away, and It still says I can't get it
fskin 8. juni 2017 kl. 4:23 
I have a lot of addons so there might as well just be conflicts, don't worry about it.

Your weapon is the best NPC spawning base I've found so far so I'm still using it!
bokunatsu  [ophavsmand] 7. juni 2017 kl. 17:36 
That's weird, none of that came up in my internal testing. If the multiple headcrabs don't show up, keep in mind that I don't really spawn them too well so it might look like they overlap. I'll hopefully look into it sometime within the next week. Sorry about that!
fskin 5. juni 2017 kl. 2:57 
Oh and also it should just be set to WEAPON_NADE by default because no matter what slot is specified, it's not buyable as long as I have a main weapon. It somehow keeps setting to WEAPON_HEAVY, apparently.
fskin 5. juni 2017 kl. 2:56 
Headcrab count is inconsistent, won't spawn more than 5 most of the time and sometimes just spawns less for some reason.

Headcrab health doesn't really work it seems? They still die with 1 shot, no matter what's specified. Perhaps it only works for regular headcrabs but I've disabled those.