Editing Lighting linedef types

From Eternity Wiki
Jump to navigationJump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
The lighting linedef types change the lighting in the tagged sector. All are regular or extended types, there are no generalized lighting types. All are switched or walkovers.  
The lighting linedef types change the lighting in the tagged sector. All are regular or extended types, there are no generalized lighting types. All are switched or walkovers.  
{{backto|Linedef types}}


=Lighting Targets=
=Lighting Targets=
*Lights to Minimum Neighbor


:Each tagged sector is set to the minimum light level found in any adjacent sector. The tagged sectors are changed in numerical order, and this may influence the result.
* Lights to Minimum Neighbor


*Lights to Maximum Neighbor
Each tagged sector is set to the minimum light level found in any adjacent sector. The tagged sectors are changed in numerical order, and this may influence the result.


:Each tagged sector is set to the maximum light level found in any adjacent sector. The tagged sectors are changed in numerical order, and this may influence the result.
* Lights to Maximum Neighbor
 
Each tagged sector is set to the maximum light level found in any adjacent sector. The tagged sectors are changed in numerical order, and this may influence the result.


* Blinking
* Blinking


:Each tagged sector begins blinking between two light levels. The brighter level is the light level in the tagged sector. The darker level is the minimum neighbor light level, or 0 if all neighbor sectors have lighting greater than or equal to the sector's at the time of activation. The blinking is non-synchronous, beginning 1-9 gametics after activation, with a dark period of 1 sec (35 gametics) and a bright period of 1/7 sec (5 gametics).
Each tagged sector begins blinking between two light levels. The brighter level is the light level in the tagged sector. The darker level is the minimum neighbor light level, or 0 if all neighbor sectors have lighting greater than or equal to the sector's at the time of activation. The blinking is non-synchronous, beginning 1-9 gametics after activation, with a dark period of 1 sec (35 gametics) and a bright period of 1/7 sec (5 gametics).


* 35 Units
* 35 Units


:Each tagged sector is set to a light level of 35 units.
Each tagged sector is set to a light level of 35 units.


* 255 Units
* 255 Units


:Each tagged sector is set to a light level of 255 units.  
Each tagged sector is set to a light level of 255 units.  
* Raise by Param


:Available with parameterized lines only. Raises tagged sectors' light levels by a given amount.
=Lighting Linedef Types=
* Lower by Param
 
:Available with parameterized lines only. Lowers tagged sectors' light levels by a given amount.
* Change to Param
 
:Available with parameterized lines only. Changes all tagged sectors' light levels to the given level.
* Fade
 
:Available with parameterized lines only. Fades all tagged sectors' light levels up or down to the given level.
* Glow
 
:Available with parameterized lines only. Causes all tagged sectors to fade continuously between two given light levels at a given speed.
* Flicker
 
:Available with parameterized lines only. Causes all tagged sectors to blink between two given light levels at random. Sector flickering is not synchronized.
* Strobe
 
:Available with parameterized lines only. Causes all tagged sectors to blink between two given light levels on a period between given minimum and maximum amounts of time. Sector strobing is not synchronized.
 
=Regular and extended lighting linedef types=


  Regular and Extended Lighting types
  Regular and Extended Lighting types
Line 74: Line 53:
  156  Ext    WR    Blinking
  156  Ext    WR    Blinking
  17    Reg    W1    Blinking
  17    Reg    W1    Blinking
=Parameterized lighting linedef specials=
 
Eternity supports the following light level controlling parameterized linedef specials (accessible through [[ExtraData]]). If ''tag'' is 0, any such parameterized special will affect the sector behind the linedef, if applicable.
''Back to [[Linedef types]]''
*368:'''Light_RaiseByValue'''(''tag'', ''lvl'')
:Adds the ''lvl'' value to the light levels of tagged sectors, capping them to 255.
*369:'''Light_LowerByValue'''(''tag'', ''lvl'')
:Substracts the ''lvl'' value from the light levels of tagged sectors, limiting them to 0.
*370:'''Light_ChangeToValue'''(''tag'', ''lvl'')
:Sets the ''lvl'' value for the light level of tagged sectors, and caps it between 0 and 255 inclusive.
*371:'''Light_Fade'''(''tag'', ''destvalue'', ''tics'')
:Makes the light level of tagged sectors gradually go to ''destvalue'', for the given amount of tics. ''tics'' must be greater than 0.
*372:'''Light_Glow'''(''tag'', ''maxval'', ''minval'', ''tics'')
:Enables periodic glowing light effect on tagged sectors. ''tics'' is the duration between the extreme light levels and must be positive. The sequence starts by fading down.
*373:'''Light_Flicker'''(''tag'', ''maxval'', ''minval'')
:Enables flickering light effect on tagged sectors.
*374:'''Light_Strobe'''(''tag'', ''maxval'', ''minval'', ''maxtime'', ''mintime'')
:Enables strobing light effect on tagged sectors. Light will periodically flash, staying at ''maxval'' level for ''maxtime'' tics and at ''minval'' level for ''mintime'' tics.
[[category:Editing reference]]
Please note that all contributions to Eternity Wiki are considered to be released under the GNU Free Documentation License 1.2 (see Eternity Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Template used on this page: