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

Ru/Func dustmotes: Difference between revisions

From Valve Developer Community
< Ru
Jump to navigation Jump to search
(Created page with "{{subst:#if: Translation of 'Func dustmotes' to 'русский' via Template:LanguageBar buttons * * * * * * * * * * * * * * * * * * * * * * * * * * * *...")
 
(Статья переведена на русский язык по заказу sikey234)
Line 1: Line 1:
{{subst:#if:|||{{LAuto/t}}
{{wip}}{{translate}}
 
--- 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}}
 
}}{{wip}}{{translate}}
{{LanguageBar}}
{{LanguageBar}}
[[File:Func_dustmotes_example_css.jpg|thumb|right|260px|A <code>func_dustmotes</code> in <code>cs_militia</code>{{css}}.]]
[[File:Func_dustmotes_example_css.jpg|thumb|right|260px|<code>func_dustmotes</code> на карте <code>cs_militia</code>{{css}}.]]
{{CD|CFunc_DustMotes|file1=1}}
{{CD|CFunc_DustMotes|file1=1}}
{{this is a|brush entity|name=func_dustmotes}} It spawns sparkling dust motes within its volume.{{sfx_brush}}
{{this is a|brush entity|name=func_dustmotes}} Создаёт блестящие частицы пыли внутри своего объёма.{{sfx_brush}}


{{note|This entity is affected by {{ent|env_wind}}. The dustmotes can be carried through walls.}}
{{note|На эту энтити влияет {{L|env_wind}}. Пылинки могут быть пронесены через стены.}}


{{note|The default [[material]] is <code>particle/sparkles.vmt</code>. It is normally extremely low-res, so consider overriding this .[[vmt]] for improved appearance.}}
{{note|Стандартный {{L|material|материал}} - <code>particle/sparkles.vmt</code>. Он в низком разрешении, так что рассмотрите возможность замены этого {{L|vmt}} для улучшения внешнего вида.}}


{{note|This entity is functionally identical to {{ent|func_dustcloud}} except that the size of sprites created by <code>func_dustcloud</code> 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.}}
{{note|Эта энтити функциональна идентична {{L|func_dustcloud}} за исключением того, что размер спрайтов, созданных <code>func_dustcloud</code> будет реалистично изменяться в зависимости от расстояния, на котором находится наблюдатель. Спрайты, созданные этой энтити, всегда будут одного размера на экране вне зависимости от расстояния наблюдения..}}


==Keyvalues==
==Параметры==
{{KV Targetname}}
{{KV Targetname}}
{{KV|Minimum Particle Size|intn=SizeMin|string|Minimum size a dust mote should be. The units aren't exactly clear, but 100 is the highest you should probably be going.}}
{{KV|Minimum Particle Size|intn=SizeMin|string|Минимальный размер пылинки. Единицы измерения неясны. 100 - максимальное значение, которое желательно использовать.}}
{{KV|Maximum Particle Size|intn=SizeMax|string|Maximum size a dust mote should be.}}
{{KV|Maximum Particle Size|intn=SizeMax|string|Максимальный размер пылинки.}}
{{KV|Alpha|intn=Alpha |integer|Transparency of the particles. 255 is fully opaque, 0 is invisible (won't render at all).}}
{{KV|Alpha|intn=Alpha |integer|Прозрачность частиц. 255 - полная непрозрачность, а 0 - невидимость (не будет отрисовываться вообще).}}
{{KV|Affected By Wind|intn=AffectedByWind|boolean|since=CSGO|Sets if dust particles are affected by wind.}}
{{KV|Affected By Wind|intn=AffectedByWind|boolean|since=CSGO|Устанавливает влияние ветра на частицы пыли.}}
{{KV BModelParticleSpawner}}
{{KV BModelParticleSpawner}}
{{todo|Перевести темплейт KV ModelParticleSpawner}}


==Inputs==
==Инпуты==
{{I BModelParticleSpawner}}
{{I BModelParticleSpawner}}
{{todo|Перевести темплейт I BModelParticleSpawner}}


== See Also ==
== См. также ==
* {{ent|func_dustcloud}}
* {{L|func_dustcloud}}

Revision as of 15:39, 3 December 2024

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)
func_dustmotes на карте cs_militiaCounter-Strike: Source.
C++ Классовая структура
CFunc_DustMotes
CFunc_Dust
CBaseEntity
C++ func_dust.cpp

func_dustmotes - это брашевая энтити(en), доступно для всех игр на движке Source Source. Создаёт блестящие частицы пыли внутри своего объёма.

Note.pngПримечание:На эту энтити влияет env_wind(en). Пылинки могут быть пронесены через стены.
Note.pngПримечание:Стандартный материал(en) - particle/sparkles.vmt. Он в низком разрешении, так что рассмотрите возможность замены этого vmt(en) для улучшения внешнего вида.
Note.pngПримечание:Эта энтити функциональна идентична func_dustcloud(en) за исключением того, что размер спрайтов, созданных func_dustcloud будет реалистично изменяться в зависимости от расстояния, на котором находится наблюдатель. Спрайты, созданные этой энтити, всегда будут одного размера на экране вне зависимости от расстояния наблюдения..

Параметры

Name(en) (targetname) <объект источник(en)>
Имя объекта, по которому другие объекты могут ссылаться на этот объект, через Входы/Выходы(en) или другие ключ-параметры(en) (например parentname или target).
Также отображаются на 2D-видах в Hammer и Отчёте об объектах (Entity Report)(en).
См. также:  Основные ключ-параметры, входы и выходы доступные для всех объектов

Minimum Particle Size (SizeMin) <строка(en)>
Минимальный размер пылинки. Единицы измерения неясны. 100 - максимальное значение, которое желательно использовать.
Maximum Particle Size (SizeMax) <строка(en)>
Максимальный размер пылинки.
Alpha (Alpha) <целое число(en)>
Прозрачность частиц. 255 - полная непрозрачность, а 0 - невидимость (не будет отрисовываться вообще).
Affected By Wind (AffectedByWind) <булева переменная(en)> (Во всех играх начиная с Counter-Strike: Global Offensive)
Устанавливает влияние ветра на частицы пыли.
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
Нужно сделать: Перевести темплейт KV ModelParticleSpawner

Инпуты

BModelParticleSpawner:
TurnOn
Turn on.
TurnOff
Turn off.
Нужно сделать: Перевести темплейт I BModelParticleSpawner

См. также