Virtualize item/weapon name tag display

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

Virtualize item/weapon name tag display

Postby AFADoomer » Tue Jun 14, 2022 8:00 am

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?
User avatar
AFADoomer
 
Joined: 15 Jul 2003

Re: Virtualize item/weapon name tag display

Postby Marisa the Magician » Tue Jun 14, 2022 11:00 am

Would very much like this, as the current method I have for replacing name tags is very hacky.
User avatar
Marisa the Magician
ZScript Crimester
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: Marisa the Magician#1666
Twitch ID: MarisaDOOM
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Virtualize item/weapon name tag display

Postby Major Cooke » Wed Jun 15, 2022 12:15 pm

If there can be a function to actually print them too, that would be so helpful as well.
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007


Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests