ocullus/sanctuary menu

User Tag List

Results 1 to 10 of 10
  1. #1
    BezTwarzy's Avatar Member
    Reputation
    1
    Join Date
    Feb 2018
    Posts
    2
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ocullus/sanctuary

    How to disable those circles from thud ?

    ocullus/sanctuary
  2. #2
    SeaDragon's Avatar Contributor
    Reputation
    321
    Join Date
    Aug 2016
    Posts
    1,041
    Thanks G/R
    140/299
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Default theme customization 101
    Hud.GetPlugin<OculusPlugin>().Enabled = false;
    Hud.GetPlugin<PlayerSkillPlugin>(). InnerSanctuarySanctifiedGroundDecorator = false;

  3. Thanks BezTwarzy (1 members gave Thanks to SeaDragon for this useful post)
  4. #3
    BezTwarzy's Avatar Member
    Reputation
    1
    Join Date
    Feb 2018
    Posts
    2
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for help SeaDragon, and last question can i add 50 yards circle to know if i fully use zai gem?

  5. #4
    MrOne's Avatar Contributor
    Reputation
    163
    Join Date
    Mar 2017
    Posts
    322
    Thanks G/R
    66/141
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by BezTwarzy View Post
    Thanks for help SeaDragon, and last question can i add 50 yards circle to know if i fully use zai gem?
    Here you have:
    [v7.2] [INTERNATIONAL] [glq] ZeiCircleForBoss

  6. Thanks ADV2015 (1 members gave Thanks to MrOne for this useful post)
  7. #5
    franehr's Avatar Member
    Reputation
    6
    Join Date
    Oct 2017
    Posts
    82
    Thanks G/R
    34/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello, i didnt wanna open a new thread so i will just ask here. How do i change color for inner sanctuary(outer ring)? do i have to make change for each rune or i can change them all together at once ? I admit i am not to bright for scripting and searching for colors numbers from tables... ive seen from mr. BM some nice oculus black circle ring customization, i would like to make it like that.

  8. #6
    knight84's Avatar Active Member
    Reputation
    19
    Join Date
    Mar 2017
    Posts
    270
    Thanks G/R
    24/18
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    InnerSanctuarySafeHavenDecorator = new WorldDecoratorCollection(
    new GroundCircleDecorator(Hud)
    {
    Brush = Hud.Render.CreateBrush(100, 255, 26, 179, 4),
    Radius = 15,
    },
    new GroundLabelDecorator(Hud)
    {
    CountDownFrom = 6,
    TextFont = Hud.Render.CreateFont("tahoma", 8, 255, 3, 3, 3, true, false, 128, 0, 0, 0, true),
    },
    new GroundTimerDecorator(Hud)
    {
    CountDownFrom = 6,
    BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0),
    BackgroundBrushFill = Hud.Render.CreateBrush(100, 255, 26, 179, 0),
    Radius = 35,
    }
    );
    }



    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


    using System.Linq;

    namespace Turbo.Plugins.Default
    {

    public class OculusPlugin : BasePlugin, IInGameWorldPainter
    {

    public WorldDecoratorCollection Decorator { get; set; }

    public OculusPlugin()
    {
    Enabled = true;
    }

    public override void Load(IController hud)
    {
    base.Load(hud);

    Decorator = new WorldDecoratorCollection(
    new GroundCircleDecorator(Hud)
    {
    Brush = Hud.Render.CreateBrush(255, 128, 255, 0, -4),
    Radius = 10.0f,
    },
    new GroundLabelDecorator(Hud)
    {
    CountDownFrom = 7,
    TextFont = Hud.Render.CreateFont("tahoma", 11, 255, 96, 255, 96, true, false, 128, 0, 0, 0, true),
    },
    new GroundTimerDecorator(Hud)
    {
    CountDownFrom = 7,
    BackgroundBrushEmpty = Hud.Render.CreateBrush(128, 0, 0, 0, 0),
    BackgroundBrushFill = Hud.Render.CreateBrush(200, 0, 192, 0, 0),
    Radius = 30,
    }
    );
    }

    public void PaintWorld(WorldLayer layer)
    {
    if (Hud.Game.IsInTown) return;

    var actors = Hud.Game.Actors.Where(x => x.SnoActor.Sno == 4176 && x.GetAttributeValueAsInt(Hud.Sno.Attributes.Power_Buff_1_Visual_Effect_None, Hud.Sno.SnoPowers.OculusRing.Sno) == 1);
    foreach (var actor in actors)
    {
    Decorator.Paint(layer, actor, actor.FloorCoordinate, null);
    }
    }

    }

    }

  9. Thanks franehr (1 members gave Thanks to knight84 for this useful post)
  10. #7
    jedyzdc's Avatar Member
    Reputation
    1
    Join Date
    Mar 2020
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by SeaDragon View Post
    Default theme customization 101
    Hud.GetPlugin<OculusPlugin>().Enabled = false;
    Hud.GetPlugin<PlayerSkillPlugin>(). InnerSanctuarySanctifiedGroundDecorator = false;
    Hi SeadDragon. I am new to TurboHUD. I read the instruction and try to disable Monk Sanctuary by adding "Hud.GetPlugin<PlayerSkillPlugin>(). InnerSanctuarySanctifiedGroundDecorator = false" into my code. The code is in the folder Turbohud\plugins\User. But it does not work and make some other plugin disabled. When the TurboHUD opens, it writes "TurboHUD exceptions!(3)". Can u take a look at this? Thank you

    ------------------------------------------------
    using Turbo.Plugins.Default;

    namespace Turbo.Plugins.User
    {

    public class PluginInnerSanctuary : BasePlugin, ICustomizer
    {

    public PluginInnerSanctuary()
    {
    Enabled = true;
    }

    public override void Load(IController hud)
    {
    base.Load(hud);
    }

    // "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()
    {

    Hud.GetPlugin<PlayerSkillPlugin>(). InnerSanctuarySanctifiedGroundDecorator = false;
    }

    }

    }

  11. #8
    RNN's Avatar Legendary
    Reputation
    810
    Join Date
    Sep 2018
    Posts
    1,051
    Thanks G/R
    103/773
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    replace this line
    Code:
    Hud.GetPlugin<PlayerSkillPlugin>(). InnerSanctuarySanctifiedGroundDecorator = false;
    with ..
    Code:
    Hud.GetPlugin<PlayerSkillPlugin>().InnerSanctuarySanctifiedGroundDecorator.Enabled = false;

  12. #9
    jedyzdc's Avatar Member
    Reputation
    1
    Join Date
    Mar 2020
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by RNN View Post
    replace this line
    Code:
    Hud.GetPlugin<PlayerSkillPlugin>(). InnerSanctuarySanctifiedGroundDecorator = false;
    with ..
    Code:
    Hud.GetPlugin<PlayerSkillPlugin>().InnerSanctuarySanctifiedGroundDecorator.Enabled = false;
    Hi, thank you for your rapid reply, I tried but it does not work. Very stange. I have to use Hud.TogglePlugin<PlayerSkillPlugin>(false); instead. If possible, can u please check again? Thank you,

  13. #10
    RNN's Avatar Legendary
    Reputation
    810
    Join Date
    Sep 2018
    Posts
    1,051
    Thanks G/R
    103/773
    Trade Feedback
    0 (0%)
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    The previous code only disables the sanctuary for a rune
    If you want to disable it entirely (it is not advisable to do it if you play in a group)
    Code:
    Hud.GetPlugin<PlayerSkillPlugin>().InnerSanctuarySanctifiedGroundDecorator.Enabled = false;
    Hud.GetPlugin<PlayerSkillPlugin>().InnerSanctuaryDefaultDecorator.Enabled = false;
    Hud.GetPlugin<PlayerSkillPlugin>().InnerSanctuarySafeHavenDecorator.Enabled = false;
    Hud.GetPlugin<PlayerSkillPlugin>().InnerSanctuaryTempleOfProtecteionDecorator.Enabled = false;

Similar Threads

  1. [Guide] Make a zone a sanctuary
    By Cursed in forum WoW EMU Guides & Tutorials
    Replies: 74
    Last Post: 10-11-2011, 12:46 PM
  2. [GUIDE] Make an area sanctuary (Players will see 'sanctuary' on the screen!
    By flat-down in forum WoW EMU Guides & Tutorials
    Replies: 4
    Last Post: 06-10-2008, 09:47 AM
  3. Making an area a sanctuary
    By controlsx2 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 05-05-2008, 03:34 PM
  4. how to make a sanctuary ?
    By spike72292 in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 04-03-2008, 01:58 PM
All times are GMT -5. The time now is 03:04 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search