1,535
edits
m (4 revisions imported) |
m (Seil moved page LKIT to EvilEngine/LKIT) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1:
<onlyinclude>
{{#vardefine:typeid|LKIT}}<nowiki/>
{{#vardefine:name|LightKit}}<nowiki/>
{{#vardefine:type|[[Binary]]}}<nowiki/>
{{#vardefine:basetype|}}<nowiki/>
|sourcecode=[https://github.com/bfbbdecomp/bfbb/blob/master/src/Core/x/xLightKit.h xLightKit.h]}}▼
{{#vardefine:games|BFBB TSSM Incredibles ROTU RatProto}}<nowiki/>
▲
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoAssetInfobox}}
==Format==
===xLightKit:===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 ||
|-
| 0x04 ||
|-
| 0x08 ||
|-
| 0x0C ||
|-
| 0x10 || AssetID? || '''blended''' || '''Only Present in ROTU'''
|}
===xLightKitLight:===
{| class="wikitable"
! Offset !! Type !! Variable !! Description
|-
| 0x00 ||
* 1 - Ambient light
* 2 - Directional light
|-
| 0x04 ||
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
| 0x54 || float || '''radius''' ||
|-
|
|-
| 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.
Line 59 ⟶ 66:
{{Assets}}
{{AutoGameNavs}}
[[Category:Asset]]
|