From ZDoom Wiki
Jump to navigation Jump to search

A_SetTranslucent (float alpha [, int mode])

Nuvolabomb.png Warning: The feature described on this page has been deprecated, and will no longer be supported or updated by the ZDoom developers. While some functionality may be retained for the purposes of backwards-compatibility, authors are strongly discouraged from utilizing this feature in future maps and to instead use A_SetRenderStyle. Compatibility with future ZDoom versions is not guaranteed.

Sets translucency for the calling actor. There are 3 modes:

  • 0: normal translucency blending. This mode combined with an alpha setting of 1.0 will make the actor opaque. This is the default mode.
  • 1: additive blending.
  • 2: fuzz effect. Alpha has no meaning with this setting.

alpha specifies the amount of visibility and is a value between 0.0 (not visible) and 1.0 (fully visible).


This rocket variant displays its explosion with additive translucency. Slight visual enhancement.

ACTOR PrettyRocket : Rocket replaces Rocket
    MISL B 0 A_SetTranslucent(0.75, 1)
    Goto Super::Death