Crab Synth SNPC

If you liked this item, please rate it up on Steam Workshop page.

Authors: kwaHliveD, DevilHawk

Last revision: 16 May, 2023 at 09:45 UTC

File size: 8.64 MB

On Steam Workshop

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