[Not needed] [DECORATE] ColorTag

Moderator: GZDoom Developers

[DECORATE] ColorTag

Postby Camilla Govingworth » Thu Oct 22, 2020 4:37 pm

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).
Camilla Govingworth
 

Re: [DECORATE] ColorTag

Postby Blue Shadow » Fri Oct 23, 2020 7:36 am

You can do that already by using color codes, 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 allExpand view
Tag "$TAG_BLAH"

In LANGUAGE:

Code: Select allExpand view
TAG_BLAH = "\cjShotgun";
User avatar
Blue Shadow
 
 
 
Joined: 14 Nov 2010
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)


Return to Closed Feature Suggestions

Who is online

Users browsing this forum: VitSm and 2 guests