Ru/Color correction (entity)
Описание
It loads a color correction lookup table (.raw) and controls its strength. Correction is applied in a sphere surrounding the entity, with a configurable amount of falloff. By default the effect fades in gradually and only reaches peak intensity at the entity's exact location.
In Left 4 Dead and Left 4 Dead 2, this entity will behave like color_correction in previous Source-based games if there is at least one fog_volume brush entity textured with the fogvolume material. The flags "Master" and "Simulate client-side" must be checked in the main color_correction entity. There can only be one master color_correction. It is recommended that the other color_correction entities be triggered with fog_volume with an override of the master. The override is done by setting the fog_volume entity property called ColorCorrection Name to a color_correction targetname of your choice.
Keyvalues
- Lookup Falloff Start Distance
<float>
- Lookup Falloff End Distance
<float>
- Distance from the entity at which the effect should begin and end fading out.
- Maximum Weight
<normal>
- The intensity of the effect before falloff.
- Lookup Table Filename
<path\file>
- The path and filename of the lookup table to load. Starts in the game root and should include file extension.
- Lookup Fade In Duration
<float>
- Lookup Fade out Duration
<float>
- How fast the effect should fade in/out when the entity is enabled/disabled.
- Name (targetname) <объект источник >
- Имя объекта, по которому другие объекты могут ссылаться на этот объект, через Входы/Выходы или другие ключ-параметры (например
parentname
илиtarget
).
Также отображаются на 2D-видах в Hammer и Отчёте об объектах (Entity Report) .См. также: Основные ключ-параметры, входы и выходы доступные для всех объектов
- Start Disabled (StartDisabled) <булева переменная >
- Оставаться отключенным до момента активации с помощью входа
Enable
.
Inputs
- filename Отсутствует в FGD!
- change the Lookup Table filename
- Kill
- Удаляет этот объект из мира.
- KillHierarchy
- Удаляет объект и его потомков из мира.
- AddOutput <строка >
- Определяет ключ-параметр/выход этого объекта. Потенциально представляет большую опасность, используйте с осторожностью.
Формат:<ключ-параметр> <значение>
Формат:<имя выхода> <целевой объект>:<имя входа>:<параметр>:<пауза>:<макс. количество срабатываний, -1 - бесконечно>
- FireUser1 to FireUser4
- Срабатывание выходов
OnUser
; см. Пользовательские вводы и выводы.
- Use Отсутствует в FGD!
- То же, что и при вызове +use игроком; может не всё. Можно вызвать, создав вывод, которому не указан ввод.
Этот ввод не указан в FGD-файле Valve.
- RunScriptFile <скрипт > (Во всех играх начиная с
)
- Выполнить файл игрового скрипта с диска.
Enable - разрешить
Disable - запретить
- Включает/отключает работоспособность объекта. Также может пропасть из поля зрения.
Outputs
- OnUser1 to OnUser4
- Вызывается в ответ на входы
FireUser
; (см. Пользовательские вводы и выводы).
Enable - разрешить
Disable - запретить
- Включает/отключает работоспособность объекта. Также может пропасть из поля зрения.
Flags
- 1 : Master (Default color correction when used with L4D fog_volume)
- 2 : Simulate client-side (Must be set when used with L4D fog_volume) Template:L4D add