Shadowcolor

O Ilusionista

Captain 100K
I am trying to set the gfxshadow color to pure black, without any transparency, to match the 8bit feeling of my game.

But even if I add the shadowcolor, I still get a semitransparent shadow:

qfwlyN7.png


light 150 -64
at 0

shadowcolor 0_0_0
at 0

shadowopacity -2
at 0

Is I doing anything wrong is isn't this working on OpenBOR V3?
Thanks
 
Solution
I am trying to set the gfxshadow color to pure black, without any transparency, to match the 8bit feeling of my game.

But even if I add the shadowcolor, I still get a semitransparent shadow:

qfwlyN7.png




Is I doing anything wrong is isn't this working on OpenBOR V3?
Thanks
Need to change the shadowalpha to -1 in and shadowcolor 1_1_1.
Can be changed with scripts if you want to apply in any level automatically.

Code:
#load        Stage 3
#load        St1_Pinepot 3
#load        St1_Door 3
#load        Telephone 3
#load        Delay 3

shadowalpha -1
at 0

shadowcolor 1_1_1
at 0

C:
{
    changeopenborvariant("shadowalpha", alphaMode);
    changeopenborvariant("shadowcolor", rgbcolor(color, color...
I am trying to set the gfxshadow color to pure black, without any transparency, to match the 8bit feeling of my game.

But even if I add the shadowcolor, I still get a semitransparent shadow:

qfwlyN7.png




Is I doing anything wrong is isn't this working on OpenBOR V3?
Thanks
Need to change the shadowalpha to -1 in and shadowcolor 1_1_1.
Can be changed with scripts if you want to apply in any level automatically.

Code:
#load        Stage 3
#load        St1_Pinepot 3
#load        St1_Door 3
#load        Telephone 3
#load        Delay 3

shadowalpha -1
at 0

shadowcolor 1_1_1
at 0

C:
{
    changeopenborvariant("shadowalpha", alphaMode);
    changeopenborvariant("shadowcolor", rgbcolor(color, color, color));
}

1704419166474.png

EDIT: I understand better your question after testing the color 0_0_0, I expected pure black but shows gray tone. If I'm not wrong, zero in this field works like an empty value instead of a color.
 
Last edited:
Solution
Back
Top Bottom