Of SOCs and lights (again)

Status
Not open for further replies.

Rob

Member
Well, I see that there are 32 blank OpenGL lights, and I try to attach them to the Emerald hunt emeralds:
Code:
Sprite 87
LightType = 29

Sprite 88
LightType = 29

Sprite 89
LightType = 29

Light 29
Type = 29
DynamicRadius = 256
DynamicColor = 0016161616
CoronaRadius = 0
CoronaColor = 0016161616
OffsetX = 0
OffsetY = 0

Shock of shocks, it doesn't work.
Help?
 
You have to supply a decimal value for the color. And don't forget to include the alpha value.

Blaze used to have the same problem, and I helped him work it out. Maybe he has an example you can look at.
 
alpha value is the translucency level

let's say you want to make a yellow light.

So you'd probably use something like
0xFFFF00FF

convert that to decimal
 
Status
Not open for further replies.

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top