Virtualize item/weapon name tag display

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is ON
[img] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Virtualize item/weapon name tag display

Re: Virtualize item/weapon name tag display

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

Re: Virtualize item/weapon name tag display

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

Virtualize item/weapon name tag display

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?

Top