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:)
 
(14 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Image:Npc_zombie.PNG|thumb|250px|right|NPC_Zombie in Hammer.]]
[[File:Npc_zombie.PNG|thumb|250px|right|NPC_Zombie in Hammer, No crab.]]


== NPC_Zombie ==
== 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 [http://developer.valvesoftware.com/wiki/Console console] by pressing the tildé key located on the upper-left of most common keyboards.
''[[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 ==
== 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.
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 [http://developer.valvesoftware.com/wiki/Scripted_sequence scripts] and animations, these both add to the mood and gameplay of maps.
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 [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 ==
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]].


To be completed...
[[Category:AI]]
--[[User:Sithis|Sithis]] 15:10, 2 Apr 2008 (PDT)

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.