Npc zombie (Source): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{basicnpc/img|name=npc_zombie|image=zombie.jpg|caption=Zombie|desc=These "classic" Zombies, being wonderfully slow and stupid, are best used in groups to swarm the player. While it is unlikely the player will view them as a real threat, they are a great way to add tension and benefit from working with other zombie types, such as the [[npc_fastzombie|fast zombie]] or the [[npc_poisonzombie|poison zombie]]. In fact, some [[Ravenholm]] areas used as many as 4-5 of these zombies at a time.
{{wrongtitle|title=npc_zombie}}
==Entity Description==
[[Image:zombie.jpg|frame|right|Zombie]]
These "classic" Zombies, being wonderfully slow and stupid, are best used in groups to swarm the player. While it is unlikely the player will view them as a real threat, they are a great way to add tension and benefit from working with other zombie types, such as the [[npc_fastzombie|fast zombie]] or the [[npc_poisonzombie|poison zombie]]. In fact, some [[Ravenholm]] areas used as many as 4-5 of these zombies at a time.


If the zombie's host body is sufficiently damaged, the controlling [[Npc_headcrab|headcrab]] may detach and attack on its own.}}
If the zombie's host body is sufficiently damaged, the controlling [[Npc_headcrab|headcrab]] may detach and attack on its own.
{{npcnote}}
==Dedicated Console Variables==
* '''sk_zombie_health'''
: <integer> A zombie's spawn health
* '''sk_zombie_dmg_one_slash'''
: <integer> Melee damage
* '''sk_zombie_dmg_both_slash'''
: <integer> Melee damage}}
==Keyvalues==
* {{kv basenpc}}
==Flags==
* {{fl basenpc}}
==Inputs==
* {{i basenpc}}
==Outputs==
* {{o basenpc}}
==See Also==
==See Also==
* [[npc_poisonzombie]]
* [[npc_poisonzombie]]

Revision as of 12:48, 12 August 2005

Template:Wrongtitle

Entity Description

Zombie

These "classic" Zombies, being wonderfully slow and stupid, are best used in groups to swarm the player. While it is unlikely the player will view them as a real threat, they are a great way to add tension and benefit from working with other zombie types, such as the fast zombie or the poison zombie. In fact, some Ravenholm areas used as many as 4-5 of these zombies at a time.

If the zombie's host body is sufficiently damaged, the controlling headcrab may detach and attack on its own.

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_zombie_health
<integer> A zombie's spawn health
  • sk_zombie_dmg_one_slash
<integer> Melee damage
  • sk_zombie_dmg_both_slash
<integer> Melee damage}}

Keyvalues

Flags

Inputs

Outputs

See Also