Npc bullsquid (Half-Life 2)

From Valve Developer Community
Revision as of 19:21, 19 January 2009 by VDCBot (talk | contribs) (Robot: fixing template case.)
Jump to navigation Jump to search

Template:Wrongtitle

Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.

Entity description

Although there are no physical bullsquid resources provided in Half-Life 2, the npc_bullsquid entity is fully supported in code.

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

Missing models

  • models/bullsquid.mdl
  • models/spitball_large.mdl
  • models/spitball_medium.mdl
  • models/spitball_small.mdl

Missing sounds

  • NPC_Bullsquid.Idle
  • NPC_Bullsquid.Pain
  • NPC_Bullsquid.Death
  • NPC_Bullsquid.Attack1
  • NPC_Bullsquid.Growl
  • NPC_Bullsquid.TailWhip
  • GrenadeSpit.Acid
  • GrenadeSpit.Hit

Related games

Dedicated CVars

  • sk_bullsquid_health
<integer> Bullsquid spawn health
  • sk_bullsquid_dmg_bite
<integer> Bullsquid bite damage
  • sk_bullsquid_dmg_whip
<integer> Maximum health an enemy has for bullsquid to attempt a tailwhip.

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]
Note.pngNote:This flag is disabled in Half-Life 2: Episode One Half-Life 2: Episode Two episodic for player companions, because the StartScripting input does this.
Don't drop weapons : [8192]
Ignore player push : [16384] (in all games since Source 2006)
Entity won't give way to player.

Inputs

Outputs

Template:Otherlang:en Template:Otherlang:en:ru