Difference between revisions of "Spotlight"

From Space Engineers Wiki
Jump to: navigation, search
(Programming)
(Added headers, added relevant info, will post screenshots when time allows me. Stub removed!)
Line 39: Line 39:
 
| version = 01.023.013
 
| version = 01.023.013
 
}}
 
}}
{{stub}}
+
== Overview ==
 +
The Spotlight illuminates objects in front of it when turned on. Unlike the [[Interior Light]], it has a much larger range, but drains more power. Can be turned on or off either via the [[Terminal]] or by hitting L (default) when piloting/controlling a ship/station. The color, range, falloff and intensity of the light can be customized via the [[Terminal]].
  
Spotlight, illuminates objects in front of it when on. Unlike the [[Interior Light]], objects it illuminates will cast a shadow. Can be turned on or off either via the control panel or by hitting L (default) when piloting/controlling a ship/station. The color, range, falloff and intensity of the light can be customized via the [[Control Panel]].  
+
== Usage ==
 +
The Spotlight differs from the [[Interior Light]] in that it can be controlled directly from [[Controls#Systems_2|Hotkeys]]. However it functions the same way, but on a much larger scale.
  
Was previously named reflector light.
+
=== Colour ===
 +
The colour of the illumination can be changed by adjusting the sliders for Red, Green, and Blue in the RGB colourspace.  This will change the colour of the emitted light as well as the colour of the light fixture itself.
 +
 
 +
=== Settings ===
 +
*'''Radius''' - Adjusts the size of the light source around the block
 +
*'''Falloff''' - How quickly the light dims as distance from the lens increases
 +
*'''Intensity''' - Adjusts the brightness of the light
 +
*'''Blink Interval''' - The amount of time between flashs
 +
*'''Blink Length''' - Adjusts in percentage (taken from interval) how long the flash lasts for
 +
*'''Blink Offset''' - Offsets in percentage (taken from interval) how long before the light begins to flash
 +
 
 +
== Media ==
 +
 
 +
 
 +
== Tips ==
 +
* The Spotlight was previously named "Reflector light".
 +
* It may be useful to assign sensible labels to your Interior Lights as soon as they are installed using the same method, so that any new Interior Lights you install will be easily distinguishable as having a numeric code name, and can then be labelled and coloured more easily.
 +
* If you're new to flashing lights, and want them to blink in order. Here's a quick tip. If you have 3 lights, set the first one normally, then the next one with an offset of 20%. The last one you set at 40% offset. You can increase the length/etc as you desire.
 +
 
 +
== Known Issues ==
 +
* Currently still as of [[Update 01.094]], light sources tend to bleed through blocks. Meaning, if their radius is large enough, you can see them from the other side of a block.
 +
 
 +
== Related Items ==
 +
* [[Interior Light]]
  
 
== Programming ==
 
== Programming ==
<br>
+
* [[Programming_Guide/Action_List#Spotlight|Action List - Spotlight]]
(IMyReflectorLight)<br>
+
 
Actions:<br>
+
== Update History ==
block.RequestEnable(true/false); // set true or false
+
<div style="-webkit-border-image: none;-webkit-box-shadow: rgba(0, 0, 0, 0.046875) 0px 1px 1px 0px inset;background-color: #eeeeee;border-bottom-color: #AFAFAF;border-bottom-left-radius: 3px;border-bottom-right-radius: 3px;border-bottom-style: solid;border-bottom-width: 1px;border-left-color: #AFAFAF;border-left-style: solid;border-left-width: 1px;border-right-color: #AFAFAF;border-right-style: solid;border-right-width: 1px;border-top-color: #AFAFAF;border-top-left-radius: 3px;border-top-right-radius: 3px;border-top-style: solid;border-top-width: 1px;box-shadow: rgba(0, 0, 0, 0.046875) 0px 1px 1px 0px inset;color: #333;display: block;font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size: 1em;height: auto;line-height: 20px;margin-bottom: 5px;margin-left: 8px;margin-right: 8px;margin-top: 0px;min-height: 20px;padding-bottom: 4px;padding-left: 4px;padding-right: 4px;padding-top: 4px;width: auto;">
...
+
{| class="wikitable" style="width: 100%"
Properties:
+
|style="text-align: left;width: 8%"| [[Update 01.014.010]] ||style="padding-left: 10px;padding-right: 10px;"|
var isOn = block.Enabled; // spotlight on/off state
+
*Added light parameters in the control panel
...
+
|}
 +
 
 +
</div>

Revision as of 16:01, 24 January 2016


Spotlight Icon.png
Large Ship Icon.png
Large Ship / Station
Spotlight
 
Components
Required

 

 
 
 
Mass (kg):
0
 
Integrity:
0
 
Build time (seconds):
20
 
Active power consumption (MW):
0.001
Spotlight Icon.png
Small Ship Icon.png
Small Ship
Spotlight
 
Components
Required

 

 
 
 
Mass (kg):
0
 
Integrity:
0
 
Build time (seconds):
7
 
Active power consumption (MW):
0.0002

Overview

The Spotlight illuminates objects in front of it when turned on. Unlike the Interior Light, it has a much larger range, but drains more power. Can be turned on or off either via the Terminal or by hitting L (default) when piloting/controlling a ship/station. The color, range, falloff and intensity of the light can be customized via the Terminal.

Usage

The Spotlight differs from the Interior Light in that it can be controlled directly from Hotkeys. However it functions the same way, but on a much larger scale.

Colour

The colour of the illumination can be changed by adjusting the sliders for Red, Green, and Blue in the RGB colourspace. This will change the colour of the emitted light as well as the colour of the light fixture itself.

Settings

  • Radius - Adjusts the size of the light source around the block
  • Falloff - How quickly the light dims as distance from the lens increases
  • Intensity - Adjusts the brightness of the light
  • Blink Interval - The amount of time between flashs
  • Blink Length - Adjusts in percentage (taken from interval) how long the flash lasts for
  • Blink Offset - Offsets in percentage (taken from interval) how long before the light begins to flash

Media

Tips

  • The Spotlight was previously named "Reflector light".
  • It may be useful to assign sensible labels to your Interior Lights as soon as they are installed using the same method, so that any new Interior Lights you install will be easily distinguishable as having a numeric code name, and can then be labelled and coloured more easily.
  • If you're new to flashing lights, and want them to blink in order. Here's a quick tip. If you have 3 lights, set the first one normally, then the next one with an offset of 20%. The last one you set at 40% offset. You can increase the length/etc as you desire.

Known Issues

  • Currently still as of Update 01.094, light sources tend to bleed through blocks. Meaning, if their radius is large enough, you can see them from the other side of a block.

Related Items

Programming

Update History

Update 01.014.010
  • Added light parameters in the control panel