Forums WoW Modding Support Archives WoWModding Support Archives [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

[DiscordArchive] can anyone answer me this, does the sequence from the multiplied number of your light ID go UP or DO

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
12-13-2021, 12:02 AM
#11
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;
```
rektbyfaith
12-13-2021, 12:02 AM #11

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;
```

rektbyfaith
Administrator
0
12-13-2021, 12:02 AM
#12
Archived author: Nix • Posted: 2021-12-13T00:02:47.070000+00:00
Original source

Both will give you the same result
rektbyfaith
12-13-2021, 12:02 AM #12

Archived author: Nix • Posted: 2021-12-13T00:02:47.070000+00:00
Original source

Both will give you the same result

rektbyfaith
Administrator
0
12-13-2021, 12:03 AM
#13
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
rektbyfaith
12-13-2021, 12:03 AM #13

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

rektbyfaith
Administrator
0
12-13-2021, 12:04 AM
#14
Archived author: Nix • Posted: 2021-12-13T00:04:20.582000+00:00
Original source

Each light in Light.dbc can reference multiple LightParams
rektbyfaith
12-13-2021, 12:04 AM #14

Archived author: Nix • Posted: 2021-12-13T00:04:20.582000+00:00
Original source

Each light in Light.dbc can reference multiple LightParams

rektbyfaith
Administrator
0
12-13-2021, 12:06 AM
#15
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
rektbyfaith
12-13-2021, 12:06 AM #15

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

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)