Template:Fl BaseNPC: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added to Flag Templates category)
(Started using the new spawnflag template)
Line 1: Line 1:
*1: Wait Till Seen
{{Fl|Wait Till Seen|bit=1}}
*2: Gag (No IDLE sounds until angry)
{{Fl|Gag (No IDLE sounds until angry)|bit=2}}
*4: Fall to ground (unchecked means *teleport* to ground)
{{Fl|Fall to ground (unchecked means *teleport* to ground)|bit=4}}
*8: Drop Healthkit
{{Fl|Drop Healthkit|bit=8}}
*16: Efficient - Don't acquire enemies or avoid obstacles
{{Fl|Efficient - Don't acquire enemies or avoid obstacles|bit=16}}
*128: Wait For Script
{{Fl|Wait For Script|bit=128}}
*256: Long Visibility/Shoot
{{Fl|Long Visibility/Shoot|bit=256}}
*512: Fade Corpse
{{Fl|Fade Corpse|bit=512}}
*1024: [[NPC Sensing|Think outside PVS]]
{{Fl|[[NPC Sensing|Think outside PVS]]|bit=1024}}
*2048: Template NPC: This entity is a template for {{ent|npc_template_maker}}. It will not spawn automatically and cannot be used with {{ent|point_template}}.
{{Fl|Template NPC|Marks this NPC as a template for entities like {{ent|npc_template_maker}}. The NPC will not spawn on its own. This is not needed for {{ent|point_template}}.|bit=2048}}
*4096: Do Alternate collision for this NPC (player avoidance) {{note|This flag is disabled in episodic for player companions because the <code>StartScripting</code> input does this.}}
{{Fl|Do Alternate collision for this NPC (player avoidance)|{{note|This flag is disabled in episodic for player companions because the <code>StartScripting</code> input does this.}}|bit=4096}}
*8192: Don't drop weapons
{{Fl|Don't drop weapons|bit=8192}}
*{{EP1 add|16384: Ignore player push}}: Don't give way to player<noinclude>
{{Fl|Ignore player push|Don't give way to player|since=EP1|bit=16384}}<noinclude>
[[Category:Flag Templates|BaseNPC]]
[[Category:Flag Templates|BaseNPC]]
</noinclude>
</noinclude>

Revision as of 13:39, 1 April 2020

{{{2}}} : [Wait Till Seen]
{{{2}}} : [Gag (No IDLE sounds until angry)]
{{{2}}} : [Fall to ground (unchecked means *teleport* to ground)]
{{{2}}} : [Drop Healthkit]
{{{2}}} : [Efficient - Don't acquire enemies or avoid obstacles]
{{{2}}} : [Wait For Script]
{{{2}}} : [Long Visibility/Shoot]
{{{2}}} : [Fade Corpse]
{{{2}}} : [[[NPC Sensing|Think outside PVS]]]
Marks this NPC as a template for entities like npc_template_maker. The NPC will not spawn on its own. This is not needed for point_template. : [Template NPC]
Note.pngNote:This flag is disabled in episodic for player companions because the StartScripting input does this.
 : [Do Alternate collision for this NPC (player avoidance)]
{{{2}}} : [Don't drop weapons]
Don't give way to player : [Ignore player push] (in all games since Half-Life 2: Episode One)