Env dustpuff: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed thumbnail image.)
mNo edit summary
Line 6: Line 6:


==Keyvalues==
==Keyvalues==
{{KV|Scale (scale)|float|Size of the dust puff.}}
{{KV|Scale|intn=scale|float|Size of the dust puff.}}
{{KV|Speed (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 (color)|color255|Color of the dust particles.}}
{{KV|Dust color|intn=color|color255|Color of the dust particles.}}
{{KV BaseEntity|css=1}}
{{KV BaseEntity|css=1}}


Line 16: Line 16:


==Outputs==
==Outputs==
{{O BaseEntity|l4d=1}}
{{O BaseEntity}}

Revision as of 14:59, 20 September 2022

English (en)中文 (zh)Translate (Translate)
9 default env_dustpuff spawning puffs of dust.

Template:Base point It can emit dust puffs. The size and transparency of the puffs of dust cannot be controlled, but puff's dust color is adjustable.

C++ In code, it is represented by theCEnvDustPuffclass, defined in thefunc_dust.cppfile.

Keyvalues

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.


Outputs