pregame/pregameanimatedbackground/gamepad/peninsulabackground.lua:38 -- ZO_WeightedValues:New(
ZO_WeightedValue:New({
anchorTo = LEAF_ANCHOR_CONTROLS.TREES_LEFT,
anchorPoint = TOPRIGHT,
colorRanges = ZO_WeightedColorRanges:New(LEAF_COLORS.BRIGHT_ORANGE, LEAF_COLORS.BURNT_ORANGE),
drawLevel = 100,
forwardRotationAngleCoefficient = 1,
forwardVectorRange = LEAF_FORWARD_VECTOR_RIGHT,
-- minX, maxX, minY, maxX, minNormalizedZ, maxNormalizedZ
positionRanges = ZO_WeightedVectorRanges:New(
ZO_VectorRange:New(50 - UI_CENTER_X, 150 - UI_CENTER_X, 50, 150, 0.7, 0.8),
ZO_VectorRange:New(125 - UI_CENTER_X, 290 - UI_CENTER_X, 150, 220, 0.8, 0.9),
ZO_VectorRange:New(420 - UI_CENTER_X, 540 - UI_CENTER_X, 160, 215, 0.9, 1))
}, 300),
ZO_WeightedValue:New({
anchorTo = LEAF_ANCHOR_CONTROLS.TREES_RIGHT,
anchorPoint = TOPRIGHT,
colorRanges = ZO_WeightedColorRanges:New(LEAF_COLORS.ORANGE),
drawLevel = 325, -- On top of the front right tree
forwardRotationAngleCoefficient = 1,
forwardVectorRange = LEAF_FORWARD_VECTOR_LEFT,
positionRanges = ZO_WeightedVectorRanges:New(ZO_VectorRange:New(1880 - UI_WIDTH, 1970 - UI_WIDTH, 0, 40, 0.75, 1)),
}, 100),
ZO_WeightedValue:New({
anchorTo = LEAF_ANCHOR_CONTROLS.TREES_RIGHT,
anchorPoint = TOPRIGHT,
colorRanges = ZO_WeightedColorRanges:New(LEAF_COLORS.BURNT_YELLOW),
drawLevel = 265, -- On top of the left and back right trees
forwardRotationAngleCoefficient = 1,
forwardVectorRange = LEAF_FORWARD_VECTOR_LEFT,
positionRanges = ZO_WeightedVectorRanges:New(ZO_VectorRange:New(1340 - UI_WIDTH, 1520 - UI_WIDTH, 0, 75, 0.5, 0.75)),
}, 100),
ZO_WeightedValue:New({
anchorTo = LEAF_ANCHOR_CONTROLS.BACKGROUND,
anchorPoint = TOP,
colorRanges = ZO_WeightedColorRanges:New(LEAF_COLORS.BRIGHT_YELLOW),
drawLevel = 275, -- On top of the left and back right trees
forwardRotationAngleCoefficient = 1,
forwardVectorRange = LEAF_FORWARD_VECTOR_LEFT,
positionRanges = ZO_WeightedVectorRanges:New(ZO_VectorRange:New(1320 - UI_CENTER_X, 1400 - UI_CENTER_X, 150, 200, 0.25, 0.5)),
}, 80),
ZO_WeightedValue:New({
anchorTo = LEAF_ANCHOR_CONTROLS.BACKGROUND,
anchorPoint = TOP,
colorRanges = ZO_WeightedColorRanges:New(LEAF_COLORS.RED),
drawLevel = 285, -- On top of the left and back right trees
forwardRotationAngleCoefficient = 0.1,
forwardVectorRange = LEAF_FORWARD_VECTOR_RIGHT_STRONG,
positionRanges = ZO_WeightedVectorRanges:New(ZO_VectorRange:New(1300 - UI_CENTER_X, 1375 - UI_CENTER_X, 350, 375, 0.0, 0.25)),
}, 50),
ZO_WeightedValue:New({
anchorTo = LEAF_ANCHOR_CONTROLS.BACKGROUND,
anchorPoint = TOP,
colorRanges = ZO_WeightedColorRanges:New(LEAF_COLORS.ORANGE, LEAF_COLORS.BURNT_ORANGE),
drawLevel = 4000, -- On top of all other elements.
forwardRotationAngleCoefficient = 0.25,
forwardVectorRange = LEAF_FORWARD_VECTOR_DOWN_RIGHT,
positionRanges = ZO_WeightedVectorRanges:New(
ZO_VectorRange:New(0, UI_CENTER_X * 0.5, -200, -200, 8, 40)),
}, 30),
ZO_WeightedValue:New({
anchorTo = LEAF_ANCHOR_CONTROLS.BACKGROUND,
anchorPoint = TOP,
colorRanges = ZO_WeightedColorRanges:New(LEAF_COLORS.ORANGE, LEAF_COLORS.BURNT_ORANGE),
drawLevel = 4010, -- On top of all other elements.
forwardRotationAngleCoefficient = 0.25,
forwardVectorRange = LEAF_FORWARD_VECTOR_DOWN_LEFT,
positionRanges = ZO_WeightedVectorRanges:New(
ZO_VectorRange:New(-UI_CENTER_X * 0.5, 0, -200, -200, 8, 40)),
}, 30))