fuaZandroX modding reference

Actor property

StickHostAlpha value

StickHostAlpha

Availability

ZandroX only. Does not exist in Zandronum 3.2.

Usage

How opaque a stuck actor is drawn for the view from the body it is stuck to, from 0.0 to 1.0 (default 1.0): its alpha is multiplied by this there, and only there. A bomb on a player can be faint on their own screen and solid on everyone else's.

It shows only under a render style that draws alpha, such as Translucent or Add. It applies to the view from whichever body the camera is, so a spectator watching through the player's eyes sees it faded too.

ACS reads and sets it as APROP_FUA_StickHostAlpha (61); a server sends a change to its clients.

Examples

A rocket that clings, faint on the screen of the player it clings to:

ACTOR ClingBomb : Rocket
{
    +STICKY
    RenderStyle Translucent
    StickHostAlpha 0.3
}

See also