by 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?
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?