Light.dbc
📝 Structure on wowdev.wiki
❌ denotes unused fields
Structure
| Index | Field | Type | Reference |
|---|---|---|---|
| 0 | ID | uint32 | |
| 1 | ContinentID | uint32 | Map.dbc/0 |
| 2 | GameCoords_X | float | |
| 3 | GameCoords_Y | float | |
| 4 | GameCoords_Z | float | |
| 5 | GameFalloffStart | float | |
| 6 | GameFalloffEnd | float | |
| 7 | LightParamsID_0 | uint32 | LightParams.dbc/0 |
| 8 | LightParamsID_1 | uint32 | LightParams.dbc/0 |
| 9 | LightParamsID_2 | uint32 | LightParams.dbc/0 |
| 10 | LightParamsID_3 | uint32 | LightParams.dbc/0 |
| 11 | LightParamsID_4 | uint32 | LightParams.dbc/0 |
| 12 | LightParamsID_5 | uint32 | LightParams.dbc/0 |
| 13 | LightParamsID_6 | uint32 | LightParams.dbc/0 |
| 14 | LightParamsID_7 | uint32 | LightParams.dbc/0 |
Description of fields
ID
Col: 0 (uint32)
- no description -
ContinentID
Col: 1 (uint32)
- no description -
GameCoords
Col: 2 – 4 (DBCPosition3D)
- no description -
GameFalloffStart
❌ Col: 5 (float)
- no description -
GameFalloffEnd
❌ Col: 6 (float)
- no description -
LightParamsID
❌ Col: 7 – 14 (uint32)
- col 7: ParamsClear - Used in clear weather.
- col 8: ParamsClearWat - Used in clear weather while being underwater.
- col 9: ParamsStorm - Used in rainy/snowy/sandstormy weather.
- col 10: ParamsStormWat - Used in rainy/snowy/sandstormy weather while being underwater.
- col 11: ParamsDeath - Changing this seems to have no effect in 3.3.5a (is death light setting hardcoded?)
- col 12+: ParamsUnk - Unsure. Used in different phases?
