-
Member
How do I disable the widget that appears in the top-center of the screen?
Please see screenshot. I want to disable both of the items pointed to by the arrows. What are their names?
https://i.imgur.com/eK7SXAx.png
Last edited by mrjayaur; 11-10-2019 at 04:34 AM.
-
Contributor
edit config\ui_default\ui_default_main.xml
<portraits enabled="0">
and disable the following plugin
DamageBonusPlugin.cs
-
Post Thanks / Like - 1 Thanks
mrjayaur (1 members gave Thanks to s4000 for this useful post)
-
Member
Thank you. Is there a better way to disable the portraits than to modify the ui_default_main.xml file? The file says not to modify it. I was wondering if there was a way to enable/disable that in a file that should be modified, like PluginEnablerOrDisabler.
-
Member
Hi mrjayaur
for DamageBonusPlugin.cs i used this
Hud.TogglePlugin<DamageBonusPlugin>(false); in PluginEnablerOrDisablerPlugin.cs
-
Post Thanks / Like - 1 Thanks
mrjayaur (1 members gave Thanks to TobiaSBooN for this useful post)