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
m ({{this is a}})
(-added class hierarchy)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{lang|Env dustpuff}}
{{LanguageBar}}
[[File:Env_dustpuff.gif|thumb|270px|9 default <code>env_dustpuff</code> spawning puffs of dust.]]
[[File:Env_dustpuff.gif|thumb|270px|9 default <code>env_dustpuff</code> spawning puffs of dust.]]
{{this is a|name=env_dustpuff|e0}} It can emit dust puffs. The size and transparency of the puffs of dust cannot be controlled, but puff's dust color is adjustable.
{{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.


{{code class|CEnvDustPuff|func_dust.cpp}}


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV|Scale|intn=scale|float|Size of the dust puff.}}
{{KV|Scale|intn=scale|float|Size of the dust puff.}}
{{KV|Speed|intn=speed|float|Speed at which the dust particles should move.}}
{{KV|Speed|intn=speed|float|Speed at which the dust particles should move.}}
{{KV|Dust color|intn=color|color255|Color of the dust particles.}}
{{KV|Dust color|intn=color|color255|Color of the dust particles.}}
{{KV Targetname}}


==Inputs==
==Inputs==
{{IO|SpawnDust|Spawn a dust puff.}}
{{I|SpawnDust|Spawn a dust puff.}}

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.