Npc clawscanner: Difference between revisions
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.
mNo edit summary |
m (minoro) |
||
Line 1: | Line 1: | ||
{{wrongtitle|title=npc_clawscanner}} | {{wrongtitle|title=npc_clawscanner}} | ||
==Entity | == Entity description == | ||
[[Image:Combine scanner.jpg|frame|right | [[Image:Combine scanner.jpg|frame|right|Claw Scanner]] | ||
A Claw/Shield scanner. | A Claw/Shield scanner. | ||
{{npcnote}} | {{npcnote}} | ||
==Dedicated | == Dedicated CVars == | ||
* '''sk_scanner_health''' | * '''sk_scanner_health''' | ||
: <integer> A scanner's spawn health | : <integer> A scanner's spawn health | ||
Line 13: | Line 13: | ||
: <integer> | : <integer> | ||
==Keyvalues== | == Keyvalues == | ||
* {{kv basenpc}} | * {{kv basenpc}} | ||
* '''spotlightlength''' | * '''spotlightlength''' | ||
: <integer> | : <integer> | ||
* '''spotlightwidth''' | * '''spotlightwidth''' | ||
: <integer> | : <integer> | ||
* '''spotlightdisabled''' | * '''spotlightdisabled''' | ||
: {{boolean}} | : {{boolean}} | ||
* '''ShouldInspect''' | * '''ShouldInspect''' | ||
: {{boolean}} | : {{boolean}} | ||
* '''OnlyInspectPlayers''' | * '''OnlyInspectPlayers''' | ||
: {{boolean}} | : {{boolean}} | ||
* '''NeverInspectPlayers''' | * '''NeverInspectPlayers''' | ||
: {{boolean}} | : {{boolean}} | ||
==Flags== | == Flags == | ||
* {{fl basenpc}} | * {{fl basenpc}} | ||
* 65536 : No Dynamic Light | * 65536 : No Dynamic Light | ||
Line 41: | Line 34: | ||
: This scanner moves faster and follows an [[npc_strider]] | : This scanner moves faster and follows an [[npc_strider]] | ||
==Inputs== | == Inputs == | ||
* {{i basenpc}} | * {{i basenpc}} | ||
* '''DisableSpotlight''' | * '''DisableSpotlight''' | ||
* '''InspectTargetPhoto <target_name_or_class>''' | * '''InspectTargetPhoto <target_name_or_class>''' | ||
: Tells the scanner to photograph the given entity, named by classname or by target name. !activator or !player works here also. | : Tells the scanner to photograph the given entity, named by classname or by target name. !activator or !player works here also. | ||
* '''InspectTargetSpotlight <target_name_or_class>''' | * '''InspectTargetSpotlight <target_name_or_class>''' | ||
: Tells the scanner to spotlight the given entity, named by classname or by target name. !activator or !player works here also. | : Tells the scanner to spotlight the given entity, named by classname or by target name. !activator or !player works here also. | ||
* '''SetFlightSpeed <integer>''' | * '''SetFlightSpeed <integer>''' | ||
: Sets the flight speed of the scanner | : Sets the flight speed of the scanner | ||
* '''InputShouldInspect <[[boolean]]>''' | * '''InputShouldInspect <[[boolean]]>''' | ||
: Set whether should inspect or not | : Set whether should inspect or not | ||
* '''SetFollowTarget <target_name_or_class>''' | * '''SetFollowTarget <target_name_or_class>''' | ||
: Set target to follow until told otherwise | : Set target to follow until told otherwise | ||
* '''ClearFollowTarget''' | * '''ClearFollowTarget''' | ||
: Stop following our target | : Stop following our target | ||
* '''SetDistanceOverride <float>''' | * '''SetDistanceOverride <float>''' | ||
: Override the distance the scanner will attempt to keep between inspection targets and itself | : Override the distance the scanner will attempt to keep between inspection targets and itself | ||
* '''DeployMine''' | * '''DeployMine''' | ||
: Drop landmine (if carrying one) | : Drop landmine (if carrying one) | ||
* '''EquipMine''' | * '''EquipMine''' | ||
: Equip with landmine | : Equip with landmine | ||
==Outputs== | == Outputs == | ||
* {{o basenpc}} | * {{o basenpc}} | ||
* '''OnPhotographPlayer''' | * '''OnPhotographPlayer''' | ||
: Fired any time the scanner takes a picture of the player. {{plact}} | : Fired any time the scanner takes a picture of the player. {{plact}} | ||
* '''OnPhotographNPC''' | * '''OnPhotographNPC''' | ||
: Fired any time the scanner takes a picture of an [[NPC]]. {{activator|NPC}} | : Fired any time the scanner takes a picture of an [[NPC]]. {{activator|NPC}} | ||
[[Category:Half-Life 2: Episode One Entities]][[Category:NPCs]] | [[Category:Half-Life 2: Episode One Entities]] | ||
[[Category:NPCs]] |
Revision as of 03:47, 11 February 2008
Entity description
A Claw/Shield scanner.

Dedicated CVars
- sk_scanner_health
- <integer> A scanner's spawn health
- sk_scanner_dmg_dive
- <integer>
Keyvalues
- Template:Kv basenpc
- spotlightlength
- <integer>
- spotlightwidth
- <integer>
- spotlightdisabled
- <boolean>
- ShouldInspect
- <boolean>
- OnlyInspectPlayers
- <boolean>
- NeverInspectPlayers
- <boolean>
Flags
- Template:Fl basenpc
- 65536 : No Dynamic Light
- 131072 : Strider Scout Scanner
- This scanner moves faster and follows an npc_strider
Inputs
- Template:I basenpc
- DisableSpotlight
- InspectTargetPhoto <target_name_or_class>
- Tells the scanner to photograph the given entity, named by classname or by target name. !activator or !player works here also.
- InspectTargetSpotlight <target_name_or_class>
- Tells the scanner to spotlight the given entity, named by classname or by target name. !activator or !player works here also.
- SetFlightSpeed <integer>
- Sets the flight speed of the scanner
- InputShouldInspect <boolean>
- Set whether should inspect or not
- SetFollowTarget <target_name_or_class>
- Set target to follow until told otherwise
- ClearFollowTarget
- Stop following our target
- SetDistanceOverride <float>
- Override the distance the scanner will attempt to keep between inspection targets and itself
- DeployMine
- Drop landmine (if carrying one)
- EquipMine
- Equip with landmine
Outputs
- Template:O basenpc
- OnPhotographPlayer
- Fired any time the scanner takes a picture of the player. Template:Plact
- OnPhotographNPC
- Fired any time the scanner takes a picture of an NPC. (!activator is the NPC)