point_spotlight
< Ru
Jump to navigation
Jump to search
{{subst:#if:|||
Important step for replacing wikilinks after you've created this page
After you click 'Edit' do what the image shows. If you can't see editing toolbar you need to enable it in 'Preferences' -> Editing -> checkbox 'Enable the editing toolbar'
![]() |
См. также: {{LAuto}}
|
Parentname:
- Parent (parentname) <целевой объект >
- 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.
RenderFields:
- Render Mode (rendermode) <байт выбор>
- Устанавливает нестандартный режим отображения этого объекта.
Режимы отображения
- Render FX (renderfx) <байт выбор>
- Various somewhat legacy alpha effects. See render effects.
- Render Amount / Transparency (renderamt) <байт >
- Transparency amount, requires a Render Mode other than Normal. 0 is invisible, 255 is fully visible.
- Render Color (R G B) (rendercolor) <цвет КЗС >
- Color tint.
- Pitch Yaw Roll (Y Z X) (angles) <QAngle >
- Ориентация этого объекта в мире. Тангаж (pitch) - поворот по оси Y, рысканье (yaw) - поворот по Z и крен(roll) - поворот по X.
- Minimum / Maximum DX Level (mindxlevel / maxdxlevel) <целое число выбор> (удалено начиная с
)
- Энтити не будет существовать, если движок будет работать вне указанного диапазона версий DirectX .
Варианты Предупреждение:If these are used, the object may break when the user switches their DirectX settings.[missing string]
- 0 - По умолчанию (без ограничений)
- 60 - DirectX 6 (Отсутствует в FGD! for mindxlevel)
- 70 - DirectX 7
- 80 - DirectX 8 (GeForce4 Ti & FX 5000 series)
- 81 - DirectX 8.1 (GeForce FX 5800, 5900 & Radeon 8500/9100 and 9000/9200)
- 90 - DirectX 9 Shader Model 2
- 92 - OpenGL аналогичен DirectX 9 Shader Model 2 (using ToGL;
only) Отсутствует в FGD!
- 95 - DirectX 9 Shader Model 3 (Во всех играх начиная с
)
- 98 - DirectX 9 Shader Model 3 на Xbox 360 (
only) Отсутствует в FGD!
- Minimum / Maximum Effect Details Level (mincpulevel / maxcpulevel) <целое число выбор> (Во всех играх начиная с
)
- Не отображать для игроков с уровнем детализации эффектов, превышающим минимум или максимум.
Варианты - 0: По умолчанию ("Low" for
mincpulevel
, "High" formaxcpulevel
) - 1: Низкий
- 2: Средний
- 3: Высокий
- 0: По умолчанию ("Low" for
- Minimum / Maximum Shader Details Level (mingpulevel / maxgpulevel) <целое число выбор> (Во всех играх начиная с
)
- Не отображать для игроков с уровнем детализации оттенений, превышающим минимум или максимум.
Варианты - 0: По умолчанию ("Low" for
mingpulevel
, "Very High" formaxgpulevel
) - 1: Низкий
- 2: Средний
- 3: Высокий
- 4: Очень высокий
См. также: cpu_level / gpu_level convars- 0: По умолчанию ("Low" for
Flags
- Start On : [1]
- No Dynamic Light : [2]
Inputs
- LightOn
- Turn the spotlight on.
- LightOff
- Turn the spotlight off.
- SetColor <цвет КЗС > (Во всех играх начиная с
) (также в
)
- Change the color of the spotlight. Light must be turned off then back on for dynamic light to update.
Примечание:Functionally identical to the Color input. A delay of at least 0.01 is required before the spotlight is turned back on, or else it will remain off.
- ForceUpdate (Во всех играх начиная с
) (также в
)
- Force an update of the spotlight position and orientation.
Parentname:
- SetParent <строка >
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <строка >
- 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 <строка >
- 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 <целое число 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 than0
.
- Color <цвет КЗС >
- Sets an RGB color for the entity.
Outputs
- OnLightOn
- Fires when light turns on.
- OnLightOff
- Fires when light turns off.