Npc headcrab fast: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(rolacelrel)
m (Classifying as model entity)
 
(32 intermediate revisions by 20 users not shown)
Line 1: Line 1:
[http://taurus.fadlan.com/data/times.html seattle times] [http://bouts.4dq.com/map-of-atlanta.html map of atlanta] [http://taste.ftpserver.biz/sitemap.html home] [http://device.ddns.ms/description/royal-hawaiian.html royal hawaiian hotel] [http://fathom.fadlan.com/view/mickey-spillane.html mickey spillane official site] [http://bowing.ddns.ms/burger-king-corporation.html burger king corporation] [http://refuge.ddns.ms/lib/pizza-delivery.html delivery first pizza store three] [http://otter.got-game.org/radio-control.html radio control blimp] [http://sponge.zyns.com/lib/maps-and-driving.html direction driving google map] [http://bedrid.4mydomain.com/image-oakland-raider.html image oakland raider] [http://devil.4mydomain.com/articles/dragon-action-figures.html action ball dragon figure gogeta saiyan super z] [http://sponge.zyns.com/lib/surface-area-problems.html surface area problems] [http://dagger.mooo.com/directory/dane-cook.html dane cook quote] [http://meagre.fadlan.com/html/jake-abel.html jake abel] [http://diseas.4mydomain.com/q/letters-of-the.html chinese alphabet letter] [http://civet.ddns.ms/description/affordable-computer.html affordable computer systems] [http://jovem.zyns.com/topic/wrought-iron-beds.html bed black iron wrought] [http://bowing.ddns.ms/singapore-exports.html singapore exports] [http://comic.ddns.ms/small/washington-mutual.html washington mutual] [http://hearts.ddns.us/blog/plastic-packaging.html plastic packaging china] [http://bender.got-game.org/2-fast-2-furious.html 2 fast 2 furious skyline wallpapers] [http://autumn.freeddns.com/strawberry-yogurt.html strawberry yogurt cake] [http://surse.justdied.com/content/auer-carl-f-von.html auer carl f von welsbach] [http://two-hotels-bombed.sugaryblog.com/ two hotels bombed in baghdad] [http://climate-zones.mioforum.com/ climate zones] [http://rolls.zyns.com/cartoon-sex-nude.html cartoon sex nude] [http://gekrauss.fadlan.com/article/mana-eclipse.html mana eclipse] [http://insurance-claim.mioforum.com/ adjuster claim insurance job property] [http://snatch.ddns.us/data/lateritium.html lateritium] [http://bottle.4dq.com/pages/appendicitis.html appendicitis ct scan] [http://bettre.got-game.org/directory/kichler-lighting.html chandelier fixture kichler lighting] [http://newlywed-game-questions.voodoo-ref.com/ not so newlywed game question] [http://whelp.zyns.com/lib/anything-hundred.html anything hundred dollar bills] [http://nimble.4mydomain.com/data/symbiotics-com.html symbiotics com] [http://taste.ftpserver.biz/web/the-narrows-connelly.html the narrows connelly] [http://whelp.zyns.com/sitemap.html webmap] [http://minos.mooo.com/text/oneal-hardwear.html oneal hardwear boot] [http://gekrauss.fadlan.com/article/chat1.html chat1] [http://meagre.fadlan.com/html/examples-of-punnett.html examples of punnett squares] [http://taurus.fadlan.com/data/jersey-limousine.html jersey limousine new] [http://penned.4dq.com/content/free-live-teen.html free live teen webcams] [http://meagre.fadlan.com/html/valedictorian.html valedictorian speeches] [http://bender.got-game.org/great-gift-ideas.html gift gift great idea nostalgic perfect] [http://jovem.zyns.com/topic/crab-leg.html crab leg] [http://penned.4dq.com/content/inuyashas-father.html inuyashas father] [http://civet.ddns.ms/description/22-wall-oven.html 22 wall oven] [http://linens.4mydomain.com/resources/magazine-ads.html ads magazine vintage] [http://jovem.zyns.com/topic/2000-server-support.html 2000 server support window] [http://taste.ftpserver.biz/web/ultima-ii-revlon.html ultima ii revlon] [http://fathom.fadlan.com/view/bicycles.html bicycles] [http://ball.mioforum.com/ ball] [http://otter.got-game.org/leep.html leep] [http://bouts.4dq.com/brooks-college.html brooks college] [http://nimble.4mydomain.com/data/ottawa-map-downtown.html map of downtown ottawa] [http://notify.ddns.us/new/motorcycle-body.html motorcycle body parts] [http://widow.fadlan.com/small/worthington-globe.html worthington daily globe] [http://fathom.fadlan.com/view/real-home-made-amateur.html real home made amateur sex] [http://bundle.fadlan.com/comments/pat-garret.html pat garret] [http://olkneen.fadlan.com/aircraft-navigation.html aircraft navigation systems] [http://breach.my03.com/resources/everpure-filters.html everpure water filter] [http://welkin.4dq.com/new/ovow.html ovow] [http://bouts.4dq.com/body-parts.html body parts] [http://defuse.got-game.org/q/dbz-girls-hentai.html dbz girls hentai] [http://welkin.4dq.com/new/leona.html leona lewis like moment this] [http://rolls.zyns.com/maroon5-mp3.html maroon5 mp3] [http://penned.4dq.com/content/achievement-home.html achievement home school testing] [http://indiana-cdl-test.mioforum.com/ indiana cdl test] [http://strict.ddns.ms/lib/neways-products.html neways products] [http://nessus.mooo.com/view/tip-drill-music.html tip drill music video] [http://linens.4mydomain.com/resources/where-are-you.html where are you christmas] [http://bitten.zyns.com/company-promotional.html company promotional product] [http://pasty.zyns.com/wiki/cheap-tramadol.html cheap tramadol cod] [http://bouts.4dq.com/free-bird-sounds.html free bird sounds] [http://bundle.fadlan.com/comments/black-on-black.html black pussy] [http://meagre.fadlan.com/html/ann-arbor-history.html ann arbor history] [http://sonnet.fadlan.com/isselmann.html isselmann] [http://liest.zyns.com/new/jane-pauly-show.html jane pauly show abc] [http://diseas.4mydomain.com/q/usdot-number.html usdot number] [http://hearts.ddns.us/blog/bossier-city-la.html bossier city la realtors] [http://percy.mooo.com/new/atkins-products.html atkins products] [http://obsolete-transistors.mioforum.com/ obsolete transistors] [http://liest.zyns.com/new/pam-anderson.html free pamela anderson video clip] [http://breach.my03.com/resources/10-things-i-hate.html 10 things i hate about you qoutes] [http://muffl.ddns.ms/data/lita-in-a-thong.html in lita thong wwf] [http://bundle.fadlan.com/comments/mini-bike-review.html mini bike review] [http://freckl.freeddns.com/female-spanked.html female spanked bottoms] [http://rolls.zyns.com/how-to-lay-shingles.html how to lay shingles] [http://hearts.ddns.us/blog/2-beam-meter.html 2 meter beam antenna] [http://fathom.fadlan.com/view/fuse-holders.html fuse holder] [http://liest.zyns.com/new/belleville-rendezvous.html belleville rendezvous lyric] [http://biter.4dq.com/description/radioactive.html radioactive elements list] [http://ferris-wheel.uni-nail.com/ eye ferris malaysia wheel] [http://surse.justdied.com/content/preschool-handwriting.html preschool handwriting worksheets] [http://trunk.got-game.org/blog/pocketpc-phone.html pocketpc phone cingular] [http://bundle.fadlan.com/comments/nba-merchandise.html nba merchandise] [http://devil.4mydomain.com/articles/family-cell-phone.html family cell phone plans] [http://dagger.mooo.com/directory/kelley-blue.html kelley blue book car prices] [http://sonnet.fadlan.com/credit-card-debt.html credit card debt reduction] [http://fingre.freeddns.com/html/eharlequincom.html eharlequin.com] [http://dagger.mooo.com/directory/torrent.html bit torrent] [http://sects.ftpserver.biz/new/jumping-things.html jumping things] [http://taste.ftpserver.biz/sitemap.html sitemap] [http://peruse.zyns.com/comments/blonde-teen-porn.html blonde teen porn] [http://jovem.zyns.com/sitemap.html http] [http://orange-county.mioforum.com/ orange county library] [http://bundle.fadlan.com/comments/business-vsat.html business vsat] [http://hung-studs.mioforum.com/ hung stud] [http://seated.xxxy.info/mood-enhancement.html mood enhancement] [http://comic.ddns.ms/small/emergency-generator.html emergency generator] [http://welkin.4dq.com/new/1968-charger.html 1968 charger] [http://whelp.zyns.com/lib/medford-public.html medford public schools nj] [http://linens.4mydomain.com/sitemap.html http] [http://center-county-drug.voodoo-ref.com/ center county drug rehab ventura] [http://sponge.zyns.com/lib/music-score-for.html music score for brick house] [http://bottle.4dq.com/pages/northern-pike.html northern pike] [http://bitten.zyns.com/arab.html arab sex.tk] [http://minos.mooo.com/text/north-dakota.html north dakota employment] [http://strict.ddns.ms/sitemap.html url] [http://sponge.zyns.com/lib/tobacco-advertising.html tobacco advertising banning] [http://empery.ddns.ms/data/paintball-guns.html tippmann paintball gun] [http://linens.4mydomain.com/resources/marble-subway.html marble subway tile] [http://seven-sisters-waterfall.sugaryblog.com/ seven sisters waterfall and bridal veil] [http://ryan-key-yellowcard.uni-nail.com/ ryan key yellowcard] [http://dagger.mooo.com/sitemap.html url] [http://battle-of-bull.voodoo-ref.com/ battle of bull run] [http://gekrauss.fadlan.com/article/iga-supermarkets.html iga supermarkets australia] [http://pasty.zyns.com/wiki/order-ambien.html order ambien] [http://device.ddns.ms/description/ym.html c login ym] [http://bettre.got-game.org/directory/gay-sex.html his first gay sex] [http://girlfriend-experience.voodoo-ref.com/ experience girlfriend] [http://nessus.mooo.com/view/western-town-college.html western town college] [http://bottle.4dq.com/pages/ask-the-audience.html ask the audience] [http://biter.4dq.com/description/test-products-uk.html test products uk] [http://taste.ftpserver.biz/web/reverse-telephone.html cell phone reverse lookup] [http://rolls.zyns.com/huggies-coupons.html huggies coupons] [http://bouts.4dq.com/map-of-manhattan.html map of manhattan] [http://bitten.zyns.com/professional-audio.html professional audio systems speakers] [http://taste.ftpserver.biz/web/johnson-outboard.html johnson outboard engine] [http://jovem.zyns.com/topic/optical-computer.html optical computer keypads] [http://trunk.got-game.org/blog/the-insanity-test.html the insanity test] [http://hearts.ddns.us/blog/dr-mower.html dr mower] [http://kitchen-knob.uni-nail.com/ kitchen knob] [http://device.ddns.ms/description/rata-inflatiei.html rata inflatiei 2004] [http://defuse.got-game.org/q/average-cost-of.html average cost of petrol] [http://olkneen.fadlan.com/clomid-online.html clomid online] [http://minos.mooo.com/sitemap.html url] [http://whate.freeddns.com/pages/in-the-shadows.html shadow fall] [http://srs-surgery.sugaryblog.com/ srs surgery] [http://bedrid.4mydomain.com/sitemap.html website] [http://surse.justdied.com/content/hitachi-camcorder.html hitachi camcorder batteries] [http://surse.justdied.com/content/forced-smoking.html forced smoking] [http://sunder.got-game.org/web/buy-birkenstocks.html buy birkenstocks] [http://fingre.freeddns.com/html/real-estate-investing.html estate from investing real secret strategic tactical trench] [http://dagger.mooo.com/directory/nod32-antivirus.html nod32 anti virus software] [http://chaud.my03.com/shqip-window-xp.html shqip window xp] [http://taurus.fadlan.com/data/hot-young-girls.html hot young girls preteens] [http://ethiop.got-game.org/mens-tights.html man in tights] [http://dagger.mooo.com/directory/hotgirls-video.html hotgirls video] [http://notify.ddns.us/new/johannson-hotel.html johannson hotel guide] [http://snatch.ddns.us/data/death-row.html death row] [http://widow.fadlan.com/small/rotary-diecutting.html rotary diecutting] [http://whate.freeddns.com/pages/backsplash.html backsplash] [http://refuge.ddns.ms/lib/cheap-hotels-in.html cheap hotels in las vegas] [http://troien.zyns.com/description/bpcs.html bpcs] [http://brisk.zyns.com/wiki/wherever-i-may.html metallica wherever i may roam mp3] [http://rolls.zyns.com/free-e-mail-address.html free e-mail address finder] [http://fathom.fadlan.com/view/game-house.html game house] [http://bowing.ddns.ms/probot-site.html probot site myspace.com] [http://snatch.ddns.us/data/discount-honda.html discount honda accessories] [http://cultured-stone.uni-nail.com/ cultured stone products] [http://bowing.ddns.ms/sitemap.html website] [http://cabock.fadlan.com/styles/1963-cia-relationship.html 1963 cia relationship secret service top u.s.secret] [http://liest.zyns.com/new/plantar-wart.html what cause plantar wart] [http://serendipity-bed.uni-nail.com/ serendipity bed breakfast] [http://nessus.mooo.com/view/hepcat.html hepcat] [http://troien.zyns.com/description/claire-danes-thong.html claire danes thong] [http://hear.zyns.com/html/sequin-texas-newspaper.html sequin texas newspaper] [http://jovem.zyns.com/topic/wind-beneath.html wind beneath my wings song words] [http://nimble.4mydomain.com/data/mobile-internet.html mobile internet connection] [http://lyrics-to-steve.sugaryblog.com/ lyrics to steve miller band] [http://jordan.zyns.com/sitemap.html http] [http://jordan.zyns.com/content/decorative-ceramic.html decorative ceramic wall tiles] [http://defuse.got-game.org/q/selling-innocence.html selling innocence] [http://devil.4mydomain.com/articles/ying-yang.html dangerous lyric twin yang ying] [http://welkin.4dq.com/new/bananna-republic.html banana republic coat] [http://counter-strike-cheats.mioforum.com/ counter strike cheats] [http://necks.mooo.com/text/free-sex-chat.html free sex chat] [http://rased.ddns.ms/new/asian-boob.html asian girl with big boob] [http://strict.ddns.ms/lib/roundup-centre.html roundup centre] [http://bedrid.4mydomain.com/tv-listings-austin.html tv listings austin tx] [http://rolls.zyns.com/wellbutrin-withdrawal.html from wellbutrin withdrawal xl] [http://absey.zyns.com/shawn-ashmore.html shawn ashmore] [http://rooky.ikwb.com/topic/green-eggs-and-ham.html green eggs and ham] [http://ethiop.got-game.org/16-block-german.html 16 block german] [http://love-chat.voodoo-ref.com/ love chat] [http://muffl.ddns.ms/data/won-the-fight.html fight won] [http://balsam-fir.uni-nail.com/ balsam christmas fir wreath] [http://jordan.zyns.com/content/bextra.html bextra] [http://bottle.4dq.com/pages/funky-baby-clothes.html funky baby clothes] [http://online-background.uni-nail.com/ background check comprehensive free online]
{{lang|npc_headcrab_fast}}
{{wrongtitle|title=npc_headcrab_fast}}
[[File:headcrab_fast.jpg|Fast headcrab|right]]
==Entity Description==
{{CD|CFastHeadcrab|file1=npc_headcrab.cpp}}
[[Image:headcrab_fast.jpg|frame|Fast headcrab|right]]
{{this is a|model entity|name=npc_headcrab_fast|game=Half-Life 2 series|game1=Black Mesa}}


Much faster than the [[npc_headcrab|average headcrab]]. They typically infest rotting corpses rather than human hosts, creating the terrifying [[Npc_fastzombie|fast zombies]]. Since the headcrabs move and attack so quickly, they can be thought of as a substitute for the notorious [[monster_snark|snark]] of [[Half-Life 1]]. It is best to place them in small groups to rush the player.
This [[headcrab]] variant is much faster than the [[npc_headcrab|average headcrab]]. They typically infest rotting corpses rather than human hosts, creating the terrifying [[Npc_fastzombie|fast zombies]]. Since the headcrabs move and attack so quickly, they can be thought of as a substitute for the notorious [[monster_snark|snark]] of [[Half-Life 1]]. It is best to place them in small groups to rush the player.
 
{{NPCNote}}


{{npcnote}}
==Dedicated Console Variables==
* '''sk_headcrab_fast_health'''
: <integer> A fast headcrab's spawn health
==Keyvalues==
==Keyvalues==
* {{kv basenpc}}
{{KV Targetname}}
 
{{KV BaseHeadcrab}}
* '''startburrowed'''
:{{bug|Fast headcrabs lack the animations for un/burrowing (only [[Npc_headcrab|classic headcrabs]] have them). Using this setting will cause them to pop up in the air instantly when approached.}}
: {{boolean}}
:{{tip|You can still use this to create ambushes. Simply cover it up with non-[[solid]] clutter, junk or a bit of [[displacement]] ground with collisions disabled.}}
{{KV BaseNPC}}


==Flags==
==Flags==
* {{fl basenpc}}
{{Fl BaseHeadcrab}}
* 65536 : Start hidden
{{Fl BaseNPC}}
* {{ep1 add|131072 :  Start hanging from ceiling}}


==Inputs==
==Inputs==
* {{i basenpc}}
{{I BaseHeadcrab}}
* '''{{ep1 add|StartHangingFromCeiling}}'''
{{I BaseNPC}}
: Start hanging from ceiling.
* '''{{ep1 add|DropFromCeiling}}'''
: Drop if hanging from ceiling.


==Outputs==
==Outputs==
* {{o basenpc}}
{{O BaseNPC}}


{{otherlang:en}}
== Dedicated Console Variables ==
{{otherlang:en:ru|Npc_headcrab_fast:ru}}
{{varcom|start}}
{{varcom|sk_headcrab_fast_health||int|A fast headcrab's spawn health.}}
{{varcom|end}}


[[Category:Entities]][[Category:NPCs]]
[[Category:Half-Life 2 NPCs|H]]
[[Category:Headcrabs]]

Latest revision as of 04:33, 19 May 2025

English (en)Русский (ru)Translate (Translate)
Fast headcrab
C++ Class hierarchy
CFastHeadcrab
CBaseHeadcrab
CAI_BaseNPC
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity
C++ npc_headcrab.cpp

npc_headcrab_fast is a model entity available in Half-Life 2 series Half-Life 2 series and Black Mesa Black Mesa.

This headcrab variant is much faster than the average headcrab. They typically infest rotting corpses rather than human hosts, creating the terrifying fast zombies. Since the headcrabs move and attack so quickly, they can be thought of as a substitute for the notorious snark of Half-Life 1. It is best to place them in small groups to rush the player.

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

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

BaseHeadcrab:

Start burrowed (startburrowed) <boolean>
Should this npc start burrowed? Will unburrow via input or if an enemy gets near.
Note.pngNote:If a headcrab is burrowed, it cannot be damaged. Use Kill input if needing to remove such headcrab.
Icon-Bug.pngBug:Fast headcrabs lack the animations for un/burrowing (only classic headcrabs have them). Using this setting will cause them to pop up in the air instantly when approached.  [todo tested in ?]
Tip.pngTip:You can still use this to create ambushes. Simply cover it up with non-solid clutter, junk or a bit of displacement ground with collisions disabled.
BaseNPC keyvalues

CBaseCombatCharacter:

Relationship (Relationship) <string> !FGD
<string|targetname or classname> <string|disposition> <int|rank>
Changes whether this entity likes or dislikes certain other things. Used like the ai_relationship entity, with this entity as the subject.
Values for disposition are:
  • D_HT: Hate
  • D_FR: Fear
  • D_LI: Like
  • D_NU: Neutral
Physics Impact Damage Scale (physdamagescale) <float>
Multiplier for damage amount when this entity is hit by a physics object. With a value of 0 the entity will take no damage from physics.

CAI_BaseNPC:

Target Path Corner (target) <targetname>
The path_corner that this NPC will move to after spawning.
Squad Name (squadname) <string>
NPCs that are in the same squad (i.e., have matching squad names) will share information about enemies and will take turns attacking and covering each other.
Hint Group (hintgroup) <string>
Hint groups are used by NPCs to restrict their hint-node searching to a subset of the map's hint nodes. Only hint nodes with matching hint group names will be considered by this NPC.
Hint Limit Nav (hintlimiting) <boolean>
Limits NPC to using specified hint group for navigation requests. Does not limit local navigation.
Sleep State (sleepstate) <choices>
Holds the NPC in stasis until specified condition. See also Wake Radius and Wake Squad.
  • 0: None
  • 1: Waiting for threat
  • 2: Waiting for PVS
  • 3: Waiting for input, ignore PVS
  • 4: Auto PVS
  • 5: Auto PVS after PVS
Wake Radius (wakeradius) <float>
Auto-wake if player comes within this distance.
Wake Squad (wakesquad) <boolean>
Wake all of the NPCs squadmates if the NPC is woken.
Enemy Filter (enemyfilter) <targetname>
Filter entity to test targets against.
Ignore unseen enemies (ignoreunseenenemies) <boolean>
Prefers visible enemies, regardless of distance or relationship priority.

DamageFilter:

Damage Filter (damagefilter) <targetname>
Name of the filter_damage_type entity that controls which entities can damage us.

Flags

Start hidden : [65536]
Start hanging from ceiling : [131072]


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

Burrow  !FGD
Burrow. If no burrow points within 512 units, does nothing.
BurrowImmediate  !FGD
Burrow immediate.
Unburrow  !FGD
Unburrow.
StartHangingFromCeiling
Start hanging from ceiling.
DropFromCeiling
Drop if hanging from ceiling.


BaseNPC inputs 

CAI_BaseNPC:

ActivateSpeedModifier  !FGD
DisableSpeedModifier  !FGD
Break
Smash into pieces. If this is not possible, disappear.
BecomeRagdoll  (in all games since Half-Life 2: Episode Two)
Remove itself and instantly become a ragdoll with zero force (just go limp). OnDeath, etc. outputs will NOT be fired.
ForceInteractionWithNPC <string> <string>  (in all games since Half-Life 2: Episode One)
Force the NPC to use a dynamic interaction with another NPC. Syntax is <targetname> <dynamic interaction>.
ForgetEntity <targetnameRedirectInput/string>
Clears out the NPC's knowledge of a named entity.
UpdateEnemyMemory  (in all games since Half-Life 2: Episode One)
Update (or create) this NPC's memory of of the given entity.
GagEnable
GagDisable
Gagged NPCs won't speak (or moan, caw, etc.) unless made to be a choreographed scene.
HolsterWeapon  (in all games since Half-Life 2: Episode One)
UnholsterWeapon  (in all games since Half-Life 2: Episode One)
Force the NPC to holster or unholster their weapon. Ignored if the NPC is scripting or if the NPC doesn't use weapons.
HolsterAndDestroyWeapon  (in all games since Half-Life 2: Episode One)
Same as HolsterWeapon, except the weapon is destroyed once it has been concealed.
IgnoreDangerSounds <floatRedirectInput/float>
Ignore danger sounds for the specified number of seconds.
InsideTransition  !FGD
OutsideTransition  !FGD
SetBodyGroup <integerRedirectInput/integer>
HACK: Sets this NPC's body group (from 0–n).
SetEnemyFilter <stringRedirectInput/string>
SetHealth <integerRedirectInput/integer>
Set the NPC's health.
SetMaxLookDistance <floatRedirectInput/float> (only in Garry's Mod)
Sets the maximum look distance for the NPC. Defaults are 2048 and 6000 for long range NPCs.
SetRelationship <string|targetname or classname> <string|disposition> <int|rank>
Changes whether this NPC likes or dislikes certain others. Used like the ai_relationship entity, with this NPC as the subject.
Values for disposition are:
  • D_HT: Hate
  • D_FR: Fear
  • D_LI: Like
  • D_NU: Neutral
SetSquad <stringRedirectInput/string>
Change the name of this NPC's squad. Leaving the parameter blank will remove the NPC from any existing squad.
StartScripting
StopScripting
Enter/exit scripting state, where NPCs ignore a variety of stimulus that would make them break out of their scripts. They ignore danger sounds, ignore +Use, don't idle speak or respond to other NPCs' idle speech, and so on.
Wake
Wakes up the NPC if it is sleeping.

CBaseCombatCharacter:

KilledNPC  !FGD
Tells the entity it killed something. Despite the name, this can include a player. This input will be automatically sent by the victim when they die.
physdamagescale <floatRedirectInput/float>
Scales damage energy when this character is hit by a physics object. With a value of 0 the NPC will take no damage from physics.

DamageFilter:

SetDamageFilter <stringRedirectInput/string>
Sets the entity to use as damage filter. Pass in an empty string (no parameter) to clear the damage filter.

Outputs

BaseNPC Outputs
OnDamaged
Fired when this NPC takes damage (!activator is the damage inflictor).
OnDamagedByPlayer
Fired when this NPC is hurt by a player (!activator is the attacker or vehicle driver [if friendly fire]).
OnDamagedByPlayerSquad
Fired when this NPC is hurt by a player OR by one of the player's squadmates (!activator is the attacker or vehicle driver [if friendly fire]).
OnDeath
Fired when this NPC is killed (!activator is the killer).
OnDenyCommanderUse
Fired when this NPC has refused to join the player's squad.
OnForcedInteractionAborted
Fired when the NPC aborts a forced interaction for some reason (target NPC died, couldn't be pathed to, etc.).
OnForcedInteractionStarted
Fired when the NPC starts a forced interaction.
OnForcedInteractionFinished
"NPCs in actbusies can no longer perform dynamic interactions."
Todo: What does this mean?
OnHalfHealth
Fired when this NPC reaches half of its maximum health.
OnHearCombat
Fired when this NPC hears combat sounds.
OnHearPlayer
Fired when this NPC hears the player.
OnHearWorld
Fired when this NPC hears a sound (other than combat or the player).
OnFoundEnemy <targetname*RedirectOutput/ehandle>
Fired when this NPC establishes line of sight to its enemy.
OnLostEnemy
Fired when this NPC loses its enemy. Usually due to the enemy being killed/removed, or because this NPC has selected a newer, more dangerous enemy.
OnLostEnemyLOS
Fired when this NPC loses line of sight to its enemy.
OnFoundPlayer <targetname*RedirectOutput/ehandle>
Fired when this NPC establishes line of sight to its enemy, and that enemy is a player.
OnLostPlayer
Fired when this NPC loses its enemy, and that enemy was a player. Usually due to the enemy being killed/removed, or because this NPC has selected a newer, more dangerous enemy.
OnLostPlayerLOS
Fired when this NPC loses line of sight to its enemy, and that enemy is a player.
OnSleep
Fired when this NPC enters a sleep state.
OnWake
Fired when this NPC comes out of a sleep state.

Dedicated Console Variables

Cvar/Command Parameters or default value Descriptor Effect
sk_headcrab_fast_health int A fast headcrab's spawn health.