math_lightpattern
		
		
		
		Jump to navigation
		Jump to search
		

math_lightpattern  is a   point entity  available in  Mapbase and
 Mapbase and  Strata Source. It replicates light styles and allows them to influence entity I/O outside of the lights themselves. This is useful for toggling prop skins or replicating light styles on env_projectedtexture.
 Strata Source. It replicates light styles and allows them to influence entity I/O outside of the lights themselves. This is useful for toggling prop skins or replicating light styles on env_projectedtexture.
 Bug:This is may be out of sync with default light patterns.
Bug:This is may be out of sync with default light patterns.Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentnameortarget).
 Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with theEnableinput).
- Appearance (lightstyle) (style) <integer choices>
- Which lightstyle preset to replicate.
- Lightstyle presets (epilepsy warning) - Literal Value - Description - Sequence - Preview - 0 - Normal - m   - 10 - Fluorescent flicker - mmamammmmammamamaaamammma   - 2 - Slow, strong pulse - abcdefghijklmnopqrstuvwxyzyxwvutsrqponmlkjihgfedcba   - 11 - Slow pulse, noblack - abcdefghijklmnopqrrqponmlkjihgfedcba   - 5 - Gentle pulse - jklmnopqrstuvwxyzyxwvutsrqponmlkj   - 1 - Flicker A - mmnmmommommnonmmonqnmmo   - 6 - Flicker B - nmonqnmomnmomomno   - 3 - Candle A - mmmmmaaaaammmmmaaaaaabcdefgabcdefg   - 7 - Candle B - mmmaaaabcdefgmmmmaaaammmaamm   - 8 - Candle C - mmmaaammmaaammmabcdefaaaammmmabcdefmmmaaaa   - 4 - Fast strobe - mamamamamama   - 9 - Slow strobe - aaaaaaaazzzzzzzz   - 12 !FGD - Underwater light mutation - mmnnmmnnnmmnn   
- Custom Appearance (pattern) <string>
- A string of english letters, like a sequence of piano keys, that define a pattern of brightness. a is 0%, m is 100%, and z is 200%. Updates at 10 Hz.
- Pattern Speed (PatternSpeed) <float>
- The speed of the pattern.
Inputs
- SetStyle <integer>
- Sets the pattern from the style presets.
- SetPattern <string>
- Sets the pattern directly.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Toggle:
- Toggle
- Toggle the enabled/disabled status of this entity.
Outputs
- OutValue <float>
- Outputs with a brightness equivalent to the current letter.
- OutLetter <string>
- Outputs with the current letter itself.
- OnLightOn
- Fires when the current letter is equivalnt to 'on' (greater than a).
- OnLightOff
- Fires when the current letter is equivalnt to 'off' (equal to a).