[DECORATE] ColorTag
Moderator: GZDoom Developers
[DECORATE] ColorTag
This actor property simply overrides the coloured text that is set by nametag colour (for actors with the Tag property) in the HUD options (e.g. altering the pistol with ColorTag “Blue” or “0000FF” will change the text to blue when selecting weapons).
-
- Posts: 5032
- Joined: Sun Nov 14, 2010 12:59 am
Re: [DECORATE] ColorTag
You can do that already by using [wiki=Print#Colors]color codes[/wiki], e.g. "\cjShotgun". That displays "Shotgun" in white. Although, there is a catch: the tag needs to be looked up from the LANGUAGE lump.
In the weapon's code:
In LANGUAGE:
In the weapon's code:
Code: Select all
Tag "$TAG_BLAH"
Code: Select all
TAG_BLAH = "\cjShotgun";