Updated Install to match Elv's
Repooc [02-11-13 - 12:32]
Updated Install to match Elv's
Signed-off-by: Repooc <tjcooper1982@gmail.com>
diff --git a/ElvUI_SLE/modules/install.lua b/ElvUI_SLE/modules/install.lua
index 86597a1..f22688e 100644
--- a/ElvUI_SLE/modules/install.lua
+++ b/ElvUI_SLE/modules/install.lua
@@ -390,141 +390,224 @@ function E:SetupLayout(layout, noDataReset)
E:CopyTable(E.db.sle.combatico, P.sle.combatico)
E.db.sle.powtext = false
end
+
+ if not noDataReset then
+ E:ResetMovers('')
+ E:SetupPixelPerfect(E.PixelMode, true)
+
+ E.db.actionbar.bar2.enabled = E.db.lowresolutionset
+ E.db.movers.ElvAB_2 = "BOTTOMElvUIParentBOTTOM038"
+ if not E.db.lowresolutionset then
+ E.db.actionbar.bar3.buttons = 6
+ E.db.actionbar.bar5.buttons = 6
+ E.db.actionbar.bar4.enabled = true
+ end
+ end
+
if layout == 'healer' then
if not IsAddOnLoaded('Clique') then
E:Print(L['Using the healer layout it is highly recommended you download the addon Clique to work side by side with ElvUI.'])
end
if not noDataReset then
- E.db.unitframe.units.party.health.frequentUpdates = true;
- E.db.unitframe.units.raid25.health.frequentUpdates = true;
- E.db.unitframe.units.raid40.health.frequentUpdates = true;
+ E.db.unitframe.units.raid10.xOffset = 9;
+ E.db.unitframe.units.raid10.rdebuffs.enable = false;
+ E.db.unitframe.units.raid10.yOffset = 9;
+ E.db.unitframe.units.raid10.debuffs.sizeOverride = 16;
+ E.db.unitframe.units.raid10.debuffs.enable = true
+ E.db.unitframe.units.raid10.debuffs.anchorPoint = "TOPRIGHT";
+ E.db.unitframe.units.raid10.debuffs.xOffset = -4;
+ E.db.unitframe.units.raid10.debuffs.yOffset = -7;
+ E.db.unitframe.units.raid10.positionOverride = "BOTTOMRIGHT";
+ E.db.unitframe.units.raid10.height = 45;
+ E.db.unitframe.units.raid10.buffs.noConsolidated = false
+ E.db.unitframe.units.raid10.buffs.xOffset = 50;
+ E.db.unitframe.units.raid10.buffs.yOffset = -6;
+ E.db.unitframe.units.raid10.buffs.clickThrough = true
+ E.db.unitframe.units.raid10.buffs.noDuration = false
+ E.db.unitframe.units.raid10.buffs.playerOnly = false;
+ E.db.unitframe.units.raid10.buffs.perrow = 1
+ E.db.unitframe.units.raid10.buffs.useFilter = "TurtleBuffs"
+ E.db.unitframe.units.raid10.buffs.sizeOverride = 22
+ E.db.unitframe.units.raid10.buffs.useBlacklist = false
+ E.db.unitframe.units.raid10.buffs.enable = true
- E.db.unitframe.units.raid40.height = 36;
- E.db.unitframe.units.raid40.health.text = true;
- E.db.unitframe.units.raid40.name.position = 'TOP';
- E.db.unitframe.units.raid40.roleIcon.enable = true;
- E.db.unitframe.units.boss.width = 200;
- E.db.unitframe.units.boss.castbar.width = 200;
- E.db.unitframe.units.arena.width = 200;
- E.db.unitframe.units.arena.castbar.width = 200;
+ E.db.unitframe.units.raid25.xOffset = 9;
+ E.db.unitframe.units.raid25.rdebuffs.enable = false;
+ E.db.unitframe.units.raid25.yOffset = 9;
+ E.db.unitframe.units.raid25.debuffs.sizeOverride = 16;
+ E.db.unitframe.units.raid25.debuffs.enable = true
+ E.db.unitframe.units.raid25.debuffs.anchorPoint = "TOPRIGHT";
+ E.db.unitframe.units.raid25.debuffs.xOffset = -4;
+ E.db.unitframe.units.raid25.debuffs.yOffset = -7;
+ E.db.unitframe.units.raid25.positionOverride = "BOTTOMRIGHT";
+ E.db.unitframe.units.raid25.height = 45;
+ E.db.unitframe.units.raid25.buffs.noConsolidated = false
+ E.db.unitframe.units.raid25.buffs.xOffset = 50;
+ E.db.unitframe.units.raid25.buffs.yOffset = -6;
+ E.db.unitframe.units.raid25.buffs.clickThrough = true
+ E.db.unitframe.units.raid25.buffs.noDuration = false
+ E.db.unitframe.units.raid25.buffs.playerOnly = false;
+ E.db.unitframe.units.raid25.buffs.perrow = 1
+ E.db.unitframe.units.raid25.buffs.useFilter = "TurtleBuffs"
+ E.db.unitframe.units.raid25.buffs.sizeOverride = 22
+ E.db.unitframe.units.raid25.buffs.useBlacklist = false
+ E.db.unitframe.units.raid25.buffs.enable = true
- E.db.unitframe.units.party.point = 'LEFT';
- E.db.unitframe.units.party.xOffset = 5;
- E.db.unitframe.units.party.healPrediction = true;
- E.db.unitframe.units.party.columnAnchorPoint = 'LEFT';
- E.db.unitframe.units.party.width = 80;
- E.db.unitframe.units.party.height = 52;
+ E.db.unitframe.units.party.point = "LEFT"
+ E.db.unitframe.units.party.xOffset = 9;
+ E.db.unitframe.units.party.yOffset = 9;
+ E.db.unitframe.units.party.debuffs.sizeOverride = 16;
+ E.db.unitframe.units.party.debuffs.enable = true
+ E.db.unitframe.units.party.debuffs.anchorPoint = "TOPRIGHT";
+ E.db.unitframe.units.party.debuffs.xOffset = -4;
+ E.db.unitframe.units.party.debuffs.yOffset = -7;
+ E.db.unitframe.units.party.positionOverride = "BOTTOMRIGHT";
+ E.db.unitframe.units.party.height = 45;
+ E.db.unitframe.units.party.buffs.noConsolidated = false
+ E.db.unitframe.units.party.buffs.xOffset = 50;
+ E.db.unitframe.units.party.buffs.yOffset = -6;
+ E.db.unitframe.units.party.buffs.clickThrough = true
+ E.db.unitframe.units.party.buffs.noDuration = false
+ E.db.unitframe.units.party.buffs.playerOnly = false;
+ E.db.unitframe.units.party.buffs.perrow = 1
+ E.db.unitframe.units.party.buffs.useFilter = "TurtleBuffs"
+ E.db.unitframe.units.party.buffs.sizeOverride = 22
+ E.db.unitframe.units.party.buffs.useBlacklist = false
+ E.db.unitframe.units.party.buffs.enable = true
+ E.db.unitframe.units.party.roleIcon.position = "BOTTOMRIGHT"
E.db.unitframe.units.party.health.text_format = "[healthcolor][health:deficit]"
- E.db.unitframe.units.party.health.position = 'BOTTOM';
- E.db.unitframe.units.party.health.orientation = 'VERTICAL';
- E.db.unitframe.units.party.name.position = 'TOP';
- E.db.unitframe.units.party.name.text_format = "[namecolor][name:medium]";
- E.db.unitframe.units.party.debuffs.anchorPoint = 'BOTTOMLEFT';
- E.db.unitframe.units.party.debuffs.initialAnchor = 'TOPLEFT';
- E.db.unitframe.units.party.debuffs.useFilter = 'Blacklist';
- E.db.unitframe.units.party.debuffs.sizeOverride = 0;
- E.db.unitframe.units.party.petsGroup.enable = true;
- E.db.unitframe.units.party.petsGroup.width = 80;
- E.db.unitframe.units.party.petsGroup.initialAnchor = 'BOTTOM';
- E.db.unitframe.units.party.petsGroup.anchorPoint = 'TOP';
- E.db.unitframe.units.party.petsGroup.xOffset = 0;
- E.db.unitframe.units.party.petsGroup.yOffset = 1;
- E.db.unitframe.units.party.targetsGroup.enable = false;
- E.db.unitframe.units.party.targetsGroup.width = 80;
- E.db.unitframe.units.party.targetsGroup.initialAnchor = 'BOTTOM';
- E.db.unitframe.units.party.targetsGroup.anchorPoint = 'TOP';
- E.db.unitframe.units.party.targetsGroup.xOffset = 0;
- E.db.unitframe.units.party.targetsGroup.yOffset = 1;
+ E.db.unitframe.units.party.health.position = "BOTTOM"
+ E.db.unitframe.units.party.GPSArrow.size = 40
+ E.db.unitframe.units.party.width = 80
+ E.db.unitframe.units.party.height = 45
+ E.db.unitframe.units.party.name.text_format = "[namecolor][name:short]"
+ E.db.unitframe.units.party.name.position = "TOP"
+ E.db.unitframe.units.party.power.text_format = ""
+
+
+ E.db.unitframe.units.raid40.positionOverride = "BOTTOMRIGHT"
+ E.db.unitframe.units.raid40.height = 30
+
+ E.db.unitframe.units.party.health.frequentUpdates = true
+ E.db.unitframe.units.raid10.health.frequentUpdates = true
+ E.db.unitframe.units.raid25.health.frequentUpdates = true
+ E.db.unitframe.units.raid40.health.frequentUpdates = true
+
+ E.db.unitframe.units.party.healPrediction = true;
+ E.db.unitframe.units.raid10.healPrediction = true;
E.db.unitframe.units.raid25.healPrediction = true;
- E.db.unitframe.units.raid25.health.orientation = 'VERTICAL';
-
- E.db.unitframe.units.raid40.healPrediction = true;
- E.db.unitframe.units.raid40.health.orientation = 'VERTICAL';
+ E.db.unitframe.units.raid40.healPrediction = true;
+
+ E.db.actionbar.bar2.enabled = true
+ if not E.db.lowresolutionset then
+ E.db.actionbar.bar3.buttons = 12
+ E.db.actionbar.bar5.buttons = 12
+ E.db.actionbar.bar4.enabled = false
+ end
end
if not E.db.movers then E.db.movers = {}; end
- if E.db.lowresolutionset then
- E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-305242"
- E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM305242"
- E.db.movers.ElvUF_Raid40Mover = "BOTTOMElvUIParentBOTTOM080"
- E.db.movers.ElvUF_Raid25Mover = "BOTTOMElvUIParentBOTTOM080"
- E.db.movers.ElvUF_Raid10Mover = "BOTTOMElvUIParentBOTTOM080"
- E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM305187"
- E.db.movers.ElvUF_PartyMover = "BOTTOMElvUIParentBOTTOM0104"
- E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM-305187"
+ local xOffset = GetScreenWidth() * 0.34375
+
+ E.db.movers.ElvAB_3 = "BOTTOMElvUIParentBOTTOM3124"
+ E.db.movers.ElvAB_2 = "BOTTOMElvUIParentBOTTOM038"
+ E.db.movers.ElvAB_5 = "BOTTOMElvUIParentBOTTOM-3124"
+ E.db.movers.ElvUF_PartyMover = "BOTTOMRIGHTElvUIParentBOTTOMLEFT"..xOffset.."450"
+ E.db.movers.ElvUF_Raid10Mover = "BOTTOMRIGHTElvUIParentBOTTOMLEFT"..xOffset.."450"
+ E.db.movers.ElvUF_Raid25Mover = "BOTTOMRIGHTElvUIParentBOTTOMLEFT"..xOffset.."450"
+ E.db.movers.ElvUF_Raid40Mover = "BOTTOMRIGHTElvUIParentBOTTOMLEFT"..xOffset.."450"
+
+ if not E.db.lowresolutionset then
+ E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM278132"
+ E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-278132"
+ E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM0176"
+ E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM0132"
E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM310432"
-
+ E.db.movers["BossButton"] = "BOTTOMElvUIParentBOTTOM0275"
else
- E.db.movers.ElvUF_PlayerMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT464242"
- E.db.movers.ElvUF_TargetMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-464242"
- E.db.movers.ElvUF_Raid40Mover = "BOTTOMElvUIParentBOTTOM050"
- E.db.movers.ElvUF_Raid25Mover = "BOTTOMElvUIParentBOTTOM050"
- E.db.movers.ElvUF_Raid10Mover = "BOTTOMElvUIParentBOTTOM050"
- E.db.movers.ElvUF_TargetTargetMover = "BOTTOMRIGHTElvUIParentBOTTOMRIGHT-464151"
- E.db.movers.ElvUF_PartyMover = "BOTTOMElvUIParentBOTTOM074"
- E.db.movers.ElvUF_PetMover = "BOTTOMLEFTElvUIParentBOTTOMLEFT464151"
- E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM280332"
+ E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-102182"
+ E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM102182"
+ E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM102120"
+ E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM-102120"
+ E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM310332"
+ E.db.movers["BossButton"] = "TOPElvUIParentTOP0-138"
end
elseif E.db.lowresolutionset then
if not E.db.movers then E.db.movers = {}; end
- E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-106135"
- E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM106135"
- E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM10680"
- E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM-10680"
+ E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-102135"
+ E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM102135"
+ E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM10280"
+ E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM-10280"
E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM310332"
- else
- if not noDataReset then
- E:ResetMovers('')
- E:SetupPixelPerfect(E.PixelMode, true)
- end
end
if E.db.lowresolutionset and not noDataReset then
E.db.unitframe.units.player.width = 200;
- E.db.unitframe.units.player.castbar.width = 200;
+ if layout ~= 'healer' then
+ E.db.unitframe.units.player.castbar.width = 200;
+ end
E.db.unitframe.units.player.classbar.fill = 'fill';
-
+
E.db.unitframe.units.target.width = 200;
E.db.unitframe.units.target.castbar.width = 200;
-
+
E.db.unitframe.units.pet.power.enable = false;
E.db.unitframe.units.pet.width = 200;
E.db.unitframe.units.pet.height = 26;
-
+
E.db.unitframe.units.targettarget.debuffs.enable = false;
E.db.unitframe.units.targettarget.power.enable = false;
E.db.unitframe.units.targettarget.width = 200;
E.db.unitframe.units.targettarget.height = 26;
-
+
E.db.unitframe.units.boss.width = 200;
E.db.unitframe.units.boss.castbar.width = 200;
E.db.unitframe.units.arena.width = 200;
E.db.unitframe.units.arena.castbar.width = 200;
end
- if not E.db.lowresolutionset and (layout == 'dpsCaster' or (layout == 'dpsMelee' and E.myclass == 'HUNTER')) then
- if not E.db.movers then E.db.movers = {}; end
- E.db.movers.ElvUF_PlayerCastbarMover = "BOTTOMElvUIParentBOTTOM0180"
- --[[elseif not E.db.lowresolutionset and layout == 'tank' then --Not sure if i want to keep this.
+ if(layout == 'dpsCaster' or layout == 'healer' or (layout == 'dpsMelee' and E.myclass == 'HUNTER')) then
if not E.db.movers then E.db.movers = {}; end
- E.db.movers.ElvUF_TargetCastbarMover = "BOTTOMElvUIParentBOTTOM0180"]]
+ E.db.unitframe.units.player.castbar.width = 406
+ E.db.unitframe.units.player.castbar.height = 28
+ local yOffset = 80
+ if not E.db.lowresolutionset then
+ if layout ~= 'healer' then
+ yOffset = 42
+ E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-278110"
+ E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM278110"
+ E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM0110"
+ E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM0150"
+ E.db.movers["BossButton"] = "BOTTOMElvUIParentBOTTOM0195"
+ else
+ yOffset = 76
+ end
+ elseif E.db.lowresolutionset then
+ E.db.movers.ElvUF_PlayerMover = "BOTTOMElvUIParentBOTTOM-102182"
+ E.db.movers.ElvUF_TargetMover = "BOTTOMElvUIParentBOTTOM102182"
+ E.db.movers.ElvUF_TargetTargetMover = "BOTTOMElvUIParentBOTTOM102120"
+ E.db.movers.ElvUF_PetMover = "BOTTOMElvUIParentBOTTOM-102120"
+ E.db.movers.ElvUF_FocusMover = "BOTTOMElvUIParentBOTTOM310332"
+ E.db.movers["BossButton"] = "TOPElvUIParentTOP0-138"
+ end
+
+ E.db.movers.ElvUF_PlayerCastbarMover = "BOTTOMElvUIParentBOTTOM0"..yOffset
end
--Datatexts
if not noDataReset then
E:CopyTable(E.db.datatexts.panels, P.datatexts.panels)
- E:CopyTable(E.db.sle.datatext, P.sle.datatext)
if layout == 'tank' then
- E.db.datatexts.panels.LeftChatDataPanel.left = 'Armor';
- E.db.datatexts.panels.LeftChatDataPanel.right = 'Avoidance';
+ E.db.datatexts.panels.LeftChatDataPanel.left = 'Avoidance';
+ E.db.datatexts.panels.LeftChatDataPanel.right = 'Vengeance';
elseif layout == 'healer' or layout == 'dpsCaster' then
E.db.datatexts.panels.LeftChatDataPanel.left = 'Spell/Heal Power';
E.db.datatexts.panels.LeftChatDataPanel.right = 'Haste';
else
E.db.datatexts.panels.LeftChatDataPanel.left = 'Attack Power';
- E.db.datatexts.panels.LeftChatDataPanel.right = 'Crit Chance';
+ E.db.datatexts.panels.LeftChatDataPanel.right = 'Haste';
end
if InstallStepComplete then