Npc barnacle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (placement tip)
m (Robot: fixing template case.)
Line 26: Line 26:
* {{fl basenpc}}
* {{fl basenpc}}
* 65536 : Cheap death
* 65536 : Cheap death
* {{ep1 add|131072 : Ambush Mode}}
* {{EP1 add|131072 : Ambush Mode}}


==Inputs==
==Inputs==
Line 32: Line 32:
* {{i basenpc}}
* {{i basenpc}}


* '''{{ep1 add|DropTongue}}'''
* '''{{EP1 add|DropTongue}}'''
: Drop tongue
: Drop tongue


* '''{{ep1 add|SetDropTongueSpeed <integer>}}'''
* '''{{EP1 add|SetDropTongueSpeed <integer>}}'''
: Set Drop Tongue speed
: Set Drop Tongue speed



Revision as of 19:19, 19 January 2009

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.

PlacementTip.gifPlacement Tip: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 (Default: 35)
<integer> Barnacle spawn health.
  • npc_barnacle_swallow (Default: 0)
<boolean> 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

  • DropTongue (in all games since Half-Life 2: Episode One)
Drop tongue
  • SetDropTongueSpeed <integer> (in all games since Half-Life 2: Episode One)
Set Drop Tongue speed


Outputs

Template:Otherlang:en Template:Otherlang:en:ru