Env dusttrail: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(-added class hierarchy) |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ent not in fgd}} | {{ent not in fgd}} | ||
{{ | {{CD|DustTrail|file1=smoke_trail.cpp}} | ||
{{this is a|point entity|name=env_dusttrail}} It spawns dust clouds, but lacks any ability to be enabled or disabled. {{ent|env_dustpuff}} is a good alternative. To make this an actual ''trail'' of dust, it must be parented to something. | |||
==FGD Code== | |||
<pre>@PointClass base(Targetname, Parentname, Angles) size(-8 -8 -8, 8 8 8) = env_dusttrail : | <pre>@PointClass base(Targetname, Parentname, Angles) size(-8 -8 -8, 8 8 8) = env_dusttrail : | ||
"An entity that emits dust 'trails' upon spawning. Unfinished and lacks enabling/disabling functionality." | "An entity that emits dust 'trails' upon spawning. Unfinished and lacks enabling/disabling functionality." |
Latest revision as of 05:48, 19 May 2025
![]() |
---|
DustTrail |
![]() |
env_dusttrail
is a point entity available in all Source games. It spawns dust clouds, but lacks any ability to be enabled or disabled. env_dustpuff is a good alternative. To make this an actual trail of dust, it must be parented to something.
FGD Code
@PointClass base(Targetname, Parentname, Angles) size(-8 -8 -8, 8 8 8) = env_dusttrail : "An entity that emits dust 'trails' upon spawning. Unfinished and lacks enabling/disabling functionality." [ opacity(float) : "Opacity" : 255 : "The opacity of the dust trails." spawnrate(float) : "Spawn Rate" : 10 : "Speed at which the dust trails spawn." lifetime(float) : "Lifetime" : 5 : "The time before the entity restarts, in seconds." minspeed(float) : "Min Speed" : 2 : "Minimum speed of the dust trails." maxspeed(float) : "Max Speed" : 4 : "Maximum speed of the dust trails." mindirectedspeed(float) : "Min Directed Speed" : 0 : "Minimum directed speed of the dust trails." maxdirectedspeed(float) : "Max Directed Speed" : 0 : "Maximum directed speed of the dust trails." startsize(float) : "Start Size" : 35 : "Minimum size of the dust trails." endsize(float) : "End Size" : 55 : "Maximum size of the dust trails." spawnradius(float) : "Spawn Radius" : 2 : "Spawn radius of dust trails." ]