DB/LightIntBand: Difference between revisions
Jump to navigation
Jump to search
(Unconfirmed: Shadow color (Mapviewer)) |
Chuanhsing (talk | contribs) mNo edit summary |
||
Line 33: | Line 33: | ||
2 # of Entries Integer This is how many of the columns actually have data for this row (0 to 16) | 2 # of Entries Integer This is how many of the columns actually have data for this row (0 to 16) | ||
3-18 Time Values Unsigned Integer Time Values from 0 to 2880 where each number represents a half minute from midnight to midnight | 3-18 Time Values Unsigned Integer Time Values from 0 to 2880 where each number represents a half minute from midnight to midnight | ||
19-34 Color Values Unsigned Integer These are the actual values that correspond with the time value and are a BGRX color value | |||
Retrieved from "http://www.sourcepeek.com/wiki/LightIntBand.dbc" | Retrieved from "http://www.sourcepeek.com/wiki/LightIntBand.dbc" | ||
[[Category:DBC]] | [[Category:DBC]] |
Revision as of 06:48, 9 September 2009
Controls the various values that are related to floats in .LIT files which was believed just to be the sky positions. There is 18 rows corresponding to every ID so take the ID*18 to get the proper start ID to look at it and the next 17 rows after it go along with it as well
The 18 rows should then correspond to the below as it was in the .lit files
Number Description 0 Global diffuse light 1 Global ambient light 2 Sky color 0 (top) 3 Sky color 1 (middle) 4 Sky color 2 (middle to horizon) 5 Sky color 3 (above horizon) 6 Sky color 4 (horizon) 7 Fog color / background mountains color 8 ? 9 Sun color + sun halo color 10 Sun larger halo color 11 ? 12 Cloud color 13 ? 14 ? 15 Water color [dark] 16 Water color [light] 17 Shadow color? (MapViewer Source)
Header Info
Records.................10278 Fields.....................34 Record Size...............136 String Block Size...........1
Structure
Column Field Type Notes 1 ID Integer 2 # of Entries Integer This is how many of the columns actually have data for this row (0 to 16) 3-18 Time Values Unsigned Integer Time Values from 0 to 2880 where each number represents a half minute from midnight to midnight 19-34 Color Values Unsigned Integer These are the actual values that correspond with the time value and are a BGRX color value
Retrieved from "http://www.sourcepeek.com/wiki/LightIntBand.dbc"