no jasne bud upravou light dbc nebo decompilovat clienta a skompilovat si ho znovu
tady je jeste info o dbc light jestli to nekomu bude k necemu:
Light.dbc
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.
Header Info
Records...................550
Fields.....................12
Record Size................48
String Block Size...........1
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, if not on a map with terrain: x-17066.666.
4 y position Float The y position of this "light" multiplied by 36, if not on a map with terrain: y-17066.666.
5 z position Float The z position of this "light" multiplied by 36
6 falloffStart 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 falloffEnd 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 Integer These entries are all IDs in LightParams.dbc. (and in LightIntBand.dbc, LightFloatBand.dbc?)
9 Water Settings Integer The different columns are for different settings. Water, death etc.
10 SunsetParams Integer
11 OtherParams Integer
12 DeathParams Integer
13 Unknown Integer Only set for some entries in DeathknightStart, Northrend and NexusRaid. They have other values too!
14 Unknown Integer These may be for different phases.
15 Unknown Integer
LightParams.dbc
Controls some of the settings which don't change with time for light, fog, and water.
Header Info
Records...................571
Fields......................9
Record Size................36
String Block Size...........1
Structure
Column Field Type Notes
1 ID Integer
2 highlightSky Boolean
3 lightSkyboxID Integer This is a ref to LightSkybox
4 cloudTypeID Integer
5 glow Float This controls how much Fog gets added to everything (!) and is used in some places to make them look extra bright
6 waterShallowAlpha Float Controls how transparent the water is for lakes & rivers.
7 waterDeepAlpha Float
8 oceanShallowAlpha Float Controls how transparent the water is for the ocean.
9 oceanDeepAlpha Float
10 flags Integer
LightIntBand.dbc
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