Display of weapon name tags, as controlled by the 'displaynametags' CVar, is hard-coded in g_game.cpp as StatusBar->AttachMessage calls in the 'slot', 'weaprev', and 'weapnext' console binds.
Additionally, the DisplayNameTag function called in the ZScript PlayerPawn InvNext and InvPrev functions to display inventory item name tags is a native function (also in g_game.cpp).
Can these be standardized and consolidated, or otherwise be set up to allow override via ZScript?
Virtualize item/weapon name tag display
Moderator: GZDoom Developers
-
- Posts: 3886
- Joined: Fri Feb 08, 2008 9:15 am
- Preferred Pronouns: She/Her
- Operating System Version (Optional): (btw I use) Arch
- Graphics Processor: nVidia with Vulkan support
- Location: Vigo, Galicia
Re: Virtualize item/weapon name tag display
Would very much like this, as the current method I have for replacing name tags is very hacky.
-
- Posts: 8192
- Joined: Sun Jan 28, 2007 3:55 pm
- Preferred Pronouns: He/Him
- Location: QZDoom Maintenance Team
Re: Virtualize item/weapon name tag display
If there can be a function to actually print them too, that would be so helpful as well.