1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 |
ZO_CHROMA_UNDERLAY_ALPHA = . 5
local FALLBACK_KEYBIND_VISUAL_DATA =
{
animationTimerData = ZO_CHROMA_ANIMATION_TIMER_DATA . KEYBIND_PROMPT_PULSATE ,
blendMode = CHROMA_BLEND_MODE_NORMAL ,
}
return object
end
local allianceEffects = { }
for alliance = ALLIANCE_MIN_VALUE , ALLIANCE_MAX_VALUE do
local allianceColor
if alliance == ALLIANCE_NONE then
allianceColor = FALLBACK_CANVAS_COLOR
else
end
local NO_ANIMATION_TIMER = nil
allianceEffects [ alliance ] =
{
[ CHROMA_DEVICE_TYPE_KEYBOARD ] = ZO_ChromaCStyleCustomSingleColorEffect : New ( CHROMA_DEVICE_TYPE_KEYBOARD , ZO_CHROMA_EFFECT_DRAW_LEVEL . FALLBACK , CHROMA_CUSTOM_EFFECT_GRID_STYLE_FULL , NO_ANIMATION_TIMER , allianceColor , CHROMA_BLEND_MODE_NORMAL ) ,
[ CHROMA_DEVICE_TYPE_KEYPAD ] = ZO_ChromaCStyleCustomSingleColorEffect : New ( CHROMA_DEVICE_TYPE_KEYPAD , ZO_CHROMA_EFFECT_DRAW_LEVEL . FALLBACK , CHROMA_CUSTOM_EFFECT_GRID_STYLE_FULL , NO_ANIMATION_TIMER , allianceColor , CHROMA_BLEND_MODE_NORMAL ) ,
[ CHROMA_DEVICE_TYPE_MOUSE ] = ZO_ChromaCStyleCustomSingleColorEffect : New ( CHROMA_DEVICE_TYPE_MOUSE , ZO_CHROMA_EFFECT_DRAW_LEVEL . FALLBACK , CHROMA_CUSTOM_EFFECT_GRID_STYLE_FULL , NO_ANIMATION_TIMER , allianceColor , CHROMA_BLEND_MODE_NORMAL ) ,
[ CHROMA_DEVICE_TYPE_MOUSEPAD ] = ZO_ChromaCStyleCustomSingleColorEffect : New ( CHROMA_DEVICE_TYPE_MOUSEPAD , ZO_CHROMA_EFFECT_DRAW_LEVEL . FALLBACK , CHROMA_CUSTOM_EFFECT_GRID_STYLE_FULL , NO_ANIMATION_TIMER , allianceColor , CHROMA_BLEND_MODE_NORMAL ) ,
[ CHROMA_DEVICE_TYPE_HEADSET ] = ZO_ChromaPredefinedEffect : New ( CHROMA_DEVICE_TYPE_HEADSET , ZO_CHROMA_EFFECT_DRAW_LEVEL . FALLBACK , ChromaCreateHeadsetStaticEffect , r , g , b ) ,
}
end
return allianceEffects
end
end
--To be overriden
end
local container
if inBattleground then
else
end
return container [ alliance ]
end
if inBattleground == nil then
inBattleground = false
end
local previousActiveAllianceEffects = self : GetAllianceEffects ( self . activeAlliance , self . inBattleground )
local previousEffect = previousActiveAllianceEffects [ deviceType ]
end
local newEffect = newActiveAllianceEffects [ deviceType ]
end
end
end
function ZO_RzChroma_Effects : SetVisualDataForKeybindAction ( actionName , animationTimerData , color , blendMode , level )
self . keybindActionVisualData [ actionName ] = { animationTimerData = animationTimerData , color = color , blendMode = blendMode , level = level }
end
if row and column then
local effect = ZO_ChromaCStyleCustomSingleColorFadingEffect : New ( CHROMA_DEVICE_TYPE_KEYBOARD , visualData . level , CHROMA_CUSTOM_EFFECT_GRID_STYLE_STATIC_CELLS , visualData . animationTimerData , visualData . color , visualData . blendMode )
end
end
if effect then
end
end
local guiKey , mod1 , mod2 , mod3 , mod4 = GetActionBindingInfo ( layerIndex , categoryIndex , actionIndex , bindingIndex )
if guiKey ~= KEY_INVALID then
-- Get the first non-gamepad, non-choord key
if chromaKey ~= CHROMA_KEYBOARD_KEY_INVALID then
end
end
end
end
end |