<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://developer.vellocetsoftware.com/index.php?action=history&amp;feed=atom&amp;title=Grimwar%2FEntities%2Fenv_light</id>
	<title>Grimwar/Entities/env light - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://developer.vellocetsoftware.com/index.php?action=history&amp;feed=atom&amp;title=Grimwar%2FEntities%2Fenv_light"/>
	<link rel="alternate" type="text/html" href="https://developer.vellocetsoftware.com/w/index.php?title=Grimwar/Entities/env_light&amp;action=history"/>
	<updated>2026-10-21T20:39:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://developer.vellocetsoftware.com/w/index.php?title=Grimwar/Entities/env_light&amp;diff=219&amp;oldid=prev</id>
		<title>DocumentationBot: Version 1</title>
		<link rel="alternate" type="text/html" href="https://developer.vellocetsoftware.com/w/index.php?title=Grimwar/Entities/env_light&amp;diff=219&amp;oldid=prev"/>
		<updated>2026-10-01T04:13:05Z</updated>

		<summary type="html">&lt;p&gt;Version 1&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{GameNav}}&lt;br /&gt;
&lt;br /&gt;
[[Grimwar/Entities|All entities]]&lt;br /&gt;
&lt;br /&gt;
{{Entity icon|env_light|section}}&lt;br /&gt;
&lt;br /&gt;
Place a light and optionally control it with scripts or a built-in effect.&lt;br /&gt;
&lt;br /&gt;
Placement: Point.&lt;br /&gt;
&lt;br /&gt;
== Set it up ==&lt;br /&gt;
&lt;br /&gt;
Choose Point, Spot, or Area and set its colour and intensity. Area lights are baked only. Effects and scripts change Baked point/spot lights to Dynamic; Mixed retains baked indirect light. Use Map Environment for the sun. The color input accepts an HTML colour such as &amp;quot;#80c0ffff&amp;quot;. The toggle output fires when the toggle input is received.&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
&lt;br /&gt;
These are the initial authoring values. Script inputs and runtime state are listed separately below.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Setting !! Default !! Meaning and choices&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;light_type&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Light type || Point (&amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt;) || Point, Spot or Area. Area lights are baked-only and cannot use effects or scripting. Choices: Point (&amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt;), Spot (&amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt;), Area (&amp;lt;code&amp;gt;3&amp;lt;/code&amp;gt;).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;color&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Color || &amp;lt;code&amp;gt;[1, 1, 1, 1]&amp;lt;/code&amp;gt; || Value type: &amp;lt;code&amp;gt;color&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;intensity&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Intensity || &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; || Minimum: &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt;. Maximum: &amp;lt;code&amp;gt;1000000&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;range&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Range (metres) || &amp;lt;code&amp;gt;10&amp;lt;/code&amp;gt; || Minimum: &amp;lt;code&amp;gt;0.01&amp;lt;/code&amp;gt;. Maximum: &amp;lt;code&amp;gt;1000000&amp;lt;/code&amp;gt;. Shown when &amp;lt;code&amp;gt;light_type&amp;lt;/code&amp;gt; is 2, 0.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;area_size&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Area size (metres) || &amp;lt;code&amp;gt;[1, 1]&amp;lt;/code&amp;gt; || Shown when &amp;lt;code&amp;gt;light_type&amp;lt;/code&amp;gt; is 3.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;spot_angle&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Spot angle || &amp;lt;code&amp;gt;30&amp;lt;/code&amp;gt; || Minimum: &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;. Maximum: &amp;lt;code&amp;gt;179&amp;lt;/code&amp;gt;. Shown when &amp;lt;code&amp;gt;light_type&amp;lt;/code&amp;gt; is 0.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;shadows&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Cast shadows || &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; || Value type: &amp;lt;code&amp;gt;bool&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;enabled&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Start on || &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; || Value type: &amp;lt;code&amp;gt;bool&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;cookie&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Cookie || &amp;lt;code&amp;gt;None&amp;lt;/code&amp;gt; || Reference: &amp;lt;code&amp;gt;texture&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;lighting&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Lighting || Baked (&amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt;) || Effects or scripts change Baked point/spot lights to Dynamic. Mixed keeps baked indirect light. Choices: Baked (&amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt;), Mixed (&amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;), Dynamic (&amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt;).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;effect&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Effect || None (&amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt;) || Choices: None (&amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt;), Flicker (&amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;), Strobe (&amp;lt;code&amp;gt;2&amp;lt;/code&amp;gt;), Candle (&amp;lt;code&amp;gt;3&amp;lt;/code&amp;gt;).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;scripted&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Scripted || &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; || Enable for external scripts or mods. VSig enables this automatically. Creates a network entity.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ignore_nav_mesh&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;Ignore Nav Mesh || &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; || Exclude this entity from navigation-mesh building. This does not disable its gameplay collision.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== VSig contract ==&lt;br /&gt;
&lt;br /&gt;
Use the names below with a ref bound to this entity. The value column describes the catalog value type, not a C# method signature. See [[Grimwar/Entities#Read the reference|Read the reference]] for arguments, authority, and common controls.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Kind !! Member !! Value !! Authority / access&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;color&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;kill&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;none&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;off&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;on&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Input || &amp;lt;code&amp;gt;toggle&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Output || &amp;lt;code&amp;gt;killed&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;none&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|-&lt;br /&gt;
| Output || &amp;lt;code&amp;gt;toggle&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Server&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Build notes ==&lt;br /&gt;
&lt;br /&gt;
Light effects need Mixed or Dynamic lighting. Baked point/spot lights export as Dynamic when an effect is enabled. Mixed keeps its baked indirect light; area lights cannot animate.&lt;br /&gt;
&lt;br /&gt;
Script-controlled lights need Mixed or Dynamic lighting. Baked point/spot lights export as Dynamic when scripted. Mixed keeps its baked indirect light; area lights cannot animate.&lt;br /&gt;
&lt;br /&gt;
[[Category:Grimwar entities]]&lt;/div&gt;</summary>
		<author><name>DocumentationBot</name></author>
	</entry>
</feed>