cycler

From Valve Developer Community
< Ru
Jump to navigation Jump to search
English (en)Hrvatski (hr)Русский (ru)中文 (zh)Translate (Translate)

cycler - это точечная энтити(en), доступно для всех игр на движке Source Source.


Описание

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

Keyvalues (Основные значения)

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


Parentname:
Parent (parentname) <имя объекта(en)>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
Pitch Yaw Roll (Y Z X) (angles) <углы(en)>
Ориентация этого объекта в мире. Тангаж (pitch) - поворот по оси Y, рысканье (yaw) - поворот по Z и крен(roll) - поворот по X.

RenderFields:

Render Mode (rendermode) <байт(en) выбор>
Устанавливает нестандартный режим отображения этого объекта.
Режимы отображения
  • 0: Normal (Нормально)
  • 1: Color (Цвет)
  • 2: Texture (Текстура)
  • 3: Glow (Свечение)
  • 4: Solid/Alphatest (Сплошной/Тест прозрачности) Obsolete
  • 5: Additive (Наложение)
  • 6: Removed, does nothing (Удалён, ничего не делает) Obsolete
  • 7: Additive Fractional Frame (Промежуточные кадры)
  • 8: Alpha Add (Добавление прозрачности)
  • 9: World Space Glow (Масштабируемое свечение)
  • 10: Don't Render (Без отрисовки)
Render FX(en) (renderfx) <байт(en) выбор>
Различные, отчасти устаревшие эффекты альфа-канала. Смотрите эффекты отображения(en)
Render Amount / Transparency (renderamt) <байт(en)>
Значение по умолчанию: 255
Величина прозрачности, требует выбора режима отображения, отличного от Normal (Нормальный). 0 - невидимый, 255 - полностью видимый.
Render Color (R G B) (rendercolor) <цвет КЗС(en)>
Значение по умолчанию: 255 255 255
Оттенок цвета объекта.
Model ([todo internal name (i)]) <путь к модели(en)>
Model file.
Sequence ([todo internal name (i)]) <целое число(en)>
Стандартный порядок проигрывания анимаций.
Skin ([todo internal name (i)]) <целое число(en)>
Некоторые модели имеют несколько наборов текстур, их называют скинами. Установите нужное значение для его выбора (0 - стандартный скин).

Flags (Опции)

  • 1 : Not Solid (Без коллизии, то есть сквозь него можно пройти)

Inputs (Ввод)

SetSequence <строка(en)>
Устанавливает порядок проигрывания анимации.


Parentname:
SetParent <строка(en)>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <строка(en)>
Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
SetParentAttachmentMaintainOffset <строка(en)>
As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.

RenderFields:

Alpha <целое число(en) 0–255>
Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its rendermode set to a number other than 0.
Color <цвет КЗС(en)>
Sets an RGB color for the entity.

Outputs (Вывод)

Смотрите также