monster_scientist

From Valve Developer Community
Jump to: navigation, search
Monster scientist.png

<Half-Life> <Half-Life:Opposing Force> <Half-Life: Blue Shift> monster_scientist is a point entity available in Half-Life, and its expansions Half-Life: Opposing Force and Half-Life: Blue Shift.

Entity description

The Black Mesa science personnel. They can follow the player and administer weak antidote for wounds. They're sometimes required in gameplay for access to otherwise restricted areas through retinal scanners.

Note:Using the "Pre-Disaster" spawnflag will make this entity refuse to follow the player.

Keyvalues

Note:Some keyvalues, flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.
Body <choices>
Only difference is appearance. Some alter the pitch of the sentences they speak.
Value Description
-1 Random
0 Walter
1 Einstein
2 Luther
3 Slick

TalkMonster:

Use Sentence <string>
The name of a sentence that plays when the player brings the NPC into their group. Example: "All right let's go, I didn't wanna die alone anyway."
Un-Use Sentence <string>
The name of a sentence that plays when the player removes the NPC from their group. Example: "All right, I'll stay right here."

Monster:

TriggerTarget <string>
Name of entity to target when the trigger conditions are met.
Trigger Condition <choices>
Condition to use for TriggerTarget
  • 0 : "No Trigger"
  • 1 : "See Player, Mad at Player"
  • 2 : "Take Damage"
  • 3 : "50% Health Remaining"
  • 4 : "Death"
  • 7 : "Hear World"
  • 8 : "Hear Player"
  • 9 : "Hear Combat"
  • 10: "See Player Unconditional"
  • 11: "See Player, Not In Combat"

Target:

Target <target_destination>
The targetname of the first path_corner in a path this monster will move to when spawned.

Targetname:

Name <target_source>
The targetname that other entities refer to this entity by.

Render FX Choices:

Render FX <choices>
Render FX mode to use, for special effects.
  • 0: "Normal"
  • 1: "Slow Pulse"
  • 2: "Fast Pulse"
  • 3: "Slow Wide Pulse"
  • 4: "Fast Wide Pulse"
  • 9: "Slow Strobe"
  • 10: "Fast Strobe"
  • 11: "Faster Strobe"
  • 12: "Slow Flicker"
  • 13: "Fast Flicker"
  • 5: "Slow Fade Away"
  • 6: "Fast Fade Away"
  • 7: "Slow Become Solid"
  • 8: "Fast Become Solid"
  • 14: "Constant Glow"
  • 15: "Distort"
  • 16: "Hologram (Distort + fade)"

Renderfields:

Render Mode <choices>
Render Mode to use.
  • 0: "Normal"
  • 1: "Color"
  • 2: "Texture"
  • 3: "Glow"
  • 4: "Solid"
  • 5: "Additive"
FX Amount (1-255) <integer>
Controls transparency when using another render mode then normal. 0 is completely invisible, and 255 is opaque.
FX Color (R G B) <color255>
Color to use by the specified render mode.


Angles:

Pitch Yaw Roll (Y Z X) <angle>
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.

GoldSrc flags

  • 1 : Wait Till Seen
  • 2 : Gag (No IDLE sounds until angry)
  • 4 : MonsterClip
  • 8 : No wreckage
  • 16 : Prisoner
  • 64 : Start inactive
  • 128 : Wait for script
  • 256 : Pre-disaster (only for use with monster_scientist and monster_barney -- has no effect on aliens).
  • 512 : Fade corpse
  • 2048 : Not in Deathmatch (some entities don't have this set in their FGD, but it works for all entities if set).