Ru/Env soundscape

From Valve Developer Community
< Ru
Revision as of 01:54, 19 December 2017 by Smelt93 (talk | contribs)
Jump to navigation Jump to search

Template:Otherlang2


Env soundscape.png

Env_soundscape - это внутренняя точечная сущность, доступная во всех играх Source и Source 2. С помощью игроков она переключает активный саундскейп, и задает точки, откуда будут исходить позиционные звуки.

Игрок должен находиться в радиусе действия этой сущности и в прямой ее видимости. Саундскейп будет играть до тех пор, пока не будет задет следующий. Если за управление борются несколько саундскейпов, то побеждает ближайший.

env_soundscape_triggerable - это сущность, родственная с env_soundscape, но используется в сочетании с брашевой сущностью trigger_soundscape.

Template:Tip:ru

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

Ключевые значения

Radius ([todo internal name (i)]) <целое число(en)>
Задает диаметр сферы саундскейпа. Также, чтобы включиться, он должен находиться в прямой видимости игроков. -1 означает бесконечную сферу.
Soundscape ([todo internal name (i)]) <строка(en)>
Имя проигрываемого саундскейпа. Приведены некоторые примеры, но не весь список. Лучший способ прослушать саундскейп - использовать консольную команду playsoundscape.
Sound Position 0-7 ([todo internal name (i)]) <целевой объект(en)>
Задает точки на местности, где воспроизводятся позиционные звуки. Должны быть сущности, о которых клиент знает (например, info_target или любые видимые).
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.
Warning.pngПредупреждение:In Counter-Strike: Source, parenting this entity to another can break your map.
Start Disabled (StartDisabled) <булева переменная(en)>
Оставаться отключенным до момента активации с помощью входа Enable.
Name(en) (targetname) <объект источник(en)>
Имя объекта, по которому другие объекты могут ссылаться на этот объект, через Входы/Выходы(en) или другие ключ-параметры(en) (например parentname или target).
Также отображаются на 2D-видах в Hammer и Отчёте об объектах (Entity Report)(en).
См. также:  Основные ключ-параметры, входы и выходы доступные для всех объектов

Inputs

Enabled, Disabled
Включает/отключает саундскейп. Дублированные входы
ToggleEnabled
Переключает саундскейп вкл/выкл.

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.
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.

Outputs

OnPlay
Взводятся, когда этот саундскейп активируется.

Tutorials about Env_SoundScape (Russian)

Lessons created by Project-S