hey, i'm currently trying to do some dark mod on cataclysm.
I hope this will help you with LightIntBand.
You have 34 column.
Column 1 : ID
Colmun 2 : Number of hours
Column 3-18 : Time 1, Time 2, Time 3......., Time 16
Column 19-34 : Value 1, Value 2, Value 3...... Value 16
Time 1 is for value 1
Time 12 is for value 12
Time 7 is for value 7 etc etc......
In column 2, you choose how many hours you want to set,
In fact, it never goes above 6.
Time Values from 0 to 2880 where each number represents a half minute from midnight to midnight.
For exemple : 0h00 => 0
3h00 => 360 ((360*30)/3600)
6h00 => 720 ((720*30)/3600)
12h00 => 1440
(If you choose 6, you have to edit time 1 2 3 4 5 6, values 1 2 3 4 5 6, don't give a fuck about other columns)
For Values now, these are the actual values that correspond with the time value and are a BGRX color value
You should use some color hexa converter.
Now ! Lines....
Each line represents something different
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
To get the right ID out from .Light.dbc (skyParam) you need to calculate it the following way: idLightIntBand = lightEntry.skyParam * 18 - 17
For example, i create a new light, with PARAMSID = 100
100*18 -17 = 1783
100*18 = 1800
1783 is the line 1 and 1800 is the line 18
http://www.wowdev.wiki/index.php ... ntBand.dbcNow i don't agree with the wiki, especially for the ambiant et diffuse light
In my mind ambiant is the first line and diffuse is the second.
Now, somes explications :
Line 1 : Ambiant Light
Line 2 : Diffuse Light
The Main settings, this defines the light environment in your area
I can't really explain this :s
Line 3 Sky color 0 (top)
Line 4 Sky color 1 (middle)
Line 5 Sky color 2 (middle to horizon)
Line 6 Sky color 3 (above horizon)
Line 7 Sky color 4 (horizon)
Line 8 Fog color / background mountains color
This is sky color params, here a screenshoot :
http://img4.hostingpics.net/pics/390523tutolight.jpgIn my example :
"Line 3 : White color (this is the very top color, you can't see it on my screenshoot)
Line 4 : Red Color
Line 5 : Blue color
Line 6 : Teal Color
Line 7 : Black color
Line 8 : Yellow color"
Then...
Line 9 : ?
Line 10 : Color halo sun
Line 11 : Color clouds 1
Line 12 : Color clouds 2
Line 13 : Color clouds 3
Line 14 : ?
Line 15 : ColorWaterSeaEdge
Line 16 : ColorWaterSeaMid
Line 17 : ColorWaterEdge
Line 18 : ColorWaterMid
I don't fucking know what are line 9 and 14
Lines 12 and 13 are useless.
Line 15 16 17 18 are some water params i don't know if they work or not.
Line 10 : Color sun halo, when you look up the sun, you can see halo, and modify color.
Line 11 : Cloud colors, for clouds color.
Sorry for my english langage, i can easily (or not) explain technical langage in french, but in english it's a little bit difficult