EvilEngine/LITE
< EvilEngine(Redirected from LITE)
LITE | |
---|---|
Light | |
Type | Base |
Base Type | 0x25 |
Games used | Night of 100 Frights Battle for Bikini Bottom |
Source code | zLight.h |
Format
Offset | Type | Variable | Description |
---|---|---|---|
0x08 | unsigned char | lightType |
|
0x09 | unsigned char | lightEffect |
|
0x0A | unsigned char[2] | lightPad | Padding |
0x0C | unsigned int | lightFlags |
|
0x10 | float[4] | lightColor | RGBA color of light |
0x20 | Vector3 | lightDir | Light rotation |
0x2C | float | lightConeAngle | Cone angle for spotlight (in radians) |
0x30 | Vector3 | lightSphere.center | Light position |
0x3C | float | 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) |
Events | |||
0x44 | Event[numberOfEvents] | Events |