EvilEngine/LKIT: Difference between revisions
Content added Content deleted
EnergyDrink (talk | contribs) (→Format) |
m (Seil moved page LKIT to EvilEngine/LKIT) |
||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
{{#vardefine:type|[[Binary]]}}<nowiki/> |
{{#vardefine:type|[[Binary]]}}<nowiki/> |
||
{{#vardefine:basetype|}}<nowiki/> |
{{#vardefine:basetype|}}<nowiki/> |
||
{{#vardefine:games|BFBB TSSM Incredibles ROTU}}<nowiki/> |
{{#vardefine:games|BFBB TSSM Incredibles ROTU RatProto}}<nowiki/> |
||
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Core/x/xLightKit.h xLightKit.h]}}<nowiki/> |
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Core/x/xLightKit.h xLightKit.h]}}<nowiki/> |
||
{{#vardefine:image|}}<nowiki/> |
{{#vardefine:image|}}<nowiki/> |
Latest revision as of 22:43, 15 September 2022
LKIT | |
---|---|
LightKit | |
Type | Binary |
Games used | Battle for Bikini Bottom The SpongeBob SquarePants Movie |
Source code | xLightKit.h |
Format
xLightKit:
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | uint | tagID | "TIKL" |
0x04 | uint | groupID | |
0x08 | uint | lightCount | Number of Lights |
0x0C | uint | lightList | |
0x10 | AssetID? | blended | Only Present in ROTU |
xLightKitLight:
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | uint | type |
|
0x04 | Vector4 | color | RGBA |
0x14 | Vector3 | null | |
0x20 | float | null | |
0x24 | Vector3 | null | |
0x30 | float | null | |
0x34 | Vector3 | null | |
0x40 | float | null | |
0x44 | Vector3 | null | |
0x50 | float | null | |
0x54 | float | radius | |
0x58 | float | angle | |
0x5C | ?? | platLight |
The direction vector determines what direction a directional light will point to. This does not point to a particular spot, but rather at an angle all throughout the map. These values can be positive or negative.
The other vectors serve no apparent purpose.