-
Member
harrington waistgaurd minimap?
How do you enable seeing chest, corpses, weapon racks etc on the mini map for harrington waistgaurd?
-
Contributor
Code:
Hud.GetPlugin<ClickableChestGizmoPlugin>().Enabled = true;
You should put the above code in the Customize () method in the plugins\User\PluginEnablerOrDisablerPlugin.cs file. If the extension on the file is .txt, rename it to .cs. You will see examples in the Customize () method; just add the line in there.
Also, change the "true" to "false" to turn it off.
-
Post Thanks / Like - 1 Thanks
james789 (1 members gave Thanks to SeaDragon for this useful post)
-
Member
i tried putting this code in and it didn't work...
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
// *.txt files are not loaded automatically by TurboHUD
// you have to change this file's extension to .cs to enable it
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
using Turbo.Plugins.Default;
namespace Turbo.Plugins.User
{
public class PluginEnablerOrDisablerPlugin : BasePlugin, ICustomizer
{
public PluginEnablerOrDisablerPlugin()
{
Enabled = true;
}
public override void Load(IController hud)
{
base.Load(hud);
}
Hud.GetPlugin<ClickableChestGizmoPlugin>().Enabled = true;
// "Customize" methods are automatically executed after every plugin is loaded.
// So these methods can use Hud.GetPlugin<class> to access the plugin instances' public properties (like decorators, Enabled flag, parameters, etc)
// Make sure you test the return value against null!
public void Customize()
{
// basic examples
// turn on MultiplayerExperienceRangePlugin
Hud.TogglePlugin<MultiplayerExperienceRangePlugin>(true);
// turn off sell darkening
Hud.GetPlugin<InventoryAndStashPlugin>().NotGoodDisplayEnabled = false;
// disable arcane affix label
Hud.GetPlugin<EliteMonsterAffixPlugin>().AffixDecorators.Remove(MonsterAffix.Arc ane);
// override an elite affix's text
Hud.GetPlugin<EliteMonsterAffixPlugin>().CustomAffixNames.Add(MonsterAffix.Desec rator, "DES");
}
}
}
-
Member
-
Contributor
Originally Posted by
james789
Did I do it right?
Code:
public void Customize()
{
Hud.GetPlugin<ClickableChestGizmoPlugin>().Enabled = true;
// basic examples
// turn on MultiplayerExperienceRangePlugin
Hud.TogglePlugin<MultiplayerExperienceRangePlugin>(true);
// turn off sell darkening
Hud.GetPlugin<InventoryAndStashPlugin>().NotGoodDisplayEnabled = false;
// disable arcane affix label
Hud.GetPlugin<EliteMonsterAffixPlugin>().AffixDecorators.Remove(MonsterAffix.Arc ane);
// override an elite affix's text
Hud.GetPlugin<EliteMonsterAffixPlugin>().CustomAffixNames.Add(MonsterAffix.Desec rator, "DES");
}
-
Post Thanks / Like - 1 Thanks
james789 (1 members gave Thanks to SeaDragon for this useful post)