Npc barnacle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 5: Line 5:
[[Image:Barnacle.jpg|frame|right|Barnacle]]
[[Image:Barnacle.jpg|frame|right|Barnacle]]


Stationary ceiling mounted 'fishing' monster
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]]. ''There should always be a way to get past a barnacle without killing it.'' Most players will rarely get caught by barnacles, if at all; however, don't force the player to get caught!


{{npcnote}}
{{npcnote}}

Revision as of 13:38, 26 July 2005

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. There should always be a way to get past a barnacle without killing it. Most players will rarely get caught by barnacles, if at all; however, don't force the player to get caught!

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> Barnacle Spawn Health
  • npc_barnacle_swallow
<boolean> Use prototype swallow code
This makes the ragdolled yummy play this activity: ACT_GESTURE_BARNACLE_STRANGLE

Keyvalues

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

Flags

  • 65536 : Cheap death

Inputs

Outputs