Prop thumper: Difference between revisions

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


==Entity description==
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.}}
 
{{KV|World model|studio|Select the model for the thumper. (Suggested model: models/props_combine/CombineThumper002.mdl)}}
 
{{KV|Dust Scale|choices|Size of the dust.}}
:{| class=standard-table
:{| class=standard-table
! Literal Value || Description
! Literal Value || Description
Line 23: Line 19:
|}
|}


==Inputs==
== Inputs ==
{{I Targetname}}
{{I|Enable|Enable Thumper.}}
 
{{I|Disable|Disable Thumper.}}
{{IO|Enable|Enable Thumper.|}}
 
{{IO|Disable|Disable Thumper.|}}


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


==Outputs==
== See also ==
{{O Targetname}}
* {{ent|npc_antlion}}
{{IO|OnThumped|Fired whenever the hammer hits the ground and triggers the effects.}}


==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