From Valve Developer Community
Jump to navigation
Jump to search
npc_zombie_blind is a model entity available in
Half-Life: Alyx.
Blind Zombie.
Keyvalues
-
Freezer Target Entity (freezer_target_name) <string>
-
BaseZombie:
-
Can Be Revived (revivable) <boolean>
-
This zombie can be revived by runner headcrabs
-
Spawn as Corpse (waitforrevival) <boolean>
-
This zombie will spawn as a corpse and do nothing while it waits for a revival.
Source 2 BaseNPC
-
Target Path Corner (target) <targetname>
-
If set, the name of a path_corner entity that this NPC will walk 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.
-
If a Hint Group is specified, whether to also allow the use of generic nodes. (allowgenericnodes) <boolean>
-
-
Initial Idle Activity (initialidle) <string>
-
Leftover in FGD.
Activity the NPC should use to idle until becomes alert
-
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 by which to filter potential enemies
-
Ignore unseen enemies (ignoreunseenenemies) <boolean>
-
Prefers visible enemies, regardless of distance or relationship priority.
-
Physics Impact Damage Scale (physdamagescale) <float>
-
Scales damage energy when this object is hit by a physics object. With a value of 0 the NPC will take no damage from physics.
-
Nav Restriction Volume (NavRestrictionVolume) <targetname>
-
Markup volume entity to restrict unit navigation
-
Spawn as Temp Ragdoll (spawnasragdoll) <choices>
-
Specifies if the NPC will spawn as a temporary ragdoll and the behavior after becoming a ragdoll.
- 0: Disabled
- 1: Ragdoll and get up when settled
- 2: Ragdoll and remain ragdoll
-
Use Alt NPC Avoidance (UseAltNpcAvoid) <choices>
-
Specifies if the NPC should be using any algorithm variants when avoiding other NPCs.
-
Preview Animation (DefaultAnim) <sequence>
-
Name of an animation to preview in Hammer, does not do anything in game.
|
Source 2 Transform
Note: These are "Embedded Properties" which are hard-coded to appear on every entity in Hammer, regardless of their presence in any FGD files.
-
Origin (origin) <coordinates>
-
The world space origin of the entity.
-
Angles (angles) <angles>
-
The pitch, yaw, roll orientation of the entity.
-
Scale (scales) <vector>
-
The x, y, z scales of the entity. Not all entities can use this.
-
Transform Locked (transformLocked) <boolean>
-
Lock the transform at its current value, preventing the transform of the node from being modified. Only applies within Hammer.
-
Force Hidden (force_hidden) <boolean>
-
Visually hides the entity from the viewports. The Outliner pane will still list hidden entities.
-
Editor Only (editorOnly) <boolean>
-
Entity is only displayed in Hammer and will not appear in game.
|
Flags
BaseZombie:
- Enable Teleport Blocker : [65536]
- Don't release headcrab upon death : [131072]
Inputs
- SetIdlePath <targetnameRedirectInput/string>
- Path Corner to use when idling
- SetDeafState <booleanRedirectInput/boolean>
- Should the Blind Zombie pay attention to sounds?
- ClearSounds <booleanRedirectInput/boolean>
- Clear the blind zombie sound list
- SetFling <booleanRedirectInput/boolean>
- Blind Zombie swings chest height about out of the way.
- SetInLockIn <stringRedirectInput/string>
- Is the Blind Zombie in a lock in?
- SetInElevator <booleanRedirectInput/boolean>
- Is the Blind Zombie in the elevator.
- SetSuppressMovement <booleanRedirectInput/boolean>
- Allow the blind zombie to react to noise but not locomote.
- HitMark <stringRedirectInput/string>
- Tell the blind zombie he is only interested in getting to this location until he succeeds.
- SetOutsideElevator <booleanRedirectInput/boolean>
- Is the Blind Zombie outside of the elevator (and the player inside).
- SetNearConsole <booleanRedirectInput/boolean>
- Is the Blind Zombie near a combine console.
- SetHeadedToConsole <booleanRedirectInput/boolean>
- Is the Blind Zombie heading toward a combine console.
- SetHeadedToElevator <booleanRedirectInput/boolean>
- Is the Blind Zombie heading toward a elevator.
- SetHeadedToFreezerDoor <booleanRedirectInput/boolean>
- Is the Blind Zombie heading toward a freezer door.
BaseZombie:
- ToggleHead <integerRedirectInput/integer>
- Toggle the Zombie headcrab head on and off (pass 0 or 1)
Source 2 BaseNPC
- OverrideHealth <integerRedirectInput/integer>
- 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
- SetEnemyFilter <stringRedirectInput/string>
- Changes this NPC's enemy filter to the named filter
- SetHealth <integerRedirectInput/integer>
- Set the NPC's health.
- SetBodyGroup <stringRedirectInput/string>
- ets NPC bodygroup. Format is <BodygroupName,index>
- physdamagescale <floatRedirectInput/float>
- Sets the value that scales damage energy when this character is hit by a physics object. NOTE: 0 means this feature is disabled for backwards compatibility.
- Ignite
- Ignite, burst into flames
- IgniteLifetime <floatRedirectInput/float>
- Ignite, with a parameter lifetime.
- IgniteNumHitboxFires <integerRedirectInput/integer>
- Ignite, with a parameter number of hitbox fires.
- IgniteHitboxFireScale <floatRedirectInput/float>
- Ignite, with a parameter hitbox fire scale.
- Break
- Break, smash into pieces
- StartScripting
- Enter scripting state. In this state, 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 NPC's idle speech, and so on.
- StopScripting
- Exit scripting state.
- SetSquad <stringRedirectInput/string>
- Change the name of this NPC's squad. It will be removed from any existing squad automatically. Leaving the parameter blank will remove the NPC from any existing squad.
- Wake
- Wakes up the NPC if it is sleeping.
- ForgetEntity <targetnameRedirectInput/string>
- Clears out the NPC's knowledge of a named entity.
- GagEnable
- Turn on the NPC Gag flag. NPC won't speak outside of choreographed scenes.
- GagDisable
- Turn off the NPC Gag flag.
- IgnoreDangerSounds <floatRedirectInput/float>
- Ignore danger sounds for the specified number of seconds.
- HolsterWeapon
- Force the NPC to holster their weapon. Ignored if the NPC is scripting, if the NPC's weapon is already holstered, or if the NPC doesn't use weapons.
- HolsterAndDestroyWeapon
- Identical to
HolsterWeapon, except the weapon is destroyed once it has been holstered and concealed.
- UnholsterWeapon
- Force the NPC to draw their weapon. Ignored if the NPC is scripting, if the NPC's weapon is already drawn, or if the NPC doesn't use weapons.
- ForceInteractionWithNPC <string> <string>
- Force the NPC to use a dynamic interaction with another NPC. Parameter format: <target NPC name> <dynamic interaction name>
- UpdateEnemyMemory
- Update (or Create) this NPC's memory of an enemy and its location
- BecomeRagdoll
- This NPC will instantly become a ragdoll with ZERO force (just go limp). OnDeath, OnHalfHealth, etc. Outputs will **NOT** BE FIRED.
- BecomeTemporaryRagdoll <floatRedirectInput/float>
- Become a temporary ragdoll that then can be later unrgadolled.
- StopTemporaryRagdoll
- Rise from your grave.
- StopTemporaryRagdollAndSetEnemy <stringRedirectInput/string>
- Rise from your grave to attack an enemy. Animgraph NPCs will turn to face the enemy during their unragdoll. Parameter is the enemy, usually the !activator on the trigger that's firing this input.
- WalkTowardsTarget <targetnameRedirectInput/string>
- Walks towards a target.
- StartResilientPathFollow <stringRedirectInput/string>
- Walks towards the specified path corner. Will resiliently restart the walk if it's interrupted for any reason.
- SetAnimGraphParameter <stringRedirectInput/string>
- SetEasingParameter <stringRedirectInput/string>
- EnableTeleportBuffer
- Enable the teleport buffer around this NPC, if it's been disabled previously.
- DisableTeleportBuffer
- Disable the teleport buffer around this NPC.
- EnableChoreoPhysProxy
- Enable the phys proxy.
- DisableChoreoPhysProxy
- Disable the phys proxy.
|
Outputs
- OnHeardNoise
- Blind Zombie heard a sound
- OnFling
- Blind zombie fling freezer door
- OnHitMark
- Blind zombie hit his mark
- OnBreakDoor
- Blind zombie breaks a door
- OnElevatorBeat
- Blind zombie elevator strike
BaseZombie:
- OnDeathCanRevive
- Fired when a zombie that can be revived gets incapacitated (zero health, killed).
Source 2 BaseNPC
- OnDamaged
- !activator = damage inflictor.
!caller = this entity Fired when this NPC takes damage.
- OnDamagedByPlayer
- !activator = attacker or vehicle driver [if friendly fire].
!caller = this entity Fired when this NPC is hurt by a player.
- OnDamagedByPlayerSquad
- !activator = attacker or vehicle driver [if friendly fire].
!caller = this entity Fired when this NPC is hurt by a player OR by one of the player's squadmates.
- OnDeath
- !activator = killer.
!caller = this entity Fired when this NPC is killed.
- OnDenyCommanderUse
- Fired when this NPC has refused to join the player's squad.
- OnForcedInteractionStarted
- Fired when the NPC starts a forced interaction.
- OnForcedInteractionAborted
- Fired when the NPC aborts a forced interaction for some reason (target NPC died, couldn't be pathed to, etc)
- OnForcedInteractionFinished
- NPCs in actbusies can no longer perform dynamic interactions.
- 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 (outputs entity).
- 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 (outputs player entity).
- 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.
- OnUnragdollFinished
- This NPC just finished getting up after being a ragdoll.
|