Sims 3:0x03B4C61D
From SimsWiki
Modding Reference by Category | |
---|---|
Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference |
LITE | ||
---|---|---|
TypeID: | 0x03B4C61D | |
Game Version: | The Sims 3 |
Contents |
Overview
This is an RCOL chunk.
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
Known Types
128-byte Sections
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 | ... |
Notes
Intensity affects decay (how far the light reaches) rather than apparent brightness at source. Use the colour (rgb) settings to make softer lighting.
56-byte Sections
This controls the shape of the shadow thrown by the object.
Type | Name | ... |
---|
Modding Reference by Category | |
---|---|
Sims 3 :DBPF | File Types | RCOL(Scene) | Catalog Resource | String Table | Key Table | TS3 Programmer's Reference |