[DECORATE] ColorTag

Moderator: GZDoom Developers

Guest

[DECORATE] ColorTag

Post by Guest »

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).
Blue Shadow
Posts: 4963
Joined: Sun Nov 14, 2010 12:59 am

Re: [DECORATE] ColorTag

Post by Blue Shadow »

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:

Code: Select all

Tag "$TAG_BLAH"
In LANGUAGE:

Code: Select all

TAG_BLAH = "\cjShotgun";

Return to “Closed Feature Suggestions [GZDoom]”