AI Learning: Zombie: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (fixed up the links)
m (re-fixed links)
Line 11: Line 11:
== Requirements for Usage ==
== Requirements for Usage ==


As most NPCs, the Zombie requires [[path nodes|info_node]] in order to navigate and function more appropriately, if there are no nodes then the zombie will either stand idle awaiting enemy contact, or will wander mindlessly.
As most NPCs, the Zombie requires [[info_node|path nodes]] in order to navigate and function more appropriately, if there are no nodes then the zombie will either stand idle awaiting enemy contact, or will wander mindlessly.


== Best methods of Use ==
== Best methods of Use ==


Needless to say, Zombies work much more effectively using [[scripted sequences|scripted_sequence]] and animations, these both add to the mood and gameplay of maps.
Needless to say, Zombies work much more effectively using [[scripted_sequence|scripted sequences]] and animations, these both add to the mood and gameplay of maps.


Most players do enjoy seeing random sequences in where, let us say, a zombie breaks through a door - such an effect is created with the use of [[scripted sequences|scripted_sequence]], many great examples of zombies with scripts can be seen in the [[Ravenholm]] chapters of the game where zombies are constantly breaking through doors, barricades, [[flipping junk at you|prop_physics]], and best of all; [[Climbing_NPCs|climbing up drain pipes]].
Most players do enjoy seeing random sequences in where, let us say, a zombie breaks through a door - such an effect is created with the use of [[scripted_sequence|scripted sequences]], many great examples of zombies with scripts can be seen in the [[Ravenholm]] chapters of the game where zombies are constantly breaking through doors, barricades, [[prop_physics|flipping junk at you]], and best of all; [[Climbing_NPCs|climbing up drain pipes]].


== Incomplete ==
== Incomplete ==

Revision as of 16:37, 27 April 2008

NPC_Zombie in Hammer, No crab.

NPC_Zombie

NPC_Zombie's are the basic melee character used in Half-Life 2, they require no real work to be implemented and used within a map and can be spawned using the console and entering "npc_create npc_zombie", you may access the console by pressing the tildé key located on the upper-left of most common keyboards.

Notable Information

Entering "zombie_headcrabless 1" into the console results in the headcrab attachment model and headcrab death spawning scripts both being disabled, can be reverted by placing "0" where "1" is.

Requirements for Usage

As most NPCs, the Zombie requires path nodes in order to navigate and function more appropriately, if there are no nodes then the zombie will either stand idle awaiting enemy contact, or will wander mindlessly.

Best methods of Use

Needless to say, Zombies work much more effectively using scripted sequences and animations, these both add to the mood and gameplay of maps.

Most players do enjoy seeing random sequences in where, let us say, a zombie breaks through a door - such an effect is created with the use of scripted sequences, many great examples of zombies with scripts can be seen in the Ravenholm chapters of the game where zombies are constantly breaking through doors, barricades, flipping junk at you, and best of all; climbing up drain pipes.

Incomplete

To be completed... --Sithis 15:10, 2 Apr 2008 (PDT)