Sims 3:0x03B4C61D
From SimsWiki
Sims 3:Main Page -> Sims 3:PackedFileTypes
Sims 3:Main Page -> Sims 3:Catalog Resource
Contents |
Overview
Format
DWORD // 'LITE' DWORD // version DWORD BYTE Count128 BYTE Count56 SHORT --repetition Count128 128-byte Section: DWORD Type // type of light: point, spot etc FLOAT F1 // x position in tiles (+ moves to object's left) FLOAT F2 // y position in metres (+ moves up) FLOAT F3 // z position in tiles (+ moves in front of object) FLOAT F4 // red 0-1 FLOAT F5 // green 0-1 FLOAT F6 // blue 0-1 --see table below for usage of the following FLOAT F7 // intensity FLOAT F8 // (0-1) affects rotation about y FLOAT F9 // (0-1) affects rotation about z FLOAT F10 // (0-1) affects rotation about x FLOAT F11 // affects cone angle. Probably bare degrees FLOAT F12 FLOAT F13 FLOAT F14 // width (dimension) FLOAT F15 // height (dimension) these affect area of the light source (or amount of daylight let in by window) and thus amount of light FLOAT[] F16-F31 // more light parameters --repetition Count56 56-byte Section: DWORD FLOAT[] F1-F13 // light parameters, not all used at once
Notes
Intensity affects decay (how far the light reaches) rather than apparent brightness at source. Use the colour (rgb) settings to make softer lighting.
Known Types
Actual usage of the light parameters varies by type of light, as follows:
Type | Name | F7 | F8 | F9 | F10 | F11 | F12 | F13 | F14 | F15 |
---|---|---|---|---|---|---|---|---|---|---|
0x03 | Point | Y | - | - | - | - | - | - | - | - |
0x04 | Spot | Y | Y | Y | Y | Y | Y | - | - | - |
0x07 | Window | ? | - | - | - | - | - | - | Y | Y |
0x09 | Area | ? | - | - | - | - | - | - | Y | Y |
Sims 3:Main Page -> Sims 3:PackedFileTypes
Sims 3:Main Page -> Sims 3:Catalog Resource