AI Learning: Zombie: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Reverted edit of RolliNovic, changed back to last version by Etset)
(Fixup)
Line 1: Line 1:
{{cleanup}}{{pov}}
== NPC_Zombie ==
NPC_Zombie is the basic NPC, it requires little to nothing to work - a few AI Nodes should be appropriate if you're making a complex map, otherwise (let's say it's in a basic sewer) have none and let him wander about.


On a NPC_Zombie's death it will more than likely spawn a NPC_Headcrab that will pounce at you until you or it are dead.
''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 [http://developer.valvesoftware.com/wiki/Console console] by pressing the tildé key located on the upper-left of most common keyboards.




----
I've also heard that there is a string you can edit to disable the headcrab model from attaching itself to a Zombie's head somewhere.


[[Category:AI]]
== Requirements for Usage ==
 
As most NPCs, the Zombie requires [http://developer.valvesoftware.com/wiki/Info_node pathing 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 [http://developer.valvesoftware.com/wiki/Scripted_sequence scripts] 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 [http://developer.valvesoftware.com/wiki/Scripted_sequence scripted sequences], many great examples of zombies with scripts can be seen in the [http://developer.valvesoftware.com/wiki/Ravenholm Ravenholm] chapters of the game where zombies are constantly breaking through doors, barricades, [http://developer.valvesoftware.com/wiki/Prop_physics flipping junk at you], and best of all; [http://developer.valvesoftware.com/wiki/Climbing_NPCs climbing up drain pipes].
 
 
 
 
== Incomplete ==
 
To be completed...
--[[User:Sithis|Sithis]] 15:10, 2 Apr 2008 (PDT)

Revision as of 15:10, 2 April 2008

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.


Requirements for Usage

As most NPCs, the Zombie requires pathing 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 scripts 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)