Prop thumper: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(-added class hierarchy, activator/caller, intn)
 
(9 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:prop_thumper}}
{{CD|CPropThumper|file1=1}}
[[File:AntlionThumper.jpg|thumb|300px|The Thumper in Half-Life 2.]]
{{this is a|point entity|name=prop_thumper|game=Half-Life 2 series}}  


[[{{ns:6}}:AntlionThumper.jpg|thumb|300px|The Thumper in Half-Life 2.]]
{{hl2 point|prop_thumper}}
An animated prop consisting of a cylinder that pounds the ground, to ward off [[antlion]]s.
An animated prop consisting of a cylinder that pounds the ground, to ward off [[antlion]]s.


{{Note|This prop includes all the sounds and dust effects, no additional entities are needed.}}
{{Note|This prop includes all the sounds and dust effects, no additional entities are needed.}}


==Keyvalues==
== Keyvalues ==
 
{{KV Targetname}}
* {{KV Targetname}}
{{KV Model|default model=models/props_combine/CombineThumper002.mdl}}
* {{KV Angles}}
{{KV|Dust Scale|intn=dustscale|choices|Size of the dust.}}
* '''model'''
: <studio> World model - Suggested model: models/props_combine/CombineThumper002.mdl
* '''dustscale'''
: <integer> Dust Scale - can be any unsigned integer
:{| class=standard-table
:{| class=standard-table
! Literal Value || Description
! Literal Value || Description
Line 23: Line 19:
|}
|}


==Inputs==
== Inputs ==
 
{{I|Enable|Enable Thumper.}}
* {{I Targetname}}
{{I|Disable|Disable Thumper.}}
* '''Enable'''
: Enable Thumper
* '''Disable'''
: Disable Thumper


==Outputs==
== Outputs ==
{{O|OnThumped|ac-is-this=1|Fired whenever the hammer hits the ground and triggers the effects.}}


* {{O Targetname}}
== See also ==
* {{ent|npc_antlion}}


==See also==
[[Category:Prop entities|thumper]]
* [[npc_antlion]]

Latest revision as of 03:35, 2 June 2025

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.

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>[ Edit ]
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>[ Edit ]
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 specified this 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