[DiscordArchive] can anyone answer me this, does the sequence from the multiplied number of your light ID go UP or DO
[DiscordArchive] can anyone answer me this, does the sequence from the multiplied number of your light ID go UP or DO
Archived author: Nix • Posted: 2021-12-13T00:02:11.698000+00:00
Original source
You can also do what wowdev.wiki says and do
```cpp
u32 lightIntBandStartId = (lightParams->id * 18) - 17;
u32 lightFloatBandStartId = (lightParams->id * 6) - 5;
```
Archived author: Nix • Posted: 2021-12-13T00:02:47.070000+00:00
Original source
Both will give you the same result
Archived author: Nix • Posted: 2021-12-13T00:03:18.571000+00:00
Original source
and to be completely clear, you do not multiply your light.dbc id, you multiply your LightParams.dbc id
Archived author: Nix • Posted: 2021-12-13T00:04:20.582000+00:00
Original source
Each light in Light.dbc can reference multiple LightParams
Archived author: Nix • Posted: 2021-12-13T00:06:38.399000+00:00
Original source
The number 36 in your example is probably derived from the inches -> Yard shenanigans going on in the Light DBCs