monster_zombie

From Valve Developer Community
Jump to: navigation, search
Monster zombie.PNG

<Half-Life> <Half-Life:Opposing Force> <Half-Life: Blue Shift> monster_zombie is a point entity available in Half-Life, and its expansions Half-Life: Opposing Force and Half-Life: Blue Shift.

Entity description

The Black Mesa science personnel under the control of a headcrab. They have very basic AI and can only swipe at the player.

Note:Some keyvalues, flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.

Keyvalues

Monster:

TriggerTarget <string>
Name of entity to target when the trigger conditions are met.
Trigger Condition <choices>
Condition to use for TriggerTarget
  • 0 : "No Trigger"
  • 1 : "See Player, Mad at Player"
  • 2 : "Take Damage"
  • 3 : "50% Health Remaining"
  • 4 : "Death"
  • 7 : "Hear World"
  • 8 : "Hear Player"
  • 9 : "Hear Combat"
  • 10: "See Player Unconditional"
  • 11: "See Player, Not In Combat"

Target:

Target <target_destination>
The targetname of the first path_corner in a path this monster will move to when spawned.

Targetname:

Name <target_source>
The targetname that other entities refer to this entity by.

Render FX Choices:

Render FX <choices>
Render FX mode to use, for special effects.
  • 0: "Normal"
  • 1: "Slow Pulse"
  • 2: "Fast Pulse"
  • 3: "Slow Wide Pulse"
  • 4: "Fast Wide Pulse"
  • 9: "Slow Strobe"
  • 10: "Fast Strobe"
  • 11: "Faster Strobe"
  • 12: "Slow Flicker"
  • 13: "Fast Flicker"
  • 5: "Slow Fade Away"
  • 6: "Fast Fade Away"
  • 7: "Slow Become Solid"
  • 8: "Fast Become Solid"
  • 14: "Constant Glow"
  • 15: "Distort"
  • 16: "Hologram (Distort + fade)"

Renderfields:

Render Mode <choices>
Render Mode to use.
  • 0: "Normal"
  • 1: "Color"
  • 2: "Texture"
  • 3: "Glow"
  • 4: "Solid"
  • 5: "Additive"
FX Amount (1-255) <integer>
Controls transparency when using another render mode then normal. 0 is completely invisible, and 255 is opaque.
FX Color (R G B) <color255>
Color to use by the specified render mode.


Angles:

Pitch Yaw Roll (Y Z X) <angle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Flags

  • 1 : Wait Till Seen
  • 2 : Gag (No IDLE sounds until angry)
  • 4 : MonsterClip
  • 8 : No wreckage
  • 16 : Prisoner
  • 64 : Start inactive
  • 128 : Wait for script
  • 256 : Pre-disaster (only for use with monster_scientist and monster_barney -- has no effect on aliens).
  • 512 : Fade corpse
  • 2048 : Not in Deathmatch (some entities don't have this set in their FGD, but it works for all entities if set).