-
Member
item grayed
Hello, I would like to know how to disable this option which makes some item grayed and some not. (https://i.imgur.com/BZVdU79.png)
Thank you
-
Member
Originally Posted by
RazorOgan
TurboHUD\plugins\User\PluginEnablerOrDisablerPlugin.cs
You need to rename PluginEnablerOrDisablerPlugin.txt
I´m sorry for my bad english
-
Contributor
Because I have disable all these plugins. I don't remember which one is, you can try.
Code:
Hud.GetPlugin<InventoryAndStashPlugin>().LooksGoodDisplayEnabled = false;
Hud.GetPlugin<InventoryAndStashPlugin>().DefinitelyBadDisplayEnabled = false;
Hud.GetPlugin<InventoryAndStashPlugin>().NotGoodDisplayEnabled = false;
-
Post Thanks / Like - 1 Thanks
RazorOgan (1 members gave Thanks to SeaDragon for this useful post)
-
Member
Hi, thank you, SeaDragon, i had to disable this one "Hud.GetPlugin<InventoryAndStashPlugin>().NotGoodDisplayEnabled = false;", in the "InventoryAndStashPlugin.cs".
And now i have a question how to keep this plugins every time a new release ?
Thank You
-
Active Member
if you don't want to edit this with every new release do it like @Lagertha suggested.
Change .txt extension of PluginEnablerOrDisablerPlugin.txt to .cs which will make TH read the file.
And you can always copy this file into \plugins\User folder if there is a new release.
Code:
Hud.GetPlugin<InventoryAndStashPlugin>().NotGoodDisplayEnabled = false;
This is the code inside customize method which disables the darkening.
-
Member
@Lagertha say to rename "PluginEnablerOrDisablerPlugin.txt" ok, but what do I give him as a name ? And if understand I just need to put the line of code at the bottom of the file?
-
Active Member
Originally Posted by
RazorOgan
@Lagertha say to rename "PluginEnablerOrDisablerPlugin.txt" ok, but what do I give him as a name ? And if understand I just need to put the line of code at the bottom of the file?
You don't rename but change the file extension from ".txt" to ".cs" and the code is already in the file.
-
Member