Env dusttrail: Difference between revisions
Jump to navigation
Jump to search

m (removed {{DISPLAYTITLE}}, covered by the base point template) |
(updates) |
||
Line 1: | Line 1: | ||
{{ | {{lang|Env dusttrail}} | ||
{{ent not in fgd}} | {{ent not in fgd}} | ||
{{base point|env_dusttrail}} | {{base point|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. | ||
{{code class|DustTrail|smoke_trail.cpp}} | |||
==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." |
Revision as of 17:07, 23 September 2018


Template:Base point 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." ]