Npc barnacle: Difference between revisions
Jump to navigation
Jump to search
Note: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:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.
m (Turned a personal opinion into fact and suggestion.) |
(Provided console default values (so people don't forget them).) |
||
Line 12: | Line 12: | ||
==Dedicated Console Variables== | ==Dedicated Console Variables== | ||
* '''sk_barnacle_health''' | * '''sk_barnacle_health''' | ||
: <integer> Barnacle | : <integer> Barnacle spawn health. (Default: 35) | ||
* '''npc_barnacle_swallow''' | * '''npc_barnacle_swallow''' | ||
: {{boolean}} Use prototype swallow code | : {{boolean}} Use prototype swallow code. (Default: 0) | ||
: This makes the ragdolled yummy play this activity: ACT_GESTURE_BARNACLE_STRANGLE | : This makes the ragdolled yummy play this activity: ACT_GESTURE_BARNACLE_STRANGLE | ||
==Keyvalues== | ==Keyvalues== | ||
* {{kv basenpc}} | * {{kv basenpc}} | ||
* '''RestDist''' | * '''RestDist''' | ||
: <float> Distance above the ground that the tongue should lie when the barnacle is at rest | : <float> Distance above the ground that the tongue should lie when the barnacle is at rest |
Revision as of 11:14, 30 September 2006
Entity Description
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.


Dedicated Console Variables
- sk_barnacle_health
- <integer> Barnacle spawn health. (Default: 35)
- npc_barnacle_swallow
- <boolean> Use prototype swallow code. (Default: 0)
- This makes the ragdolled yummy play this activity: ACT_GESTURE_BARNACLE_STRANGLE
Keyvalues
- Template:Kv basenpc
- RestDist
- <float> Distance above the ground that the tongue should lie when the barnacle is at rest
Flags
- Template:Fl basenpc
- 65536 : Cheap death
- Template:Ep1 add
Inputs
- Drop tongue
- Set Drop Tongue speed