DB/Light: Difference between revisions

From wowdev
Jump to navigation Jump to search
m (→‎Structure: : About Params.)
Line 15: Line 15:
  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)
  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)
  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 Integer An entry for [[LightIntBand.dbc]] & [[LightFloatBand.dbc]] which each control how various properties wor
  8 Sky & Fog Integer These entries are all IDs in [[LightIntBand.dbc]], [[LightFloatBand.dbc]] as well as [[LightParams.dbc]].
  9 Water Settings Integer This is a pointer for just the water settings in [[LightIntBand.dbc]]
  9 Water Settings Integer The different columns are for different settings. Water, death etc.
  10 Unknown Integer This should be to [[LightParams.dbc]].
  10 SunsetParams Integer
  11 Unknown Integer <.. [[LightParams.dbc]], [[LightIntBand.dbc]] or [[LightFloatBand.dbc]]
  11 OtherParams Integer
  12 Unknown Integer most likely more Params! ..>
  12 DeathParams Integer
  13 Unknown Integer Only set for some entries in DeathknightStart, Northrend and NexusRaid. They have other values too!
  13 Unknown Integer Only set for some entries in DeathknightStart, Northrend and NexusRaid. They have other values too!
  14 Unknown Null This is in WotLK! Same above.
  14 Unknown Null These may be for different phases.
  15 Unknown Null This is in WotLK!
  15 Unknown Null


[[Category:DBC]]
[[Category:DBC]]

Revision as of 00:52, 6 September 2009

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 	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	Integer 	These entries are all IDs in LightIntBand.dbc, LightFloatBand.dbc as well as LightParams.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 	Null		These may be for different phases.
15 	Unknown 	Null