Close
Showing results 1 to 9 of 9

Hybrid View

  1. #1

    Default [How To] Mod Trinity Bars 2.0 to have "focustarget" in the target options.

    I hit 70 recently and promised myself I would rework all my mods, macros and key bindings to be more streamlined and efficient (as well as taking less ram). I was working with Trinity2 and was surprised that in the button options you could target pretty much anything except "focustarget". I thought to myself, "how hard could it be to include that as one of the options?".

    Turns out... not that hard at all.

    Trinity2 generally comes with the following folders:
    Trinity2
    TrinityBars2
    TrinityCastBars
    TrinityXP (though this is an entirely optional addition)

    Inside the TrinityBars2 folder you will find a lua file entitled "bars.lua". Open this file and go to line 88 which looks like this:
    Code:
    local targetNames = { "none", "player", "pet", "target", "targettarget", "focus", "mouseover", "party1", "party2", "party3", "party4" }
    Simply add "focustarget" in there at the end to make it look like this:
    Code:
    local targetNames = { "none", "player", "pet", "target", "targettarget", "focus", "mouseover", "party1", "party2", "party3", "party4", "focustarget" }
    Before Shots:

    This is options panel I am talking about:

    I am setting a button 2 to be a spell... I have also selected Opt1 to be "target" and now I want to set a value of target:

    Notice that before modding Trinity "focustarget" is not an option, although "focus" is. But I don't want to shoot a fireball at my focus.

    Here is the list AFTER the mod:

    Now "focustarget" is part of the list.

    Now I can drag any spell to that button on the bar and have it target=focustarget.

    I have tested this and it works.

    Hope this comes in handy.

  2. #2

    Default

    Other than the nifty mod of trinity that you have shown, you have also shown me functionality in the mod that I hadn't looked at. Maybe I wont have to write out macro's for all my spells after all
    Then again I guess macros are more versatile with the various conditions.
    I'm going to live forever, or die trying.
    5 Shaman Northrend Heroics - My YouTube Channel - Details about my setup (outdated)
    T2 Heroics: lvl 80 Heroics wearing lvl 60 armour
    Running 5-6 accounts on one computer, currently playing Horde on US-Skywall.
    My main teams:
    5x Shamans lvl 85
    5-class team lvl 100: Paladin, Druid, Shaman, Mage, Priest

  3. #3

    Default

    Yes, macros are much more versatile. But I don't believe that all spells need a macro. Fireball for instance. I don't need to put the modifiers in there that cancel it if the mob is dead or friendly or doesn't exist... wow already wont cast a fireball at a friendly target, or a dead one, or one that doesn't exist. (/cast [target=god] fireball. WoW:"Error, unit does not exist")

    Macros are good for /castsequences though... so you'll never get rid of macros all together. What I do like about the mod is I can switch out the spell that goes on that button on the fly without having to edit a macro.

  4. #4

    Default

    Thanks for sharing this. I have been wanting to try another bar mod (currently using Bongos2) ever since I setup my 5 box interface. I have been too scared to make the leap because of the time it would take and I may just end up with something like I already had. Now you have shared this hack I will be definetly making the jump to trinity bars. I will make sometime to do so this weekend.
    5 Boxing - 1x Paladin 4x Shaman - 70
    Charles - And his 4 angels.
    Aman'Thul - Alliance

  5. #5

    Default

    IT Monkey, I love you and Hate you. I spent hours setting up Bongos3 and getting all my Macro's right, now you make it so much easier. I will change over to Trinity tonite.

  6. #6

    Default

    I was lucky and had already changed to trinity when I started multiboxing
    I only wrote macros for spells that I thought could need it (i like to make them so that any char can be the main by just changing focus), but with this fix I might need macros for even less of them, will have to test this out when I get time.
    I'm going to live forever, or die trying.
    5 Shaman Northrend Heroics - My YouTube Channel - Details about my setup (outdated)
    T2 Heroics: lvl 80 Heroics wearing lvl 60 armour
    Running 5-6 accounts on one computer, currently playing Horde on US-Skywall.
    My main teams:
    5x Shamans lvl 85
    5-class team lvl 100: Paladin, Druid, Shaman, Mage, Priest

  7. #7

    Default

    This is great - the lack of focustarget was the only thing i could fault Trinity for - its an amazing bar mod and you just made it perfect!

  8. #8

    Default

    while you are modding the list focustargettarget is another very useful unitid, especially for healers/paladins
    [align=center]AeineiA AeineiB AeneiC AenieD AeineiX
    All your soul are belong to us
    "They can't be bargained with. They can't be reasoned with. They don't feel pity, or remorse, or fear. And they absolutely will not stop, ever, until you are dead"
    The Wiki is your Friend
    [/align]

  9. #9

    Default

    Quote Originally Posted by 'Djarid',index.php?page=Thread&postID=53689#post53 689
    while you are modding the list focustargettarget is another very useful unitid, especially for healers/paladins
    I didn't know that was a valid target option. If it is just add it like I added "focustarget". You can add any valid target that would work normally with target=.

    Thanks for the kudos guys but all I did is what I normally do when something doesn't work the way I want it to... poke it with a stick until it does.. if it refuses to cooperate I fling poo at it. That's why I am the monkey.

Similar Threads

  1. Replies: 2
    Last Post: 10-21-2008, 07:54 AM
  2. Trinity bars in beta?
    By Rigz in forum Macros and Addons
    Replies: 7
    Last Post: 10-02-2008, 12:24 PM
  3. Trinity Bars upgrading from 1.0 to 2.0
    By Thulos in forum Macros and Addons
    Replies: 6
    Last Post: 07-08-2008, 10:14 AM
  4. I love Trinity bars but I need help please.
    By LancerX in forum Macros and Addons
    Replies: 3
    Last Post: 04-16-2008, 03:04 PM
  5. My new UI - <3 Trinity Bars !
    By Team Squishee in forum General WoW Discussion
    Replies: 8
    Last Post: 03-02-2008, 04:42 PM

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •