This article's documentation is for anything that uses the Source engine. Click here for more information.

Env dustpuff: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(-added class hierarchy)
 
(50 intermediate revisions by 27 users not shown)
Line 1: Line 1:
acbodelr
{{LanguageBar}}
{{wrongtitle|title=env_dustpuff}}
[[File:Env_dustpuff.gif|thumb|270px|9 default <code>env_dustpuff</code> spawning puffs of dust.]]
{{CD|CEnvDustPuff|file1=func_dust.cpp}}
{{this is a|point entity|name=env_dustpuff}} It can emit dust puffs. The size and transparency of the puffs of dust cannot be controlled, but puff's dust color is adjustable.


==Entity Description==
An entity that can emit dust puffs.
==Availability==
{{in game|point}} {{game-base}}
{{in code|class=class_c_env_dust_puff.html CEnvDustPuff|file=func__dust_8cpp-source.html func_dust.cpp}}


==Keyvalues==
==Keyvalues==
*{{kv Targetname}}
{{KV Targetname}}
*{{kv Parentname}}
{{KV|Scale|intn=scale|float|Size of the dust puff.}}
*{{kv Angles}}
{{KV|Speed|intn=speed|float|Speed at which the dust particles should move.}}
*'''scale'''
{{KV|Dust color|intn=color|color255|Color of the dust particles.}}
:<float> Size of the dust puff.
*'''speed'''
:<float> Speed at which the dust particles should move.
*'''color'''
:<[[color255]]> Spawn a dust puff.


<!--This entity doesn't have any flags.-->
==Inputs==
==Inputs==
*{{i Targetname}}
{{I|SpawnDust|Spawn a dust puff.}}
*{{i Parentname}}
 
==Outputs==
*{{o Targetname}}
 
[[Category:Entities]]

Latest revision as of 05:48, 19 May 2025

English (en)中文 (zh)Translate (Translate)
9 default env_dustpuff spawning puffs of dust.
C++ Class hierarchy
CEnvDustPuff
CPointEntity
CBaseEntity
C++ func_dust.cpp

env_dustpuff is a point entity available in all Source Source games. It can emit dust puffs. The size and transparency of the puffs of dust cannot be controlled, but puff's dust color is adjustable.


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

Scale (scale) <float>
Size of the dust puff.
Speed (speed) <float>
Speed at which the dust particles should move.
Dust color (color) <color255>
Color of the dust particles.

Inputs

SpawnDust
Spawn a dust puff.