Npc maker: Difference between revisions
Jump to navigation
Jump to search
Note:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.
m (→Entity Description: wikilink) |
(→Entity Description: Icon) |
||
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
Entity Description
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.

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.