[DiscordArchive] > <@!197724887387734016> you remember how you determined that the client doesn't actually use WMO's
[DiscordArchive] > <@!197724887387734016> you remember how you determined that the client doesn't actually use WMO's
Archived author: Skarn • Posted: 2020-07-12T17:25:05.444000+00:00
Original source
> <@!197724887387734016> you remember how you determined that the client doesn't actually use WMO's lights? Well, uh... Apparently a doodad definition's `color` alpha byte has been reused to, if it is not -1, be a reference into MOLT.
<@!160857905879449600> really?
![[Image: unknown.png?ex=690c3139&is=690adfb9&hm=8...59ba72220&]](https://cdn.discordapp.com/attachments/408013572430626817/731924140965232762/unknown.png?ex=690c3139&is=690adfb9&hm=8f6f5be123368cb2c07aaf6c1a2c4073c490f89843b5802492313c659ba72220&)
Archived author: schlumpf • Posted: 2020-07-12T17:25:13.735000+00:00
Original source
![[Image: unknown.png?ex=690c3139&is=690adfb9&hm=8...59ba72220&]](https://cdn.discordapp.com/attachments/408013572430626817/731924140965232762/unknown.png?ex=690c3139&is=690adfb9&hm=8f6f5be123368cb2c07aaf6c1a2c4073c490f89843b5802492313c659ba72220&)
Archived author: Skarn • Posted: 2020-07-12T17:25:15.289000+00:00
Original source
I think I fucked up on testing this, as it was not obvious
Archived author: Skarn • Posted: 2020-07-12T17:25:30.585000+00:00
Original source
And besides, I now know that they are not useless and are used as shadow casters
![[Image: unknown.png?ex=690c314b&is=690adfcb&hm=3...cc0cae835&]](https://cdn.discordapp.com/attachments/408013572430626817/731924214784720906/unknown.png?ex=690c314b&is=690adfcb&hm=3ee569a770d1dcbc9b7268c813903a9848e7f5d9e24fde342e174e4cc0cae835&)
Archived author: schlumpf • Posted: 2020-07-12T17:25:31.361000+00:00
Original source
![[Image: unknown.png?ex=690c314b&is=690adfcb&hm=3...cc0cae835&]](https://cdn.discordapp.com/attachments/408013572430626817/731924214784720906/unknown.png?ex=690c314b&is=690adfcb&hm=3ee569a770d1dcbc9b7268c813903a9848e7f5d9e24fde342e174e4cc0cae835&)
Archived author: Skarn • Posted: 2020-07-12T17:25:35.285000+00:00
Original source
for 3D shadows
Archived author: Skarn • Posted: 2020-07-12T17:26:32.217000+00:00
Original source
So alpha byte is an index to MOLT if not -1?
Archived author: schlumpf • Posted: 2020-07-12T17:26:40.801000+00:00
Original source
yeah..
Archived author: Skarn • Posted: 2020-07-12T17:26:46.992000+00:00
Original source
How can you write -1 to uchar?
Archived author: Skarn • Posted: 2020-07-12T17:26:57.439000+00:00
Original source
it is 0-255