TTS now enabled, can we have some examples ! menu

User Tag List

Results 1 to 7 of 7
  1. #1
    Noobz's Avatar Member
    Reputation
    6
    Join Date
    Mar 2017
    Posts
    143
    Thanks G/R
    8/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    TTS now enabled, can we have some examples !

    Glad to hear the TTS now working. No pun intended I used to have it announce pools of reflection, all the shrines, goblins, and some of the bad affixes on elites. It appears that the format is quite a bit different. Can anyone show me a few examples to build off of?

    Thanks, Noobz

    PS So glad to have THud back again, thank you KJ and krew, and Ownedcore for sponsoring !

    TTS now enabled, can we have some examples !
  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)
    ItemsPlugin.cs
    GoblinPlugin.cs
    That's the example

  3. #3
    Noobz's Avatar Member
    Reputation
    6
    Join Date
    Mar 2017
    Posts
    143
    Thanks G/R
    8/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am looking at goblinplugin.cs and dont see anything about speak. I see this:

    Code:
    TreasureFiendGoblinDecorator = new WorldDecoratorCollection(
                    new GroundCircleDecorator(Hud)
                    {
                        Brush = Hud.Render.CreateBrush(180, 255, 163, 15, -2),
                        Radius = 1.5f,
                    },
    		new GroundCircleDecorator(Hud) {
    
                        Brush = Hud.Render.CreateBrush(255, 210, 180, 140, -2),
    
                        Radius = 40.0f,
    
                        RadiusTransformator = new StandardPingRadiusTransformator(Hud, 700)
    
                    },
    
                    new GroundCircleDecorator(Hud) {
    
                        Brush = Hud.Render.CreateBrush(255, 180, 180, 180, 2),
    
                        Radius = 2.5f,
    
                        RadiusTransformator = new StandardPingRadiusTransformator(Hud, 333)
    
                    },
    		new MapShapeDecorator(Hud) {
    
                        ShapePainter = new CircleShapePainter(Hud),
    
                        Brush = Hud.Render.CreateBrush(255, 210, 180, 140, 2),
    
                        Radius = 20,	
    	    
    		    RadiusTransformator = new StandardPingRadiusTransformator(Hud, 600)
    
                    },
    
                    new MapShapeDecorator(Hud) {
    
                        ShapePainter = new CircleShapePainter(Hud),
    
                        Brush = Hud.Render.CreateBrush(255, 180, 180, 180, 2),
    
                        Radius = 4.5f
    
                    },
                    new GroundLabelDecorator(Hud)
                    {
                        BackgroundBrush = Hud.Render.CreateBrush(180, 255, 163, 15, 0),
                        BorderBrush = Hud.Render.CreateBrush(0, 0, 0, 0, 0),
                        TextFont = Hud.Render.CreateFont("tahoma", 7, 255, 0, 0, 0, true, false, false)
                    },
                    new MapShapeDecorator(Hud)
                    {
                        ShapePainter = new CircleShapePainter(Hud),
                        Brush = Hud.Render.CreateBrush(180, 255, 198, 107, 3),
                        ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                        Radius = 8f,
                    },
                    new MapShapeDecorator(Hud)
                    {
                        ShapePainter = new CircleShapePainter(Hud),
                        Brush = Hud.Render.CreateBrush(180, 255, 163, 15, 3),
                        ShadowBrush = Hud.Render.CreateBrush(96, 0, 0, 0, 1),
                        Radius = 4.5f,
                    }
                    );
    Not sure where to put any changes in. Also was not sure where to put the code into the itemplugin.cs either. That's why I asked for some examples. Thanks for the reply though

  4. #4
    coreyblack's Avatar Active Member
    Reputation
    35
    Join Date
    Oct 2009
    Posts
    35
    Thanks G/R
    9/33
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP Code:
    Hud.RunOnPlugin<GoblinPlugin>(plugin => {  
                    
    plugin.EnableSpeak true;
                }); 
    customization
    Last edited by coreyblack; 03-31-2017 at 03:54 PM.

  5. #5
    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)
    var goblins = Hud.Game.AliveMonsters.Where(x => x.SnoMonster.Priority == MonsterPriority.goblin);
    foreach (var goblin in goblins)
    {
    if (EnableSpeak && (goblin.LastSpeak == null) && Hud.LastSpeak.TimerTest(5000))
    {
    Hud.Speak(goblin.SnoMonster.NameLocalized);
    goblin.LastSpeak = Hud.CreateAndStartWatch();
    }


    WorldDecoratorCollection decorator;
    if (!SnoMapping.TryGetValue(goblin.SnoActor.Sno, out decorator))
    {
    decorator = DefaultGoblinDecorator;
    }

    decorator.Paint(layer, goblin, goblin.FloorCoordinate, goblin.SnoMonster.NameLocalized);
    }

  6. #6
    Noobz's Avatar Member
    Reputation
    6
    Join Date
    Mar 2017
    Posts
    143
    Thanks G/R
    8/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK, still a Noob here Seadragon, where would this go? Also I tried to put what Corey put into the PluginEnablerOrDisablerPlugin file and got errors. It used to be simple and now we have to edit or create multiple files.

  7. #7
    greatscott's Avatar Member
    Reputation
    2
    Join Date
    May 2017
    Posts
    19
    Thanks G/R
    58/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Noobz,

    Originally Posted by Noobz View Post
    Glad to hear the TTS now working. No pun intended I used to have it announce pools of reflection, all the shrines, goblins, and some of the bad affixes on elites.
    Have you got TTS working for announcing some of the bad affixes on elites? It'll be quite helpful because a zdps monk is only worried about Wornhole.
    Thank you!

Similar Threads

  1. Hello guys i have some question can someone help me?
    By darknikee in forum WoW Bots Questions & Requests
    Replies: 0
    Last Post: 01-24-2014, 08:12 AM
  2. world of warcraft i have spanish version now how can i change it to english
    By aplusads21 in forum World of Warcraft General
    Replies: 3
    Last Post: 01-15-2011, 05:53 AM
  3. [Core] Can I have some help setting up a server?
    By DARIU5 in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 01-13-2011, 04:30 AM
  4. Can I have some help?
    By Bloodelf8229 in forum WoW Scams Help
    Replies: 3
    Last Post: 08-16-2008, 06:41 PM
All times are GMT -5. The time now is 02:15 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