npc_hologram

From Valve Developer Community
Jump to navigation Jump to search
List of SE1 entities
Hologram of Elexis Sinclaire on se1_highrise02.

npc_hologram is a model entity available in SiN Episodes SiN Episodes. It is a neutral non-solid NPC that is used in the campaign for the Elexis Sinclare appearances in the game.

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

Entity description

A fully functional NPC with a unique effect attached to it. (Similar to the "Hologram (Distort + Fade)" Render FX mode). This NPC is disabled by default and needs a HologramOn Input to make the NPC visible. This NPC is non-solid, but emits light and sets a flickering effect for its model when a player touches it. Doesn't have any default model set for it, but the game has a specific hologram version of Elexis Sinclaire, any other model can be set for the entity too.

Keyvalues

Name (targetname) <string>
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
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.
World Model (model) <model path>
Empty by default, recommended to use models/characters/Elexis/elexis_holo.mdl.
Skin (skin) <integer>
Some models have multiple versions of their textures, called skins. Set this to a number other than 0 to use that skin instead of the default or -1 for a random skin.

Outputs

HologramOnDone
Fires when the hologram's turn-on effect is finished playing.
HOlogramOffDone
Fires when the hologram's turn-off effect is finished playing.

Inputs

HologramOn
Turn the hologram on.
HologramOff
Turn the hologram off.