Garry's Mod

Garry's Mod

387 ratings
Crab Synth SNPC
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: NPC
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
9.065 MB
13 May, 2021 @ 9:08am
13 Mar @ 11:23am
14 Change Notes ( view )

Subscribe to download
Crab Synth SNPC

Description
Two new crab synth snpcs, this time with working gatling gun.

+251 health.

+All damage dealt to crab synth is scaled down to 0.01 (straight beta behavior)

+Special attack: Charge attack towards enemy (directly looks at enemy, starts sprinting, 150 dmg if hits, reattacks in 20 secs).

+Custom crab synth sounds.

+No other NPC base dependencies, utilizes default AI

+Long sight range

+New by 2023: More melee attacks

In order to deal high damage, lob under the crab synth some grenades or rockets.

Console variables to control NPC stats:

sk_crabsynth_health_2: Sets the initial health of Crab Synth. (default 251)
sk_crabsynth_dmg_minigun: Damage dealt by Crab synth's gatling gun, per bullet. (default 4)
sk_crabsynth_dmg_charge: Damage dealt by Crab synth's charge attack. (default 150)

Developer commands:
crabsynth_min_retreat_after_numshots: Crabsynth can undeploy the gatling gun only after firing given amount of bullets. (might be obsolete, will function later) (default 100)
g_debug_crabsynth_tracer: Draws two white lines, displaying where the crab synth will fire its bullets and where it will end, and where the gatling gun is actually aiming at.

Credits:

Ragdoll: Rantis (garrysmods.org/download/6127/synthzip)

Footstep sounds: Angelfinn12

Gatling gun deploy / shoot / retract anims: Half - Life 2 Beta Minimalist Mod (models/garg.mdl)

MDLSRC: (03.07.2021) https://cats.iku.edu.tr/access/content/user/1700002526/public_closed/132d3c001e5f80604c9f2f9e1d05213a/garg.zip
Popular Discussions View All (1)
8
13 Feb @ 1:48pm
Suggestions
Headcrab Zombie
76 Comments
Jakiś betoniarz 13 Jun @ 8:46am 
nice work
funrobloxgame 27 Jan @ 11:03am 
the commands dont work and i tried restarting the game if your were gonna ask me
Baby Wizard 9 Jan @ 3:26pm 
CRAB WITH MINIGUN POGGERS
Blackie 28 Dec, 2023 @ 3:56pm 
Also Also, the ragdoll doesn't seem to have collision and cannot be grabbed by the physics gun.
Blackie 28 Dec, 2023 @ 10:40am 
Not really sure if you're still updating this... or if you're even reading this, but there seems to be an oddity in MK2's model, like some kind of weird stretched polygons on its left front leg.

Also, I'm not really sure if this is intentional or not, but the model seems to have no reflectivity (unlike other combine NPC's, like a strider), only shaders. Again, not sure if this is on purpose, just saying.
otso1223#fixTF2 4 Nov, 2023 @ 2:52pm 
im not really sceard of most things in video games but this is accully just tarryfing
The Clown 13 May, 2023 @ 4:04pm 
Attempting to spawn in the crabsynth using automatic spawns seems to have an issue with the model.

[Crab Synth SNPC] lua/entities/npc_crabsynth.lua:255: bad argument #1 to 'IsValidModel' (string expected, got nil)
1. IsValidModel - [C]:-1
2. unknown - lua/entities/npc_crabsynth.lua:255
3. Spawn - [C]:-1
4. SpawnNPC - lua/sv_npcd_spawn.lua:512
5. TargetSpawnPreset - lua/sv_npcd_spawn.lua:2290
6. func - lua/sv_npcd.lua:620
7. unknown - lua/includes/extensions/net.lua:33

[Crab Synth SNPC] lua/entities/npc_crabsynth.lua:344: bad argument #1 to 'SetModel' (string expected, got nil)
1. SetModel - [C]:-1
2. SelectSchedule - lua/entities/npc_crabsynth.lua:344
3. unknown - lua/entities/npc_crabsynth.lua:392

Thought I'd mention it.
Thatonehydra 27 Apr, 2023 @ 4:24pm 
Ichthyosaur
.rustflow 24 Apr, 2023 @ 10:58am 
If you ever do end up updating this again, I think the intended way it works is that you're supposed to damage it's underbelly with grenades, especially taking the animations in consideration. Not saying to make it invulnerable to bullets, but that 'bodythrow' animation or whatever it's called can be used for that, like a stun.
DevilHawk  [author] 1 Jan, 2023 @ 10:50am 
examining the repo, and the crabsynth right now. thanks for informing.