Thread: DBM Bar Colors

  1. #1

    DBM Bar Colors

    I'm trying to make the timer bars from DBM a Black/Gray to match the rest of my UI. Does anyone know where in the lua code to change this?

    Thanks!

  2. #2
    Pit Lord Odina's Avatar
    15+ Year Old Account
    Join Date
    Sep 2008
    Location
    Montreal, Quebec, Canada
    Posts
    2,259
    No need to mess around with the LUA for that. Just set the beginning color and end color to what you want in the bar options. I didn't like the preset ones so set my to a Grey for start and blood red for end as you can see here.



  3. #3
    The color options that come by default with the addon are not what I'm looking for. Hence the need for the right line of LUA coding. Sure I can get it "close" to what you have shown here, but my OCD yells at me that it doesn't match.

    It also appears you're using an addon to skin your DBM. Does the addon itself add more color options? Mainly making colors lighter or darker? What is the name of the addon?

    Thanks!

  4. #4
    Pit Lord Odina's Avatar
    15+ Year Old Account
    Join Date
    Sep 2008
    Location
    Montreal, Quebec, Canada
    Posts
    2,259
    No Addon there I made the changes to DBT and DBT-template.

    Here a link on how to get it :

    http://www.mmo-champion.com/threads/...1#post24671718

    As for your color question.... you can probably find that in the dbt lua now as the dbt template doesn't change much in game anymore. Best bet is to open it in note pad make changes save it and reload ui over and over until you get it how you want it... no Idea where it is however as I was ok with the colors provided >.<

    GL and post a pic of what it looks like in the end!!
    Last edited by Odina; 2014-02-10 at 04:03 PM.

  5. #5
    I've found what I think are the correct lines in the DBT LUA.

    Code:
            StartColorR = {
    		type = "number",
    		default = 1,
    	},
    	StartColorG = {
    		type = "number",
    		default = 1,
    	},
    	StartColorB = {
    		type = "number",
    		default = 1,
    	},
    	EndColorR = {
    		type = "number",
    		default = 1,
    	},
    	EndColorG = {
    		type = "number",
    		default = 0,
    	},
    	EndColorB = {
    		type = "number",
    		default = 0,


    But any value I try for colors doesn't change anything in game. Any ideas? The color I want is 75,75,75 if that helps at all.
    Last edited by Dhryke; 2014-02-11 at 12:45 AM.

  6. #6
    Quote Originally Posted by Dhryke View Post
    I've found what I think are the correct lines in the DBT LUA.

    Code:
            StartColorR = {
            type = "number",
            default = 1,
        },
        StartColorG = {
            type = "number",
            default = 1,
        },
        StartColorB = {
            type = "number",
            default = 1,
        },
        EndColorR = {
            type = "number",
            default = 1,
        },
        EndColorG = {
            type = "number",
            default = 0,
        },
        EndColorB = {
            type = "number",
            default = 0,


    But any value I try for colors doesn't change anything in game. Any ideas? The color I want is 75,75,75 if that helps at all.
    Those are probably the defaults. They will only apply the first time you load the addon. Once the Saved Variables are written you will have to look to those to change colours. If DBM uses the standard colour picker(I have a vague memory of it not) for colours you can use EnhancedColourPicker to set exact colours, or you can edit the Saved Variables directly.
    Last edited by tordenflesk; 2014-02-11 at 01:08 AM.

  7. #7
    Quote Originally Posted by tordenflesk View Post
    Those are probably the defaults. They will only apply the first time you load the addon. Once the SavedVariables are written you will have to look to those to change colors. If DBM uses the standard color picker for colors you can use EnhancedColourPicker to set exact colors, or you can edit the saved variables directly.
    When I look in the saved variables, nothing related to DBM is in there. Maybe I'm looking in the wrong spot?

  8. #8
    Likely in your characters folder.

  9. #9
    Big thanks to Odina and tordenflesk for pointing me in the right direction.

    Mainly ElvUI made to look like Jeremypwz UI. I just like the editing and a few other options better in ElvUI.


  10. #10
    Pit Lord Odina's Avatar
    15+ Year Old Account
    Join Date
    Sep 2008
    Location
    Montreal, Quebec, Canada
    Posts
    2,259
    Quote Originally Posted by Dhryke View Post
    Big thanks to Odina and tordenflesk for pointing me in the right direction.

    Mainly ElvUI made to look like Jeremypwz UI. I just like the editing and a few other options better in ElvUI.

    Nicely done looks really good!

    Now I'm tempted to do the same and go hunting for Ice hud's colors to change that as well as those are the only 2 unit frames / bars not black in my ui ... Damn it more fiddling!

Posting Permissions

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