Difference between revisions of "Sims 3:0x03B4C61D"
From SimsWiki
m |
HugeLunatic (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | {{TS3ModdingHeader}} | |
− | + | ||
− | + | ==Overview== | |
− | + | ||
− | + | ||
==Format== | ==Format== | ||
Line 39: | Line 37: | ||
====128-byte Sections==== | ====128-byte Sections==== | ||
Actual usage of the light parameters varies by type of light, as follows: | Actual usage of the light parameters varies by type of light, as follows: | ||
− | {| | + | |
+ | {| class="nicetable" | ||
|- | |- | ||
! Type!!Name!!F7!!F8!!F9!!F10!!F11!!F12!!F13!!F14!!F15!!... | ! Type!!Name!!F7!!F8!!F9!!F10!!F11!!F12!!F13!!F14!!F15!!... | ||
Line 51: | Line 50: | ||
| 0x09||Area||?||-||-||-||-||-||-||Y||Y||... | | 0x09||Area||?||-||-||-||-||-||-||Y||Y||... | ||
|} | |} | ||
+ | |||
=====Notes===== | =====Notes===== | ||
Intensity affects decay (how far the light reaches) rather than apparent brightness at source. | Intensity affects decay (how far the light reaches) rather than apparent brightness at source. | ||
Use the colour (rgb) settings to make softer lighting. | Use the colour (rgb) settings to make softer lighting. | ||
+ | |||
====56-byte Sections==== | ====56-byte Sections==== | ||
− | {| | + | {| class="nicetable" |
|- | |- | ||
! Type!!Name!!... | ! Type!!Name!!... | ||
|} | |} | ||
− | + | ||
− | + | {{TS3ModdingHeader}} | |
− | + |
Revision as of 19:47, 4 May 2010
Tutorials by Category | |
---|---|
CAS | Patterns | Objects | Building | Worlds | Modding | Modding Reference |
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
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
Type | Name | ... |
---|
Tutorials by Category | |
---|---|
CAS | Patterns | Objects | Building | Worlds | Modding | Modding Reference |