Template:Fl BaseNPC: Difference between revisions
Jump to navigation
Jump to search
m (Reformatted spawnflags according to Template:Fl change) |
(Added descriptions for some of the flags) |
||
Line 1: | Line 1: | ||
{{Fl|1|Wait Till Seen}} | {{Fl|1|Wait Till Seen|Prevents this NPC from seeing (or being seen) until it enters a player's viewcone.}} | ||
{{Fl|2|Gag (No IDLE sounds until angry)}} | {{Fl|2|Gag (No IDLE sounds until angry)}} | ||
{{Fl|4|Fall to ground (unchecked means *teleport* to ground)}} | {{Fl|4|Fall to ground (unchecked means *teleport* to ground)}} | ||
{{Fl|8|Drop Healthkit}} | {{Fl|8|Drop Healthkit|Causes this NPC to drop an {{ent|item_healthvial}} upon dying.}} | ||
{{Fl|16|Efficient - Don't acquire enemies or avoid obstacles}} | {{Fl|16|Efficient - Don't acquire enemies or avoid obstacles}} | ||
{{Fl|128|Wait For Script}} | {{Fl|128|Wait For Script|Forces this NPC to "wait" in an idle state until it finishes playing a {{ent|scripted_sequence}}.}} | ||
{{Fl|256|Long Visibility/Shoot}} | {{Fl|256|Long Visibility/Shoot|By default, increases a NPC's sight range to <code>6,000</code> units and allows it to attack from anywhere within that distance.}} | ||
{{Fl|512|Fade Corpse}} | {{Fl|512|Fade Corpse}} | ||
{{Fl|1024|[[NPC Sensing|Think outside PVS]]}} | {{Fl|1024|[[NPC Sensing|Think outside PVS]]|Allows this NPC to run its regular AI outside of any player's PVS.}} | ||
{{Fl|2048|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}}.}} | {{Fl|2048|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}}.}} | ||
{{Fl|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|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.}}}} |
Revision as of 18:51, 23 April 2020
- Wait Till Seen : [1]
- Prevents this NPC from seeing (or being seen) until it enters a player's viewcone.
- Gag (No IDLE sounds until angry) : [2]
- Fall to ground (unchecked means *teleport* to ground) : [4]
- Drop Healthkit : [8]
- Causes this NPC to drop an item_healthvial upon dying.
- Efficient - Don't acquire enemies or avoid obstacles : [16]
- Wait For Script : [128]
- Forces this NPC to "wait" in an idle state until it finishes playing a scripted_sequence.
- Long Visibility/Shoot : [256]
- By default, increases a NPC's sight range to
6,000
units and allows it to attack from anywhere within that distance.
- Fade Corpse : [512]
- Think outside PVS : [1024]
- Allows this NPC to run its regular AI outside of any player's PVS.
- Template NPC : [2048]
- 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.
- Do Alternate collision for this NPC (player avoidance) : [4096]
Note:This flag is disabled in episodic for player companions because the
StartScripting
input does this.
- Don't drop weapons : [8192]
- Ignore player push : [16384] (in all games since
)
- Don't give way to player