Difference between revisions of "Light"
Jump to navigation
Jump to search
imported>Shademe (Added Notes form Talk page) |
("Time" updated) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Light objects provide spherical areas of illumination. They may or may not have a physical 3D object to represent them, such as a candle or lamp. | Light objects provide spherical areas of illumination. They may or may not have a physical 3D object to represent them, such as a candle or lamp. | ||
== | ==Base Object Fields== | ||
*'''ID:''' The Editor ID for this object. This is a unique name used to identify the light within the Construction Set. | *'''ID:''' The Editor ID for this object. This is a unique name used to identify the light within the Construction Set. | ||
*'''Script:''' Name of the script to attach to this object. Lights use [[Object_scripts| | *'''Script:''' Name of the script to attach to this object. Lights use [[Object_scripts|object scripts]]. | ||
*'''FOV:''' | *'''FOV:''' | ||
*'''Falloff Exponent:''' | *'''Falloff Exponent:''' | ||
*'''Radius:''' Radius of the circle the light illuminates | *'''Radius:''' Radius of the circle the light illuminates. | ||
*'''Color:''' Color of the light produced | *'''Color:''' Color of the light produced. | ||
*'''Fade:''' Determines the opacity/brightness of the light | *'''Fade:''' Determines the opacity/brightness of the light. | ||
*'''Flicker Effect:''' Defines if and how the light should flicker | *'''Flicker Effect:''' Defines if and how the light should flicker. | ||
*'''NIF File:''' 3D art used to display the light ingame | *'''NIF File:''' 3D art used to display the light ingame. | ||
*'''TESSound''': Sound played by the light | *'''TESSound''': Sound played by the light. | ||
*'''Quest Item:''' Marks this as a quest item. | *'''Quest Item:''' Marks this as a quest item. | ||
*'''Negative:''' Reduces the illumination on surroundings objects | *'''Negative:''' Reduces the illumination on surroundings objects. | ||
*'''Dynamic:''' | *'''Dynamic:''' | ||
*'''Spot Light:''' | *'''Spot Light:'''The light shines from the source to the walls like a flashlight. | ||
*'''Spot Shadow:''' | *'''Spot Shadow:''' | ||
===Carriable=== | ===Carriable=== | ||
*'''Can Carry:''' Flag to determine if the light can be moved to containers | *'''Can Carry:''' Flag to determine if the light can be moved to containers. | ||
*'''Off by default:''' Flag to determine if the light is turned off by default | *'''Off by default:''' Flag to determine if the light is turned off by default. | ||
*'''Name:''' Name of the light. This is the name displayed in a container | *'''Name:''' Name of the light. This is the name displayed in a container. | ||
*'''Icon Image:''' Inventory icon used by the light | *'''Icon Image:''' Inventory icon used by the light. | ||
*'''Weight:''' Weight of the light | *'''Weight:''' Weight of the light. | ||
*'''Time:''' | *'''Time:''' How long the light stays on when equipped (in seconds). Use "-1" for an infinite duration. | ||
*'''Value:''' Base gold value of the light | *'''Value:''' Base gold value of the light. | ||
==Notes== | ==Notes== |
Latest revision as of 05:00, 26 April 2023
Light objects provide spherical areas of illumination. They may or may not have a physical 3D object to represent them, such as a candle or lamp.
Base Object Fields[edit | edit source]
- ID: The Editor ID for this object. This is a unique name used to identify the light within the Construction Set.
- Script: Name of the script to attach to this object. Lights use object scripts.
- FOV:
- Falloff Exponent:
- Radius: Radius of the circle the light illuminates.
- Color: Color of the light produced.
- Fade: Determines the opacity/brightness of the light.
- Flicker Effect: Defines if and how the light should flicker.
- NIF File: 3D art used to display the light ingame.
- TESSound: Sound played by the light.
- Quest Item: Marks this as a quest item.
- Negative: Reduces the illumination on surroundings objects.
- Dynamic:
- Spot Light:The light shines from the source to the walls like a flashlight.
- Spot Shadow:
Carriable[edit | edit source]
- Can Carry: Flag to determine if the light can be moved to containers.
- Off by default: Flag to determine if the light is turned off by default.
- Name: Name of the light. This is the name displayed in a container.
- Icon Image: Inventory icon used by the light.
- Weight: Weight of the light.
- Time: How long the light stays on when equipped (in seconds). Use "-1" for an infinite duration.
- Value: Base gold value of the light.
Notes[edit | edit source]
- The results of enabling the Negative flag are different for different video settings with good results for HDR and bad results for Bloom w/t AA.