npc_securitybot
Jump to navigation
Jump to search
Note: Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.
npc_securitybot is a model entity available in
SiN Episodes. It is a hostile flying robot NPC shooting pulse projectiles at the enemies. Similar to the cut npc_mortarsynth from Half-Life 2.
- This is a flying NPC that uses info_node_air, info_node_air_hint or path_tracks for AI navigation.
Entity description
This NPC uses air nodes to navigate. If alerted with no enemies, it starts patrolling the area. Before shooting at the enemy it flies closer and moves away if this enemy tries to get closer. Has its own projectile entity (name). The implementation of the enemy is similar to the cut npc_mortarsynth entity and shares some functionality of the npc_cscanner, both from Half-Life 2. This entity has no unique Outputs and is used in the official campaign.
Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
- voice group name (voicegroupname) <choices>
- Which voice the NPC should use to speak his sentences. (Does not work):
: None_A: A_B: B_C: C_D: D_ELITE: Elite
- Invulnerable (invulnerable) <integer>
- Invulnerable or not.
- Should inspect (ShouldInspect) <boolean>
- Only Inspect Players (OnlyInspectPlayers) <boolean>
- The scanner will inspect the player and ignore other NPCs.
- Never Inspect Players (NeverInspectPlayers) <boolean>
- The scanner will ignore the player.
Inputs
- DeployMine
- Drop landmine. (if carrying one)
- EquipMine
- Equip with landmine
- InspectTargetPhoto
- Tells the scanner to photograph the given entity, named by classname or by target name. !activator or !player works here also.
- InputSetFlightSpeed
- Sets the flight speed of the scanner.
- InputShouldInspect
- Set whether should inspect or not.
- SetFollowTarget
- Set target to follow until told otherwise.
- ClearFollowTarget
- Stop following our target.
- SetDistanceOverride
- Override the distance the scanner will attempt to keep between inspection targets and itself.
Note: These inputs do work for this NPC, but some things like DeployMinemay cause some errors because of the missing combine_mine model in game.