TRNSLATE

From ZDoom Wiki
Jump to navigation Jump to search

TRNSLATE stores custom actor translations and is an improvement over the use of CreateTranslation and Thing_SetTranslation.

The only difference is the way translations are stored and invoked. Names are assigned to translations and can be applied to the actor's property as well.

Syntax

Translations follow the exact same definitions found in DECORATE.

<name> = <translation parameters>

Examples

This will create a compound translation that can be applied with DECORATE's A_SetTranslation or ACS's SetTranslation

GreenDemon = "16:47=112:127", "169:191=152:159"

This will turn an actor red through the use of saturation.

RedSat = "0:255=%[0,0,0]:[1,0,0]"

See Also