User:Crusha/DynamicWeather/DWLights

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to navigation Jump to search

Dynamic Weather Lights. Do tricks with light dynamically (HA TAKE THAT EPIC! :P)


DWLight

UT2004 Object >> Actor >> DWParent >> DWLightParent >> DWLight (custom)

Contents

Package: 
DWeather

DWLight: Dynamic Weather Light Does tricks with light dynamically (HA TAKE THAT EPIC! :P) By Mark 'MarZer' Gillard

Properties

Property group 'DWLight'

CalculationInterval

Type: float


Default value: 0.05

InitiallyOn

Type: bool


LightMode

Type: EMode


MaxBrightness

Type: float


Default value: 120.0

MaxColour

Type: Object.Color


Default value:

Member Value
G 128
R 255

MinBrightness

Type: float


Default value: 50.0

MinColour

Type: Object.Color


Default value:

Member Value
B 255

RadialFluctuation

Type: float


Variance

Type: float


Default value: 1.2

Internal variables

CurHue

Type: byte


CurLum

Type: byte


CurrentColour

Type: Object.Color


CurSat

Type: byte


DiffMod

Type: float


InitBright

Type: float


InitRad

Type: float


Mod

Type: float


Default values

Property Value
bNoDelete True
LightBrightness 120.0
LightHue 21
LightRadius 32.0
LightSaturation 127

Enums

EMode

LM_Normal 
LM_FireFlicker 

Events

PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Timer

simulated event Timer ()

Overrides: Actor.Timer


Trigger

simulated event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger



DWTriggerLight

UT2004 Object >> Actor >> DWParent >> DWLightParent >> DWTriggerLight (custom)
Package: 
DWeather

DWTriggerLight: Dynamic Weather Emitter Toggles between userdefined Night and Day lights

Properties

Property group 'Weather_Day'

DayLightBrightness

Type: int


Default value: 80

DayLightHue

Type: int


Default value: 21

DayLightRadius

Type: float


Default value: 300.0

DayLightSaturation

Type: int


Default value: 193

Property group 'Weather_Info'

Phase

Type: EInitialPhase


Property group 'Weather_Night'

NightLightBrightness

Type: int


Default value: 80

NightLightHue

Type: int


Default value: 152

NightLightRadius

Type: float


Default value: 300.0

NightLightSaturation

Type: int


Default value: 32

Default values

Property Value
bNoDelete True
LightBrightness 80.0
LightSaturation 255

Enums

EInitialPhase

DWL_Day 
DWL_Night 

Events

PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Trigger

simulated event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger



DWChargingLight

UT2004 Object >> Actor >> DWParent >> DWLightParent >> DWChargingLight (custom)
Package: 
DWeather

DWChargingLight: Fading Light Emitter Fades light up or down on trigger By Mark 'MarZer' Gillard

Properties

Property group 'DWChargingLight'

CalculationInterval

Type: float


FirstState

Type: EInitialState


MaxBrightness

Type: float


MinBrightness

Type: float


Time

Type: float


Internal variables

Current

Type: ECurrent


Increment

Type: float


Default values

Property Value
bNoDelete True
LightBrightness 120.0
LightHue 21
LightRadius 100.0
LightSaturation 127

Enums

ECurrent

EC_None 
EC_FadeUp 
EC_FadeDown 

EInitialState

IS_Minimum 
IS_Maximum 

Events

PreBeginPlay

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Timer

simulated event Timer ()

Overrides: Actor.Timer


Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger



DWFadingLight

UT2004 Object >> Actor >> DWParent >> DWLightParent >> DWFadingLight (custom)
Package: 
DWeather
Known custom subclass:
Crusha/DynamicWeather

DWFadingLight: Dynamic Fading Weather Emitter Fades light dynamically (HA TAKE THAT EPIC! :P) By Mark 'MarZer' Gillard

Properties

Property group 'DWFadingLight'

FadePhase

Type: EFadePhase


Default value: FF_Cosine

FadeTime

Type: float


Default value: 5.0

LightMode

Type: EMode


MaxBrightness

Type: float


Default value: 120.0

MaxColour

Type: Object.Color


Default value:

Member Value
G 128
R 255

MinBrightness

Type: float


Default value: 50.0

MinColour

Type: Object.Color


Default value:

Member Value
B 255

Internal variables

CurHue

Type: byte


CurLum

Type: byte


CurrentColour

Type: Object.Color


CurrentTime

Type: float


CurSat

Type: byte


Frequency

Type: float


Default values

Property Value
bNoDelete True
LightBrightness 120.0
LightHue 21
LightRadius 32.0
LightSaturation 127

Enums

EFadePhase

FF_NegativeCosine 
FF_Cosine 

EMode

LM_Normal 
LM_Flicker 

Events

Tick

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick



DWSunLight

UT2004 Object >> Actor >> DWParent >> DWLightParent >> DWFadingLight >> DWSunLight (custom)
Package: 
DWeather

DWSunlight: Dynamic Fading Sunlight Fades sunlight By Mark 'MarZer' Gillard

Default values

Property Value
bDirectional True
LightEffect LE_Sunlight
Texture Texture'Gameplay.SunIcon'