Particle Editor:ru

From Valve Developer Community
< Dota 2 Workshop Tools:ru‎ | Particles:ru
Revision as of 07:24, 14 August 2014 by Justincase (talk | contribs) (Created page with "== Окно редактора == Окно редактора Particle Editor's состоит из трех основных панелей и четырех вторичных,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Окно редактора

Окно редактора Particle Editor's состоит из трех основных панелей и четырех вторичных, подробнее ниже.

Панели ведут себя здесь, как и в других инструментах - панели можно перемещать/изменять размер, их можно включать/выключать, тем самым настраивая интерфейс как пользователь считает нужным.


Property Panel


Каждая функция имеет набор связанных свойств, которые можно редактировать в панели свойств. Свойства используются для задания конкретных параметров поведения каждой функции.

Property data comes in the following forms:

  • Scalar: Число с плавающей точкой, часто между 0 и 1, а иногда и нет.
  • Vector: A set of three floating-point numbers. These floats are often referred to as x, y, and z.
  • Boolean: Флажок определяет включен параметр или выключен.
  • Enumerated list: A list of predefined options.
  • Color: Цвет.
  • Asset reference: A field pointing to another asset, such as a vtex (texture) file or child effect. In a few cases, such as "fallback replacement definition", there's no file chooser, so you just enter a path to a file, starting at /particles. (Example: "particles/abilities/conjure_fallback.vpcf")

Note that scalars and vectors are the only kinds of data that Control Points can carry.

Function Panel


The Function Panel holds the effect's Functions, which define particles' behavior. Functions can be added, removed, temporarily disabled, and re-ordered.

The final entry, "Children", isn't a Function type per se, but rather holds a list of references to child effects (if any.)

For more information on Functions, see Particle Functions.

Preview Panel


Preview Panel позволяет в реальном времени просматривать ваш эффект.

Control Buttons

  • Pause/Play sim: Приостановка/Запуск просмотра в реальном времени.
  • Restart sim: Удаляет текущий эффект и открывает новый.
  • Restart sim across all tools: Похожа на "Restart sim", но в каждом открытом Workshop Tool (например Hammer.)
  • Stop sim: Останавливает эмиссию частиц, но позволяет частицам распадаться "естественно".
  • Stop sim with endcap: Stops emission and triggers endcap effects if any are set up.
  • Render debug info: Toggle rendering of debug geometry indicating bounding boxes and the like.
  • Reset camera: Перемещает камеру в начальное положение, это может пригодится, если вы потеряли свой эффект в пространстве.

Navigation controls for the Preview panel are similar to those in other tool 3D viewports:

Navigation Using Right-Mouse-Button WASD Toggle

Hold right-mouse-button RMB to move the camera around and use WASD to move.

W Move the camera forward
S Move the camera back
A Moves the camera left
D Moves the camera right

Navigation Using Fly Mode

Pressing Z enters "fly" mode without the requirement of holding the right-mouse-button. WASD is still used to control movement.

Navigation Around a Point

This method is useful when working on a piece of geometry that you want to focus on and move around rapidly.

Alt+LMB Rotate around the center of the screen
Shift+A Reset the center point on selected geometry
Alt+RMB Zoom
Alt+MMB Camera look movement

Controls Panel


The Controls Panel provides some handy tools to help you work:

  • Control Points: Manually position control points in space, emulating hand-placed points in Hammer. (Note that these Control Points are temporary and only exist in the Particle Editor - they will NOT get saved with the effect.)
  • Simulation rate: Slow down (values between 0 and 1) or speed up (values higher than 1) simulation playback.
  • Ground: Choose grid, plane geometry, or none. Note that plane geometry is necessary to preview particle collision constraints!
  • Preview Model: Render a model in the center of your scene. Useful for tuning effect scale and distances.

Undo Panel


The Undo Panel holds the undo/redo stack, which enables users to instantly jump across items in the effect's recent history.