Modding:Simple Particles/ru: Difference between revisions

From Vintage Story Wiki
Created page with "Это свойство полезно для частиц в воде, которые должны исчезнуть, достигнув поверхности (умерет..."
(Created page with "Кроме того, вы можете указать <code>SizeEvolve</code> вот так...")
(Created page with "Это свойство полезно для частиц в воде, которые должны исчезнуть, достигнув поверхности (умерет...")
 
(9 intermediate revisions by the same user not shown)
Line 178: Line 178:
[[File:Particles (growing size).gif|300px]]
[[File:Particles (growing size).gif|300px]]


There are many EnumTransformFunctions you can play around with. Linear is the most basic one.
Существует множество функций EnumTransformFunction, с которыми вы можете поиграться. Линейный — самый простой.


=== Model ===
=== Модель ===


There are two types of models. <code>Cube</code> (the one we used so far) and <code>Quads</code>:
Есть два типа моделей. <code>Cube</code> (тот, который мы использовали до сих пор) и <code>Quads</code>:


<syntaxhighlight lang="c#">
<syntaxhighlight lang="c#">
Line 190: Line 190:
[[File:Particles (quads).gif|300px]]
[[File:Particles (quads).gif|300px]]


=== Opacity ===
=== Непрозрачность ===


Quads support custom opacity. This allows you to make them transparent ...
Четырехугольники поддерживают пользовательскую непрозрачность. Это позволяет сделать их прозрачными...


<syntaxhighlight lang="c#">
<syntaxhighlight lang="c#">
Line 200: Line 200:
[[File:Particles (opacity).gif|300px]]
[[File:Particles (opacity).gif|300px]]


Similar to <code>SizeEvolve</code> you can add an <code>OpacityEvolve</code> ...
Подобно <code>SizeEvolve</code>, вы можете добавить <code>OpacityEvolve</code>...


<syntaxhighlight lang="c#">
<syntaxhighlight lang="c#">
Line 208: Line 208:
[[File:Particles (decreasing opacity).gif|300px]]
[[File:Particles (decreasing opacity).gif|300px]]


=== Self Propelled ===
=== Самоходный ===


This property will make particles don't lose their velocity, even if they would collide with something, as soon as there is enough space they will continue to fly in the direction (with the same speed) ...
Это свойство заставит частицы не терять свою скорость, даже если они столкнутся с чем-то, как только места будет достаточно, они продолжат лететь в том же направлении (с той же скоростью)...


<syntaxhighlight lang="c#">
<syntaxhighlight lang="c#">
Line 219: Line 219:
[[File:Particles (selfpropelled).gif|300px]]
[[File:Particles (selfpropelled).gif|300px]]


=== Die In Air/ Liquid ===
=== Умереть в воздухе/жидкости ===


This property is useful for particles in water, which should disappear once they reach the surface (die in liquid). Of course this can also be used the other way round (die in air).
Это свойство полезно для частиц в воде, которые должны исчезнуть, достигнув поверхности (умереть в жидкости). Конечно, это можно использовать и наоборот (умереть в воздухе).




{{Navbox/modding|Vintage Story}}
{{Navbox/modding|Vintage Story}}
Confirmedusers
13,514

edits