prop_thumper

From Valve Developer Community
Jump to navigation Jump to search
C++ Class hierarchy
CPropThumper
CBaseAnimating
CBaseEntity
C++ prop_thumper.cpp
The Thumper in Half-Life 2.

prop_thumper is a point entity available in Half-Life 2 series Half-Life 2 series.

Warning.pngWarning:
  • The {{{game}}} parameter is inconsistent with the name defined by the {{Half-Life 2 series}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to something like GoldSrc.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

An animated prop consisting of a cylinder that pounds the ground, to ward off antlions.

Note.pngNote:This prop includes all the sounds and dust effects, no additional entities are needed.

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
World Model (model) <model path>
In-game 3D representation of the entity to display. This is the path to a MDL relative to the game's root directory. (128 character limit)
If no model is specified, it defaults to models/props_combine/CombineThumper002.mdl.
Dust Scale (dustscale) <choices>
Size of the dust.
Literal Value Description
128 Small Thumper
256 Large Thumper

Inputs

Enable
Enable Thumper.
Disable
Disable Thumper.

Outputs

OnThumped
!activator = !caller = this entity
Fired whenever the hammer hits the ground and triggers the effects.

See also