AI Learning: Zombie: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
m (→‎top: Unicodifying, replaced: [[Image: → [[File:)
 
(38 intermediate revisions by 14 users not shown)
Line 1: Line 1:
NPC_Zombie,
[[File:Npc_zombie.PNG|thumb|250px|right|NPC_Zombie in Hammer, No crab.]]


They are the basic of the Melee NPCs in Half-Life 2, they are quite dumb compared to most other NPC characters - they more or the less wonder around until a player or enemy has been sighted, and will begin to approach then finally start attacking.
== NPC_Zombie ==
Zombies cannot be placed into a squad, nor use fire-arms.


''[[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 ==


More to be added...
Entering "''zombie_headcrabless 1''" into the console results in the headcrab attachment model and headcrab death spawning scripts both being disabled, this can be reverted by placing "0" where "1" is.
-Rasirez
 
== Requirements for Usage ==
 
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 ==
 
Needless to say, our zombies can work much more effectively using [[scripted_sequence|scripted sequences]] and animations, of which both add to the mood and gameplay of a map.
 
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]].
 
[[Category:AI]]

Latest revision as of 00:16, 7 January 2024

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, this 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, our zombies can work much more effectively using scripted sequences and animations, of which both add to the mood and gameplay of a map.

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.