Light.dbc
From Source Peek Wiki
| Please expand this page. Further information might be found in a section of the talk page. Please remove this message once the article has been expanded. |
[edit]
About
This is the starting file for what controls the lights, fogs, sky color, water color, and well other similar items. This information prior to 1.9 used to be stored in the .lit files but in 1.9 was moved to Light.dbc and the other Light DBC files.
[edit]
Header Info
Records...................550 Fields.....................12 Field Range Record Size................48 String Block Size...........1
[edit]
Structure
| Column | Field | Type | Notes |
|---|---|---|---|
| 1 | ID | Integer | |
| 2 | iRefID_Map | Integer | |
| 3 | x position | Float | The x position of this "light" multiplied by 36 |
| 4 | y position | Float | The y position of this "light" multiplied by 36 |
| 5 | z position | Float | The z position of this "light" multiplied by 36 |
| 6 | inner radius | Float | The inner radius of this "light" multiplied by 36 (if you are within the inner radius there shouldn't be any interpolation with other lights) |
| 7 | outer radius | Float | The outer radius of this "light" multiplied by 36 (if you are outside the inner radius but inside the outer radius then this light can be interpolated with other lights) |
| 8 | Sky & Fog settings | Integer | An entry for LightIntBand.dbc & LightFloatBand.dbc which each control how various properties work |
| 9 | Water Settings | Integer | This is a pointer for just the water settings in LightIntBand.dbc |
| 10 | Unknown | Integer | Unknown what it controls exactly but points to some combination of LightParams.dbc, LightIntBand.dbc, or LightFloatBand.dbc |
| 11 | Unknown | Integer | Unknown what it controls exactly but points to some combination of LightParams.dbc, LightIntBand.dbc, or LightFloatBand.dbc |
| 12 | Unknown | Integer | Unknown what it controls exactly but points to some combination of LightParams.dbc, LightIntBand.dbc, or LightFloatBand.dbc |
