[Script Info] Title: Default Aegisub file ScriptType: v4.00+ WrapStyle: 0 PlayResX: 640 PlayResY: 480 ScaledBorderAndShadow: yes Video Aspect Ratio: 0 Video Zoom: 6 Video Position: 0 [V4+ Styles] Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding Style: Default,Arial,20,&H00FFFFFF,&H000000FF,&H00000000,&H00000000,0,0,0,0,100,100,0,0,1,2,2,2,10,10,10,1 [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Comment: 0,0:00:00.00,0:00:00.00,Efect 2,,0000,0000,0000,template noblank loop 50,!retime("syl",0+j*20,200-j*0)!{\an5\fad(0,0)\fscx80\fscy80\\1c&HFFFFFF&\3c!color[math.random(1,11)]!\shad0\blur!7*ratio!\bord!0.5*ratio!\blur1\bord1\frz!math.random(-30,30)!)\moves3($sleft,$smiddle,$scenter,!$smiddle+PARRIVABAJO!,$sright,$smiddle)\fsc!30-(30*j/maxj)!\bord!3-(3*j/maxj)!\blur!2-(2*j/maxj)!\\1c&HFFFFFF&\3c!color[math.random(1,11)]!\shad0\blur!7*ratio!\bord!0.5*ratio!\p1}m 0 16 b 0 16 0 16 0 16 b 0 16 0 16 0 16 b 0 16 0 16 0 16 b 0 16 0 16 0 16 b 0 0 20 0 20 16 b 20 16 20 16 20 16 b 20 33 0 33 0 16 Comment: 0,0:00:00.00,0:00:00.00,Efect 2,,0000,0000,0000,code syl,if syl.i%2==0 then PARRIVABAJO=-140 else PARRIVABAJO=140 end Comment: 0,0:00:00.00,0:00:00.00,Efect 2,,0000,0000,0000,code syl,if syl.i%2==0 then PARRIVABAJO=140 else PARRIVABAJO=-140 end Comment: 0,0:00:00.00,0:00:00.00,Efect 2,Get Scr Resolution,0000,0000,0000,code once,xres, yres = _G.aegisub.video_size() ratio = meta.res_y/720 if (xres and xres ~= meta.res_x) or (yres and yres ~= meta.res_y) then _G.aegisub.debug.out(2, "Warning: script resolution %dx%d does not match with loaded video resolution %dx%d resample script resolution(menu>subtitles>resample resolution>click from video)", meta.res_x, meta.res_y, xres, yres) end Comment: 0,0:00:00.00,0:00:00.00,Efect 2,,0000,0000,0000,code syl all,function char_counter(ref) ci[ref] = ci[ref] + 1; return "" end Comment: 0,0:00:00.00,0:00:00.00,Efect 2,,0000,0000,0000,code line all,ci = { 0 }; cn = _G.unicode.len(orgline.text_stripped:gsub(" ","")) Comment: 0,0:00:44.07,0:00:48.56,Efect 2,AutoTags (Asedark),0000,0000,0000,code syl,function AutoTags(Layer,Intervalo,Dato1,Dato2) local RESULTADO="" local SUERTE = 0 local CONTADOR = 0 local ARREGLO = Layer local count = math.ceil(line.duration/Intervalo) ARREGLO = {Dato1,Dato2} for i = 1, count do CONTADOR = i if Dato1 and Dato2 then if CONTADOR%2 ==0 then SUERTE = ARREGLO[1] else SUERTE = ARREGLO[2] end end RESULTADO = RESULTADO .."\\t(" ..(i-1)*Intervalo+Layer.. "," ..i*Intervalo+Layer.. ",\\" ..SUERTE.. ")".."" end return RESULTADO end Comment: 0,0:00:00.00,0:00:00.00,Efect 2,Color,0000,0000,0000,code once all,color = {"&HFFFFFF&","&HFFFFFF&","&HFFFFFF&"} Comment: 0,0:00:00.00,0:00:00.00,Efect 2,,0000,0000,0000,code syl line all,leadin = "600" ; startleadin = "750"; twinkle = "m 33 31 b 38 27 30 20 26 24 b 22 29 28 36 33 31 m 27 32 l 9 49 l 26 31 m 33 26 l 51 7 l 32 24 m 34 30 l 49 47 l 33 32 m 27 24 l 10 8 l 26 25" ; starheart = {"m 23 0 l 15 12 l 0 16 l 10 27 l 9 42 l 23 36 l 37 42 l 36 27 l 46 16 l 31 12","m 22 42 b 29 28 43 23 43 13 b 44 3 29 -7 22 8 b 17 -7 -1 3 0 13 b 0 23 16 28 22 42 "} Comment: 0,0:00:00.00,0:00:00.00,Efect 2,,0000,0000,0000,code syl line all,function char_counter(ref) ci[ref] = ci[ref] + 1; return "" end ; function AutoTags(Intervalo,Dato1,Dato2) local RESULTADO="" local SUERTE = 0 local CONTADOR = 0 local ARREGLO = 0 local count = math.ceil(line.duration/Intervalo) ARREGLO = {Dato1,Dato2} for i = 1, count do CONTADOR = i if Dato1 and Dato2 then if CONTADOR%2 ==0 then SUERTE = ARREGLO[1] else SUERTE = ARREGLO[2] end end RESULTADO = RESULTADO .."\\t(" ..(i-1)*Intervalo.. "," ..i*Intervalo.. ",\\" ..SUERTE..")".."" end return RESULTADO end ; Comment: 0,0:00:00.00,0:00:00.00,Efect 2,,0000,0000,0000,code line all,ci = {0,0}; cn = _G.unicode.len(orgline.text_stripped:gsub(" ","")); Comment: 0,0:00:00.00,0:00:00.00,Efect 2,,0000,0000,0000,code syl line all,c = {"&HFFE91D&","&H6CFF1D&","&H1DFFFD&","&H1DADFF&","&H871DFF&"} ; xno = {1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5,1,2,3,4,5} ; tuyet = { "m 25 0 l 34 15 l 50 19 l 40 33 l 41 49 l 25 43 l 11 50 l 11 33 l 0 21 l 15 15 l 25 0 " ,"m 40 0 b -17 0 -17 81 41 81 b 101 81 101 1 40 0 ", "m 26 -1 b -9 -1 -9 50 26 50 b 65 50 65 -1 26 -1 ", "m 5 3 b 10 -3 25 -3 31 2 b 37 7 38 20 32 25 b 27 30 10 29 5 24 b -1 20 -2 8 5 3 "} Comment: 0,0:00:00.00,0:00:00.00,Efect 2,lead-in,0000,0000,0000,template noblank char,!char_counter(1)!!retime("start2syl",-startleadin+ci[1]*15,0)!{\fs0\c&HFFFFFF&\fry480\1a&H80&\bord0\shad0\t(0,!leadin!,\fs!line.styleref.fontsize!\alpha0\fry0\blur0\bord!line.styleref.outline!\1vc(!(xno[$si] == 1) and c[1] or ((xno[$si] == 2) and c[2] or ((xno[$si] == 3) and c[3] or ((xno[$si] == 4) and c[4] or c[5])))!,&HFFFFFF&,&HFFFFFF&,!(xno[$si] == 1) and c[1] or ((xno[$si] == 2) and c[2] or ((xno[$si] == 3) and c[3] or ((xno[$si] == 4) and c[4] or c[5])))!)\3c!line.styleref.color3!)\an5\moves4(!$center+((-1)^ci[1])*400!,!$middle-((-1)^ci[1])*150!,!$center-((-1)^ci[1])*70!,!$middle+((-1)^ci[1])*-20!,$center,!$middle-((-1)^ci[1])*70!,$center,$middle,0,!leadin!)\fad(200,0)} Comment: 0,0:00:00.00,0:00:00.00,Efect 2,lead-out,0000,0000,0000,template syl noblank char,!char_counter(1)!!retime("syl2end",0,420-(cn-ci[1])*15)!{\fad(0,200)\1vc(!(xno[$si] == 1) and c[1] or ((xno[$si] == 2) and c[2] or ((xno[$si] == 3) and c[3] or ((xno[$si] == 4) and c[4] or c[5])))!,&HFFFFFF&,&HFFFFFF&,!(xno[$si] == 1) and c[1] or ((xno[$si] == 2) and c[2] or ((xno[$si] == 3) and c[3] or ((xno[$si] == 4) and c[4] or c[5])))!)\3c!line.styleref.color3!\an5\moves4($center,$middle,$center,!$middle-((-1)^ci[1])*70!,!$center-((-1)^ci[1])*70!,!$middle+((-1)^ci[1])*-20!,!$center+((-1)^ci[1])*400!,!$middle-((-1)^ci[1])*150!,!line.duration-leadin!,!line.duration!)\t(!line.duration-700!,!line.duration-500!,\1a&H80&\bord0\c&HFFFFFF&)\t(!line.duration-500!,!line.duration!,\fry!((-1)^ci[1])*360!)} Comment: 0,0:00:00.00,0:00:00.00,Efect 2,lead-in,0000,0000,0000,template noblank char,!char_counter(1)!!retime("start2syl",-startleadin+ci[1]*15,0)!{\fs0\c&HFFFFFF&\fry480\1a&H80&\bord0\shad0\t(0,!leadin!,\fs!line.styleref.fontsize!\alpha0\fry0\blur0\bord!line.styleref.outline!\1vc(!(xno[$si] == 1) and c[1] or ((xno[$si] == 2) and c[2] or ((xno[$si] == 3) and c[3] or ((xno[$si] == 4) and c[4] or c[5])))!,&HFFFFFF&,&HFFFFFF&,!(xno[$si] == 1) and c[1] or ((xno[$si] == 2) and c[2] or ((xno[$si] == 3) and c[3] or ((xno[$si] == 4) and c[4] or c[5])))!)\3c!line.styleref.color3!)\an5\moves4(!$center+((-1)^ci[1])*400!,!$middle-((-1)^ci[1])*150!,!$center-((-1)^ci[1])*70!,!$middle+((-1)^ci[1])*-20!,$center,!$middle-((-1)^ci[1])*70!,$center,$middle,0,!leadin!)\fad(200,0)} Comment: 0,0:00:00.00,0:00:00.00,Efect 2,lead-out,0000,0000,0000,template syl noblank char,!char_counter(1)!!retime("syl2end",0,420-(cn-ci[1])*15)!{\fad(0,200)\1vc(!(xno[$si] == 1) and c[1] or ((xno[$si] == 2) and c[2] or ((xno[$si] == 3) and c[3] or ((xno[$si] == 4) and c[4] or c[5])))!,&HFFFFFF&,&HFFFFFF&,!(xno[$si] == 1) and c[1] or ((xno[$si] == 2) and c[2] or ((xno[$si] == 3) and c[3] or ((xno[$si] == 4) and c[4] or c[5])))!)\3c!line.styleref.color3!\an5\moves4($center,$middle,$center,!$middle-((-1)^ci[1])*70!,!$center-((-1)^ci[1])*70!,!$middle+((-1)^ci[1])*-20!,!$center+((-1)^ci[1])*400!,!$middle-((-1)^ci[1])*150!,!line.duration-leadin!,!line.duration!)\t(!line.duration-700!,!line.duration-500!,\1a&H80&\bord0\c&HFFFFFF&)\t(!line.duration-500!,!line.duration!,\fry!((-1)^ci[1])*360!)} Comment: 0,0:00:00.00,0:00:00.00,Efect 2,,0000,0000,0000,template noblank notext loop 4,!retime("syl",100,1000)!{\an5\fad(0,400)\fscx20\fscy20\bord1\blur5\3c!_G.ass_color(_G.HSV_to_RGB(360*(syl.i/$syln)*$kdur,1,1))!\1c&HFFFFFF&)\move($scenter,$smiddle,!$scenter+math.random(-100,100)!,!$smiddle+math.random(-70,70)!\fad(0,200))}{\p1}m 3 3 b 6 -1 13 -1 17 3 b 20 7 20 13 17 17 b 14 21 6 21 3 17 b 0 13 0 7 3 3 " Comment: 0,0:00:00.00,0:00:00.00,Efect 2,,0000,0000,0000,template noblank notext loop 2,!retime("syl",100,1000)!{\an5\fad(0,400)\fscx25\fscy25\bord1\blur5\3c!_G.ass_color(_G.HSV_to_RGB(360*(syl.i/$syln)*$kdur,1,1))!\1c&HFFFFFF&)\move($scenter,$smiddle,!$scenter+math.random(-100,100)!,!$smiddle+math.random(-70,70)!\fad(0,200))}{\p1}m 25 0 l 34 15 l 50 19 l 40 33 l 41 49 l 25 43 l 11 50 l 11 33 l 0 21 l 15 15 l 25 0 " Comment: 0,0:00:00.00,0:00:00.00,Efect 2,,0000,0000,0000,template noblank multi,!retime("syl",0,0)!{\pos($scenter,$smiddle)\an5\t(0,!line.duration/2.5!,0.5,\fscx100\fscy100\1c!color[1]!\3c!color[1]!\bord!3*ratio!\blur!8*ratio!\alpha&H00&)\t(!line.duration/2.5!,!line.duration!,\frz0\fscx100\fscy100\bord0\blur0\1vc(!color[1]!,!color[1]!,&HFFFFFF&,&HFFFFFF&))} Dialogue: 0,0:00:00.00,0:00:05.00,Default,,0000,0000,0000,,