prop_surgerybot

From Valve Developer Community
Jump to navigation Jump to search
C++ Class hierarchy
CProp_Qe_SurgeryBot
CBaseAnimating
CBaseEntity
The surgery robot in Questionable Ethics chapter.

prop_surgerybot is a model entity available in Black Mesa Black Mesa. Represents malfunctioning surgery robot from Questionable Ethics chapter. If this entity is turned on, it deals damage and pushes away something when it touches the model (no matter what part of the model is touched) and play active animation. Becomes idle and safe when turned off. Also can create particle effects and beam if this feature is enabled.

Note.pngNote:Only in Black Mesa (mod) Black Mesa (mod) it creates dynamic light for the sparks.

Keyvalues

Start Active (startactive) <choices>
Enable/disable this entity on spawn, doesn't affect the particle effects.
  • 0: No
  • 1: Yes

Inputs

TurnOff <void>
Disabled the robot.
TurnOn <void>
Enable the robot.
Toggle <void> !FGD
Toggles the robot between enabled and disabled states.
StartEffects <void>
Enable the particle effects for sparks. Allows to create electric beam. Creates blood particles in enabled state. Creates jet of steam particles in disabled state.
StopEffects <void>
Disable all the particle effects and electric beam.

Dedicated ConVars

Cvar/Command Parameters or default value Descriptor Effect
sk_prop_surgerybot_force 400 Float The amount of force for push.
sk_prop_plr_damage 55 Float The amount of damage to deal when touched.