-- ASSETS barCnt = 25 beatMarkerCnt = 25 iconCnt = 25 gateCnt = 2 -- Gates for i = 0, gateCnt-1 do layoutName = "GateLayout" .. i LYTLayout.Setup{ name = layoutName, archiveName = "OSD/OSD_RA_gate.arc", layoutName = "OSD_RA_gate.brlyt" } LYTPane.Setup{ name = "GateRootPane" .. i, paneName = "targetPosAdjust", layoutCmp = layoutName } LYTPane.Setup{ name = "GateAnimMasterPane" .. i, paneName = "animMaster", layoutCmp = layoutName } LYTPane.Setup{ name = "GateBeatAnimMasterPane" .. i, paneName = "beatAnimMaster", layoutCmp = layoutName } LYTPane.Setup{ name = "GatePulsePane" .. i, paneName = "gatePulse", layoutCmp = layoutName } LYTPane.Setup{ name = "GateColourPane" .. i, paneName = "gate", layoutCmp = layoutName } LYTAnimation.Setup{ name = "GatePulseInAnim" .. i, animName = "OSD_RA_gate_gatePulse_fadeIn.brlan", paneCmp = "GatePulsePane" .. i, recurse = false, layoutCmp = layoutName } LYTAnimation.Setup{ name = "GatePulseOutAnim" .. i, animName = "OSD_RA_gate_gatePulse_fadeOut.brlan", paneCmp = "GatePulsePane" .. i, recurse = false, layoutCmp = layoutName } LYTAnimation.Setup{ name = "GateEnterAnim" .. i, animName = "OSD_RA_gate_gateEnter.brlan", paneCmp = "GateAnimMasterPane" .. i, layoutCmp = layoutName } LYTAnimation.Setup{ name = "GateLeaveAnim" .. i, animName = "OSD_RA_gate_gateLeave.brlan", paneCmp = "GateAnimMasterPane" .. i, layoutCmp = layoutName } LYTAnimation.Setup{ name = "GateFadeInAnim" .. i, animName = "OSD_RA_gate_gate_fadeIn.brlan", paneCmp = "GateAnimMasterPane" .. i, layoutCmp = layoutName } LYTAnimation.Setup{ name = "GateFadeOutAnim" .. i, animName = "OSD_RA_gate_gate_fadeOut.brlan", paneCmp = "GateAnimMasterPane" .. i, layoutCmp = layoutName } LYTAnimation.Setup{ name = "GateBeatAnim" .. i, animName = "OSD_RA_gate_gate_beat.brlan", paneCmp = "GateBeatAnimMasterPane" .. i, recurse = false, layoutCmp = layoutName } -- Particles ParticleEffect.Setup{ name = "GateHitEffect" .. i, effectName = "OSD_RA_gateEffect_p" .. i+1 .."_sparkle", breffPath = "OSD/Effects/OSD_RA_gateSparkle.breff", breftPath = "OSD/Effects/OSD_RA_gateSparkle.breft", orthographic = true } ParticleEffect.Setup{ name = "GateHitContinuousEffect" .. i, effectName = "OSD_RA_gateCEffect_p" .. i+1 .."_sparkle", breffPath = "OSD/Effects/OSD_RA_gateSparkle_continuous.breff", breftPath = "OSD/Effects/OSD_RA_gateSparkle_continuous.breft", orthographic = true } ParticleEffect.Setup{ name = "PoisonEffectP1_" .. i, effectName = "OSD_RA_effect_p1_poison", breffPath = "OSD/Effects/OSD_RA_poison.breff", breftPath = "OSD/Effects/OSD_RA_poison.breft", orthographic = true } ParticleEffect.Setup{ name = "PoisonEffectP2_" .. i, effectName = "OSD_RA_effect_p2_poison", breffPath = "OSD/Effects/OSD_RA_poison.breff", breftPath = "OSD/Effects/OSD_RA_poison.breft", orthographic = true } end -- Beats for i = 0, beatMarkerCnt-1 do layoutName = "BeatMarkerLayout" .. i LYTLayout.Setup{ name = layoutName, archiveName = "OSD/OSD_RA_stave_dot.arc", layoutName = "OSD_RA_stave_dot.brlyt" } LYTPane.Setup{ name = "BeatMarkerRootPane" .. i, paneName = "targetPosAdjust", layoutCmp = layoutName } LYTPane.Setup{ name = "BeatMarkerColourPane" .. i, paneName = "staveDot", layoutCmp = layoutName } LYTAnimation.Setup{ name = "BeatMarkerFadeInAnim"..i, animName = "OSD_RA_stave_dot_dot_fadeIn.brlan", paneCmp = "BeatMarkerRootPane" .. i, layoutCmp = layoutName } LYTAnimation.Setup{ name = "BeatMarkerFadeOutAnim"..i, animName = "OSD_RA_stave_dot_dot_fadeOut.brlan", paneCmp = "BeatMarkerRootPane" .. i, layoutCmp = layoutName } end ParticleEffect.Setup{ name = "StaveWoosh", effectName = "OSD_RA_effect_gateWoosh", breffPath = "OSD/Effects/OSD_RA_gateWoosh.breff", breftPath = "OSD/Effects/OSD_RA_gateWoosh.breft", orthographic = true } -- Bars for i = 0, barCnt-1 do layoutName = "BarLayout" .. i LYTLayout.Setup{ name = layoutName, archiveName = "OSD/OSD_RA_bar.arc", layoutName = "OSD_RA_bar.brlyt", additionalFonts="GlobalFontPack" } LYTPane.Setup{ name = "BarRootPane" .. i, paneName = "targetPosAdjust", layoutCmp = layoutName } LYTPane.Setup{ name = "BarTopLeftPane" .. i, paneName = "topLeft", layoutCmp = layoutName } LYTPane.Setup{ name = "BarTopMiddlePane" .. i, paneName = "topMiddle", layoutCmp = layoutName } LYTPane.Setup{ name = "BarTopRightPane" .. i, paneName = "topRight", layoutCmp = layoutName } LYTPane.Setup{ name = "BarBottomLeftPane" .. i, paneName = "bottomLeft", layoutCmp = layoutName } LYTPane.Setup{ name = "BarBottomMiddlePane" .. i, paneName = "bottomMiddle", layoutCmp = layoutName } LYTPane.Setup{ name = "BarBottomRightPane" .. i, paneName = "bottomRight", layoutCmp = layoutName } LYTTextPane.Setup{ name = "BarLabelTextPane" .. i, paneName = "bar_textFill", outlinePaneName = "bar_textStroke", layoutCmp = layoutName } LYTAnimation.Setup{ name = "BarHitAnim" .. i, animName = "OSD_RA_bar_bar_intoGate.brlan", paneCmp = "BarRootPane" .. i, layoutCmp = layoutName } LYTAnimation.Setup{ name = "BarMissAnim" .. i, animName = "OSD_RA_bar_bar_missedGate.brlan", paneCmp = "BarRootPane" .. i, layoutCmp = layoutName } end -- Icon for i = 0, iconCnt-1 do layoutName = "IconLayout" .. i LYTLayout.Setup{ name = layoutName, archiveName = "OSD/OSD_RA_iconography.arc", layoutName = "OSD_RA_iconography.brlyt" } LYTPane.Setup{ name = "IconRootPane" .. i, paneName = "targetPosAdjust", layoutCmp = layoutName } LYTPane.Setup{ name = "IconUpPane" .. i, paneName = "arrowUp", layoutCmp = layoutName } LYTPane.Setup{ name = "IconRightPane" .. i, paneName = "arrowRight", layoutCmp = layoutName } LYTPane.Setup{ name = "IconDownPane" .. i, paneName = "arrowDown", layoutCmp = layoutName } LYTPane.Setup{ name = "IconLeftPane" .. i, paneName = "arrowLeft", layoutCmp = layoutName } LYTPane.Setup{ name = "IconAPane" .. i, paneName = "buttonA", layoutCmp = layoutName } LYTPane.Setup{ name = "IconABPane" .. i, paneName = "buttonAB", layoutCmp = layoutName } LYTPane.Setup{ name = "IconBPane" .. i, paneName = "buttonB", layoutCmp = layoutName } LYTAnimation.Setup{ name = "IconHitAnim" .. i, animName = "OSD_RA_iconography_icons_intoGate.brlan", paneCmp = "IconRootPane" .. i, layoutCmp = layoutName } LYTAnimation.Setup{ name = "IconMissAnim" .. i, animName = "OSD_RA_iconography_icons_missedGate.brlan", paneCmp = "IconRootPane" .. i, layoutCmp = layoutName } LYTAnimation.Setup{ name = "IconPoisonAnim" .. i, animName = "OSD_RA_iconography_icons_poisonedNote.brlan", paneCmp = "IconRootPane" .. i, layoutCmp = layoutName } end -- SCRIPTS