Npc grenade frag: Difference between revisions
Jump to navigation
Jump to search
m (Added Dedicated Console Variables) |
m (Robot: fixing template case.) |
||
Line 13: | Line 13: | ||
*{{kv basenpc}} | *{{kv basenpc}} | ||
== Flags == | == Flags == | ||
*{{ | *{{Fl BaseNPC}} | ||
== Inputs == | == Inputs == | ||
*; SetTimer <float> | *; SetTimer <float> |
Revision as of 19:22, 19 January 2009
Entity description
npc_grenade_frag is the entity that represents an active grenade (weapon_frag thrown by a player or NPC) in-game.
Dedicated Console Variables
- sk_plr_dmg_fraggrenade (Defult 150)
- sk_npc_dmg_fraggrenade (Defult 75)
- sk_fraggrenade_radius (Defult 250)
Todo: Fix any Typos?
Keyvalues
Flags
BaseNPC flags
- Wait Till Seen : [1]
- Prevents this NPC from seeing (or being seen) until it enters a player's viewcone.
- Gag : [2]
- Won't make IDLE sounds until it's angry.
- Fall to ground (unchecked means teleport to ground) : [4]
- Drop Healthkit : [8]
- Causes this NPC to drop an item_healthvial upon dying.
- Efficient : [16]
- Don't acquire enemies or avoid obstacles
- 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]
- Don't drop weapons : [8192]
- Ignore player push : [16384] (in all games since
)
- Entity won't give way to player.
Inputs
- SetTimer <float>
- This input makes the grenade live, and specifies how many seconds before it explodes.