1. #1

    oUF NIN, but without Auras

    Hi Folks,

    I just discovered ouf NIN for myself and I really love the look of it!
    But I want not see the auras displayed by NIN itself, I'm using raven.

    Can some LUA master help me edit it the way I want it?

    The link to the it: http://www.wowinterface.com/download...6-oUF_NIN.html

    Thanks in advance

    greetz

    Weischbier

    PS: I hope this is the right section/Thread, if not sorry

  2. #2
    This is a bit of rare request so option for this isn't directly in the config file for it.
    You can ask the author here:
    http://www.wowinterface.com/download....html#comments

  3. #3
    Quote Originally Posted by Sedivy View Post
    This is a bit of rare request so option for this isn't directly in the config file for it.
    You can ask the author here:
    http://www.wowinterface.com/download....html#comments
    Yeah I would but he states this:
    _PLEASE_

    • This is a personal layout keep that in mind, i won't help you remake stuff or adjust it too YOUR liking.. im sorry.
    :/

  4. #4
    Oh. Well that's a bummer. You need someone versed in lua to peruse through it.
    My dirty way of doing it would be to go to oUF_NiN/auras.lua and then comment out all the listed auras
    But I'm sure there's a more elegant way of doing it than the hack and slash for 15 min for every single aura.
    You might or might not have to repeat the process for auras-list.lua as I'm not sure if those raid debuffs are for raidframes only or for unitframes as well.

  5. #5
    Quote Originally Posted by Sedivy View Post
    Oh. Well that's a bummer. You need someone versed in lua to peruse through it.
    My dirty way of doing it would be to go to oUF_NiN/auras.lua and then comment out all the listed auras
    But I'm sure there's a more elegant way of doing it than the hack and slash for 15 min for every single aura.
    You might or might not have to repeat the process for auras-list.lua as I'm not sure if those raid debuffs are for raidframes only or for unitframes as well.
    I deleted this file and still shows all buffs/debuffs :/
    I looked through every code but I couldnt find any hint of auras

  6. #6
    Hm. Outright deleting it is probably reverting it to just showing all buffs/debuffs unfiltered.
    Yeah you really need someone to look through that code.

  7. #7
    Deleted

    Talking

    so i've not tested it only got a quick look at the code.
    in core.lua begin around line 1000.
    this should be the coding for auras.

    so i'm no pro in coding but i whould give it a shot by simply set some comment brackets.

    code it only for example frome core.lua

    Code:
    --[[
    elseif unit == "focus" then
    		local GAP = 6
    
    		self.Buffs = CreateFrame("Frame", nil, self)
    		self.Buffs:SetPoint("BOTTOMRIGHT", self, "TOPRIGHT", -3, 19)
    		self.Buffs:SetHeight(config.height)
    		self.Buffs:SetWidth((config.height * 4) + (GAP * 3))
    
    		self.Buffs["growth-x"] = "LEFT"
    		self.Buffs["growth-y"] = "DOWN"
    		self.Buffs["initialAnchor"] = "RIGHT"
    		self.Buffs["num"] = 4
    		self.Buffs["size"] = config.height
    		self.Buffs["spacing-x"] = GAP
    		self.Buffs["spacing-y"] = GAP
    
    		self.Buffs.CustomFilter   = ns.CustomAuraFilter
    		self.Buffs.PostCreateIcon = ns.PostCreateAuraIcon
    		self.Buffs.PostUpdateIcon = ns.PostUpdateAuraIcon
    
    		self.Buffs.parent = self
    ]]--

  8. #8
    Quote Originally Posted by Vyntrox View Post
    so i've not tested it only got a quick look at the code.
    in core.lua begin around line 1000.
    this should be the coding for auras.

    so i'm no pro in coding but i whould give it a shot by simply set some comment brackets.

    code it only for example frome core.lua

    Code:
    --[[
    elseif unit == "focus" then
    		local GAP = 6
    
    		self.Buffs = CreateFrame("Frame", nil, self)
    		self.Buffs:SetPoint("BOTTOMRIGHT", self, "TOPRIGHT", -3, 19)
    		self.Buffs:SetHeight(config.height)
    		self.Buffs:SetWidth((config.height * 4) + (GAP * 3))
    
    		self.Buffs["growth-x"] = "LEFT"
    		self.Buffs["growth-y"] = "DOWN"
    		self.Buffs["initialAnchor"] = "RIGHT"
    		self.Buffs["num"] = 4
    		self.Buffs["size"] = config.height
    		self.Buffs["spacing-x"] = GAP
    		self.Buffs["spacing-y"] = GAP
    
    		self.Buffs.CustomFilter   = ns.CustomAuraFilter
    		self.Buffs.PostCreateIcon = ns.PostCreateAuraIcon
    		self.Buffs.PostUpdateIcon = ns.PostUpdateAuraIcon
    
    		self.Buffs.parent = self
    ]]--

    YAY!

    Thank you very much

    greetz

    Weischbier

  9. #9
    Deleted
    glad i could help

  10. #10
    The Lightbringer
    15+ Year Old Account
    Join Date
    Jun 2008
    Location
    Italy
    Posts
    3,564
    comment every line that starts with self.Buffs

    i'm currently using a heavily modified version of NIN too, using buffs only on target
    Last edited by S7orm; 2012-08-12 at 01:42 PM.

Posting Permissions

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