Эта статья документации для всего, что использует платформу Source. Нажмите для получения дополнительной информации.

func_dustmotes

From Valve Developer Community
< Ru
Revision as of 15:24, 3 December 2024 by Darkness8163 (talk | contribs) (Created page with "{{subst:#if: Translation of 'Func dustmotes' to 'русский' via Template:LanguageBar buttons * * * * * * * * * * * * * * * * * * * * * * * * * * * *...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{subst:#if:|||

Important step for replacing wikilinks after you've created this page

After you click 'Edit' do what the image shows. If you can't see editing toolbar you need to enable it in 'Preferences' -> Editing -> checkbox 'Enable the editing toolbar'

Preload - Language Links Replace.jpg
См. также:  {{LAuto}}

--- DON'T JUST BLINDLY DELETE THIS PART. DO REPLACE THE LINKS AND CATEGORIES. THE PICTURE SHOWS HOW TO USE IT ! ---

SEARCH FOR: \[\[(?!#|File(?:[ _]talk)?:|Image(?:[ _]talk)?:|Media:|Template(?:[ _]talk)?:|MediaWiki(?:[ _]talk)?:|Talk:|Category[ _]talk:|Project[ _]talk:|Valve[ _]Developer[ _]Community[ _]talk:|Help[ _]talk:|User(?:[ _]talk)?:|c:|commons:|Dictionary:|Google:|GoogleGroups:|IMDB:|M:|Meta:|Metawikipedia:|MW:|SdkBug:|SourceForge:|Steampowered:|W:|Wiki:|WikiBooks:|Wikipedia:|Wikiquote:|Wiktionary:|WP:)(:?(?:Category|Category|Help|Project|Valve[ _]Developer[ _]Community|Special|)(?:[^\|\]]+))(\|?.*?)\]\]

REPLACE WITH: {{subst:LAuto|$1$2}}

}}
Under construction.png
This page is actively undergoing a major edit.
As a courtesy, please do not edit this while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.

The person who added this notice will be listed in its edit history should you wish to contact them.

Info content.png
This page needs to be translated.
This page either contains information that is only partially or incorrectly translated, or there isn't a translation yet.
If this page cannot be translated for some reason, or is left untranslated for an extended period of time after this notice is posted, the page should be requested to be deleted.
Also, please make sure the article complies with the alternate languages guide.(en)
English (en)Русский (ru)Translate (Translate)
A func_dustmotes in cs_militiaCounter-Strike: Source.
C++ Классовая структура
CFunc_DustMotes
CFunc_Dust
CBaseEntity
C++ func_dust.cpp

func_dustmotes - это брашевая энтити(en), доступно для всех игр на движке Source Source. It spawns sparkling dust motes within its volume.

Note.pngПримечание:This entity is affected by env_wind. The dustmotes can be carried through walls.
Note.pngПримечание:The default material is particle/sparkles.vmt. It is normally extremely low-res, so consider overriding this .vmt for improved appearance.
Note.pngПримечание:This entity is functionally identical to func_dustcloud except that the size of sprites created by func_dustcloud will scale realistically depending on the viewing distance, and ones created by this entity will always take up the same amount of screen space regardless of viewing distance.

Keyvalues

Name(en) (targetname) <объект источник(en)>
Имя объекта, по которому другие объекты могут ссылаться на этот объект, через Входы/Выходы(en) или другие ключ-параметры(en) (например parentname или target).
Также отображаются на 2D-видах в Hammer и Отчёте об объектах (Entity Report)(en).
См. также:  Основные ключ-параметры, входы и выходы доступные для всех объектов
Minimum Particle Size (SizeMin) <строка(en)>
Minimum size a dust mote should be. The units aren't exactly clear, but 100 is the highest you should probably be going.
Maximum Particle Size (SizeMax) <строка(en)>
Maximum size a dust mote should be.
Alpha (Alpha) <целое число(en)>
Transparency of the particles. 255 is fully opaque, 0 is invisible (won't render at all).
Affected By Wind (AffectedByWind) <булева переменная(en)> (Во всех играх начиная с Counter-Strike: Global Offensive)
Sets if dust particles are affected by wind.
BModelParticleSpawner:
Start Disabled (StartDisabled) <булева переменная(en)>
Suspend spawning particles after spawning ? Default value is 0
Particle Color (R G B) (Color) <цвет КЗС(en)>
Color of the particles.
Particle Per Second (SpawnRate) <целое число(en)>
Number of particles to spawn, per second.
Note.pngПримечание:Fourth number effects transparency after reload.
Maximum Particle Speed (SpeedMax) <строка(en)>
Maximum speed that the particles can move after spawning.
Minimum Particle Lifetime (LifetimeMin) <строка(en)>
Minimum number of seconds until each particle dies. Particles live for a random duration between this and 'Maximum Particle Lifetime'.
Maximum Particle Lifetime (LifetimeMax) <строка(en)>
Maximum number of seconds until each particle dies. Particles live for a random duration between 'Minimum Particle Lifetime' and this.
Maximum Visible Distance (DistMax) <целое число(en)>
Maximum distance at which particles are visible. They fade to translucent at this distance.
Frozen (Frozen) <булева переменная(en)>
Spawn the number of particles in SpawnRate immediately, and then go inactive ? Default value is 0


Inputs

BModelParticleSpawner:
TurnOn
Turn on.
TurnOff
Turn off.

See Also