Jump to content

EvilEngine/LITE: Difference between revisions

Battlepedia>Igorseabra4
mNo edit summary
Battlepedia>Seil
Line 9:
! Offset !! Type !! Variable !! Description
|-
| 0x08 || byteunsigned char || unknown'''lightType''' ||
* 0 - Point
* 1 - Spot
* 2 - Point
* 3 - Point
|-
| 0x09 || byteunsigned char || unknown'''lightEffect''' ||
* 0 - None
* 1 - None
* 2 - Flicker Slow
* 3 - Flicker
* 4 - Flicker Erratic
* 5 - Strobe Slow
* 6 - Strobe
* 7 - Strobe Fast
* 8 - Dim Slow
* 9 - Dim
* 10 - Dim Fast
* 11 - Half Dim Slow
* 12 - Half Dim
* 13 - Half Dim Fast
* 14 - Random Col Slow
* 15 - Random Col
* 16 - Random Col Fast
* 17 - Cauldron
|-
| 0x0A || byteunsigned char[2] || unknown'''lightPad''' || Padding
|-
| 0x0B0x0C || byteunsigned int || unknown'''lightFlags''' ||
* 0x08 - Environment (light affects BSP/JSP)
* 0x20 - On (light is turned on)
|-
| 0x0C0x10 || intfloat[4] || unknown'''lightColor''' || RGBA color of light
|-
| 0x100x20 || float[[Vector3]] || unknown'''lightDir''' || Light rotation
|-
| 0x140x2C || float || unknown'''lightConeAngle''' || Cone angle for spotlight (in radians)
|-
| 0x180x30 || float[[Vector3]] || unknown'''lightSphere.center''' || Light position
|-
| 0x1C0x3C || float || unknown'''lightSphere.r''' || Radius of light (how far the light reaches)
|-
| 0x40 || [[AssetID]] || '''attachID''' || An optional ID of an Entity to attach the light to. The light will be moved to the entity's position + 1 Y unit every frame (lightSphere.center is ignored)
| 0x20 || float || unknown ||
|-
| 0x24 || float || unknown ||
|-
| 0x28 || float || unknown ||
|-
| 0x2C || float || unknown ||
|-
| 0x30 || [[Vector3]] || '''position''' ||
|-
| 0x3C || float || unknown ||
|-
| 0x40 || float || unknown ||
|-
! colspan="4" | Events
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.