*sigh* I am
not trying to make the whole status bar translucent,
just those border textures.
Here's my definition of the STBAR replacement.
- Code: Select all • Expand view
// STBAR stuff.
graphic OMG_BRD1, 320, 2
{
Patch STONE, 0, 0 { Translation "0:255=90:90" }
Patch STONE, 256, 0 { Translation "0:255=90:90" }
}
graphic OMG_BRD2, 320, 2
{
Patch STONE, 0, 0 { Translation "0:255=110:110" }
Patch STONE, 256, 0 { Translation "0:255=110:110" }
}
graphic OMG_BRD3, 2, 30
{
Patch STONE, 0, 0 { Translation "0:255=110:110" }
Patch STONE, 1, 0 { Translation "0:255=90:90" }
}
graphic OMG_KEY, 11, 9
{
Patch OMG_BRD1, 0, -1 { Style Translucent Alpha 0.5 }
Patch OMG_BRD3, -1, 0 { Style Translucent Alpha 0.5 }
Patch OMG_BRD2, 0, 8 { Style Translucent Alpha 0.5 }
Patch OMG_BRD3, 10, 0 { Style Translucent Alpha 0.5 }
}
texture OMG_SBAR, 320, 32
{
Patch STONE, 0, 0
Patch STONE, 64, 0
Patch OMG_BRD1, 0, -1 { Style Translucent Alpha 0.5 }
Patch OMG_BRD2, 0, 31 { Style Translucent Alpha 0.5 }
Patch OMG_BRD3, -1, 1 { Style Translucent Alpha 0.5 }
Patch OMG_BRD3, 84, 1 { Style Translucent Alpha 0.5 }
Patch OMG_BRD3, 136, 1 { Style Translucent Alpha 0.5 }
Patch OMG_BRD3, 182, 1 { Style Translucent Alpha 0.5 }
Patch OMG_BRD3, 241, 1 { Style Translucent Alpha 0.5 }
Patch OMG_BRD3, 258, 1 { Style Translucent Alpha 0.5 }
Patch OMG_BRD3, 319, 1 { Style Translucent Alpha 0.5 }
}
Now, to pose an example of what's wrong here, when I add the following two lines to this definition...
- Code: Select all • Expand view
Patch M_SKULL1, 8, 2 { Style Translucent Alpha 0.5 }
Patch M_NSKUL1, 64, 2 { Style Translucent Alpha 0.5 }
This is what I see in game:

A transparent menu skull appeared on the far left. No problem there.
However, that glitchy mess to the right of it is the result of the custom M_NSKUL1 graphic I made separately, which is defined as follows:
- Code: Select all • Expand view
graphic M_NSKUL1, 56, 56
{
Offset 0, -1
Patch M_SKULL1, 0, 0 { Translation "48:61=[255,255,255]:[255,255,255]","62:79=[255,255,255]:[32,32,32]","128:143=92:107","144:151=94:109","1:2=5:6" }
}
It has a custom translation, and a slightly bigger transparent box (56x56) surrounding it to account for WADs which replace the M_SKULL graphics. As you can see, there is no translucency at all (it should have an alpha of 0.5, as the other skull does), and the empty space around it creates some kind of HOM-like effect (you can see the Doom II title pic there).
Now, just to clarify, what happens when I apply that translation directly to the translucent menu skull on the far left?
- Code: Select all • Expand view
Translation "48:61=[255,255,255]:[255,255,255]","62:79=[255,255,255]:[32,32,32]","128:143=92:107","144:151=94:109","1:2=5:6"

It looks fine.
Thus, the issue is defining Style and Translation separately, which is unfortunate, because in this scenario, it's much easier for me to be able to define the translations to apply to those border textures,
before adding them one by one to the STBAR replacement.