-
Posted by Fogger on Fri, 02 Jan 2009 07:05:59
The UnitReactionColor table was removed from /FrameXML/TargetFrame.lua in 3.0.2.8962
UnitReactionColor = {
{ r = 1.0, g = 0.0, b = 0.0 },
{ r = 1.0, g = 0.0, b = 0.0 },
{ r = 1.0, g = 0.5, b = 0.0 },
{ r = 1.0, g = 1.0, b = 0.0 },
{ r = 0.0, g = 1.0, b = 0.0 },
{ r = 0.0, g = 1.0, b = 0.0 },
{ r = 0.0, g = 1.0, b = 0.0 },
{ r = 0.0, g = 1.0, b = 0.0 },
};I copied the table from 3.0.2.8926 into the TargetText.lua and it works, just wondering if theres a better way?
-
Posted by Fogger on Fri, 02 Jan 2009 07:06:00
The UnitReactionColor table was removed from /FrameXML/TargetFrame.lua in 3.0.2.8962
UnitReactionColor = {
{ r = 1.0, g = 0.0, b = 0.0 },
{ r = 1.0, g = 0.0, b = 0.0 },
{ r = 1.0, g = 0.5, b = 0.0 },
{ r = 1.0, g = 1.0, b = 0.0 },
{ r = 0.0, g = 1.0, b = 0.0 },
{ r = 0.0, g = 1.0, b = 0.0 },
{ r = 0.0, g = 1.0, b = 0.0 },
{ r = 0.0, g = 1.0, b = 0.0 },
};I copied the table from 3.0.2.8926 into the TargetText.lua and it works, just wondering if theres a better way?
-
Posted by Fogger on Fri, 02 Jan 2009 10:51:09
Sorry, I just noticed the post added to another thread that addressees this.
so it seems
UnitReactionColor
has been replaced withFACTION_BAR_COLORS
. -
Posted by Fogger on Fri, 02 Jan 2009 10:56:24
WTB Edit.
In case anyone's interested, the alternate table is in /FrameXML/ReputationFrame.lua
FACTION_BAR_COLORS = {
[1] = {r = 0.8, g = 0.3, b = 0.22},
[2] = {r = 0.8, g = 0.3, b = 0.22},
[3] = {r = 0.75, g = 0.27, b = 0},
[4] = {r = 0.9, g = 0.7, b = 0},
[5] = {r = 0, g = 0.6, b = 0.1},
[6] = {r = 0, g = 0.6, b = 0.1},
[7] = {r = 0, g = 0.6, b = 0.1},
[8] = {r = 0, g = 0.6, b = 0.1},
} -
Posted by mshirey on Sat, 31 Jan 2009 13:32:28
But is this really what this table is intended for? What does "Reaction" have to do with "Faction"? I mean, yes, swapping them out does work and it seems to display appropriate colors, but this table is named "Faction", is that really the same thing? What happens when Blizzard makes Faction based changes...?
Just a though... anyone about to help clearify?
Thank you,
-- Matthew
-
Posted by jnwhiteh on Sat, 31 Jan 2009 22:37:14
Because the old term "reaction" isn't being used anymore, or at least is being revamped. The short answer is that when they re-did the reputation window (which shows the various factions and your reputation with them) they moved the reaction colors (which were really just faction colors with some special cases for npcs) to a better named table.
We know, becuase we read the Blizzard source and determine what changes have been made from patch-to-patch.
-
Posted by jetimms on Sun, 15 Feb 2009 15:04:53
Thanks, Fogger and James.