Npc maker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 1: Line 1:
{{wrongtitle|title=npc_maker}}
{{wrongtitle|title=npc_maker}}
==Entity Description==
==Entity Description==
 
[[Image:{{PAGENAME}}.png|right]]
Used for spawning particular [[NPC]]s, usually either to provide enemies for an ambush or to replace killed enemies in a standoff-type situation. For more control over the properties of the spawned NPCs, see the [[npc_template_maker]] point entity which uses 'template' NPCs as a basis, or the [[point_template]] entity which is more suited for spawning an entire squad into the appropriate positions.
Used for spawning particular [[NPC]]s, usually either to provide enemies for an ambush or to replace killed enemies in a standoff-type situation. For more control over the properties of the spawned NPCs, see the [[npc_template_maker]] point entity which uses 'template' NPCs as a basis, or the [[point_template]] entity which is more suited for spawning an entire squad into the appropriate positions.{{clr}}


{{npcnote}}
{{npcnote}}

Revision as of 23:32, 29 March 2006

Template:Wrongtitle

Entity Description

Npc maker.png

Used for spawning particular NPCs, usually either to provide enemies for an ambush or to replace killed enemies in a standoff-type situation. For more control over the properties of the spawned NPCs, see the npc_template_maker point entity which uses 'template' NPCs as a basis, or the point_template entity which is more suited for spawning an entire squad into the appropriate positions.

Note.pngNote:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.

Keyvalues

  • Relationship
<string> Childrens' relationship string
m_RelationshipString defined in the CNPCMaker class
  • NPCType
<npcclass> Class name of spawned NPC
  • NPCTargetname
<string> Childrens' Name
  • NPCSquadname
<string> Childrens' Squad Name
  • NPCHintGroup
<string> Childrens' Hint Group
  • additionalequipment
<choices> Weapons - Allows any weapon
Pick one that is made to function for NPCs
Literal Value Description
weapon_pistol Pistol
weapon_ar2 AR2
weapon_shotgun Shotgun
weapon_smg1 SMG1
weapon_stunstick Stun Stick
weapon_annabelle Grigori's Shotgun
0 Nothing

Flags

Inputs

Outputs

See Also

  • npc_template_maker - uses template NPC entities for more control over spawned NPCs.
  • point_template - spawns NPCs (or other entities) in-place; can deal with up to sixteen different targetnames simultaneously, and multiple entities per targetname.