Npc barnacle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Provided console default values (so people don't forget them).)
Line 13: Line 13:
==Dedicated Console Variables==
==Dedicated Console Variables==
* '''sk_barnacle_health'''
* '''sk_barnacle_health'''
: <integer> Barnacle spawn health. (Default: 35)
: <integer:35> Barnacle spawn health.
* '''npc_barnacle_swallow'''
* '''npc_barnacle_swallow'''
: {{boolean}} Use prototype swallow code. (Default: 0)
: {{boolean1|0}} Use prototype swallow code.
: This makes the ragdolled yummy play this activity: ACT_GESTURE_BARNACLE_STRANGLE
: This makes the ragdolled yummy play this activity: ACT_GESTURE_BARNACLE_STRANGLE



Revision as of 09:42, 1 October 2006

Template:Wrongtitle

Entity Description

Barnacle

Stationary ceiling-mounted 'fishing' monster. They were originally devised in Half-Life as a simple way to limit movement in levels, and their function remains relatively the same in Half-Life 2.

Note.pngNote:Most players will prefer not to get caught by a barnacle, and prefer avoiding it altogether, so unless it would be part of a puzzle, you might want to provide a way to get past the barnacle without killing it.
Note.pngNote:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.

Dedicated Console Variables

  • sk_barnacle_health
<integer:35> Barnacle spawn health.
  • npc_barnacle_swallow
Template:Boolean1 Use prototype swallow code.
This makes the ragdolled yummy play this activity: ACT_GESTURE_BARNACLE_STRANGLE

Keyvalues

<float> Distance above the ground that the tongue should lie when the barnacle is at rest

Flags

Inputs

Drop tongue
Set Drop Tongue speed


Outputs