Advertisement
Guest User

Roth Changes

a guest
Sep 21st, 2018
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.98 KB | None | 0 0
  1.  
  2. ---------------------------------------------
  3. -- Roth UI
  4. ---------------------------------------------
  5.  
  6. -- A Diablo themed unitframe layout for oUF 1.6.x
  7. -- Galaxy119/Joker119 - 2016-2018
  8. -- Version 2.2.0
  9. ---------------------------------------------
  10.  
  11. --get the addon namespace
  12. local addon, ns = ...
  13. local oUF = ns.oUF
  14. mediapath = "Interface\\AddOns\\Roth_UI\\media\\"
  15. local addonName, Roth_UI = ...
  16. local LSM = LibStub("LibSharedMedia-3.0")
  17.  
  18. --object container
  19. local cfg = {}
  20. ns.cfg = cfg
  21. local locale = GetLocale()
  22. ---------------------------------------------
  23. -- // CONFIG // --
  24. ---------------------------------------------
  25.  
  26. ---------------------------------------------
  27. -- // Embeds // --
  28. ---------------------------------------------
  29. cfg.embeds = {
  30. rChat = false, -- Simple chat frame
  31. rActionBarStyler = true, -- Simple actionbar styler for Roth UI
  32. rButtonTemplate = true, -- Simple button skinning mod
  33. rMinimap = false, -- Simplistic square minimap
  34. rNamePlates = true, -- Diablo style Nameplates
  35. rInfoStrings = false, -- Information text displayed under Minimap
  36. rRaidManager = true, -- Replacement for blizzard's pull-out raid manager
  37. rTooltip = true, -- Diablo styled tooltips
  38. tullaRange = true, -- Creates Red/Blue overlay over icons that are not useable due to range or lack of resources
  39. Roth_ShinyBuffs = true, -- ShinyBuffs buff frame, edited for use with Roth UI
  40. rObjectiveTracker = true, -- Simple drag and resizeable Objective Tracker frame
  41. RothFont = true, -- makes game client use a font (as defined in config file) for all game text
  42. }
  43. ----------------------------------------
  44. -- colorswitcher define your color for healthbars here
  45. ----------------------------------------
  46.  
  47. --color is in RGB (red (r), green (g), blue (b), alpha (a)), values are from 0 (dark color) to 1 (bright color). 1,1,1 = white / 0,0,0 = black / 1,0,0 = red etc
  48. cfg.colorswitcher = {
  49. bright = { r = 1, g = 0, b = 0, a = 1, }, -- the bright color
  50. dark = { r = 1, g = 0, b = 0, a = 0.1, }, -- the dark color
  51. classcolored = true, -- true -> override the bright color with the unit specific color (class, faction, happiness, threat), if false uses the predefined color
  52. useBrightForeground = true, -- true -> use bright color in foreground and dark color in background
  53. -- false -> use dark color in foreground and bright color in background
  54. threatColored = true, -- true/false -> enable threat coloring of the health plate for raidframes
  55. }
  56.  
  57. --frames have a new highlight that fades on hp loss, if that is still not enough you can adjust a multiplier here
  58. cfg.highlightMultiplier = 0 --range 0-1
  59.  
  60. ----------------------------------------
  61. --units
  62. ----------------------------------------
  63.  
  64. cfg.units = {
  65. -- PLAYER
  66. player = {
  67. show = true,
  68. size = 125,
  69. scale = 1,
  70. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -264, y = 2 },
  71. health = {
  72. frequentUpdates = true,
  73. smooth = true,
  74. },
  75. power = {
  76. frequentUpdates = true,
  77. smooth = true,
  78. },
  79. absorb = {
  80. show = true,
  81. smooth = true,
  82. },
  83. healprediction = { --WIP
  84. show = false,
  85. color = {
  86. myself = {r = 0, g = 1, b = 0, a = 1 },
  87. other = {r = 0, g = 1, b = 0, a = 0.7 },
  88. },
  89. },
  90. icons = {
  91. pvp = {
  92. show = true,
  93. pos = { a1 = "CENTER", a2 = "CENTER", x = -95, y = 42 }, --position in relation to self object
  94. },
  95. combat = {
  96. show = true,
  97. pos = { a1 = "CENTER", a2 = "CENTER", x = 0, y = 86 }, --position in relation to self object
  98. },
  99. resting = {
  100. show = true,
  101. pos = { a1 = "CENTER", a2 = "CENTER", x = -72, y = 60 }, --position in relation to self object
  102. },
  103. },
  104. castbar = {
  105. show = true,
  106. TextSize = 11,
  107. hideDefault = true, --if you hide the Roth_UI castbar, should the Blizzard castbar be shown?
  108. latency = true,
  109. texture = (mediapath.."statusbar3"),
  110. scale = .75, --divide 1 by current unit scale if you want to prevent scaling of the castbar based on unit scale
  111. color = {
  112. bar = { r = 0, g = 0.5, b = 1, a = 0.8, },
  113. bg = { r = 0.1, g = 0.1, b = 0.1, a = 0.7, },
  114. },
  115. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 180.5 },
  116. },
  117. soulshards = { --class bar WARLOCK / AFFLICTION
  118. show = true,
  119. scale = 0.40,
  120. color = {r = 200/255, g = 0/255, b = 255/255, },
  121. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 650 },
  122. combat = { --fade the bar in/out in combat/out of combat
  123. enable = false,
  124. fadeIn = {time = 0.4, alpha = 1},
  125. fadeOut = {time = 0.3, alpha = 0.2},
  126. },
  127. },
  128. holypower = { --class bar PALADIN
  129. show = true,
  130. scale = 0.40,
  131. color = {r = 200/255, g = 135/255, b = 190/255, },
  132. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 650 },
  133. combat = { --fade the bar in/out in combat/out of combat
  134. enable = false,
  135. fadeIn = {time = 0.4, alpha = 1},
  136. fadeOut = {time = 0.3, alpha = 0.2},
  137. },
  138. },
  139. harmony = { --class bar MONK
  140. show = true,
  141. scale = 0.40,
  142. color = {r = 41/255, g = 209/255, b = 157/255, },
  143. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 650 },
  144. combat = { --fade the bar in/out in combat/out of combat
  145. enable = false,
  146. fadeIn = {time = 0.4, alpha = 1},
  147. fadeOut = {time = 0.3, alpha = 0.2},
  148. },
  149. },
  150. runes = { --class bar DK
  151. show = true,
  152. scale = 0.40,
  153. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 650 },
  154. combat = { --fade the bar in/out in combat/out of combat
  155. enable = false,
  156. fadeIn = {time = 0.4, alpha = 1},
  157. fadeOut = {time = 0.3, alpha = 0.2},
  158. },
  159. },
  160. combobar = {
  161. show = true,
  162. scale = 0.30,
  163. color = {r = 0.9, g = 0.59, b = 0, },
  164. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 650 },
  165. combat = { --fade the bar in/out in combat/out of combat
  166. enable = false,
  167. fadeIn = {time = 0.4, alpha = 1},
  168. fadeOut = {time = 0.3, alpha = 0.2},
  169. },
  170. },
  171. arcbar = {
  172. show = true,
  173. scale = 0.40,
  174. color = {r = 0.14, g = 0.56, b = .9, },
  175. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 650 },
  176. combat = { --fade the bar in/out in combat/out of combat
  177. enable = false,
  178. fadeIn = {time = 0.4, alpha = 1},
  179. fadeOut = {time = 0.3, alpha = 0.2},
  180. },
  181. },
  182. altpower = {
  183. show = false,
  184. scale = 0.5,
  185. color = {r = 1, g = 0, b = 1, },
  186. texture = (mediapath.."statusbar"),
  187. pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = 0, y = 0 },
  188. },
  189. expbar = { --experience
  190. show = true,
  191. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 9 },
  192. texture = (mediapath.."statusbar2"),
  193. scale = 1.1,
  194. color = {r = 0.8, g = 0, b = 0.8, },
  195. rested = {
  196. color = {r = 1, g = 0.7, b = 0, },
  197. },
  198. },
  199. repbar = { --reputation
  200. show = true,
  201. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 20 },
  202. texture = (mediapath.."statusbar2"),
  203. scale = 1.1,
  204. },
  205. ArtifactPower = {
  206. show = true,
  207. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 15 },
  208. texture = (mediapath.."statusbar2"),
  209. scale = 1.1,
  210. },
  211. art = {
  212. actionbarbackground = {
  213. show = false,
  214. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 0 },
  215. scale = 1,
  216. },
  217. angel = {
  218. show = true,
  219. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 265, y = 0 },
  220. scale = 1,
  221. },
  222. demon = {
  223. show = true,
  224. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -270, y = 0 },
  225. scale = 1,
  226. },
  227. bottomline = {
  228. show = true,
  229. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = -5 },
  230. scale = .9,
  231. },
  232. },
  233. portrait = {
  234. pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -100, y = 0 },
  235. size = 150,
  236. show = false,
  237. use3D = true,
  238. },
  239. },
  240.  
  241. -- TARGET
  242. target = {
  243. show = true,
  244. scale = 1.3,
  245. width = 300,
  246. height = 64,
  247. pos = { a1 = "TOP", a2 = "TOP", af = "UIParent", x = 0, y = -70 },
  248. health = {
  249. frequentUpdates = true,
  250. texture = (mediapath.."statusbar3"),
  251. tag = "[diablo:hpval]",
  252. fontSize = 7,
  253. point = "RIGHT",
  254. x = 25,
  255. y = -30,
  256. },
  257. healper = {
  258. frequentUpdates = true,
  259. tag = "[perphp]",
  260. fontSize = 10,
  261. point = "CENTER",
  262. x = 0,
  263. y = 0,
  264. },
  265. powper = {
  266. frequentUpdates = true,
  267. tag = "[perpp]%",
  268. fontSize = 7,
  269. point = "CENTER",
  270. x = 0,
  271. y = 0,
  272. },
  273. power = {
  274. frequentUpdates = true,
  275. texture = (mediapath.."statusbar3"),
  276. tag = "[diablo:ppval]",
  277. fontSize = 7,
  278. point = "LEFT",
  279. x = -25,
  280. y = -30,
  281. },
  282. misc = {
  283. classFontSize = 13,
  284. NameFontSize = 16,
  285. },
  286. auras = {
  287. show = true,
  288. size = 15,
  289. onlyShowPlayerBuffs = false,
  290. showStealableBuffs = true,
  291. onlyShowPlayerDebuffs = false,
  292. showDebuffType = true,
  293. desaturateDebuffs = false,
  294. buffs = {
  295. pos = { a1 = "BOTTOMLEFT", a2 = "TOPRIGHT", x = 0, y = -15 },
  296. initialAnchor = "BOTTOMLEFT",
  297. growthx = "RIGHT",
  298. growthy = "UP",
  299. },
  300. debuffs = {
  301. pos = { a1 = "TOPLEFT", a2 = "BOTTOMRIGHT", x = 0, y = 15 },
  302. initialAnchor = "TOPLEFT",
  303. growthx = "RIGHT",
  304. growthy = "DOWN",
  305. },
  306. },
  307. castbar = {
  308. show = true,
  309. TextSize = 11,
  310. texture = (mediapath.."statusbar3"),
  311. scale = 1/1.9, --divide 1 by current unit scale if you want to prevent scaling of the castbar based on unit scale
  312. color = {
  313. bar = { r = 0, g = 0.5, b = 1, a = .7, },
  314. bg = { r = 0.1, g = 0.1, b = 0.1, a = 1, },
  315. shieldbar = { r = 0.5, g = 0.5, b = 0.5, a = 1, }, --the castbar color while target casting a shielded spell
  316. shieldbg = { r = 0.1, g = 0.1, b = 0.1, a = 0.7, }, --the castbar background color while target casting a shielded spell
  317. },
  318. pos = { a1 = "TOP", a2 = "TOP", af = "UIParent", x = -10, y = -125 },
  319. },
  320. portrait = {
  321. pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = 100, y = 0 },
  322. size = 150,
  323. show = false,
  324. use3D = true,
  325. },
  326. healprediction = {
  327. show = true,
  328. texture = (mediapath.."statusbar3"),
  329. color = {
  330. myself = {r = 0, g = 1, b = 0, a = 1 },
  331. other = {r = 0, g = 1, b = 0, a = 0.7 },
  332. },
  333. maxoverflow = 1.00,
  334. },
  335. totalabsorb = {
  336. show = true,
  337. texture = (mediapath.."absorb_statusbar_overlay"),
  338. color = {
  339. bar = {r = 0.7, g = 1, b = 1, a = 0.9 },
  340. },
  341. },
  342. },
  343.  
  344. --TARGETTARGET
  345. targettarget = {
  346. show = true,
  347. width = 150,
  348. height = 64,
  349. scale = 1.15,
  350. pos = { a1 = "TOP", a2 = "TOP", af = "UIParent", x = -238, y = -80 },
  351. auras = {
  352. show = true,
  353. size = 22,
  354. onlyShowPlayerDebuffs = false,
  355. showDebuffType = true,
  356. },
  357. health = {
  358. texture = (mediapath.."statusbar3"),
  359. tag = "[diablo:misshp]",
  360. },
  361. power = {
  362. texture = (mediapath.."statusbar3"),
  363. },
  364. healprediction = {
  365. show = true,
  366. texture = (mediapath.."statusbar3"),
  367. color = {
  368. myself = {r = 0, g = 1, b = 0, a = 1 },
  369. other = {r = 0, g = 1, b = 0, a = 0.7 },
  370. },
  371. maxoverflow = 1.00,
  372. },
  373. },
  374.  
  375. --PET
  376. pet = {
  377. show = true,
  378. scale = 0.85,
  379. width = 128,
  380. height = 64,
  381. pos = { a1 = "RIGHT", a2 = "RIGHT", af = "UIParent", x = -30, y = -140 },
  382. auras = {
  383. show = true,
  384. size = 22,
  385. onlyShowPlayerDebuffs = false,
  386. showDebuffType = false,
  387. },
  388. health = {
  389. texture = (mediapath.."statusbar3"),
  390. tag = "[diablo:misshp]",
  391. },
  392. power = {
  393. texture = (mediapath.."statusbar3"),
  394. },
  395. altpower = {
  396. show = false,
  397. scale = 0.5,
  398. color = {r = 1, g = 0, b = 1, },
  399. texture = (mediapath.."statusbar3"),
  400. pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = 0, y = 0 },
  401. },
  402. portrait = {
  403. show = true,
  404. use3D = true,
  405. },
  406. castbar = {
  407. show = false,
  408. hideDefault = true, --if you hide the Roth_UI castbar, should the Blizzard castbar be shown?
  409. texture = "Interface\\AddOns\\Roth_UI\\media\\statusbar3",
  410. scale = 1/0.85, --divide 1 by current unit scale if you want to prevent scaling of the castbar based on unit scale
  411. color = {
  412. bar = { r = 1, g = 0.7, b = 0, a = 1, },
  413. bg = { r = 0.1, g = 0.1, b = 0.1, a = 0.7, },
  414. },
  415. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 490 },
  416. },
  417. totalabsorb = {
  418. show = true,
  419. texture = (mediapath.."absorb_statusbar_overlay"),
  420. color = {
  421. bar = {r = 0.7, g = 1, b = 1, a = 0.9 },
  422. },
  423. },
  424. },
  425.  
  426. --FOCUS
  427. focus = {
  428. show = true,
  429. width = 128,
  430. height = 64,
  431. scale = 0.85,
  432. pos = { a1 = "CENTER", a2 = "BOTTOM", af = "UIParent", x = 0, y = 350 },
  433. aurawatch = {
  434. show = false,
  435. size = 20,
  436. },
  437. auras = {
  438. show = true,
  439. size = 22,
  440. onlyShowPlayerDebuffs = false,
  441. showDebuffType = false,
  442. showBuffs = true,
  443. onlyShowPlayerBuffs = false,
  444. showBuffType = false,
  445. },
  446. health = {
  447. texture = (mediapath.."statusbar3"),
  448. tag = "[diablo:misshp]",
  449. },
  450. power = {
  451. texture = (mediapath.."statusbar3"),
  452. },
  453. portrait = {
  454. show = true,
  455. use3D = true,
  456. },
  457. castbar = {
  458. show = false,
  459. TextSize = 11,
  460. texture = (mediapath.."statusbar3"),
  461. scale = 1/1.9, --divide 1 by current unit scale if you want to prevent scaling of the castbar based on unit scale
  462. color = {
  463. bar = { r = 1, g = 0.7, b = 0, a = 1, },
  464. bg = { r = 0.1, g = 0.1, b = 0.1, a = 0.7, },
  465. },
  466. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 0, y = 420 },
  467. },
  468. healprediction = {
  469. show = true,
  470. texture = (mediapath.."statusbar128_3"),
  471. color = {
  472. myself = {r = 0, g = 1, b = 0, a = 1 },
  473. other = {r = 0, g = 1, b = 0, a = 0.7 },
  474. },
  475. maxoverflow = 1.00,
  476. },
  477. totalabsorb = {
  478. show = true,
  479. texture = (mediapath.."absorb_statusbar_overlay"),
  480. color = {
  481. bar = {r = 0.7, g = 1, b = 1, a = 0.9 },
  482. },
  483. },
  484. },
  485.  
  486. --PETTARGET
  487. pettarget = {
  488. show = false,
  489. width = 128,
  490. height = 64,
  491. scale = 0.85,
  492. pos = { a1 = "LEFT", a2 = "LEFT", af = "UIParent", x = 140, y = -140 },
  493. auras = {
  494. show = true,
  495. size = 22,
  496. onlyShowPlayerDebuffs = false,
  497. showDebuffType = false,
  498. },
  499. health = {
  500. texture = (mediapath.."statusbar3"),
  501. tag = "[diablo:misshp]",
  502. },
  503. power = {
  504. texture = (mediapath.."statusbar3"),
  505. },
  506. portrait = {
  507. show = true,
  508. use3D = true,
  509. },
  510. },
  511.  
  512. --FOCUSTARGET
  513. focustarget = {
  514. show = false,
  515. width = 128,
  516. height = 64,
  517. scale = 0.85,
  518. pos = { a1 = "LEFT", a2 = "LEFT", af = "UIParent", x = 140, y = 40 },
  519. auras = {
  520. show = true,
  521. size = 22,
  522. onlyShowPlayerDebuffs = false,
  523. showDebuffType = false,
  524. },
  525. health = {
  526. texture = (mediapath.."statusbar128_3"),
  527. tag = "[diablo:misshp]",
  528. },
  529. power = {
  530. texture = (mediapath.."statusbar128_3"),
  531. },
  532. portrait = {
  533. show = true,
  534. use3D = true,
  535. },
  536. },
  537.  
  538. --PARTY
  539. party = {
  540. vertical = false,
  541. show = true,
  542. alpha = {
  543. notinrange = 0.5,
  544. },
  545. scale = 1.15,
  546. vertwidth = 228,
  547. vertheight = 64,
  548. width = 128,
  549. height = 64,
  550. pos = { a1 = "CENTER", a2 = "CENTER", af = "UIParent", x = -335, y = 150 },
  551. aurawatch = {
  552. show = false,
  553. size = 18,
  554. },
  555. auras = {
  556. show = true,
  557. size = 15,
  558. onlyShowPlayerDebuffs = false,
  559. showDebuffType = true,
  560. showBuffs = false,
  561. onlyShowPlayerBuffs = false,
  562. showBuffType = false,
  563. number = 20,
  564. },
  565. health = {
  566. texture = (mediapath.."statusbar3"),
  567. tag = "[diablo:misshp]",
  568. fontSize = 11,
  569. point = "RIGHT",
  570. x = -20,
  571. y = 0,
  572. },
  573. power = {
  574. texture = (mediapath.."statusbar3"),
  575. },
  576. misc = {
  577. NameFontSize = 14
  578. },
  579. portrait = {
  580. show = true,
  581. use3D = true,
  582. width = 85,
  583. },
  584. attributes = {
  585. visibility = "custom [nogroup:party,nogroup:raid] show; [group:party,nogroup:raid] show; hide", --show this header in party
  586. showPlayer = true, --make this true to show player in party
  587. showSolo = false, --make this true to show while solo (only works if solo is in visiblity aswell
  588. showParty = true, --make this true to show headerin party
  589. showRaid = false, --show in raid
  590. hideInArena = false, --hides the party frame while inside an arena
  591. VerticalPoint = "TOP",
  592. HorizontalPoint = "LEFT",
  593.  
  594. },
  595. healprediction = {
  596. show = true,
  597. texture = (mediapath.."statusbar3"),
  598. color = {
  599. myself = {r = 0, g = 1, b = 0, a = 1 },
  600. other = {r = 0, g = 1, b = 0, a = 0.7 },
  601. },
  602. maxoverflow = 1.00,
  603. },
  604. totalabsorb = {
  605. show = true,
  606. texture = (mediapath.."absorb_statusbar_overlay"),
  607. color = {
  608. bar = {r = 0.7, g = 1, b = 1, a = 0.9 },
  609. },
  610. },
  611. },
  612.  
  613. --RAID
  614. raid = {
  615. show = true,
  616. special = {
  617. chains = false, --should the raidframe include the chain textures?
  618. },
  619. alpha = {
  620. notinrange = 0.4,
  621. },
  622. scale = 1.3,
  623. pos = { a1 = "TOPLEFT", a2 = "TOPLEFT", af = "UIParent", x = 5, y = -5 },
  624. health = {
  625. texture = (mediapath.."statusbar3"),
  626. tag = "[diablo:misshp]", --tag for the second line
  627. },
  628. power = {
  629. texture = (mediapath.."statusbar3"),
  630. },
  631. aurawatch = {
  632. show = true,
  633. },
  634. auras = {
  635. --put every single spellid here that you want to be tracked, be it buff or debuff doesn't matter
  636. --maximum number of icons displayed at a time = 1
  637. --this is for important boss mechanics only, this is not for tracking healing HOTs etc
  638. whitelist = {
  639.  
  640. },
  641. blacklist = {
  642. --these are abilities that should definetly now be shown
  643. 164545,
  644. 164547,
  645. },
  646. show = true,
  647. disableCooldown = false,
  648. showBuffType = true,
  649. showDebuffType = true,
  650. doNotUseCustomFilter = true,
  651. size = 13,
  652. num = 5,
  653. spacing = 3,
  654. pos = { a1 = "CENTER", x = 0, y = -23},
  655. },
  656. attributes = {
  657. visibility = "custom [nogroup:party,nogroup:raid] show; [group:party,nogroup:raid] show; [group:raid] show; hide",
  658. showPlayer = true, --make this true to show player in party
  659. showSolo = false, --make this true to show while solo (only works if solo is in visiblity aswell
  660. showParty = false, --make this true to show raid in party
  661. showRaid = true, --show in raid
  662. showInArena = false, --shows this frame while in an arena
  663. point = "TOP",
  664. yOffset = 15,
  665. xoffset = 0,
  666. maxColumns = 4,
  667. unitsPerColumn = 10,
  668. columnSpacing = -20,
  669. columnAnchorPoint = "LEFT",
  670. },
  671. healprediction = {
  672. show = false,
  673. texture = (mediapath.."statusbar3"),
  674. color = {
  675. myself = {r = 0, g = 1, b = 0, a = 1 },
  676. other = {r = 0, g = 1, b = 0, a = 0.7 },
  677. },
  678. maxoverflow = 1.05,
  679. },
  680. totalabsorb = {
  681. show = true,
  682. texture = (mediapath.."absorb_statusbar_overlay"),
  683. color = {
  684. bar = {r = 0.7, g = 1, b = 1, a = 0.9 },
  685. },
  686. },
  687. },
  688.  
  689. --BOSSFRAMES
  690. boss = {
  691. show = true,
  692. scale = 1,
  693. width = 128,
  694. height = 64,
  695. pos = { a1 = "TOP", a2 = "BOTTOM", af = "Minimap", x = 0, y = -80 },
  696. health = {
  697. texture = (mediapath.."statusbar3"),
  698. tag = "[diablo:bosshp]%",
  699. },
  700. power = {
  701. texture = (mediapath.."statusbar3"),
  702. tag = "[diablo:bosspp]",
  703. },
  704. },
  705.  
  706. }
  707.  
  708. ----------------------------------------
  709. -- Action Bars
  710. ----------------------------------------
  711. cfg.bars = {
  712. --General Button Settings
  713. showMacroName = true,
  714. showCooldown = true,
  715. showHotkey = true,
  716. showStackCount = true,
  717. --BAR 1
  718. bar1 = {
  719. enable = true, --enable module
  720. uselayout2x6 = false,
  721. scale = 1.15,
  722. padding = 2, --frame padding
  723. buttons = {
  724. size = 26,
  725. margin = 3,
  726. },
  727. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -1, y = 16 },
  728. userplaced = {
  729. enable = true,
  730. },
  731. mouseover = {
  732. enable = false,
  733. fadeIn = {time = 0.4, alpha = 1},
  734. fadeOut = {time = 0.3, alpha = 0.2},
  735. },
  736. },
  737. --OVERRIDE BAR (vehicle ui)
  738. overridebar = { --the new vehicle and override bar
  739. enable = true, --enable module
  740. scale = 1.15,
  741. padding = 2, --frame padding
  742. buttons = {
  743. size = 57,
  744. margin = 3,
  745. },
  746. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -1, y = 16 },
  747. userplaced = {
  748. enable = true,
  749. },
  750. mouseover = {
  751. enable = false,
  752. fadeIn = {time = 0.4, alpha = 1},
  753. fadeOut = {time = 0.3, alpha = 0.2},
  754. },
  755. },
  756. --BAR 2
  757. bar2 = {
  758. enable = true, --enable module
  759. uselayout2x6 = false,
  760. scale = 1.15,
  761. padding = 2, --frame padding
  762. buttons = {
  763. size = 26,
  764. margin = 3,
  765. },
  766. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -1, y = 42 },
  767. userplaced = {
  768. enable = true,
  769. },
  770. mouseover = {
  771. enable = false,
  772. fadeIn = {time = 0.4, alpha = 1},
  773. fadeOut = {time = 0.3, alpha = 0.2},
  774. },
  775. },
  776. --BAR 3
  777. bar3 = {
  778. enable = true, --enable module
  779. scale = 1.15,
  780. padding = 2, --frame padding
  781. buttons = {
  782. size = 26,
  783. margin = 3,
  784. },
  785. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -1, y = 70 },
  786. userplaced = {
  787. enable = true,
  788. },
  789. mouseover = {
  790. enable = false,
  791. fadeIn = {time = 0.4, alpha = 1},
  792. fadeOut = {time = 0.3, alpha = 0.2},
  793. },
  794. },
  795. --BAR 4
  796. bar4 = {
  797. enable = true, --enable module
  798. vert = true, --choosing this will make the bar stack vertically instead of horizontally
  799. combineBar4AndBar5 = false, --by choosing true both bar 4 and 5 will react to the same hover effect, thus true/false at the same time, settings for bar5 will be ignored
  800. scale = .85,
  801. padding = 10, --frame padding
  802. buttons = {
  803. size = 26,
  804. margin = 3,
  805. },
  806. pos = { a1 = "RIGHT", a2 = "RIGHT", af = "UIParent", x = -0, y = 0 },
  807. userplaced = {
  808. enable = true,
  809. },
  810. mouseover = {
  811. enable = false,
  812. fadeIn = {time = 0.4, alpha = 1},
  813. fadeOut = {time = 0.3, alpha = 0},
  814. },
  815. },
  816. --BAR 5
  817. bar5 = {
  818. enable = true, --enable module
  819. vert = true, --choosing this will make the bar stack vertically instead of horizontally
  820. scale = .85,
  821. padding = 10, --frame padding
  822. buttons = {
  823. size = 26,
  824. margin = 3,
  825. },
  826. pos = { a1 = "RIGHT", a2 = "RIGHT", af = "UIParent", x = -36, y = 0 },
  827. userplaced = {
  828. enable = true,
  829. },
  830. mouseover = {
  831. enable = false,
  832. fadeIn = {time = 0.4, alpha = 1},
  833. fadeOut = {time = 0.3, alpha = 0.2},
  834. },
  835. },
  836. bar6 = {
  837. enable = true, --enable module
  838. vert = false, --choosing this will make the bar stack vertically instead of horizontally
  839. scale = 1.2,
  840. padding = 10, --frame padding
  841. buttons = {
  842. size = 26,
  843. margin = 5,
  844. },
  845. pos = { a1 = "RIGHT", a2 = "RIGHT", af = "UIParent", x = -36, y = 0 },
  846. userplaced = {
  847. enable = true,
  848. },
  849. mouseover = {
  850. enable = false,
  851. fadeIn = {time = 0.4, alpha = 1},
  852. fadeOut = {time = 0.3, alpha = 0.2},
  853. },
  854. },
  855. --PETBAR
  856. petbar = {
  857. enable = true, --enable module
  858. show = true, --true/false
  859. scale = .95,
  860. padding = 2, --frame padding
  861. buttons = {
  862. size = 26,
  863. margin = 3,
  864. },
  865. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -1, y = 180 },
  866. userplaced = {
  867. enable = true,
  868. },
  869. mouseover = {
  870. enable = false,
  871. fadeIn = {time = 0.4, alpha = 1},
  872. fadeOut = {time = 0.3, alpha = 0.4},
  873. },
  874. },
  875. --STANCE- + POSSESSBAR
  876. stancebar = {
  877. enable = true, --enable module
  878. show = true, --true/false
  879. scale = 0.85,
  880. padding = 2, --frame padding
  881. buttons = {
  882. size = 26,
  883. margin = 3,
  884. },
  885. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 60, y = -4 },
  886. userplaced = {
  887. enable = true,
  888. },
  889. mouseover = {
  890. enable = false,
  891. fadeIn = {time = 0.4, alpha = 1},
  892. fadeOut = {time = 0.3, alpha = 0.4},
  893. },
  894. },
  895. --EXTRABAR
  896. extrabar = {
  897. enable = true, --enable module
  898. scale = 0.82,
  899. padding = 10, --frame padding
  900. buttons = {
  901. size = 36,
  902. margin = 3,
  903. },
  904. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -210, y = 220 },
  905. userplaced = {
  906. enable = true,
  907. },
  908. mouseover = {
  909. enable = false,
  910. fadeIn = {time = 0.4, alpha = 1},
  911. fadeOut = {time = 0.3, alpha = 0.2},
  912. },
  913. },
  914. --VEHICLE EXIT (no vehicleui)
  915. leave_vehicle = {
  916. enable = true, --enable module
  917. scale = 1,
  918. padding = 10, --frame padding
  919. buttons = {
  920. size = 26,
  921. margin = 3,
  922. },
  923. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 210, y = 135 },
  924. userplaced = {
  925. enable = true,
  926. },
  927. mouseover = {
  928. enable = false,
  929. fadeIn = {time = 0.4, alpha = 1},
  930. fadeOut = {time = 0.3, alpha = 0.2},
  931. },
  932. },
  933. --MICROMENU
  934. micromenu = {
  935. enable = true, --enable module
  936. show = true, --true/false
  937. scale = 0.85,
  938. padding = 10, --frame padding
  939. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = -140, y = 130 },
  940. userplaced = {
  941. enable = true,
  942. },
  943. mouseover = {
  944. enable = false,
  945. fadeIn = {time = 0.4, alpha = 1},
  946. fadeOut = {time = 0.3, alpha = 0},
  947. },
  948. },
  949. --BAGS
  950. bags = {
  951. enable = true, --enable module
  952. show = true, --true/false
  953. scale = .85,
  954. padding = 15, --frame padding
  955. pos = { a1 = "BOTTOM", a2 = "BOTTOM", af = "UIParent", x = 190, y = 141 },
  956. userplaced = {
  957. enable = true,
  958. },
  959. mouseover = {
  960. enable = false,
  961. fadeIn = {time = 0.4, alpha = 1},
  962. fadeOut = {time = 0.3, alpha = 0},
  963. },
  964. },
  965. }
  966.  
  967. ----------------------------------------
  968. -- frame movement
  969. ----------------------------------------
  970.  
  971. --setting this to false will use the default frame positions, true allows moving
  972. cfg.framesUserplaced = true
  973.  
  974. --setting this to true will lock the frames in place, false unlocks them
  975. cfg.framesLocked = true
  976.  
  977. ----------------------------------------
  978. -- player specific data
  979. ----------------------------------------
  980.  
  981. --player stuff
  982. cfg.playername = UnitName("player")
  983. cfg.playerclass = select(2,UnitClass("player"))
  984. cfg.playercolor = RAID_CLASS_COLORS[cfg.playerclass]
  985. cfg.playerspec = GetSpecialization()
  986.  
  987. ----------------------------------------
  988. -- Embeds
  989. ----------------------------------------
  990. --rTooltip
  991. cfg.rtooltip = {
  992. scale = 1.15,
  993. pos = { "BOTTOMRIGHT", UIParent, "BOTTOMRIGHT", -10, 100 },
  994. cursorfocus = false,
  995. }
  996.  
  997. --rObjectiveTracker
  998. cfg.tracker = {
  999. scale = 1,
  1000. point = { "TOPRIGHT", -190, -200},
  1001. size = { 260, 450 },
  1002. }
  1003. --rInfostrings
  1004. cfg.frame = {
  1005. scale = 0.95,
  1006. pos = { a1 = "TOP", af = Minimap, a2 = "BOTTOM", x = 0, y = -25 },
  1007. userplaced = true, --want to place the bar somewhere else?
  1008. }
  1009. cfg.showXpRep = true --show xp or reputation as string
  1010. cfg.showMail = false --show mail as text
  1011.  
  1012. --rChat
  1013. cfg.hideChatTabBackgrounds = true
  1014. cfg.selectedTabColor = {1,0.75,0}
  1015. cfg.selectedTabAlpha = 1
  1016. cfg.notSelectedTabColor = {0.5,0.5,0.5}
  1017. cfg.notSelectedTabAlpha = 0.3
  1018. cfg.HideCustomCombatLog = true
  1019. cfg.ScrollingEmotes = false
  1020.  
  1021. --rMinimap
  1022. cfg.minimap = {
  1023. scale = 1,
  1024. point = {"TOPRIGHT", 0, -18},
  1025. }
  1026.  
  1027.  
  1028. ----------------------------------------
  1029. -- other
  1030. ----------------------------------------
  1031.  
  1032. cfg.powercolors = PowerBarColor
  1033. cfg.powercolors["MANA"] = { r = 0, g = 0.4, b = 1 }
  1034. --fix the oUF mana color
  1035. oUF.colors.power["MANA"] = {0, 0.4, 1}
  1036.  
  1037. --font
  1038. if locale == "enUS" or locale == "enGB" then
  1039. cfg.font = (mediapath.."segoesc.ttf")
  1040. cfg.chat = {
  1041. font = (mediapath.."segoesc.ttf"),
  1042. }
  1043. else
  1044. cfg.font = (mediapath.."segoesc.ttf")
  1045. cfg.chat = {
  1046. font = (mediapath.."segoesc.ttf"),
  1047. }
  1048. end
  1049.  
  1050. --backdrop
  1051. cfg.backdrop = {
  1052. bgFile = (mediapath.."Tooltip_Background"),
  1053. edgeFile = (mediapath.."Tooltip_Border"),
  1054. tile = true,
  1055. tileSize = 16,
  1056. edgeSize = 16,
  1057. insets = { left = 4, right = 4, top = 4, bottom = 4 },
  1058. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement