npc_crow
Jump to navigation
Jump to search
Class hierarchy |
---|
CNPC_Crow |
npc_crow.cpp |
npc_crow
is a point entity available in Half-Life 2, Half-Life 2: Episode One, Half-Life 2: Episode Two, Half-Life 2: Deathmatch, and Black Mesa.
It is a simple ambient crow that flies away when it hears gunfire or when anything gets too close to it.
- This is a flying NPC that uses info_node_air, info_node_air_hint or path_tracks for AI navigation.
- Make sure to place info_hints to tell the bird where to fly.
In code, it is represented by the
CNPC_Crow
class, defined in thenpc_crow.cpp
file.
Note:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.
Keyvalues
CBaseCombatCharacter:
CAI_BaseNPC:
DamageFilter:
|
Flags
Wait Till Seen : [1]
Gag : [2]
Fall to ground (unchecked means teleport to ground) : [4]
Efficient : [16]
Wait For Script : [128]
Long Visibility/Shoot : [256]
Fade Corpse : [512]
Template NPC : [2048]
Note:This flag is disabled in episodic for player companions, because the
StartScripting input does this.Don't drop weapons : [8192]
|
Inputs
CAI_BaseNPC:
CBaseCombatCharacter:
DamageFilter: |
- FlyAway <targetname>
- Forces the crow to fly to the nearest Crow: Fly to point hint node.
Outputs
|
See also
Categories:
- TODO rewrite lang to LanguageBar
- CBaseAnimating
- Half-Life 2 entities
- Half-Life 2 point entities
- Half-Life 2: Episode One entities
- Half-Life 2: Episode One point entities
- Half-Life 2: Episode Two entities
- Half-Life 2: Episode Two point entities
- Half-Life 2: Deathmatch entities
- Half-Life 2: Deathmatch point entities
- Black Mesa entities
- Black Mesa point entities
- Flying NPCs
- NPC entities
- Half-Life 2 NPCs